/* ============================================================
   VAYUJA RETAIL — PUBLIC STYLESHEET
   ------------------------------------------------------------
   Used by: shop pages, login page, marketing pages.
   NOT used by: /admin/, /store/ — those load vayuja-panel.css.
   ============================================================ */


/* ============================================================
   01. TOKENS
   ============================================================ */

:root {
    /* Brand */
    --brand:        #0d6efd;
    --brand-dark:   #0a58ca;
    --brand-soft:   #e7f0ff;
    --brand-glow:   rgba(13,110,253,.20);
    --brand-2:      #6366f1;

    /* Ink + neutrals */
    --ink:          #0f172a;
    --ink-2:        #1e293b;
    --muted:        #64748b;
    --muted-2:      #94a3b8;

    --line:         #e2e8f0;
    --line-soft:    #f1f5f9;
    --bg:           #f7f8fc;
    --surface:      #ffffff;

    /* Status */
    --danger:       #ef4444;
    --danger-dark:  #dc2626;
    --success:      #16a34a;
    --success-soft: #dcfce7;

    /* Shape */
    --card-radius:  14px;
    --input-radius: 10px;
    --pill-radius:  999px;

    /* Motion */
    --t-fast:       .15s ease;
    --t-med:        .22s ease;
    --t-slow:       .32s cubic-bezier(.4, 0, .2, 1);

    /* Shadow */
    --shadow-sm:    0 1px 2px rgba(15,23,42,.06);
    --shadow-md:    0 4px 14px -6px rgba(15,23,42,.10);
    --shadow-lg:    0 12px 30px -12px rgba(15,23,42,.18);
    --shadow-xl:    0 20px 40px -16px rgba(15,23,42,.22);
}


/* ============================================================
   02. RESET + BASE
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-anchor: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast);
}

/* Consistent focus ring for keyboard users */
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}


/* ============================================================
   03. HEADER
   ============================================================ */

.site-header {
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 1px 0 rgba(15,23,42,.02);
    overflow-anchor: none;
}

@supports not (backdrop-filter: blur(12px)) {
    .site-header { background: #ffffff; }
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0 .6rem;
    transition: padding var(--t-med);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}


/* ---------- Brand ---------- */

.brand {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    letter-spacing: -.015em;
    transition: color var(--t-fast);
}

.brand:hover { color: var(--brand); }

.brand .brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    box-shadow: 0 4px 12px -3px rgba(13,110,253,.5);
    transition: transform var(--t-med), box-shadow var(--t-med);
    flex-shrink: 0;
}

.brand:hover .brand-badge {
    transform: translateY(-1px) rotate(-3deg);
    box-shadow: 0 6px 16px -3px rgba(13,110,253,.6);
}


/* ---------- Search ---------- */

.search-form {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows var(--t-med), opacity var(--t-med);
    overflow-anchor: none;
    will-change: grid-template-rows, opacity;
}

.site-header.is-scrolled .search-form {
    grid-template-rows: 0fr;
    opacity: 0;
}

.search-form > * {
    overflow: hidden;
    min-height: 0;
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #f1f5f9;
    border: 1px solid #f1f5f9;
    border-radius: var(--pill-radius);
    transition: background var(--t-fast),
                border-color var(--t-fast),
                box-shadow var(--t-fast);
}

.search-wrap:focus-within {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 .25rem var(--brand-glow);
}

.search-wrap .search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: .9rem;
    pointer-events: none;
}

.search-wrap .search-input {
    flex: 1;
    height: 48px;
    padding: 0 1rem 0 2.75rem;
    background: transparent;
    border: 0;
    border-radius: var(--pill-radius) 0 0 var(--pill-radius);
    font-size: 15.5px;
    color: var(--ink);
    outline: none;
    min-width: 0;
}

.search-wrap .search-input::placeholder { color: var(--muted-2); }

.search-wrap .search-submit {
    padding: 0 1.4rem;
    height: 48px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 0 var(--pill-radius) var(--pill-radius) 0;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: background var(--t-fast);
    flex-shrink: 0;
}

.search-wrap .search-submit:hover { background: var(--brand-dark); }


/* ---------- Menu button (mobile) ---------- */

.menu-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--pill-radius);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--t-fast),
                color var(--t-fast),
                transform var(--t-fast);
    padding: 0;
    flex-shrink: 0;
}

.menu-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

.menu-btn i { font-size: 1rem; }


/* ---------- Mobile menu ---------- */

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: max-height .28s ease, border-color .28s ease;
}

.mobile-menu.open {
    max-height: 70vh;
    overflow-y: auto;
    border-bottom-color: var(--line);
    box-shadow: 0 8px 20px -12px rgba(15,23,42,.15);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: .75rem 0 1.25rem;
    gap: 1.25rem;
}

.mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.mobile-menu-heading {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .5rem .6rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.mobile-menu-heading i {
    font-size: .75rem;
    color: var(--muted-2);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem .75rem;
    color: var(--ink-2);
    font-size: .95rem;
    font-weight: 500;
    border-radius: var(--input-radius);
    transition: background var(--t-fast), color var(--t-fast);
}

.mobile-menu-link i {
    width: 20px;
    text-align: center;
    color: var(--muted);
    font-size: .95rem;
    flex-shrink: 0;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: var(--brand-soft);
    color: var(--brand);
}

.mobile-menu-link:hover i,
.mobile-menu-link:active i { color: var(--brand); }

.mobile-menu-link.active {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
}

.mobile-menu-link.active i { color: var(--brand); }


/* ---------- Category pills ---------- */

.cat-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transition: max-height var(--t-med),
                opacity var(--t-med),
                border-color var(--t-med);
    max-height: 60px;
    overflow-anchor: none;
    will-change: max-height, opacity;
}

.cat-bar::-webkit-scrollbar { display: none; }

.cat-bar .container {
    display: flex;
    gap: .45rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
    margin-top: 0;
    min-width: max-content;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1rem;
    border-radius: var(--pill-radius);
    background: #f1f5f9;
    color: var(--ink-2);
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--t-fast),
                color var(--t-fast),
                transform var(--t-fast);
    border: 1px solid transparent;
    flex-shrink: 0;
}

.cat-pill i { font-size: .8rem; opacity: .8; }

.cat-pill:hover {
    background: #e2e8f0;
    color: var(--ink);
    transform: translateY(-1px);
}

.cat-pill.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 4px 12px -4px rgba(15,23,42,.4);
}

.cat-pill.active i { opacity: 1; }


/* ---------- Sticky collapse (desktop only) ---------- */

@media (min-width: 768px) {

    .site-header.is-scrolled .search-form {
        max-height: 0;
        opacity: 0;
        padding-bottom: 0;
        pointer-events: none;
    }

    .site-header.is-scrolled .cat-bar {
        max-height: 0;
        opacity: 0;
        border-bottom-color: transparent;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header.is-scrolled .header-row {
        padding-top: .55rem;
        padding-bottom: .55rem;
    }

    .header-row {
        padding: .9rem 0 .7rem;
        gap: 1.5rem;
    }

    .search-form {
        padding-bottom: 1rem;
    }

    .cat-bar .container {
        min-width: auto;
    }
}


/* ============================================================
   04. CART BUTTON
   ============================================================ */

.cart-btn {
    position: relative;
    border-radius: var(--pill-radius);
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    transition: transform var(--t-fast),
                border-color var(--t-fast),
                color var(--t-fast),
                box-shadow var(--t-fast);
    flex-shrink: 0;
}

.cart-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.cart-btn i { font-size: 1rem; }

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: #fff;
    border-radius: var(--pill-radius);
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .42rem;
    min-width: 19px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 0 0 2px #fff;
}


/* ============================================================
   05. HERO BAND
   ============================================================ */

.hero-band {
    background:
        radial-gradient(circle at 90% 20%, rgba(99,102,241,.15), transparent 50%),
        linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #e0e7ff;
    position: relative;
    overflow: hidden;
}

.hero-band h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 .15rem;
    letter-spacing: -.02em;
    color: var(--ink);
}

.hero-band p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.hero-band a {
    color: var(--brand);
    font-weight: 500;
}

.hero-band a:hover { color: var(--brand-dark); }

.hero-icon {
    font-size: 2.6rem;
    color: var(--brand-2);
    opacity: .85;
    transition: transform var(--t-med);
}

.hero-band:hover .hero-icon {
    transform: scale(1.08) rotate(-4deg);
}


/* ============================================================
   06. PRODUCT CARD
   ============================================================ */

.product-card {
    border: 1px solid var(--line) !important;
    border-radius: var(--card-radius) !important;
    background: #fff;
    overflow: hidden;
    transition: transform var(--t-med),
                box-shadow var(--t-med),
                border-color var(--t-med);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1 !important;
}

.product-img-wrap {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
}

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.product-card:hover .product-img { transform: scale(1.05); }

.product-body {
    padding: .85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .4rem;
    min-height: 2.4em;
}

.product-price-block {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-bottom: .6rem;
}

.product-mrp {
    font-size: .78rem;
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--muted-2);
    margin-bottom: .1rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}

.product-stock {
    font-size: .72rem;
    color: var(--muted);
}

.btn-add {
    border-radius: var(--input-radius);
    font-size: .82rem;
    font-weight: 600;
    padding: .5rem .6rem;
    transition: transform var(--t-fast),
                box-shadow var(--t-fast),
                background var(--t-fast);
    margin-top: auto;
}

.btn-add:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px -6px rgba(13,110,253,.5);
}

.badge-oos {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: var(--ink);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    padding: .28rem .58rem;
    border-radius: var(--pill-radius);
    letter-spacing: .02em;
}

.badge-discount {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .3rem .58rem;
    border-radius: var(--pill-radius);
    letter-spacing: .02em;
    box-shadow: 0 6px 14px -4px rgba(220,38,38,.55);
}


/* ============================================================
   07. FOOTER
   ============================================================ */

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    margin-top: 4rem;
    padding: 2.75rem 0 1.5rem;
    color: var(--muted);
    font-size: .875rem;
}

.site-footer a {
    color: var(--muted);
    transition: color var(--t-fast);
}

.site-footer a:hover { color: var(--brand); }

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .85rem;
}

.footer-brand:hover { color: var(--brand); }

.footer-brand .brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    box-shadow: 0 4px 12px -3px rgba(13,110,253,.45);
}

.footer-tagline {
    margin: 0 0 1.25rem;
    font-size: .875rem;
    line-height: 1.6;
    max-width: 34rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .85rem;
    line-height: 1.45;
}

.footer-contact li i {
    color: var(--brand);
    font-size: .85rem;
    margin-top: .18rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact li a { color: var(--muted); }
.footer-contact li a:hover { color: var(--brand); }

.footer-heading {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 .85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    font-size: .875rem;
    color: var(--muted);
    transition: color var(--t-fast);
}

.footer-links a::before {
    content: "›";
    color: var(--muted-2);
    font-size: 1.1em;
    line-height: 1;
    margin-right: .1rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--t-fast),
                transform var(--t-fast),
                color var(--t-fast);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
    color: var(--brand);
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.footer-info li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .85rem;
    line-height: 1.5;
}

.footer-info li i {
    color: var(--brand);
    font-size: .9rem;
    margin-top: .18rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .82rem;
}

.footer-copy { color: var(--muted); }

.footer-brand-text {
    color: var(--ink);
    font-weight: 600;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--brand); }

.footer-sep {
    color: var(--muted-2);
    font-size: .7rem;
}


/* ============================================================
   08. FORMS
   ============================================================ */

.form-control,
.form-select {
    border-radius: var(--input-radius);
    border: 1px solid var(--line);
    font-size: 15px;
    padding: .65rem .85rem;
    transition: border-color var(--t-fast),
                box-shadow var(--t-fast),
                background var(--t-fast);
    background: #fff;
    color: var(--ink);
}

.form-control::placeholder { color: var(--muted-2); }

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .25rem var(--brand-glow);
    outline: none;
}

.form-control:disabled,
.form-select:disabled {
    background: #f8fafc;
    color: var(--muted);
    cursor: not-allowed;
}

.form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: .35rem;
    letter-spacing: .005em;
}

.input-group-text {
    border-color: var(--line);
    color: var(--ink-2);
    font-size: 15px;
}


/* ============================================================
   09. BUTTONS
   ============================================================ */

.btn {
    border-radius: var(--input-radius);
    font-weight: 600;
    font-size: .95rem;
    padding: .6rem 1.1rem;
    transition: transform var(--t-fast),
                box-shadow var(--t-fast),
                background var(--t-fast),
                color var(--t-fast);
}

.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0); }

.btn:disabled,
.btn.disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 4px 12px -4px rgba(13,110,253,.45);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    box-shadow: 0 6px 16px -4px rgba(13,110,253,.55);
}

.btn-rounded { border-radius: var(--pill-radius); }


/* ============================================================
   10. LOGIN CARD
   ============================================================ */

.login-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.login-card .form-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    font-weight: 600;
}

.login-card .form-control {
    height: 46px;
    font-size: 15.5px;
}

.login-card .btn-primary {
    padding: .75rem 1rem;
    font-size: 1rem;
}

.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 3rem; }

.password-toggle {
    position: absolute;
    right: .35rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    border-radius: 8px;
    transition: color var(--t-fast), background var(--t-fast);
}

.password-toggle:hover {
    color: var(--brand);
    background: var(--brand-soft);
}


/* ============================================================
   11. CHECKOUT
   ============================================================ */

/* ---------- Cards ---------- */

.checkout-card {
    border: 0 !important;
    border-radius: var(--card-radius) !important;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.checkout-card .card-body {
    padding: 1.75rem;
}

/* ---------- Address selection card ---------- */

.addr-card {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: .85rem 1rem;
    cursor: pointer;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    transition: border-color var(--t-fast),
                background var(--t-fast),
                box-shadow var(--t-fast);
    background: #fff;
}

.addr-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.addr-card.selected {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 0 0 .2rem var(--brand-glow);
}

.addr-card input[type="radio"] {
    margin-top: .35rem;
    flex-shrink: 0;
    accent-color: var(--brand);
}

.addr-label-pill {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .15rem .45rem;
    border-radius: 6px;
    background: #e5e7eb;
    color: #374151;
}

.addr-label-pill.default {
    background: #dbeafe;
    color: #1e40af;
}

/* ---------- Returning customer banner ---------- */

.returning-banner {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--input-radius);
    padding: .65rem .85rem;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--ink-2);
}

.returning-banner .btn-link {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.returning-banner .btn-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

/* ---------- Payment radios ---------- */

.checkout-card .form-check-label {
    font-size: .95rem;
    cursor: pointer;
}

.checkout-card .form-check-input {
    cursor: pointer;
}

.checkout-card .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.checkout-card .form-check-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .25rem var(--brand-glow);
}

/* ---------- Order summary ---------- */

.order-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .875rem;
    margin-bottom: .35rem;
    line-height: 1.45;
}

.order-summary-line .mrp {
    color: var(--muted);
    text-decoration: line-through;
    font-size: .72rem;
    margin-right: .35rem;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
    font-size: 1rem;
    padding-top: .25rem;
}

.order-summary-total .amount {
    color: var(--brand);
    font-size: 1.25rem;
    letter-spacing: -.01em;
}

.order-savings {
    color: var(--success);
    text-align: center;
    font-size: .875rem;
    margin-top: .5rem;
    font-weight: 500;
}

/* ---------- Checkout spinner state ---------- */

.btn .spinner-border-sm {
    width: .95rem;
    height: .95rem;
    border-width: .15em;
    vertical-align: -.15em;
}


/* ============================================================
   12. MOBILE REFINEMENTS
   ============================================================ */

@media (max-width: 575.98px) {

    body { font-size: 15px; }

    .hero-band {
        padding: 1.15rem 1.25rem;
        border-radius: 16px;
    }

    .hero-band h1 { font-size: 1.15rem; }

    .product-body { padding: .75rem .85rem .9rem; }
    .product-title { font-size: .85rem; }
    .product-price { font-size: 1rem; }

    .btn-add { font-size: .78rem; padding: .5rem .55rem; }

    .cart-btn { width: 42px; height: 42px; }

    .site-footer {
        padding: 2rem 0 1.25rem;
        margin-top: 3rem;
    }

    .footer-brand { font-size: 1rem; }

    .footer-tagline {
        font-size: .84rem;
        margin-bottom: 1rem;
    }

    .footer-contact li,
    .footer-info li { font-size: .82rem; }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
        margin-top: 1.75rem;
    }

    .login-card { padding: 1.4rem 1.15rem; }

    .checkout-card .card-body { padding: 1.25rem; }

    .addr-card { padding: .7rem .8rem; }

    .order-summary-total .amount { font-size: 1.15rem; }
}