/* ========================================================================
   TBH INDIA — CUSTOMER FRONTEND THEME
   Scope: customer-facing pages only

   COMMON DESIGN SYSTEM:
   assets/css/style.css

   This file contains customer-specific UI only.
========================================================================= */


/* ------------------------------------------------------------------------
   CUSTOMER COMPATIBILITY TOKENS

   Common design tokens now live in:
   assets/css/style.css

   These aliases preserve the existing customer CSS without changing
   existing class names or page markup.
------------------------------------------------------------------------- */

:root {
    --tbh-ink: var(--tbh-black);
    --tbh-ink-soft: var(--tbh-charcoal);
    --tbh-gold-deep: var(--tbh-gold-dark);
    --tbh-muted: var(--tbh-gray-600);
    --tbh-line: var(--tbh-gray-200);
    --tbh-container: var(--tbh-container-xl);
}


/* ------------------------------------------------------------------------
   CUSTOMER-SPECIFIC DOCUMENT BEHAVIOUR
------------------------------------------------------------------------- */

body.mobile-menu-open {
    overflow: hidden;
}


/* ------------------------------------------------------------------------
   CUSTOMER CONTENT CONTAINER
------------------------------------------------------------------------- */

.customer-container {
    width: min(
        var(--tbh-container-xl),
        calc(100% - (var(--tbh-page-padding-x) * 2))
    );

    margin-inline: auto;
}


/* ------------------------------------------------------------------------
   ACCESSIBILITY HELPER
------------------------------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* HEADER ---------------------------------------------------------------- */
.customer-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.20);
}

.customer-promo-bar {
    background: var(--tbh-ink);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.customer-promo-bar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.customer-promo-bar__inner > span:first-child {
    color: var(--tbh-gold);
    font-weight: 800;
}

.promo-separator { opacity: .45; }

.customer-header__main {
    background: var(--tbh-white);
}

.customer-header__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto auto;
    gap: 24px;
    align-items: center;
}

.customer-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.customer-logo__mark {
    font-size: 29px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--tbh-ink);
}

.customer-logo__word {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    color: var(--tbh-gold-deep);
}

.customer-search {
    min-width: 0;
    display: flex;
    align-items: center;
    border: 1px solid #ddd5c5;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.customer-search:focus-within {
    border-color: var(--tbh-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .14);
}

.customer-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 13px 16px 13px 20px;
    color: var(--tbh-ink);
}

.customer-search input::placeholder { color: #989287; }

.customer-search button {
    width: 48px;
    height: 48px;
    border: 0;
    background: var(--tbh-gold);
    color: var(--tbh-ink);
    font-size: 23px;
    font-weight: 900;
}

.customer-desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
}

.customer-desktop-nav a {
    position: relative;
    padding: 28px 0;
    color: #33312c;
}

.customer-desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: var(--tbh-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.customer-desktop-nav a:hover::after,
.customer-desktop-nav a.is-active::after { transform: scaleX(1); }

.customer-mobile-actions,
.customer-mobile-menu { display: none; }

.icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e0d7c7;
    border-radius: 12px;
    background: #fff;
}

/* BUTTONS --------------------------------------------------------------- */
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, #e1c24f, #c99e22);
    color: #161616;
    box-shadow: 0 12px 28px rgba(166, 124, 0, .18);
}
.btn-ghost {
    border: 1px solid rgba(255,255,255,.38);
    color: #fff;
    background: rgba(255,255,255,.05);
}
.btn-product {
    width: 100%;
    margin-top: 16px;
    background: var(--tbh-ink);
    color: #fff;
}

/* TYPOGRAPHY ------------------------------------------------------------ */
.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--tbh-gold);
}
.eyebrow--dark { color: var(--tbh-gold-deep); }

/* HERO ------------------------------------------------------------------ */
.customer-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 15%, rgba(212,175,55,.16), transparent 32%),
        linear-gradient(135deg, #171717 0%, #0f0f0f 52%, #1c1810 100%);
    color: #fff;
}

.customer-hero__inner {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 45px;
    padding: 72px 0;
}

.customer-hero__content h1 {
    margin: 0;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
}
.customer-hero__content h1 span { color: var(--tbh-gold); }
.customer-hero__content p {
    max-width: 620px;
    margin: 24px 0 30px;
    color: rgba(255,255,255,.72);
    font-size: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.customer-hero__visual {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}
.hero-monogram {
    width: 220px;
    height: 220px;
    border: 1px solid rgba(212,175,55,.50);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -.05em;
    color: var(--tbh-gold);
    background: radial-gradient(circle, rgba(212,175,55,.10), rgba(255,255,255,.01) 68%);
    box-shadow: 0 0 0 18px rgba(212,175,55,.05), 0 0 80px rgba(212,175,55,.14);
}
.hero-tag {
    position: absolute;
    right: 23%;
    bottom: 13%;
    padding: 7px 12px;
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 999px;
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .25em;
}
.hero-orbit {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212,175,55,.16);
    border-radius: 50%;
}
.hero-orbit--two { width: 380px; height: 180px; transform: rotate(24deg); }
.hero-orbit--three { width: 180px; height: 380px; transform: rotate(-28deg); }

/* TRUST ----------------------------------------------------------------- */
.customer-trust-strip { background: var(--tbh-cream); border-bottom: 1px solid var(--tbh-line); }
.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.trust-pill {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 22px;
    border-right: 1px solid var(--tbh-line);
}
.trust-pill:first-child { border-left: 1px solid var(--tbh-line); }
.trust-pill > span { font-size: 24px; }
.trust-pill strong { display: block; font-size: 14px; }
.trust-pill small { display: block; margin-top: 2px; color: var(--tbh-muted); font-size: 12px; }

/* SECTIONS -------------------------------------------------------------- */
.customer-section { padding: 78px 0; }
.customer-section--soft { background: #fbf8f1; }
.customer-section--dark { background: #131313; color: #fff; }
.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.section-heading-row h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.section-heading-row p { margin: 10px 0 0; color: var(--tbh-muted); }
.section-link { color: var(--tbh-gold-deep); font-weight: 850; }
.section-link span { margin-left: 5px; }

/* CATEGORIES ------------------------------------------------------------ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}
.category-card {
    min-height: 172px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--tbh-line);
    border-radius: var(--tbh-radius-lg);
    background: #fff;
    box-shadow: var(--tbh-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.6);
    box-shadow: var(--tbh-shadow-md);
}
.category-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--tbh-cream);
    font-size: 25px;
}
.category-card__body h3 { margin: 18px 0 6px; font-size: 19px; }
.category-card__body span { color: var(--tbh-gold-deep); font-size: 13px; font-weight: 800; }

/* PRODUCTS -------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
}
.product-card {
    overflow: hidden;
    border: 1px solid var(--tbh-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--tbh-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.55);
    box-shadow: var(--tbh-shadow-md);
}
.product-card__image {
    height: 280px;
    display: block;
    background: #f3f1eb;
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--tbh-gold-deep);
    font-weight: 900;
    letter-spacing: .12em;
}
.product-card__body { padding: 20px; }
.product-card__meta {
    color: #969083;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}
.product-card h3 {
    min-height: 56px;
    margin: 9px 0 12px;
    font-size: 18px;
    line-height: 1.35;
}
.product-card h3 a:hover { color: var(--tbh-gold-deep); }
.product-price-row { display: flex; align-items: baseline; gap: 9px; }
.product-price-row strong { font-size: 23px; }
.product-price-row del { color: #8d877b; font-size: 14px; }
.stock-badge {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}
.stock-badge--available { background: #edf8ef; color: var(--tbh-success); }
.stock-badge--unavailable { background: #fff0f0; color: var(--tbh-danger); }

/* FEATURE --------------------------------------------------------------- */
.customer-feature-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: start;
}
.customer-feature-grid h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.customer-feature-grid p { max-width: 650px; color: rgba(255,255,255,.68); font-size: 17px; }
.feature-list { display: grid; gap: 12px; }
.feature-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}
.feature-item > span { color: var(--tbh-gold); font-weight: 900; }
.feature-item strong { display: block; }
.feature-item small { display: block; margin-top: 4px; color: rgba(255,255,255,.58); }

/* EMPTY STATES ---------------------------------------------------------- */
.empty-state,
.empty-products {
    padding: 58px 25px;
    border: 1px dashed #d7cfbf;
    border-radius: 18px;
    text-align: center;
    background: rgba(255,255,255,.55);
}
.empty-state h3,
.empty-products h3 { margin: 0 0 8px; }
.empty-state p,
.empty-products p { margin: 0; color: var(--tbh-muted); }
.empty-icon { margin-bottom: 10px; font-size: 36px; }

/* FOOTER ---------------------------------------------------------------- */
.customer-footer {
    background: #090909;
    color: #fff;
    border-top: 2px solid var(--tbh-gold);
}
.customer-footer__top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 35px;
    padding: 60px 0 42px;
}
.customer-logo--footer .customer-logo__mark { color: #fff; }
.customer-footer__brand p { margin: 14px 0 0; color: rgba(255,255,255,.75); }
.customer-footer__muted { color: rgba(255,255,255,.46) !important; font-size: 13px; }
.customer-footer__column { display: flex; flex-direction: column; gap: 10px; }
.customer-footer__column h3 { margin: 0 0 7px; color: var(--tbh-gold); font-size: 13px; letter-spacing: .11em; text-transform: uppercase; }
.customer-footer__column a { color: rgba(255,255,255,.72); font-size: 14px; }
.customer-footer__column a:hover { color: #fff; }
.customer-footer__bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.45);
    font-size: 12px;
}

/* RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1120px) {
    .customer-header__inner { grid-template-columns: auto minmax(220px,1fr) auto; }
    .customer-desktop-nav { display: none; }
    .customer-mobile-actions { display: flex; gap: 9px; }
    .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .customer-footer__top { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .customer-hero__inner { grid-template-columns: 1fr; padding: 56px 0 64px; }
    .customer-hero__visual { min-height: 250px; }
    .hero-monogram { width: 180px; height: 180px; font-size: 48px; }
    .hero-orbit { transform: scale(.78); }
    .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .trust-pill:nth-child(2n) { border-right: 0; }
    .trust-pill:nth-child(n+3) { border-top: 1px solid var(--tbh-line); }
    .customer-feature-grid { grid-template-columns: 1fr; }
    .customer-footer__top { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .customer-container { width: min(var(--tbh-container), calc(100% - 24px)); }
    .customer-promo-bar__inner { overflow: hidden; white-space: nowrap; justify-content: flex-start; gap: 7px; font-size: 9px; }
    .customer-header__inner { min-height: 66px; grid-template-columns: auto 1fr auto; gap: 10px; }
    .customer-logo__mark { font-size: 24px; }
    .customer-logo__word { font-size: 10px; }
    .customer-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px; }
    .customer-header__main { padding-bottom: 10px; }
    .customer-mobile-actions { grid-column: 3; grid-row: 1; }
    .customer-search input { padding-block: 12px; }
    .customer-search button { width: 46px; height: 46px; }

    .customer-mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        border-top: 1px solid transparent;
        transition: max-height .25s ease, border-color .25s ease;
    }
    .customer-mobile-menu.is-open { max-height: 360px; border-top-color: var(--tbh-line); }
    .customer-mobile-menu__inner { padding: 10px 0 14px; display: grid; gap: 4px; }
    .customer-mobile-menu a { padding: 13px 14px; border-radius: 12px; font-weight: 750; }
    .customer-mobile-menu a:hover { background: var(--tbh-cream); }

    .customer-hero__inner { min-height: auto; padding: 44px 0 50px; gap: 20px; }
    .customer-hero__content h1 { font-size: clamp(40px, 13vw, 58px); }
    .customer-hero__content p { font-size: 16px; }
    .customer-hero__visual { min-height: 210px; }
    .hero-monogram { width: 145px; height: 145px; font-size: 40px; }
    .hero-tag { right: 15%; bottom: 2%; }

    .trust-strip__grid { grid-template-columns: 1fr; }
    .trust-pill,
    .trust-pill:first-child { border-left: 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--tbh-line); }
    .trust-pill:last-child { border-bottom: 0; }

    .customer-section { padding: 56px 0; }
    .section-heading-row { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
    .section-heading-row h2 { font-size: 32px; }

    .category-grid,
    .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .category-card { min-height: 145px; padding: 16px; border-radius: 18px; }
    .category-card__icon { width: 44px; height: 44px; font-size: 21px; }
    .category-card__body h3 { font-size: 16px; margin-top: 14px; }

    .product-card { border-radius: 16px; }
    .product-card__image { height: 190px; }
    .product-card__body { padding: 14px; }
    .product-card h3 { min-height: 66px; font-size: 15px; }
    .product-price-row strong { font-size: 18px; }
    .product-price-row del { font-size: 12px; }
    .btn-product { min-height: 44px; padding-inline: 14px; font-size: 14px; }

    .customer-footer__top { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 46px 0 30px; }
    .customer-footer__brand { grid-column: 1 / -1; }
    .customer-footer__bottom { min-height: auto; padding: 18px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 390px) {
    .category-grid, .product-grid { grid-template-columns: 1fr 1fr; }
    .product-card__image { height: 165px; }
    .customer-logo__word { display: none; }
}

/* ========================================================================
   LEGACY HOMEPAGE MARKUP — V2 NO-LOSS VISUAL UPGRADE
   Keeps the existing index.php sections/functionality while applying the
   shared TBH customer visual system.
========================================================================= */

body {
    background: var(--tbh-paper);
}

/* EXISTING HERO */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 18%, rgba(212,175,55,.18), transparent 28%),
        radial-gradient(circle at 15% 85%, rgba(255,255,255,.06), transparent 24%),
        linear-gradient(135deg, #151515 0%, #0c0c0c 58%, #1b160b 100%);
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -34% auto;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 36px rgba(212,175,55,.025),
        0 0 0 72px rgba(212,175,55,.02);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 78px 0;
}

.hero-small {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--tbh-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 7vw, 80px);
    line-height: .98;
    letter-spacing: -.05em;
}

.hero h1 strong {
    color: var(--tbh-gold);
    font-weight: 900;
}

.hero p {
    max-width: 650px;
    margin: 24px 0 30px;
    color: rgba(255,255,255,.72);
    font-size: 18px;
}

.hero-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1c24f, #c99e22);
    color: #171717;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(166,124,0,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(166,124,0,.28);
}

/* EXISTING SECTION SYSTEM */
.section {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 72px 0;
}

.section + .section {
    border-top: 1px solid var(--tbh-line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading > div > span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--tbh-gold-deep);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: var(--tbh-ink);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.section-heading > a {
    color: var(--tbh-gold-deep);
    font-weight: 850;
    white-space: nowrap;
}

/* EXISTING CATEGORY GRID */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.category-card {
    min-height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--tbh-line);
    border-radius: var(--tbh-radius-md);
    background: var(--tbh-white);
    box-shadow: var(--tbh-shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,.58);
    box-shadow: var(--tbh-shadow-md);
}

.category-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tbh-cream);
    font-size: 24px;
}

.category-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
}

/* EXISTING PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--tbh-line);
    border-radius: var(--tbh-radius-md);
    background: var(--tbh-white);
    box-shadow: var(--tbh-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.55);
    box-shadow: var(--tbh-shadow-md);
}

.product-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f2ea;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--tbh-gold-deep);
    font-weight: 900;
    letter-spacing: .08em;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.product-info h3 {
    min-height: 48px;
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.4;
}

.product-info h3 a:hover {
    color: var(--tbh-gold-deep);
}

.product-price {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
}

.product-price del {
    margin-left: 7px;
    color: #8d877b;
    font-size: 13px;
    font-weight: 650;
}

.stock {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.stock.available {
    background: #edf8ef;
    color: var(--tbh-success);
}

.stock.unavailable {
    background: #fff0f0;
    color: var(--tbh-danger);
}

.product-button {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--tbh-ink);
    color: #fff;
    font-weight: 850;
}

.product-button:hover {
    background: #252525;
}

/* TRUST */
.trust-section {
    padding: 0 0 72px;
    background: var(--tbh-cream);
}

.trust-grid {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding-top: 72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.trust-card {
    padding: 24px;
    border: 1px solid var(--tbh-line);
    border-radius: var(--tbh-radius-md);
    background: rgba(255,255,255,.76);
    text-align: center;
}

.trust-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
}

.trust-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.trust-card p {
    margin: 0;
    color: var(--tbh-muted);
    font-size: 14px;
}

/* EMPTY STATES */
.empty-state,
.empty-products {
    padding: 56px 24px;
    border: 1px dashed #d8d0c0;
    border-radius: var(--tbh-radius-md);
    background: rgba(255,255,255,.72);
    text-align: center;
}

.empty-icon {
    margin-bottom: 10px;
    font-size: 36px;
}

.empty-state h3,
.empty-products h3 {
    margin: 0 0 8px;
}

.empty-state p,
.empty-products p {
    margin: 0;
    color: var(--tbh-muted);
}

/* FOOTER FALLBACK / LEGACY SELECTOR SAFETY */
.site-footer {
    background: #0d0d0d;
    color: #fff;
}

/* RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .hero { min-height: 470px; }
    .hero-content { padding: 62px 0; }
    .hero h1 { font-size: clamp(42px, 13vw, 62px); }
    .hero p { font-size: 16px; }

    .section { padding: 54px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }

    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .product-info { padding: 14px; }
    .product-info h3 { min-height: 44px; font-size: 15px; }
    .product-price { font-size: 19px; }
    .product-button { min-height: 44px; font-size: 14px; }

    .trust-grid { grid-template-columns: 1fr; padding-top: 54px; }
}

@media (max-width: 480px) {
    .customer-container,
    .hero-content,
    .section,
    .trust-grid { width: min(100% - 28px, var(--tbh-container)); }
    .category-grid { gap: 10px; }
    .category-card { min-height: 128px; padding: 14px 10px; }
    .product-grid { gap: 10px; }
    .product-info { padding: 12px; }
    .product-info h3 { font-size: 14px; }
    .stock { font-size: 10px; }
}

/* ========================================================================
   TBH INDIA — MOBILE POLISH V2
   Purpose: improve customer homepage readability and touch targets on phones
   without changing desktop presentation or page functionality.
======================================================================== */

@media (max-width: 640px) {
    /* Global mobile typography */
    body {
        font-size: 16px;
        line-height: 1.55;
    }

    .customer-container,
    .hero-content,
    .section,
    .trust-grid {
        width: min(100% - 24px, var(--tbh-container));
    }

    /* Header / search / touch targets */
    .customer-promo-bar {
        font-size: 10px;
        line-height: 1.3;
    }

    .customer-promo-bar__inner {
        min-height: 32px;
        gap: 8px;
        font-size: 10px;
    }

    .customer-header__inner {
        min-height: 70px;
        gap: 9px;
    }

    .customer-logo__mark {
        font-size: 27px;
    }

    .customer-logo__word {
        display: inline;
        font-size: 10px;
        letter-spacing: .16em;
    }

    .customer-mobile-actions {
        gap: 8px;
    }

    .icon-button {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 19px;
    }

    .customer-search {
        margin-bottom: 8px;
    }

    .customer-search input {
        font-size: 14px;
        padding: 13px 12px 13px 16px;
    }

    .customer-search button {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .customer-mobile-menu__inner {
        padding: 10px 0 14px;
        gap: 5px;
    }

    .customer-mobile-menu a {
        padding: 14px;
        font-size: 15px;
    }

    /* Hero typography */
    .hero {
        min-height: 455px;
    }

    .hero-content {
        padding: 58px 0 60px;
    }

    .hero-small {
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: .20em;
    }

    .hero h1 {
        font-size: clamp(42px, 12.5vw, 58px);
        line-height: .99;
    }

    .hero p {
        max-width: 34rem;
        margin: 20px 0 26px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-button {
        min-height: 50px;
        padding-inline: 24px;
        font-size: 15px;
    }

    /* Section headings */
    .section {
        padding: 56px 0;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading > div > span {
        margin-bottom: 7px;
        font-size: 10px;
        letter-spacing: .18em;
    }

    .section-heading h2 {
        font-size: 32px;
        line-height: 1.08;
    }

    .section-heading > a {
        font-size: 14px;
    }

    /* Category cards */
    .category-grid {
        gap: 12px;
    }

    .category-card {
        min-height: 136px;
        padding: 16px 12px;
        border-radius: 16px;
    }

    .category-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .category-card h3 {
        font-size: 15px;
        line-height: 1.25;
    }

    /* Product cards */
    .product-grid {
        gap: 12px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-image {
        aspect-ratio: 1 / 1;
    }

    .product-info {
        padding: 14px;
    }

    .product-info h3 {
        min-height: 48px;
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.35;
    }

    .product-price {
        margin-bottom: 9px;
        font-size: 19px;
    }

    .product-price del {
        font-size: 12px;
    }

    .stock {
        padding: 5px 8px;
        font-size: 10.5px;
    }

    .product-button {
        min-height: 44px;
        margin-top: 12px;
        padding-inline: 12px;
        font-size: 13px;
        border-radius: 11px;
    }

    /* Trust cards */
    .trust-section {
        padding-bottom: 56px;
    }

    .trust-grid {
        padding-top: 56px;
        gap: 12px;
    }

    .trust-card {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .trust-card strong {
        margin-bottom: 8px;
        font-size: 26px;
    }

    .trust-card h3 {
        margin-bottom: 5px;
        font-size: 16px;
    }

    .trust-card p {
        font-size: 13.5px;
    }

    /* Customer footer */
    .customer-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        padding: 46px 0 32px;
    }

    .customer-footer__brand {
        grid-column: 1 / -1;
    }

    .customer-logo--footer .customer-logo__mark {
        font-size: 26px;
    }

    .customer-logo--footer .customer-logo__word {
        display: inline;
        font-size: 10px;
    }

    .customer-footer__brand p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    .customer-footer__muted {
        font-size: 12.5px !important;
    }

    .customer-footer__column {
        gap: 9px;
    }

    .customer-footer__column h3 {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .customer-footer__column a {
        font-size: 14px;
        line-height: 1.45;
    }

    .customer-footer__bottom {
        min-height: auto;
        padding: 18px 0 20px;
        font-size: 12.5px;
        line-height: 1.45;
    }
}

@media (max-width: 390px) {
    .customer-logo__word,
    .customer-logo--footer .customer-logo__word {
        display: inline;
        font-size: 9px;
        letter-spacing: .14em;
    }

    .customer-logo__mark {
        font-size: 25px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .product-info h3 {
        font-size: 14.5px;
    }

    .product-price {
        font-size: 18px;
    }

    .customer-footer__column a {
        font-size: 13.5px;
    }
}

/* ========================================================================
   TBH INDIA — FINAL MOBILE HEADER + FOOTER POLISH
   Appended override layer. Existing rules remain untouched.
   ======================================================================== */
@media (max-width: 640px) {
    .customer-promo-bar {
        font-size: 10px;
    }

    .customer-promo-bar__inner {
        min-height: 32px;
        gap: 6px;
        padding-inline: 4px;
    }

    .customer-header__inner {
        min-height: 70px;
        gap: 10px;
    }

    .customer-logo__mark {
        font-size: 26px;
        letter-spacing: -0.04em;
    }

    .customer-logo__word {
        font-size: 10px;
        letter-spacing: .18em;
    }

    .icon-button {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 20px;
    }

    .customer-mobile-actions {
        gap: 7px;
    }

    .customer-search input {
        min-height: 48px;
        padding: 13px 14px 13px 17px;
        font-size: 15px;
    }

    .customer-search button {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .customer-mobile-menu__inner {
        padding: 12px 0 16px;
        gap: 5px;
    }

    .customer-mobile-menu a {
        padding: 14px 15px;
        font-size: 15px;
        line-height: 1.25;
    }

    .customer-footer__top {
        gap: 28px 20px;
        padding: 50px 0 34px;
    }

    .customer-footer__brand p {
        font-size: 14px;
        line-height: 1.55;
    }

    .customer-footer__muted {
        font-size: 13px !important;
    }

    .customer-footer__column {
        gap: 11px;
    }

    .customer-footer__column h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .customer-footer__column a {
        font-size: 15px;
        line-height: 1.35;
    }

    .customer-footer__bottom {
        padding: 20px 0;
        gap: 8px;
        font-size: 13px;
        line-height: 1.45;
    }
}

@media (max-width: 390px) {
    .customer-logo__mark {
        font-size: 25px;
    }

    .customer-logo__word {
        display: inline;
        font-size: 9px;
    }

    .icon-button {
        width: 44px;
        height: 44px;
    }

    .customer-footer__column a {
        font-size: 14px;
    }

    .customer-footer__bottom {
        font-size: 12px;
    }
}

/* ==========================================================================
   TBH INDIA — CUSTOMER HEADER FINAL POLISH
   Desktop + Tablet + Mobile
========================================================================== */


/* --------------------------------------------------------------------------
   HEADER BASE
-------------------------------------------------------------------------- */

.customer-header {
    position: sticky;
    top: 0;
    z-index: var(--tbh-z-header);

    background: rgba(255, 253, 248, 0.97);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom:
        1px solid
        rgba(212, 175, 55, 0.20);

    box-shadow:
        0 4px 18px
        rgba(17, 17, 17, 0.035);
}


/* --------------------------------------------------------------------------
   PROMO BAR
-------------------------------------------------------------------------- */

.customer-promo-bar {
    min-height: 34px;

    background: var(--tbh-black);
    color: var(--tbh-white);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.05em;
}

.customer-promo-bar__inner {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    white-space: nowrap;
}

.customer-promo-bar__inner > span:first-child {
    color: var(--tbh-gold);
    font-weight: 800;
}

.promo-separator {
    color: rgba(255,255,255,0.35);
}


/* --------------------------------------------------------------------------
   MAIN HEADER
-------------------------------------------------------------------------- */

.customer-header__main {
    background: rgba(255,255,255,0.98);
}

.customer-header__inner {
    min-height: 76px;

    display: grid;

    grid-template-columns:
        auto
        minmax(240px, 1fr)
        auto;

    align-items: center;

    gap: 22px;
}


/* --------------------------------------------------------------------------
   LOGO
-------------------------------------------------------------------------- */

.customer-logo {
    display: inline-flex;

    align-items: baseline;

    gap: 7px;

    width: max-content;

    white-space: nowrap;
}

.customer-logo__mark {
    font-size: 30px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.055em;

    color: var(--tbh-ink);

    transition:
        color var(--tbh-transition),
        transform var(--tbh-transition);
}

.customer-logo__word {
    font-size: 11px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: 0.22em;

    color: var(--tbh-gold-dark);
}

.customer-logo:hover .customer-logo__mark {
    color: var(--tbh-gold-dark);

    transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   SEARCH
-------------------------------------------------------------------------- */

.customer-search {
    width: 100%;
    min-width: 0;

    min-height: 48px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border:
        1px solid
        #ddd5c5;

    border-radius: var(--tbh-radius-full);

    background: var(--tbh-white);

    box-shadow:
        0 2px 8px
        rgba(17,17,17,0.025);

    transition:
        border-color var(--tbh-transition),
        box-shadow var(--tbh-transition);
}

.customer-search:hover {
    border-color: #cfc4ae;
}

.customer-search:focus-within {
    border-color: var(--tbh-gold-dark);

    box-shadow:
        0 0 0 3px
        rgba(212,175,55,0.14);
}

.customer-search input {
    width: 100%;
    min-width: 0;

    height: 48px;

    padding:
        0 16px 0 20px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--tbh-ink);

    font-size: 14px;
}

.customer-search input::placeholder {
    color: #989287;
}

.customer-search button {
    flex: 0 0 auto;

    width: 50px;
    height: 48px;

    display: inline-grid;
    place-items: center;

    border: 0;

    background: var(--tbh-gold);

    color: var(--tbh-ink);

    font-size: 20px;

    transition:
        background var(--tbh-transition),
        color var(--tbh-transition);
}

.customer-search button:hover {
    background: var(--tbh-gold-light);
}


/* --------------------------------------------------------------------------
   DESKTOP NAV
-------------------------------------------------------------------------- */

.customer-desktop-nav {
    display: flex;

    align-items: center;

    gap: 17px;

    white-space: nowrap;
}

.customer-desktop-nav a {
    position: relative;

    min-height: 76px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    color: var(--tbh-gray-800);

    font-size: 13px;
    font-weight: 700;

    transition:
        color var(--tbh-transition);
}

.customer-desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 14px;

    height: 2px;

    border-radius: var(--tbh-radius-full);

    background: var(--tbh-gold);

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform var(--tbh-transition);
}

.customer-desktop-nav a:hover {
    color: var(--tbh-gold-dark);
}

.customer-desktop-nav a:hover::after,
.customer-desktop-nav a.is-active::after {
    transform: scaleX(1);
}

.customer-desktop-nav a.is-active {
    color: var(--tbh-black);
}

.customer-nav-icon {
    font-size: 13px;
    line-height: 1;
}


/* --------------------------------------------------------------------------
   MOBILE ACTIONS
-------------------------------------------------------------------------- */

.customer-mobile-actions {
    display: none;

    align-items: center;

    gap: 8px;
}

.icon-button {
    width: 44px;
    height: 44px;

    display: inline-grid;
    place-items: center;

    border:
        1px solid
        #e0d7c7;

    border-radius: 12px;

    background: var(--tbh-white);

    color: var(--tbh-ink);

    font-size: 19px;

    transition:
        background var(--tbh-transition),
        border-color var(--tbh-transition),
        transform var(--tbh-transition);
}

.icon-button:hover {
    border-color: var(--tbh-gold);

    background: var(--tbh-cream);

    transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   MOBILE MENU
-------------------------------------------------------------------------- */

.customer-mobile-menu {
    display: none;

    overflow: hidden;

    background: var(--tbh-white);

    border-top:
        1px solid
        transparent;
}

.customer-mobile-menu.is-open {
    display: block;

    border-top-color:
        var(--tbh-line);
}

.customer-mobile-menu__inner {
    display: grid;

    gap: 5px;

    padding:
        12px 0 16px;
}

.customer-mobile-menu a {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 46px;

    padding:
        0 15px;

    border-radius:
        var(--tbh-radius-sm);

    color: var(--tbh-gray-800);

    font-size: 15px;
    font-weight: 650;

    transition:
        background var(--tbh-transition),
        color var(--tbh-transition);
}

.customer-mobile-menu a:hover {
    background: var(--tbh-cream);

    color: var(--tbh-gold-dark);
}

.customer-mobile-menu a.is-active {
    background:
        rgba(212,175,55,0.10);

    color:
        var(--tbh-gold-dark);

    font-weight: 800;
}

.customer-mobile-menu a.is-active::after {
    content: "";

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--tbh-gold);
}


/* --------------------------------------------------------------------------
   TABLET
-------------------------------------------------------------------------- */

@media (max-width: 1120px) {

    .customer-header__inner {
        grid-template-columns:
            auto
            minmax(200px, 1fr)
            auto;

        gap: 16px;
    }

    .customer-desktop-nav {
        display: none;
    }

    .customer-mobile-actions {
        display: flex;
    }

}


/* --------------------------------------------------------------------------
   MOBILE
-------------------------------------------------------------------------- */

@media (max-width: 640px) {

    .customer-promo-bar {
        min-height: 32px;

        font-size: 9px;
    }

    .customer-promo-bar__inner {
        min-height: 32px;

        gap: 6px;

        overflow: hidden;

        justify-content: flex-start;

        padding-inline: 2px;

        white-space: nowrap;
    }

    .customer-header__inner {
        min-height: 66px;

        grid-template-columns:
            auto
            1fr
            auto;

        gap: 9px;
    }

    .customer-logo__mark {
        font-size: 26px;
    }

    .customer-logo__word {
        font-size: 9px;

        letter-spacing: 0.16em;
    }

    .customer-mobile-actions {
        display: flex;

        gap: 7px;
    }

    .icon-button {
        width: 44px;
        height: 44px;

        border-radius: 12px;

        font-size: 19px;
    }

    .customer-search {
        grid-column: 1 / -1;
        grid-row: 2;

        margin-bottom: 10px;
    }

    .customer-header__main {
        padding-bottom: 10px;
    }

    .customer-search input {
        height: 48px;

        padding:
            0 12px 0 16px;

        font-size: 15px;
    }

    .customer-search button {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }

}


/* --------------------------------------------------------------------------
   SMALL MOBILE
-------------------------------------------------------------------------- */

@media (max-width: 390px) {

    .customer-logo__mark {
        font-size: 24px;
    }

    .customer-logo__word {
        font-size: 8px;

        letter-spacing: 0.14em;
    }

    .icon-button {
        width: 42px;
        height: 42px;
    }

    .customer-search input {
        font-size: 14px;
    }

}