* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
button,
input,
select,
textarea {
    font-family: 'Montserrat', sans-serif !important;
}

/* ====================================
   VARIABLES
==================================== */

:root {
    --primary: #2B3890;
    --secondary: #00ADEF;

    --white: #FFFFFF;
    --black: #111111;

    --text-primary: #111111;
    --text-secondary: #666666;

    --light-bg: #F8F9FB;
    --border-color: #E5E7EB;
}


/* ====================================
   RESET
==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide default browser search cancel and clear buttons */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}


/* ====================================
   GLOBAL STYLES
==================================== */

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background: #fff;
    overflow-x: clip; /* 'clip' prevents horizontal scroll without creating a scroll container — keeps position:sticky working */
}

html {
    overflow-x: clip; /* 'clip' prevents horizontal scroll without creating a scroll container — keeps position:sticky working */
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ====================================
   TYPOGRAPHY
==================================== */

h1 {
    font-size: 56px;
    font-weight: 700;
}

h2 {
    font-size: 42px;
    font-weight: 700;
}

h3 {
    font-size: 32px;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.7;
}


/* ====================================
   BUTTONS
==================================== */

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 14px 28px;
    border-radius: 8px;
}

/* ===== SRI LANKAN PHONE VALIDATION FEEDBACK ===== */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout form .form-row.woocommerce-invalid select {
    border-color: #EF4444 !important;
    background-color: #FEF2F2 !important;
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce-checkout form .form-row.woocommerce-validated input.input-text {
    border-color: #10B981 !important;
}

.clena-phone-inline-error {
    color: #EF4444 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    display: block;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.4 !important;
}

.form-row:not(.woocommerce-invalid) .clena-phone-inline-error {
    display: none !important;
}
