/* ==========================================================================
   Bizmo Wholesale — Premium Light Theme
   Design system: warm-paper light UI, deep emerald accent, soft elevation.
   ========================================================================== */

:root {
    /* Palette */
    --paper: #faf8f4;
    --surface: #ffffff;
    --surface-2: #f4f1ea;
    --ink: #16191f;
    --ink-soft: #353b45;
    --muted: #6b7280;
    --border: #e9e4db;
    --border-strong: #ddd6ca;

    --accent: #0e6b5c;
    --accent-hover: #0a574a;
    --accent-soft: #e6f2ef;
    --accent-ink: #084a3e;

    --gold: #c8a24a;

    --success: #12805c;
    --success-soft: #e3f3ec;
    --warning: #b7791f;
    --warning-soft: #fbf1dd;
    --info: #2563a8;
    --info-soft: #e6eefb;
    --danger: #c0392b;
    --danger-soft: #fbe8e6;

    /* Typography */
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 26px;

    /* Shadows (soft, premium) */
    --shadow-sm: 0 1px 2px rgba(22, 25, 31, .05), 0 1px 3px rgba(22, 25, 31, .04);
    --shadow-md: 0 4px 16px rgba(22, 25, 31, .06), 0 2px 6px rgba(22, 25, 31, .04);
    --shadow-lg: 0 18px 48px rgba(22, 25, 31, .10), 0 6px 16px rgba(22, 25, 31, .06);

    --container: 1180px;
    --transition: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 56px; }
.muted { color: var(--muted); }
.sm { font-size: .85rem; }
.ta-right { text-align: right; }
.req { color: var(--danger); }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff;
    padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
    --btn-bg: var(--accent); --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--r-md); border: 1px solid transparent;
    background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 600;
    font-size: .95rem; cursor: pointer; transition: all var(--transition); white-space: nowrap;
    line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--accent); }
.btn--primary:hover { --btn-bg: var(--accent-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-soft); border-color: var(--border-strong); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-fg: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--accent-ink); }
.btn--danger-ghost { --btn-bg: transparent; --btn-fg: var(--danger); border-color: var(--danger-soft); }
.btn--danger-ghost:hover { --btn-bg: var(--danger-soft); box-shadow: none; }
.btn--sm { padding: 7px 14px; font-size: .85rem; border-radius: var(--r-sm); }
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.inline-form { display: inline; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand--center { justify-content: center; margin-bottom: 8px; }
.brand__mark {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), #14897560); color: #fff; font-weight: 800;
    box-shadow: var(--shadow-sm); background: linear-gradient(135deg, var(--accent), #0a4f43);
}
.brand em { color: var(--accent); font-style: normal; }

.search { flex: 1; display: flex; max-width: 480px; position: relative; }
.search input {
    width: 100%; padding: 11px 44px 11px 16px; border: 1px solid var(--border-strong);
    border-radius: var(--r-md); background: var(--surface); font: inherit; font-size: .92rem;
    transition: border var(--transition), box-shadow var(--transition);
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; color: var(--muted); cursor: pointer; padding: 6px; display: grid; place-items: center;
}
.search button:hover { color: var(--accent); }
.search--inline { max-width: 360px; }
.search--inline button { position: static; transform: none; background: var(--accent); color: #fff; border-radius: var(--r-sm); padding: 0 16px; margin-left: -42px; }

.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav > a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.site-nav > a:hover { color: var(--accent); }
.nav-cart { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.cart-badge {
    background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center;
}
.cart-badge[hidden] { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
    position: relative;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding-block: 24px;
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 107, 92, 0.55) 0%, rgba(10, 16, 26, 0.94) 100%);
    z-index: 1;
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.hero__glass-panel {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid transparent;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.hero .eyebrow {
    color: #6ee7b7;
    background: rgba(14, 107, 92, 0.3);
    border: 1px solid rgba(110, 231, 183, 0.2);
}
.hero__title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.15;
}
.hero__title span {
    color: #34d399;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}
.hero__lead {
    font-size: 1.05rem;
    color: #e2e8f0;
    max-width: 32em;
    margin-bottom: 20px;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}
.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}
.btn--ghost-light:hover {
    --btn-bg: rgba(255, 255, 255, 0.15);
    --btn-fg: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.hero__points {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.hero__points li {
    position: relative;
    padding-left: 24px;
    color: #cbd5e1;
    font-size: .95rem;
    font-weight: 500;
}
.hero__points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 800;
}

/* Hero Slider */
.hero__slider {
    position: relative;
    width: 100%;
    min-height: 160px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    margin-bottom: 20px;
}
@media (max-width: 960px) {
    .hero__slider {
        min-height: 140px;
    }
}
@media (max-width: 720px) {
    .hero__slider {
        min-height: 180px;
    }
}
.hero__slide {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 500ms ease, transform 500ms ease, visibility 500ms;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
@media (max-width: 960px) {
    .hero__slide {
        align-items: center;
    }
}
.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hero__slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    justify-content: center;
}
.hero__slider-dot {
    width: 18px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition);
}
.hero__slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}
.hero__slider-dot.is-active {
    background: #34d399;
    width: 32px;
}

/* Stats Row -> Stacked vertically on desktop */
.hero__stats-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.hero__stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 14px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}
.hero__stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}
.hero__stat-icon {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.05);
}
.hero__stat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero__stat-card span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero__stat-card strong {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}
.hero__stat-card small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 400;
}
.hero__card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
    display: inline-block;
}

/* ---- Section heads ------------------------------------------------------- */
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.section__subtitle { color: var(--muted); margin: 6px 0 0; }
.link-arrow { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.link-arrow--back { display: inline-block; margin-bottom: 18px; }

/* ---- Product grid & cards ------------------------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); display: block; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__pack { position: absolute; top: 12px; left: 12px; background: rgba(14, 107, 92, .92); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__code { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.product-card__title { font-size: 1rem; margin: 0; font-weight: 600; line-height: 1.35; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--accent); }
.product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.product-card__price span { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.product-card__price small { display: block; color: var(--muted); font-size: .72rem; }

/* ---- Features & CTA ------------------------------------------------------ */
.features { background: var(--surface); border-block: 1px solid var(--border); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 56px; }
.feature { text-align: center; padding: 12px; }
.feature__icon { font-size: 2.4rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; }
.cta { padding-block: 64px; }
.cta__inner { background: linear-gradient(135deg, var(--accent), #0a4f43); color: #fff; border-radius: var(--r-xl); padding: 56px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.cta__inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta__inner p { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }

/* ---- Breadcrumb & pagination -------------------------------------------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.pagination__btn { padding: 10px 18px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); font-weight: 600; }
.pagination__btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.pagination__info { color: var(--muted); font-size: .9rem; }

/* ---- Product detail ------------------------------------------------------ */
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-detail__media { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 8px 0 14px; }
.product-detail__price { font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 22px; }
.product-detail__price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.spec-list { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-bottom: 24px; }
.spec-list li { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted); }
.product-detail__desc { margin-bottom: 24px; }
.product-detail__desc h2 { font-size: 1.1rem; }
.product-detail__desc p { color: var(--ink-soft); }

/* ---- Quantity stepper ---------------------------------------------------- */
.add-to-cart { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.add-to-cart__hint { color: var(--muted); font-size: .85rem; margin-top: 12px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.qty-stepper__btn { width: 46px; border: 0; background: var(--surface-2); font-size: 1.3rem; cursor: pointer; color: var(--ink-soft); transition: background var(--transition); }
.qty-stepper__btn:hover { background: var(--border); }
.qty-stepper__input { width: 72px; text-align: center; border: 0; border-inline: 1px solid var(--border); font: inherit; font-weight: 600; padding: 12px 4px; -moz-appearance: textfield; }
.qty-stepper__input::-webkit-outer-spin-button, .qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper__input:focus { outline: none; }
.qty-stepper--sm .qty-stepper__btn { width: 34px; font-size: 1.1rem; }
.qty-stepper--sm .qty-stepper__input { width: 54px; padding: 8px 2px; }

/* ---- Cart ---------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
    display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 18px; align-items: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px;
}
.cart-item__media { width: 88px; height: 88px; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; gap: 3px; }
.cart-item__title { font-weight: 600; color: var(--ink); }
.cart-item__meta { font-size: .82rem; color: var(--muted); }
.cart-item__qty { display: flex; gap: 8px; align-items: center; }
.cart-item__subtotal { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.cart-item__remove button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; border-radius: var(--r-sm); transition: all var(--transition); }
.cart-item__remove button:hover { color: var(--danger); background: var(--danger-soft); }

.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; position: sticky; top: 92px; }
.cart-summary h2 { font-size: 1.2rem; margin-bottom: 18px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--ink-soft); }
.cart-summary__total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 16px; font-size: 1.2rem; }
.cart-summary__total strong { color: var(--accent); }
.cart-summary .btn { margin-top: 12px; }

/* ---- Forms & cards ------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; margin-bottom: 20px; }
.card--accent { border-color: var(--accent); background: var(--accent-soft); }
.card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card__head h2 { margin: 0; }
.form .field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-md);
    font: inherit; font-size: .95rem; background: var(--surface); transition: border var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input:disabled { background: var(--surface-2); color: var(--muted); }
.field__hint { display: block; color: var(--muted); font-size: .8rem; margin-top: 5px; }
.field__password-wrapper {
    position: relative;
    display: block;
}
.field__password-wrapper input {
    padding-right: 46px !important;
}
.field__password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
}
.field__password-toggle:hover {
    color: var(--accent);
}
.field__password-toggle svg {
    display: block;
    pointer-events: none;
}
.field__password-toggle .icon-eye-off {
    display: none;
}
.field__password-toggle.is-visible .icon-eye {
    display: none;
}
.field__password-toggle.is-visible .icon-eye-off {
    display: block;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__divider { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }

/* ---- Auth ---------------------------------------------------------------- */
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-md); }
.auth-card__title { font-size: 1.7rem; text-align: center; }
.auth-card__subtitle { text-align: center; color: var(--muted); margin-bottom: 28px; }
.auth-card__alt { text-align: center; margin: 22px 0 0; color: var(--muted); }

/* ---- Account layout ------------------------------------------------------ */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.account-nav { position: sticky; top: 92px; }
.account-nav__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.account-nav nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav nav a { padding: 10px 14px; border-radius: var(--r-md); color: var(--ink-soft); font-weight: 500; }
.account-nav nav a:hover { background: var(--surface-2); }
.account-nav nav a.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

/* ---- Checkout ------------------------------------------------------------ */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.pay-option { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; margin-bottom: 12px; transition: all var(--transition); }
.pay-option:hover { border-color: var(--accent); }
.pay-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pay-option input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.pay-option__body { display: flex; flex-direction: column; gap: 3px; }
.pay-option__body span { color: var(--muted); font-size: .88rem; }
.bank-details { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border-strong); }
.bank-details__box { background: var(--surface-2); border-radius: var(--r-md); padding: 18px; margin-bottom: 18px; }
.bank-details__box h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bank-details__box dl { margin: 0; }
.bank-details__box dl > div { display: flex; justify-content: space-between; padding: 5px 0; }
.bank-details__box dt { color: var(--muted); }
.bank-details__box dd { margin: 0; font-weight: 600; }
.bank-details__amount { margin: 12px 0 0; }
.bank-mini dt { font-weight: 700; }
.checkout-summary { position: sticky; top: 92px; }
.checkout-items { margin-bottom: 16px; }
.checkout-items li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.checkout-items__qty { color: var(--accent); font-weight: 700; }
.checkout-items__name { flex: 1; }
.checkout-items__price { font-weight: 600; }
.checkout-summary__note { color: var(--muted); font-size: .8rem; text-align: center; margin: 12px 0 0; }

/* ---- Redirect (PayHere) -------------------------------------------------- */
.redirect-page { display: grid; place-items: center; min-height: 50vh; }
.redirect-card { text-align: center; max-width: 420px; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 24px; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Orders -------------------------------------------------------------- */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; transition: all var(--transition); }
.order-row:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.order-row__main { display: flex; flex-direction: column; }
.order-row__main strong { color: var(--ink); }
.order-row__main span { color: var(--muted); font-size: .85rem; }
.order-row__meta { display: flex; align-items: center; gap: 12px; }
.order-row__method { font-size: .85rem; color: var(--muted); }
.order-row__amount { font-weight: 800; font-size: 1.05rem; }
.order-detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.order-detail__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---- Progress track ------------------------------------------------------ */
.progress-track { display: flex; justify-content: space-between; position: relative; margin: 16px 0 8px; }
.progress-track::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; text-align: center; }
.progress-step__dot { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); display: grid; place-items: center; font-size: .82rem; font-weight: 700; color: var(--muted); }
.progress-step__label { font-size: .76rem; color: var(--muted); max-width: 80px; }
.progress-step.is-done .progress-step__dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress-step.is-done .progress-step__label { color: var(--ink-soft); }
.progress-step.is-current .progress-step__dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.progress-step.is-current .progress-step__label { color: var(--accent); font-weight: 600; }
.order-cancelled { background: var(--danger-soft); color: var(--danger); padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; }

/* ---- Tables -------------------------------------------------------------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--border); }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tfoot td { border-bottom: 0; padding-top: 16px; font-size: 1.05rem; }
.data-table small { color: var(--muted); }

/* ---- Badges -------------------------------------------------------------- */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--info { background: var(--info-soft); color: var(--info); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--neutral { background: var(--surface-2); color: var(--muted); }

/* ---- Alerts -------------------------------------------------------------- */
.flash-zone { padding-top: 16px; }
.flash-zone:empty { display: none; }
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    margin-bottom: 14px;
    font-size: .92rem;
    border: 1px solid transparent;
    opacity: 1;
    transition: opacity var(--transition), transform var(--transition), margin var(--transition), padding var(--transition), height var(--transition);
}
.alert.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 0 !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    overflow: hidden;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert span { flex: 1; }
.alert--success { background: var(--success-soft); color: var(--success); border-color: #bfe6d4; }
.alert--error { background: var(--danger-soft); color: var(--danger); border-color: #f3cfcb; }
.alert--info { background: var(--info-soft); color: var(--info); border-color: #cfe0f6; }
.alert__list { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.alert__close { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }
.alert__close:hover { opacity: 1; }

/* ---- Toast (AJAX feedback) ----------------------------------------------- */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
    background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; z-index: 300;
    opacity: 0; transition: opacity var(--transition), transform var(--transition); max-width: 90vw;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: var(--accent); }
.toast--error { background: var(--danger); }

/* ---- Empty state --------------------------------------------------------- */
.empty-state { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty-state h3 { font-size: 1.3rem; }
.empty-state p { color: var(--muted); max-width: 38em; margin-inline: auto; margin-bottom: 20px; }

/* ---- Error page ---------------------------------------------------------- */
.error-page { text-align: center; padding-block: 80px; }
.error-page__code { font-size: 5rem; font-weight: 800; color: var(--accent); opacity: .25; margin: 0; line-height: 1; }
.error-page__title { font-size: 2rem; }
.error-page__message { color: var(--muted); max-width: 30em; margin-inline: auto; margin-bottom: 28px; }
.error-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Steps Grid & Interactive Animations */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 300ms ease;
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 107, 92, 0.08), var(--shadow-md);
    border-color: var(--accent);
}
.step-card__number {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(14, 107, 92, 0.08);
    line-height: 1;
    transition: color 300ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    pointer-events: none;
}
.step-card:hover .step-card__number {
    color: rgba(14, 107, 92, 0.16);
    transform: scale(1.1) translateY(-2px);
}
.step-card__icon {
    font-size: 2.2rem;
    display: inline-block;
    width: fit-content;
    transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-card:hover .step-card__icon {
    transform: scale(1.25) rotate(-6deg);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 960px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c9cdd4; margin-top: 64px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-block: 56px; }
.site-footer__brand { display: flex; gap: 14px; }
.site-footer__brand strong { color: #fff; font-size: 1.1rem; }
.site-footer__brand p { color: #8b93a0; font-size: .9rem; margin: 4px 0 0; max-width: 26em; }
.site-footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer__links h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.site-footer__links a { display: block; color: #9aa1ac; padding: 4px 0; font-size: .92rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid #2a2f38; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; font-size: .85rem; color: #8b93a0; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero__glass-panel {
        text-align: center;
        align-items: center;
        padding: 32px;
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__points {
        flex-direction: row;
        justify-content: center;
        gap: 12px 24px;
    }
    .hero__stats-row {
        flex-direction: row;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hero__stats-row > div:last-child {
        grid-column: span 2;
    }
    .product-detail__grid { grid-template-columns: 1fr; gap: 28px; }
    .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
    .features__grid { grid-template-columns: 1fr; }
    .order-detail__cards { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary, .account-nav, .cart-summary { position: static; }
}

@media (max-width: 720px) {
    .hero__glass-panel { padding: 24px 20px; }
    .hero__stats-row { grid-template-columns: 1fr; }
    .hero__stats-row > div:last-child { grid-column: span 1; }
    .hero__points { flex-direction: column; align-items: flex-start; gap: 8px; }
    
    .nav-toggle { display: block; order: 3; }
    .search { order: 4; flex-basis: 100%; max-width: none; }
    .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 12px; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; box-shadow: var(--shadow-md); display: none; }
    .site-nav.is-open { display: flex; }
    .site-nav > a, .site-nav .btn, .site-nav form { padding-block: 10px; width: 100%; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer__links { grid-template-columns: 1fr 1fr; }
    .cart-item { grid-template-columns: 64px 1fr; grid-template-areas: "media info" "qty qty" "sub remove"; row-gap: 12px; }
    .cart-item__media { width: 64px; height: 64px; grid-area: media; }
    .cart-item__info { grid-area: info; }
    .cart-item__qty { grid-area: qty; }
    .cart-item__subtotal { grid-area: sub; }
    .cart-item__remove { grid-area: remove; justify-self: end; }
    .form__row { grid-template-columns: 1fr; }
    .progress-step__label { font-size: .68rem; }
}

/* ---- Redesigned Navigation & Dropdown ------------------------------------ */
.site-nav > a {
    position: relative;
    padding-block: 6px;
}
.site-nav > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition), left var(--transition);
}
.site-nav > a:hover::after,
.site-nav > a.is-active::after {
    width: 100%;
    left: 0;
}
.site-nav > a.is-active {
    color: var(--accent);
    font-weight: 600;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
}
.profile-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--r-md);
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}
.profile-dropdown__trigger:hover {
    background: var(--border);
    color: var(--ink);
}
.profile-dropdown__trigger svg.chevron {
    transition: transform var(--transition);
}
.profile-dropdown.is-open .profile-dropdown__trigger svg.chevron {
    transform: rotate(180deg);
}
.profile-dropdown__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    z-index: 150;
    padding: 8px 0;
    display: none;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: opacity var(--transition), transform var(--transition), display var(--transition) allow-discrete;
}
.profile-dropdown.is-open .profile-dropdown__menu {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}
@starting-style {
    .profile-dropdown.is-open .profile-dropdown__menu {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
}
.profile-dropdown__menu a,
.profile-dropdown__menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 18px;
    border: 0;
    background: none;
    color: var(--ink-soft);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}
.profile-dropdown__menu a:hover,
.profile-dropdown__menu button:hover {
    background: var(--surface-2);
    color: var(--accent);
}
.profile-dropdown__divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* ---- Mobile Sidebar & Backdrop ------------------------------------------- */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(22, 25, 31, 0.4);
    backdrop-filter: blur(4px);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}
.mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    z-index: 260;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.mobile-sidebar.is-open {
    transform: translateX(0);
}
.mobile-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.mobile-sidebar__close {
    background: none;
    border: 0;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 6px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    transition: background var(--transition);
}
.mobile-sidebar__close:hover {
    background: var(--surface-2);
    color: var(--ink);
}
.mobile-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.mobile-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-sidebar__nav a {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: color var(--transition);
}
.mobile-sidebar__nav a:hover,
.mobile-sidebar__nav a.is-active {
    color: var(--accent);
}
.mobile-sidebar__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

/* ---- Static Pages (About & Contact) -------------------------------------- */
.about-hero, .contact-hero {
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--surface-2) 100%);
    border-bottom: 1px solid var(--border);
    padding-block: 56px 40px;
}
.about-hero__inner, .contact-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about-hero__title, .contact-hero__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 12px;
}
.about-hero__lead, .contact-hero__lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 32em;
    margin-bottom: 0;
}

/* About Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.about-card h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.about-stats {
    background: linear-gradient(135deg, var(--accent), #0a4f43);
    color: #fff;
    padding-block: 56px;
    margin-block: 32px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gold);
}
.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}
.value-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.value-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.value-item p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

/* Contact Layout */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}
.contact-info h2, .contact-form-card h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}
.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-block: 32px;
    list-style: none;
    padding: 0;
}
.contact-info__list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-info__list li div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-info__list li strong {
    font-size: 0.95rem;
    color: var(--ink);
}
.contact-info__list li span {
    color: var(--ink-soft);
}
.contact-bank-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.contact-bank-box h4 {
    font-size: 1.1rem;
    color: var(--accent-ink);
    margin-bottom: 8px;
}
.contact-bank-box p {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 16px;
}
.bank-details-dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bank-details-dl > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}
.bank-details-dl > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.bank-details-dl dt {
    color: var(--muted);
}
.bank-details-dl dd {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* Responsive Overrides */
@media (max-width: 960px) {
    .about-grid, .values-grid, .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ---- Redesigned Double-Row Header (Premium Styling) -------------------- */
.site-header__utility {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.site-header__utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.utility-left, .utility-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
}
.utility-left svg, .utility-right svg {
    color: var(--accent);
    flex-shrink: 0;
}
.utility-left a, .utility-right a {
    color: var(--ink-soft);
    font-weight: 600;
    transition: color var(--transition);
}
.utility-left a:hover, .utility-right a:hover {
    color: var(--accent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
    padding-block: 0;
}
.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}
.site-header__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-top: 1px solid var(--border);
    gap: 32px;
}

/* Brand Identity */
.brand-new {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-new:hover {
    opacity: 0.95;
}
.brand-new__icon {
    width: 42px;
    height: 42px;
    color: var(--accent);
    flex-shrink: 0;
}
.brand-new__text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-new__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin: 0;
}
.brand-new__title span {
    color: var(--ink);
}
.brand-new__subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
}

/* Centered Pill Search Input */
.search-new {
    flex: 1;
    max-width: 540px;
    position: relative;
}
.search-new input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    font: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    transition: all var(--transition);
}
.search-new input::placeholder {
    color: var(--muted);
}
.search-new input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.search-new__icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    transition: color var(--transition);
}
.search-new input:focus + .search-new__icon {
    color: var(--accent);
}

/* Header Action Pill Buttons */
.header-actions-new {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-account-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--ink);
    padding: 10px 22px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-account-new:hover {
    background: var(--surface-2);
}
.btn-cart-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    border: 1px solid var(--ink);
    padding: 10px 22px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-cart-new:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Bottom Row Nav Links */
.bottom-nav-new {
    display: flex;
    align-items: center;
    gap: 28px;
}
.bottom-nav-new > a {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding-block: 4px;
    transition: color var(--transition);
}
.bottom-nav-new > a:hover,
.bottom-nav-new > a.is-active {
    color: var(--accent);
}
.bottom-nav-new > a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition), left var(--transition);
}
.bottom-nav-new > a:hover::after,
.bottom-nav-new > a.is-active::after {
    width: 100%;
    left: 0;
}
.bottom-nav-new > a svg.chevron {
    transition: transform var(--transition);
}
.bottom-nav-new > a:hover svg.chevron {
    transform: translateY(1px);
    color: var(--accent);
}



/* Position account menu dropdown under button */
.site-header__top .profile-dropdown {
    position: relative;
}

/* Mobile responsive styling overrides */
@media (max-width: 720px) {
    .site-header__top {
        height: auto;
        padding-block: 12px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .brand-new {
        order: 1;
    }
    .nav-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }
    .search-new {
        order: 4;
        flex-basis: 100%;
        max-width: none;
    }
    .header-actions-new {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-top: 4px;
    }
    .btn-account-new, .btn-cart-new {
        flex: 1;
        justify-content: center;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .site-header__bottom {
        display: none; /* Hide bottom row on mobile */
    }
    .site-header__utility {
        display: none; /* Hide utility bar on mobile */
    }
}

/* Live Search Results Popup */
.search-new__results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
}
.search-new__results.is-visible {
    display: flex;
}
.search-new__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft);
    text-decoration: none;
    color: inherit;
    transition: background-color var(--transition);
}
.search-new__item:hover {
    background-color: var(--background);
}
.search-new__item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--r-sm);
    background: var(--background);
}
.search-new__item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-new__item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}
.search-new__item-code {
    font-size: 0.78rem;
    color: var(--muted);
}
.search-new__item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
    text-align: right;
}
.search-new__item-pack {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 400;
}
.search-new__more {
    padding: 12px 16px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    text-decoration: none;
    border-top: 1px solid var(--border-soft);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    transition: opacity var(--transition);
}
.search-new__more:hover {
    opacity: 0.85;
}
.search-new__status {
    padding: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
}



