/* =============================================
    NOKSHIPOINT — COMPLETE STYLESHEET
    Covers: index.html + category.html + product.html + cart.html
    Version: 1.0.1 (updated by Silrag on 2026-05-31)
============================================= */

/* =============================================
    DESIGN TOKENS & CSS VARIABLES
============================================= */
:root {
    --maroon: #7A2416;
    --maroon-dark: #5C1A0E;
    --maroon-light: #9E3020;
    --gold: #C89B5A;
    --gold-light: #D9B47A;
    --gold-pale: #F0E0C0;
    --cream: #F8F4EE;
    --cream-dark: #EDE6DA;
    --charcoal: #2A2A2A;
    --charcoal-light: #444;
    --gray: #888;
    --gray-light: #CCC;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(42, 42, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(42, 42, 42, 0.12);
    --shadow-lg: 0 8px 40px rgba(42, 42, 42, 0.16);
    --shadow-card: 0 2px 12px rgba(122, 36, 22, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 112px;
}

/* =============================================
    RESET & BASE
============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

/* =============================================
    SCROLLBAR
============================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* =============================================
    SHIMMER SKELETON
============================================= */
@keyframes shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream) 50%, var(--cream-dark) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.6s infinite linear;
    border-radius: var(--radius-sm);
}

.skeleton-card {
    height: 320px;
    border-radius: var(--radius-md);
}

.skeleton-banner {
    height: 320px;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text.w-60 {
    width: 60%;
}

.skeleton-text.w-80 {
    width: 80%;
}

.skeleton-img {
    height: 220px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* =============================================
    CONTAINER
============================================= */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
    ANNOUNCEMENT BAR
============================================= */
.announcement-bar {
    background: var(--maroon);
    color: var(--gold-light);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    position: relative;
    overflow: hidden;
}

.announcement-bar .marquee-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee 28s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.announcement-bar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.announcement-bar .dot {
    color: var(--gold);
    font-size: 8px;
}

/* =============================================
    HEADER
============================================= */
/* .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
} */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header.hide {
    transform: translateY(-100%);
}

/* Header Top bar */
.header-top {
    border-bottom: 1px solid var(--cream-dark);
    padding: 12px 0;
}

.header-top-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
/* .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--maroon);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: 'নক্‌';
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    position: absolute;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-text .tagline {
    font-size: 9px;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
} */

.logo {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-text .tagline {
    font-size: 9px;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
}.logo-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-text .tagline {
    font-size: 9px;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Search */

.mobile-search-toggle {
    display: none;
}

.search-wrap {
    flex: 1;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    display: flex;
}

.search-category {
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0 14px;
    font-size: 13px;
    color: var(--charcoal-light);
    min-width: 110px;
    outline: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

.search-category:focus {
    border-color: var(--maroon);
}

.search-input {
    flex: 1;
    border: 1.5px solid var(--cream-dark);
    border-left: none;
    border-right: none;
    padding: 11px 16px;
    font-size: 14px;
    outline: none;
    background: var(--white);
    transition: var(--transition-fast);
    color: var(--charcoal);
}

.search-input::placeholder {
    color: var(--gray);
}

.search-input:focus {
    border-color: var(--maroon);
}

.search-btn {
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0 22px;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background: var(--maroon-dark);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    color: var(--charcoal);
}

.action-btn:hover {
    background: var(--cream);
    color: var(--maroon);
}

.action-btn i {
    font-size: 18px;
}

.action-btn > span:not(.badge) {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.action-btn .badge {
    position: absolute;
    top: 4px;
    right: 6px;
    background: var(--maroon);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cta-btn {
    background: var(--gold);
    color: var(--charcoal);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* new lines after cta-btn */
.header-whatsapp-btn {
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}
.header-whatsapp-btn:hover {
    background: #1DA851;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.offers-badge {
    background: var(--maroon);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

/* Navigation bar */
/* .header-nav {
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
} */

.header-nav {
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
    position: relative;
    z-index: 999;
    box-shadow: none;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: visible;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--maroon);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--maroon);
    border-radius: 2px;
}

.nav-link .hot-tag {
    background: #E53935;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.nav-link .new-tag {
    background: #2E7D32;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
}

/* Standalone tag elements in nav (outside .nav-link) */
.hot-tag {
    background: #E53935;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.new-tag {
    background: #2E7D32;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
}

/* Mega dropdown */
/* .mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    min-width: 500px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 9999;
} */

/*new lines for mega-dropdown on click*/
/* .nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


.mega-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mega-col-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--cream-dark);
}

.mega-link {
    display: block;
    font-size: 13px;
    color: var(--charcoal-light);
    padding: 4px 0;
    transition: var(--transition-fast);
}

.mega-link:hover {
    color: var(--maroon);
    padding-left: 4px;
} */

/* Mega dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 10px;
    min-width: 180px;
    max-width: 640px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 9999;
}
.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-cols {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
    grid-auto-columns: minmax(140px, auto);
    gap: 4px 32px;
}

.mega-link {
    display: block;
    font-size: 13px;
    color: var(--charcoal-light);
    padding: 4px 0;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.mega-link:hover {
    color: var(--maroon);
    padding-left: 4px;
}

/* =============================================
    HERO SECTION — COMPACT STARTECH STYLE
============================================= */
.hero {
    padding: 20px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 16px;
}

/* Main banner */
/* .hero-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--maroon) 0%, #4A1209 100%);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    cursor: pointer;
}

.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='400' height='320' viewBox='0 0 400 320' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='320' cy='80' r='180' fill='%23C89B5A' fill-opacity='0.06'/%3E%3Ccircle cx='360' cy='200' r='120' fill='%23C89B5A' fill-opacity='0.04'/%3E%3C/svg%3E") right top no-repeat;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 155, 90, 0.2);
    border: 1px solid rgba(200, 155, 90, 0.4);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 14px;
}

.hero-badge i {
    font-size: 9px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 320px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
} */
 /* Main banner */
.hero-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--maroon) 0%, #4A1209 100%);
    background-size: cover;
    background-position: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    cursor: pointer;
}

/* Decorative SVG dots — only show when there's no photo banner behind it */
.hero-main:not(.has-banner-img)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='400' height='320' viewBox='0 0 400 320' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='320' cy='80' r='180' fill='%23C89B5A' fill-opacity='0.06'/%3E%3Ccircle cx='360' cy='200' r='120' fill='%23C89B5A' fill-opacity='0.04'/%3E%3C/svg%3E") right top no-repeat;
}

/* Dark scrim so text stays legible over an arbitrary uploaded photo */
.hero-main.has-banner-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 0;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Ensure text content always sits above the scrim/decorative layer */
.hero-badge,
.hero-title,
.hero-sub,
.hero-actions {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 155, 90, 0.2);
    border: 1px solid rgba(200, 155, 90, 0.4);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 14px;
}

.hero-badge i {
    font-size: 9px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 320px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: var(--charcoal);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(200, 155, 90, 0.4);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

/* Slide indicators */
.hero-dots {
    position: absolute;
    bottom: 16px;
    right: 20px;
    display: flex;
    gap: 6px;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.hero-dot.active {
    width: 20px;
    background: var(--gold);
}

/* Right promo cards */
/* .hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-card {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.promo-card-1 {
    background: linear-gradient(135deg, #FFF8EE 0%, #F0E0C0 100%);
    border: 1px solid var(--gold-pale);
}

.promo-card-2 {
    background: linear-gradient(135deg, #F0F4FF 0%, #E8ECFC 100%);
    border: 1px solid #D8DEFF;
}

.promo-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.promo-card-2 .promo-card-label {
    color: #5C7CFA;
}

.promo-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 6px;
}

.promo-card-sub {
    font-size: 12px;
    color: var(--gray);
}

.promo-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--maroon);
    margin-top: 12px;
    transition: var(--transition-fast);
}

.promo-card-2 .promo-card-btn {
    color: #3D52D5;
}

.promo-card:hover .promo-card-btn {
    gap: 10px;
}

.promo-card-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 52px;
    opacity: 0.12;
    color: var(--gold);
}

.promo-card-2 .promo-card-icon {
    color: #5C7CFA;
} */
 

/* Right promo cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-card {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    background-size: cover;
    background-position: center;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Fallback gradients — used only when no banner image is uploaded */
.promo-card-1 {
    background-color: #FFF8EE;
    background-image: linear-gradient(135deg, #FFF8EE 0%, #F0E0C0 100%);
    border: 1px solid var(--gold-pale);
}

.promo-card-2 {
    background-color: #F0F4FF;
    background-image: linear-gradient(135deg, #F0F4FF 0%, #E8ECFC 100%);
    border: 1px solid #D8DEFF;
}

/* Dark scrim so text stays legible over an arbitrary uploaded photo */
.promo-card.has-banner-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}

/* Keep content above the scrim */
.promo-card-label,
.promo-card-title,
.promo-card-sub,
.promo-card-btn,
.promo-card-icon {
    position: relative;
    z-index: 1;
}

.promo-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.promo-card-2 .promo-card-label {
    color: #5C7CFA;
}

.promo-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 6px;
}

.promo-card-sub {
    font-size: 12px;
    color: var(--gray);
}

.promo-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--maroon);
    margin-top: 12px;
    transition: var(--transition-fast);
}

.promo-card-2 .promo-card-btn {
    color: #3D52D5;
}

.promo-card:hover .promo-card-btn {
    gap: 10px;
}

/* Photo mode: override the light-gradient text colors with white variants */
.promo-card.has-banner-img .promo-card-label,
.promo-card.has-banner-img.promo-card-2 .promo-card-label {
    color: var(--gold-light, #E8C989);
}

.promo-card.has-banner-img .promo-card-title,
.promo-card.has-banner-img .promo-card-sub {
    color: #fff;
}

.promo-card.has-banner-img .promo-card-sub {
    color: rgba(255, 255, 255, 0.8);
}

.promo-card.has-banner-img .promo-card-btn,
.promo-card.has-banner-img.promo-card-2 .promo-card-btn {
    color: #fff;
}

.promo-card-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 52px;
    opacity: 0.12;
    color: var(--gold);
}

.promo-card-2 .promo-card-icon {
    color: #5C7CFA;
}

/* Hide the decorative icon once a real photo is behind the card — it visually clashes */
.promo-card.has-banner-img .promo-card-icon {
    display: none;
}

/* =============================================
    SECTION HEADERS
============================================= */
.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title-group {}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
}

.section-title span {
    color: var(--maroon);
    font-style: italic;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--maroon);
    transition: var(--transition-fast);
    text-decoration: none;
}

.view-all-link:hover {
    gap: 10px;
}

/* =============================================
    DIVIDER
============================================= */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cream-dark), transparent);
    margin: 0;
}

/* =============================================
    TRUST STRIP
============================================= */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid var(--cream-dark);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    font-size: 18px;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 11px;
    color: var(--gray);
}

/* =============================================
    CATEGORIES GRID
============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.cat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 12px 16px;
    text-align: center;
    border: 1.5px solid var(--cream-dark);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.cat-card:hover {
    border-color: var(--maroon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.cat-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    transition: var(--transition);
}

.cat-card:hover .cat-icon-wrap {
    background: var(--maroon);
}

.cat-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 3px;
}

.cat-count {
    font-size: 10px;
    color: var(--gray);
}

/* =============================================
    FLASH DEALS
============================================= */
.flash-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-icon {
    background: var(--maroon);
    color: var(--gold);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.flash-title h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--charcoal);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.countdown-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.countdown-boxes {
    display: flex;
    gap: 6px;
    align-items: center;
}

.countdown-box {
    background: var(--charcoal);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.countdown-box small {
    font-size: 8px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.countdown-sep {
    color: var(--maroon);
    font-weight: 700;
    font-size: 18px;
}

/* =============================================
    PRODUCT CARDS
============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid var(--cream-dark);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--maroon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--cream);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    z-index: 1;
}

.badge-sale {
    background: var(--maroon);
    color: var(--white);
}

.badge-new {
    background: #2E7D32;
    color: var(--white);
}

.badge-hot {
    background: #F57C00;
    color: var(--white);
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    border: none;
}

.product-card:hover .product-wishlist {
    opacity: 1;
}

.product-wishlist:hover {
    color: var(--maroon);
    transform: scale(1.1);
}

.product-wishlist.active {
    color: var(--maroon);
    opacity: 1;
}

.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--maroon);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    transform: translateY(100%);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.product-info {
    padding: 14px;
}

.product-cat {
    font-size: 10px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.product-name a:hover {
    color: var(--maroon);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.stars {
    color: var(--gold);
    font-size: 11px;
}

.rating-count {
    font-size: 11px;
    color: var(--gray);
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--maroon);
}

.price-original {
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
}

.price-off {
    font-size: 10px;
    color: #2E7D32;
    font-weight: 600;
    background: #E8F5E9;
    padding: 2px 6px;
    border-radius: 4px;
}

/* =============================================
    MID-PAGE PROMOTIONAL BANNER STRIP
============================================= */
.banner-strip {
    background: linear-gradient(135deg, var(--maroon) 0%, #5C1A0E 100%);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.banner-strip::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: url("data:image/svg+xml,%3Csvg width='300' height='140' viewBox='0 0 300 140' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='250' cy='70' r='120' fill='%23C89B5A' fill-opacity='0.07'/%3E%3C/svg%3E") center center no-repeat;
    pointer-events: none;
}

.banner-content {}

.banner-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.banner-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 400px;
}

.banner-cta {
    background: var(--gold);
    color: var(--charcoal);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    flex-shrink: 0;
    text-decoration: none;
}

.banner-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 155, 90, 0.3);
}

/* =============================================
    TESTIMONIALS
============================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1.5px solid var(--cream-dark);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--gold-pale);
    box-shadow: var(--shadow-sm);
}

.review-stars {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 13px;
    color: var(--charcoal-light);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
}

.review-meta {
    font-size: 11px;
    color: var(--gray);
}

/* =============================================
    INSTAGRAM GALLERY
============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: var(--cream-dark);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(122, 36, 22, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 22px;
}

/* =============================================
    NEWSLETTER
============================================= */
.newsletter {
    background: linear-gradient(135deg, #1A0A07 0%, var(--maroon-dark) 50%, #4A1209 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='600' height='200' viewBox='0 0 600 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='150' fill='%23C89B5A' fill-opacity='0.04'/%3E%3Ccircle cx='500' cy='100' r='150' fill='%23C89B5A' fill-opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter h2 span {
    color: var(--gold);
    font-style: italic;
}

.newsletter p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
    border: none;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
}

.newsletter-btn {
    background: var(--gold);
    color: var(--charcoal);
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    font-family: inherit;
}

.newsletter-btn:hover {
    background: var(--gold-light);
}

/* =============================================
    FOOTER
============================================= */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.75);
}

.footer-main {
    padding: 56px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 38px;
    height: 38px;
    background: var(--maroon);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
}

.footer-logo-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.55);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    background: var(--maroon);
    color: var(--white);
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--gold);
    font-size: 14px;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

/* =============================================
    FLOATING WIDGETS
============================================= */
.float-stack {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 9000;
}

/* WhatsApp button */
.whatsapp-btn {
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    animation: waPulse 2.4s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 60px;
    background: var(--charcoal);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-fast);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right: none;
    border-left-color: var(--charcoal);
}

/* Live chat button */
.chat-btn {
    background: var(--maroon);
    color: var(--white);
    border-radius: 26px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.chat-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
}

.chat-btn .chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: blink 1.5s infinite;
    flex-shrink: 0;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Chat panel */
.chat-panel {
    position: fixed;
    bottom: 110px;
    right: 24px;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 9001;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform-origin: bottom right;
}

.chat-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-panel-head {
    background: var(--maroon);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-head-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--charcoal);
    flex-shrink: 0;
}

.chat-agent-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.chat-agent-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.chat-close {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    background: none;
    border: none;
    font-family: inherit;
}

.chat-close:hover {
    color: var(--white);
}

.chat-messages {
    padding: 16px;
    height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--cream);
}

.chat-msg {
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
    background: var(--white);
    color: var(--charcoal);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.chat-msg.user .chat-bubble {
    background: var(--maroon);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
}

.chat-quick-btn {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    color: var(--charcoal-light);
    font-size: 11px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.chat-quick-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.chat-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--cream-dark);
    background: var(--white);
}

.chat-input {
    flex: 1;
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 13px;
    outline: none;
    transition: var(--transition-fast);
    background: var(--cream);
    font-family: inherit;
}

.chat-input:focus {
    border-color: var(--maroon);
    background: var(--white);
}

.chat-send {
    width: 36px;
    height: 36px;
    background: var(--maroon);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.chat-send:hover {
    background: var(--maroon-dark);
}

/* =============================================
    MOBILE BOTTOM NAVIGATION
============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
    z-index: 800;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-nav-items {
    display: flex;
    align-items: stretch;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    gap: 4px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.mobile-nav-item.active {
    color: var(--maroon);
}

.mobile-nav-item i {
    font-size: 20px;
}

.mobile-nav-item > span:not(.mob-badge):not(.mobile-nav-tooltip) {
    font-size: 10px;
    font-weight: 500;
}

.mobile-nav-item .mob-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 14px);
    background: var(--maroon);
    color: var(--white);
    font-size: 8px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--charcoal);
    color: var(--white);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    margin-bottom: 4px;
}

.mobile-nav-item.tip-show .mobile-nav-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =============================================
    BACK TO TOP
============================================= */
.back-to-top {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--charcoal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--maroon);
    transform: translateY(-2px);
}

/* =============================================
    HEADER — MOBILE BREADCRUMB (category.html)
============================================= */
.header-mobile-breadcrumb {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray);
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
}

.header-mobile-breadcrumb a {
    color: var(--gray);
    transition: var(--transition-fast);
}

.header-mobile-breadcrumb a:hover {
    color: var(--maroon);
}

.header-mobile-breadcrumb-active {
    color: var(--charcoal);
    font-weight: 600;
}

.header-mobile-breadcrumb i {
    color: var(--gray-light);
    font-size: 10px;
}

/* =============================================
    CATEGORY PAGE — BREADCRUMB
============================================= */
.breadcrumb {
    padding: 14px 0;
}

.breadcrumb-section {
    padding: 14px 0;
    display: none;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 13px;
    color: var(--gray);
}

.breadcrumb-item a {
    color: var(--gray);
    transition: var(--transition-fast);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--maroon);
}

.breadcrumb-item.active {
    color: var(--charcoal);
    font-weight: 500;
}

/* Hide the big breadcrumb block on mobile (show it as header breadcrumb instead) */
@media (max-width: 600px) {
    .breadcrumb-section {
        display: none;
    }

    .header-mobile-breadcrumb {
        display: flex;
    }
}

.breadcrumb-sep {
    color: var(--gray-light);
    font-size: 10px;
}

/* =============================================
    CATEGORY PAGE — CATEGORY HERO
============================================= */
.cat-hero {
    background: linear-gradient(135deg, var(--maroon) 0%, #4A1209 100%);
    padding: 36px 0;
    position: relative;
    overflow: hidden;
}

.cat-hero::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background: url("data:image/svg+xml,%3Csvg width='500' height='200' viewBox='0 0 500 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='400' cy='100' r='200' fill='%23C89B5A' fill-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cat-hero-inner {
    position: relative;
    z-index: 1;
}

.cat-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.cat-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.15;
}

.cat-hero-title em {
    color: var(--gold-light);
    font-style: italic;
}

.cat-hero-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.cat-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cat-hero-stat {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-hero-stat strong {
    color: var(--white);
}

/* =============================================
    CATEGORY PAGE — SUB-CATEGORY PILLS
============================================= */
.sub-cats {
    padding: 16px 0;
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
}

.sub-cats-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
}

.sub-cats-list::-webkit-scrollbar {
    display: none;
}

.sub-cat-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid var(--cream-dark);
    color: var(--charcoal-light);
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--white);
    white-space: nowrap;
    font-family: inherit;
}

.sub-cat-pill:hover,
.sub-cat-pill.active {
    background: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
}

/* =============================================
    CATEGORY PAGE — TWO-COLUMN LAYOUT
============================================= */
.category-page {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 24px 0 48px;
}

/* =============================================
    CATEGORY PAGE — FILTERS SIDEBAR
============================================= */
.filters-sidebar {}

.filter-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--cream-dark);
    padding: 20px;
    margin-bottom: 16px;
}

.filter-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.filter-title i {
    font-size: 10px;
    color: var(--gray);
    transition: var(--transition-fast);
}

.filter-title.open i {
    transform: rotate(180deg);
}

.filter-body {}

.filter-body.collapsed {
    display: none;
}

/* Price range inputs */
.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.price-input {
    flex: 1;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    transition: var(--transition-fast);
    font-family: inherit;
    background: var(--white);
    color: var(--charcoal);
}

.price-input:focus {
    border-color: var(--maroon);
}

.price-sep {
    color: var(--gray);
    font-size: 12px;
    flex-shrink: 0;
}

.price-range-slider {
    width: 100%;
    accent-color: var(--maroon);
    margin-top: 8px;
}

/* Filter checkboxes */
.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--cream-dark);
    cursor: pointer;
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--charcoal-light);
    cursor: pointer;
    flex: 1;
}

.filter-option input[type="checkbox"] {
    accent-color: var(--maroon);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.filter-count {
    font-size: 11px;
    color: var(--gray);
    background: var(--cream);
    padding: 2px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Color swatches */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
    font-size: 0;
}

.color-swatch.active {
    border-color: var(--charcoal);
}

.color-swatch:hover {
    transform: scale(1.15);
}

/* Size chips */
.size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.size-chip {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1.5px solid var(--cream-dark);
    color: var(--charcoal-light);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    background: var(--white);
}

.size-chip.active,
.size-chip:hover {
    border-color: var(--maroon);
    color: var(--maroon);
    background: rgba(122, 36, 22, 0.04);
}

/* Filter action buttons */
.apply-filter-btn {
    width: 100%;
    padding: 11px;
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    border: none;
}

.apply-filter-btn:hover {
    background: var(--maroon-dark);
}

.clear-filter-btn {
    width: 100%;
    padding: 11px;
    background: transparent;
    color: var(--gray);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1.5px solid var(--cream-dark);
    font-family: inherit;
}

.clear-filter-btn:hover {
    color: var(--maroon);
    border-color: var(--maroon);
}

/* =============================================
    CATEGORY PAGE — PRODUCTS TOOLBAR
============================================= */
.products-main {}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--cream-dark);
    padding: 12px 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.result-count {
    font-size: 13px;
    color: var(--gray);
}

.result-count strong {
    color: var(--charcoal);
}

.active-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(122, 36, 22, 0.08);
    color: var(--maroon);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.active-filter-tag:hover {
    background: rgba(122, 36, 22, 0.15);
}

.active-filter-tag i {
    font-size: 9px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-fast);
}

.sort-select:focus {
    border-color: var(--maroon);
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition-fast);
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
}

.view-btn.active,
.view-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
    background: rgba(122, 36, 22, 0.04);
}

/* Mobile filter toggle button — hidden on desktop, shown via responsive.css */
.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.mobile-filter-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

/* =============================================
    CATEGORY PAGE — PRODUCT GRID (4-col variant)
============================================= */
/* On category.html the grid uses 4 cols by default */
.products-main .products-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* LIST VIEW */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    min-height: 160px;
}

.products-grid.list-view .product-img-wrap {
    aspect-ratio: 1;
    width: 160px;
    min-width: 160px;
    flex-shrink: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-grid.list-view .product-name {
    -webkit-line-clamp: unset;
    font-size: 15px;
}

/* =============================================
    CATEGORY PAGE — PAGINATION
============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal-light);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0 10px;
    background: var(--white);
    font-family: inherit;
}

.page-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.page-btn.active {
    background: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =============================================
    CATEGORY PAGE — MOBILE FILTER DRAWER
============================================= */
.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.filter-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.filter-drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: var(--white);
    z-index: 1501;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
    padding: 20px;
}

.filter-drawer.open {
    transform: translateX(0);
}

.filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filter-drawer-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
}

.drawer-close {
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition-fast);
    font-family: inherit;
}

.drawer-close:hover {
    color: var(--maroon);
}

/* =============================================
    UTILITIES
============================================= */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.hidden {
    display: none !important;
}

/* Visually hidden (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* =============================================
    MOBILE HAMBURGER BREADCRUMB MENU
============================================= */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--maroon);
    font-size: 20px;
    flex-shrink: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1800;
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-menu-drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    z-index: 1801;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
    padding: 0;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--cream-dark);
    background: var(--maroon);
}

.mobile-menu-head span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.mobile-menu-close {
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-menu-close:hover {
    color: var(--white);
}

.mobile-nav-list {
    padding: 12px 0;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid var(--cream-dark);
    transition: var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-list a:hover {
    background: var(--cream);
    color: var(--maroon);
}

.mobile-nav-list a i {
    font-size: 11px;
    color: var(--gray);
}

.mobile-sub-list {
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
}

.mobile-sub-list.open {
    display: block;
}

.mobile-sub-list a {
    padding: 10px 20px 10px 36px;
    font-size: 13px;
    font-weight: 400;
    color: var(--charcoal-light);
    border-bottom: none;
}

.mobile-sub-list a:hover {
    color: var(--maroon);
    background: var(--cream-dark);
}

.mobile-sub-title {
    padding: 8px 20px 4px 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--cream);
}

/* =============================================
    FOOTER MOBILE 2x2 GRID
============================================= */
.footer-links-mobile-grid {
    display: none;
}

/* Hide floating WhatsApp on desktop, show only on mobile */
@media (min-width: 901px) {
    .whatsapp-btn {
        display: none;
    }
}

/* =============================================
    MOBILE SEARCH BAR (slides down below header)
============================================= */
.mobile-search-bar {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    z-index: 1200;
    background: var(--white);
    border-bottom: 2px solid var(--maroon);
    box-shadow: var(--shadow-md);
    padding: 10px 12px;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-bar.open {
    display: block; /* override display:none from base state */
    transform: translateY(0);
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.mobile-search-input {
    flex: 1;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    background: var(--cream);
    font-family: inherit;
    color: var(--charcoal);
    transition: var(--transition-fast);
}

.mobile-search-input:focus {
    border-color: var(--maroon);
    background: var(--white);
}

.mobile-search-submit {
    width: 40px;
    height: 40px;
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.mobile-search-submit:hover {
    background: var(--maroon-dark);
}

.mobile-search-close {
    width: 40px;
    height: 40px;
    background: var(--cream);
    color: var(--charcoal);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.mobile-search-close:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}


/* =============================================
    PRODUCT DETAIL PAGE — CSS ADDITIONS
    Paste this at the END of styles.css
    =============================================
    Sections:
    1. Product Detail Layout (pd-grid)
    2. Image Gallery (pd-gallery, pd-thumbs)
    3. Product Info panel (pd-info)
    4. Option selectors (color, size)
    5. Purchase row (qty, add to cart)
    6. Delivery info block
    7. Stock urgency bar
    8. Share row
    9. Product Tabs
    10. Reviews layout
    11. Shipping cards
    12. Size Chart Modal
    13. Mobile Sticky Bar
    14. Responsive (product-specific)
============================================= */

/* =============================================
    1. PRODUCT DETAIL LAYOUT
============================================= */
.product-detail {
    padding: 28px 0 48px;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* =============================================
    2. IMAGE GALLERY
============================================= */
.pd-gallery {
    display: flex;
    gap: 12px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

/* Thumbnails column */
.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 72px;
}

.pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--cream-dark);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--cream);
    padding: 0;
    position: relative;
}

.pd-thumb:hover,
.pd-thumb.active {
    border-color: var(--maroon);
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Main image */
.pd-main-img-wrap {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 3 / 4;
    cursor: zoom-in;
}

.skeleton-pd-img {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.pd-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* Zoom hint */
.pd-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(42, 42, 42, 0.65);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.pd-main-img-wrap:hover .pd-zoom-hint {
    opacity: 1;
}

/* Badges on image */
.pd-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

/* Wishlist on image */
.pd-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    z-index: 2;
    border: none;
}

.pd-wishlist-btn:hover,
.pd-wishlist-btn.active {
    color: var(--maroon);
    background: #fff0ee;
}

/* Zoom lens */
.pd-zoom-lens {
    position: absolute;
    border: 2px solid var(--gold);
    width: 120px;
    height: 120px;
    border-radius: 6px;
    pointer-events: none;
    display: none;
    z-index: 3;
    background: rgba(200, 155, 90, 0.08);
}

/* =============================================
    3. PRODUCT INFO PANEL
============================================= */
.pd-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-category {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-fast);
}

.pd-category:hover {
    color: var(--maroon);
}

.pd-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pd-tag {
    font-size: 10px;
    font-weight: 600;
    color: var(--charcoal-light);
    background: var(--cream-dark);
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.pd-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin: 0;
}

/* Rating row */
.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.pd-star {
    font-size: 16px;
    color: var(--cream-dark);
    line-height: 1;
}

.pd-star.filled {
    color: var(--gold);
}

.pd-star.half {
    position: relative;
    color: var(--cream-dark);
}

.pd-star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--gold);
}

.pd-rating-count {
    font-size: 13px;
    color: var(--maroon);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pd-rating-count:hover {
    color: var(--maroon-dark);
}

.pd-rating-sep {
    color: var(--gray-light);
}

.pd-sold-count {
    font-size: 12px;
    color: #2E7D32;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pd-sold-count i {
    font-size: 11px;
}

/* Price block */
.pd-price-block {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border: 1.5px solid var(--cream-dark);
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.pd-price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--maroon);
    font-family: var(--font-display);
}

.pd-price-original {
    font-size: 16px;
    color: var(--gray);
    text-decoration: line-through;
}

.pd-price-badge {
    background: var(--maroon);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.06em;
}

.pd-price-note {
    font-size: 12px;
    color: #2E7D32;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-price-note i {
    font-size: 11px;
}

/* =============================================
    4. OPTION SELECTORS
============================================= */
.pd-option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-option-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-option-selected {
    font-weight: 700;
    color: var(--maroon);
}

.pd-size-guide {
    margin-left: auto;
    font-size: 12px;
    color: var(--charcoal-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pd-size-guide:hover {
    color: var(--maroon);
}

/* Color options */
.pd-color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: var(--transition-fast);
    position: relative;
    outline: none;
    padding: 0;
}

.pd-color-swatch:hover {
    transform: scale(1.12);
}

.pd-color-swatch.active {
    border-color: var(--charcoal);
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--charcoal);
}

/* Size buttons */
.pd-size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-size-btn {
    min-width: 48px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cream-dark);
    background: var(--white);
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    padding: 0 12px;
}

.pd-size-btn:hover:not(.pd-size-out) {
    border-color: var(--maroon);
    color: var(--maroon);
    background: rgba(122, 36, 22, 0.04);
}

.pd-size-btn.active {
    background: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
}

.pd-size-btn.pd-size-out {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* =============================================
    5. PURCHASE ROW
============================================= */
.pd-purchase-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-qty-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.pd-qty-btn {
    width: 38px;
    height: 48px;
    background: var(--cream);
    color: var(--charcoal);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-qty-btn:hover {
    background: var(--cream-dark);
    color: var(--maroon);
}

.pd-qty-input {
    width: 48px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-left: 1.5px solid var(--cream-dark);
    border-right: 1.5px solid var(--cream-dark);
    outline: none;
    color: var(--charcoal);
    background: var(--white);
    height: 48px;
    font-family: inherit;
    /* hide arrows */
    -moz-appearance: textfield;
}

.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.pd-add-cart-btn {
    flex: 1;
    height: 48px;
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-add-cart-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 36, 22, 0.3);
}

.pd-add-cart-btn.added {
    background: #2E7D32;
}

.pd-wishlist-action {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pd-wishlist-action:hover,
.pd-wishlist-action.active {
    border-color: var(--maroon);
    color: var(--maroon);
    background: #fff0ee;
}

/* Buy Now */
.pd-buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.pd-buy-now-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 155, 90, 0.35);
}

/* =============================================
    6. DELIVERY INFO
============================================= */
.pd-delivery-info {
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pd-delivery-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cream-dark);
    transition: background 0.15s;
}

.pd-delivery-row:last-child {
    border-bottom: none;
}

.pd-delivery-row:hover {
    background: var(--cream);
}

.pd-delivery-icon {
    color: var(--maroon);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
}

.pd-delivery-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.pd-delivery-sub {
    font-size: 12px;
    color: var(--gray);
}

/* =============================================
    7. STOCK URGENCY BAR
============================================= */
.pd-stock-urgency {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-stock-bar-wrap {
    height: 6px;
    background: var(--cream-dark);
    border-radius: 3px;
    overflow: hidden;
}

.pd-stock-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--maroon));
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-stock-text {
    font-size: 12px;
    color: #C62828;
    font-weight: 500;
}

/* =============================================
    8. SHARE ROW
============================================= */
.pd-share {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
}

.pd-share-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.pd-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1.5px solid var(--cream-dark);
    color: var(--charcoal-light);
    background: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pd-share-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.pd-share-wa:hover {
    border-color: #25D366;
    color: #25D366;
}

/* =============================================
    9. PRODUCT TABS
============================================= */
.pd-tabs-section {
    padding: 0 0 48px;
}

.pd-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--cream-dark);
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--white);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 0 4px;
}

.pd-tabs-nav::-webkit-scrollbar {
    display: none;
}

.pd-tab-btn {
    flex-shrink: 0;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pd-tab-btn:hover {
    color: var(--charcoal);
}

.pd-tab-btn.active {
    color: var(--maroon);
    border-bottom-color: var(--maroon);
}

.pd-tab-count {
    background: var(--cream-dark);
    color: var(--charcoal-light);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.pd-tab-btn.active .pd-tab-count {
    background: rgba(122, 36, 22, 0.12);
    color: var(--maroon);
}

.pd-tab-panels {
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1.5px solid var(--cream-dark);
    border-top: none;
    padding: 28px;
}

.pd-tab-panel {
    display: block;
}

.pd-tab-panel[hidden] {
    display: none;
}

/* Description */
.pd-description h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.pd-description p {
    font-size: 14px;
    color: var(--charcoal-light);
    line-height: 1.75;
    margin-bottom: 14px;
}

.pd-desc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.pd-desc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--charcoal-light);
}

.pd-desc-list li i {
    color: #2E7D32;
    font-size: 11px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Specs table */
.pd-specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.pd-specs-table tr {
    border-bottom: 1px solid var(--cream-dark);
}

.pd-specs-table tr:last-child {
    border-bottom: none;
}

.pd-specs-table th,
.pd-specs-table td {
    padding: 11px 16px;
    font-size: 13px;
    text-align: left;
}

.pd-specs-table th {
    color: var(--charcoal);
    font-weight: 600;
    background: var(--cream);
    width: 38%;
}

.pd-specs-table td {
    color: var(--charcoal-light);
}

.pd-specs-table tr:hover th,
.pd-specs-table tr:hover td {
    background: rgba(248, 244, 238, 0.6);
}

/* =============================================
    10. REVIEWS LAYOUT
============================================= */
.pd-reviews-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pd-rating-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-wrap: wrap;
}

.pd-rating-big {
    text-align: center;
    flex-shrink: 0;
}

.pd-rating-number {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 6px;
}

.pd-rating-stars-big {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 4px;
}

.pd-rating-total {
    font-size: 12px;
    color: var(--gray);
}

.pd-rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.pd-rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--charcoal-light);
}

.pd-rating-bar-row span:first-child {
    width: 22px;
    flex-shrink: 0;
    font-weight: 600;
}

.pd-rating-bar-row span:last-child {
    width: 30px;
    flex-shrink: 0;
    color: var(--gray);
}

.pd-bar-wrap {
    flex: 1;
    height: 7px;
    background: var(--cream-dark);
    border-radius: 4px;
    overflow: hidden;
}

.pd-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual review cards */
.pd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-verified {
    color: #2E7D32;
    font-weight: 500;
}

.review-verified i {
    font-size: 10px;
}

.review-date {
    font-size: 11px;
    color: var(--gray);
    margin-top: 8px;
}

/* Write review */
.pd-write-review {
    background: linear-gradient(135deg, var(--maroon) 0%, #5C1A0E 100%);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pd-write-review h4 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 4px;
}

.pd-write-review p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.pd-write-review-btn {
    background: var(--gold);
    color: var(--charcoal);
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition-fast);
    text-decoration: none;
}

.pd-write-review-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* =============================================
    11. SHIPPING CARDS
============================================= */
.pd-shipping-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pd-shipping-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1.5px solid var(--cream-dark);
}

.pd-shipping-icon {
    width: 44px;
    height: 44px;
    background: var(--maroon);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.pd-shipping-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.pd-shipping-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-shipping-card ul li,
.pd-shipping-card p {
    font-size: 13px;
    color: var(--charcoal-light);
    line-height: 1.6;
}

/* =============================================
    12. SIZE CHART MODAL
============================================= */
.pd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.pd-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.pd-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-modal-overlay.open .pd-modal {
    transform: translateY(0) scale(1);
}

.pd-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--cream-dark);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.pd-modal-head h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
}

.pd-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cream);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--charcoal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.pd-modal-close:hover {
    background: var(--cream-dark);
    color: var(--maroon);
}

.pd-modal-body {
    padding: 20px 24px 24px;
}

.pd-modal-note {
    font-size: 12px;
    color: var(--charcoal-light);
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.pd-modal-note i {
    color: var(--maroon);
    flex-shrink: 0;
    margin-top: 1px;
}

.pd-size-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--cream-dark);
}

.pd-size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pd-size-table th {
    background: var(--maroon);
    color: var(--white);
    padding: 10px 14px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.pd-size-table td {
    padding: 10px 14px;
    text-align: center;
    color: var(--charcoal-light);
    border-bottom: 1px solid var(--cream-dark);
}

.pd-size-table tr:last-child td {
    border-bottom: none;
}

.pd-size-table tr:hover td {
    background: var(--cream);
}

.pd-size-highlighted {
    background: rgba(200, 155, 90, 0.15) !important;
    color: var(--maroon) !important;
    font-weight: 700 !important;
}

.pd-modal-tip {
    font-size: 13px;
    color: var(--charcoal-light);
    margin-top: 14px;
    line-height: 1.5;
}

/* =============================================
    13. MOBILE STICKY ADD TO CART BAR
============================================= */
.pd-mobile-sticky {
    display: none;
    position: fixed;
    bottom: 64px;  /* above mobile bottom nav */
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1.5px solid var(--cream-dark);
    padding: 10px 16px;
    z-index: 790;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-mobile-sticky.show {
    transform: translateY(0);
}

.pd-mobile-sticky-info {
    flex: 1;
    min-width: 0;
}

.pd-mobile-sticky-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-mobile-sticky-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--maroon);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-mobile-sticky-price span {
    font-size: 11px;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
}

.pd-mobile-sticky-btn {
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.pd-mobile-sticky-btn:hover {
    background: var(--maroon-dark);
}

/* =============================================
    14. RESPONSIVE — PRODUCT PAGE SPECIFIC
============================================= */

/* Large tablet: stack gallery + info vertically */
@media (max-width: 1024px) {
    .pd-grid {
        gap: 28px;
    }

    .pd-gallery {
        position: static;
    }
}

@media (max-width: 900px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-gallery {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        position: static;
    }

    .pd-thumbs {
        width: 60px;
    }

    .pd-thumb {
        width: 60px;
        height: 60px;
    }

    .pd-shipping-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Show mobile sticky bar on mobile */
    .pd-mobile-sticky {
        display: flex;
        bottom: 64px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 16px 0 32px;
    }

    .pd-tabs-section {
        padding: 0 0 32px;
    }

    .pd-tab-panels {
        padding: 20px 16px;
    }

    .pd-rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }

    .pd-write-review {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .pd-shipping-grid {
        grid-template-columns: 1fr;
    }

    .pd-price-current {
        font-size: 24px;
    }

    .pd-title {
        font-size: clamp(20px, 5vw, 26px);
    }
}

@media (max-width: 600px) {
    .pd-thumbs {
        width: 52px;
    }

    .pd-thumb {
        width: 52px;
        height: 52px;
    }

    .pd-purchase-row {
        flex-wrap: wrap;
    }

    .pd-wishlist-action {
        order: 3;
    }

    .pd-add-cart-btn {
        flex-basis: calc(100% - 58px - 10px); /* full width minus qty */
    }

    .pd-buy-now-btn {
        height: 46px;
    }

    .pd-color-swatch {
        width: 30px;
        height: 30px;
    }

    .pd-size-btn {
        min-width: 42px;
        height: 40px;
        font-size: 12px;
    }

    .pd-modal-body {
        padding: 16px;
    }

    .pd-modal-head {
        padding: 14px 16px;
    }

    .pd-mobile-sticky {
        bottom: 56px;
        padding: 8px 12px;
    }
}


/* =============================================
    CART PAGE — CSS ADDITIONS
    =============================================
    Sections:
    1.  Cart Page Header
    2.  Cart Layout (2-column)
    3.  Delivery Progress Bar
    4.  Bulk Actions Bar
    5.  Cart Items List
    6.  Cart Item Card
    7.  Qty Selector (cart variant)
    8.  Coupon Row
    9.  Order Summary Card
    10. Empty Cart State
    11. Mobile Sticky Checkout Bar
============================================= */

/* =============================================
    1. CART PAGE HEADER
============================================= */
.cart-section {
    padding: 28px 0 56px;
}

.cart-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.cart-page-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 4px;
}

.cart-page-title em {
    font-style: italic;
    color: var(--maroon);
}

.cart-page-sub {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 9px 18px;
    border: 1.5px solid var(--maroon);
    border-radius: var(--radius-sm);
    background: transparent;
}

.cart-continue-link:hover {
    background: var(--maroon);
    color: var(--white);
}

/* =============================================
    2. CART LAYOUT
============================================= */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

/* =============================================
    3. DELIVERY PROGRESS BAR
============================================= */
.cart-delivery-progress {
    background: linear-gradient(135deg, #EFF7EE 0%, #E8F5E9 100%);
    border: 1.5px solid #C8E6C9;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 16px;
}

.cdp-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cdp-icon {
    color: #2E7D32;
    font-size: 18px;
    flex-shrink: 0;
}

.cdp-text {
    font-size: 13px;
    color: var(--charcoal-light);
    line-height: 1.5;
}

.cdp-text strong {
    color: #2E7D32;
    font-weight: 700;
}

.cdp-bar-wrap {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.cdp-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Completed state */
.cart-delivery-progress.delivery-free {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-color: #4CAF50;
}

/* =============================================
    4. BULK ACTIONS BAR
============================================= */
.cart-bulk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-select-all-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    user-select: none;
}

.cart-checkbox {
    width: 17px;
    height: 17px;
    accent-color: var(--maroon);
    cursor: pointer;
    flex-shrink: 0;
}

.cart-bulk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.cart-bulk-actions.visible {
    opacity: 1;
    pointer-events: auto;
}

.cart-bulk-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1.5px solid;
    font-family: inherit;
}

.cart-bulk-wishlist {
    border-color: var(--maroon);
    color: var(--maroon);
    background: transparent;
}

.cart-bulk-wishlist:hover {
    background: var(--maroon);
    color: var(--white);
}

.cart-bulk-delete {
    border-color: #C62828;
    color: #C62828;
    background: transparent;
}

.cart-bulk-delete:hover {
    background: #C62828;
    color: var(--white);
}

/* =============================================
    5. CART ITEMS LIST
============================================= */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

/*added line*/
.cart-item-stock-out {
  color: #C62828;
  font-size: 12px;
  font-weight: 600;
}

/* =============================================
    6. CART ITEM CARD
============================================= */
.cart-item {
    display: grid;
    grid-template-columns: 24px 100px 1fr 100px 140px 64px;
    gap: 16px;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    position: relative;
}

.cart-item:hover {
    border-color: var(--maroon);
    box-shadow: var(--shadow-sm);
}

.cart-item.removing {
    transform: translateX(30px);
    opacity: 0;
    pointer-events: none;
}

/* Checkbox col */
.cart-item-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image col */
.cart-item-img-wrap {
    position: relative;
    width: 100px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--cream);
    flex-shrink: 0;
}

.cart-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-skeleton {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.cart-item-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 1;
}

/* Info col */
.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.cart-item-cat {
    font-size: 10px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-fast);
}

.cart-item-cat:hover {
    color: var(--maroon);
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
    margin: 0;
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-name a:hover {
    color: var(--maroon);
}

.cart-item-variants {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cart-item-variant {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--charcoal-light);
    background: var(--cream);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--cream-dark);
}

.cart-item-variant-sep {
    color: var(--gray-light);
    font-size: 12px;
}

.cart-item-stock-ok {
    font-size: 11px;
    color: #2E7D32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item-stock-ok i {
    font-size: 10px;
}

.cart-item-stock-low {
    font-size: 11px;
    color: #C62828;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item-stock-low i {
    font-size: 10px;
}

/* Mobile action row inside info (shown on small screens) */
.cart-item-actions-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

/* Price col */
.cart-item-price-col {
    text-align: right;
}

.cart-item-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 2px;
}

.cart-item-price-original {
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.cart-item-savings {
    font-size: 10px;
    color: #2E7D32;
    font-weight: 600;
    background: #E8F5E9;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

/* Qty + subtotal col */
.cart-item-qty-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cart-item-subtotal {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    text-align: center;
}

/* Action icons col (desktop) */
.cart-item-actions-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cart-item-wish,
.cart-item-remove {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--cream-dark);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-item-wish:hover {
    border-color: var(--maroon);
    color: var(--maroon);
    background: #fff0ee;
}

.cart-item-remove:hover {
    border-color: #C62828;
    color: #C62828;
    background: #fff0ee;
}

/* Mobile inline action buttons */
.cart-item-actions-mobile .cart-wish-btn,
.cart-item-actions-mobile .cart-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: var(--transition-fast);
}

.cart-item-actions-mobile .cart-wish-btn:hover {
    color: var(--maroon);
}

.cart-item-actions-mobile .cart-remove-btn:hover {
    color: #C62828;
}

/* =============================================
    7. QTY SELECTOR (cart variant — compact)
============================================= */
.cart-qty-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    background: var(--cream);
    color: var(--charcoal);
    font-size: 12px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-qty-btn:hover {
    background: var(--cream-dark);
    color: var(--maroon);
}

.cart-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-qty-input {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-left: 1.5px solid var(--cream-dark);
    border-right: 1.5px solid var(--cream-dark);
    outline: none;
    color: var(--charcoal);
    background: var(--white);
    height: 32px;
    font-family: inherit;
    -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* =============================================
    8. COUPON ROW
============================================= */
.cart-coupon-row {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 16px;
}

.cart-coupon-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-coupon-icon {
    color: var(--maroon);
    font-size: 15px;
    padding: 0 12px;
    background: var(--cream);
    height: 44px;
    display: flex;
    align-items: center;
    border-right: 1.5px solid var(--cream-dark);
    flex-shrink: 0;
}

.cart-coupon-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--charcoal);
    background: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-coupon-input::placeholder {
    text-transform: none;
    letter-spacing: 0;
    color: var(--gray);
}

.cart-coupon-btn {
    background: var(--maroon);
    color: var(--white);
    border: none;
    padding: 0 20px;
    height: 44px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.04em;
    transition: var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.cart-coupon-btn:hover {
    background: var(--maroon-dark);
}

.cart-coupon-msg {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    min-height: 18px;
}

.cart-coupon-msg.success {
    color: #2E7D32;
}

.cart-coupon-msg.error {
    color: #C62828;
}

/* =============================================
    9. ORDER SUMMARY CARD
============================================= */
.cart-summary-col {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.cart-summary-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-summary-head {
    background: var(--maroon);
    padding: 16px 22px;
}

.cart-summary-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.cart-summary-rows {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--charcoal-light);
}

.cart-summary-row span:last-child {
    font-weight: 600;
    color: var(--charcoal);
}

.cart-summary-savings {
    color: #2E7D32 !important;
}

.cart-summary-delivery {
    color: #2E7D32 !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}

.cart-summary-divider {
    height: 1px;
    background: var(--cream-dark);
    margin: 4px 0;
}

.cart-summary-total {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-top: 4px;
}

.cart-summary-total span:last-child {
    font-size: 20px !important;
    color: var(--maroon) !important;
    font-family: var(--font-display);
}

.cart-summary-tax-note {
    font-size: 10px;
    color: var(--gray);
    text-align: right;
    margin-top: -6px;
}

/* Checkout CTA */
.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 22px 16px;
    padding: 14px 24px;
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: var(--transition);
}

.cart-checkout-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(122, 36, 22, 0.3);
}

/* Payment icons */
.cart-summary-payment {
    margin: 0 22px 16px;
    padding: 12px 0;
    border-top: 1px solid var(--cream-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-summary-payment-label {
    font-size: 11px;
    color: var(--gray);
    font-weight: 600;
    flex-shrink: 0;
}

.cart-summary-payment-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cart-pay-badge {
    background: var(--cream-dark);
    color: var(--charcoal-light);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Trust items inside summary */
.cart-summary-trust {
    margin: 0 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--charcoal-light);
}

.cart-trust-item i {
    color: var(--maroon);
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Coupon discount row inside summary */
.cart-coupon-discount {
    color: #2E7D32;
}

/* =============================================
    10. EMPTY CART STATE
============================================= */
.cart-empty {
    text-align: center;
    padding: 72px 20px 56px;
}

.cart-empty-icon {
    width: 88px;
    height: 88px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--maroon);
    font-size: 36px;
}

.cart-empty-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.cart-empty-sub {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cart-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-empty-btn {
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-empty-btn-primary {
    background: var(--maroon);
    color: var(--white);
}

.cart-empty-btn-primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 36, 22, 0.25);
}

.cart-empty-btn-outline {
    background: transparent;
    color: var(--maroon);
    border: 1.5px solid var(--maroon);
}

.cart-empty-btn-outline:hover {
    background: var(--maroon);
    color: var(--white);
}

/* =============================================
    11. MOBILE STICKY CHECKOUT BAR
============================================= */
.cart-mobile-sticky {
    display: none;
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1.5px solid var(--cream-dark);
    padding: 10px 16px;
    z-index: 790;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-mobile-sticky-info {
    flex: 1;
    min-width: 0;
}

.cart-mobile-sticky-count {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.cart-mobile-sticky-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--maroon);
    font-family: var(--font-display);
}

.cart-mobile-sticky-btn {
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.cart-mobile-sticky-btn:hover {
    background: var(--maroon-dark);
}


/* =============================================
    CHECKOUT PAGE — CSS ADDITIONS
    =============================================
    Sections:
    1.  Checkout body & layout
    2.  Checkout header (minimal)
    3.  Progress steps
    4.  Checkout two-column layout
    5.  Checkout cards (form sections)
    6.  Form fields (co-input, co-label, etc.)
    7.  Address selector
    8.  Delivery method options
    9.  Payment tabs & panels
    10. bKash / Nagad / Card / COD panels
    11. Place order button & processing
    12. Order summary (right column)
    13. Line items
    14. Delivery estimate & trust card
    15. Order success overlay & modal
    16. Checkout footer
============================================= */


/* =============================================
   1. CHECKOUT BODY & LAYOUT
============================================= */
.checkout-page-body {
    background: var(--cream);
}

.checkout-main {
    padding: 28px 0 64px;
    min-height: 80vh;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.checkout-form-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =============================================
   2. CHECKOUT HEADER (MINIMAL)
============================================= */
.checkout-header {
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.checkout-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.checkout-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-light);
    text-decoration: none;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkout-back-link:hover {
    color: var(--maroon);
}

.checkout-back-link i {
    font-size: 12px;
}

.checkout-logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.checkout-header-trust {
    flex-shrink: 0;
}

.checkout-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.checkout-secure-badge i {
    font-size: 10px;
}


/* =============================================
   3. PROGRESS STEPS
============================================= */
.checkout-progress-bar {
    border-top: 1px solid var(--cream-dark);
    background: var(--white);
    padding: 10px 0;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--gray);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkout-step.active .step-circle {
    background: var(--maroon);
    color: var(--white);
}

.checkout-step.done .step-circle {
    background: #2E7D32;
    color: var(--white);
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition-fast);
}

.checkout-step.active .step-label {
    color: var(--maroon);
    font-weight: 700;
}

.checkout-step.done .step-label {
    color: #2E7D32;
}

.checkout-step-sep {
    width: 48px;
    height: 2px;
    background: var(--cream-dark);
    border-radius: 2px;
    margin: 0 6px;
    flex-shrink: 0;
}


/* =============================================
   4. CHECKOUT CARDS
============================================= */
.checkout-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--cream-dark);
    overflow: hidden;
    transition: var(--transition);
}

.checkout-card:focus-within {
    border-color: rgba(122, 36, 22, 0.25);
    box-shadow: 0 0 0 3px rgba(122, 36, 22, 0.06);
}

.checkout-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1.5px solid var(--cream-dark);
    background: var(--cream);
}

.checkout-card-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--maroon);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0;
    flex: 1;
}

.checkout-login-link {
    font-size: 12px;
    color: var(--charcoal-light);
    text-decoration: none;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkout-login-link strong {
    color: var(--maroon);
}

.checkout-login-link:hover {
    color: var(--maroon);
}

.co-secure-note {
    font-size: 11px;
    font-weight: 600;
    color: #2E7D32;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.checkout-card-body {
    padding: 24px;
}


/* =============================================
   5. FORM FIELDS
============================================= */
.co-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.co-form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.co-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    position: relative;
}

.co-field-group:last-child {
    margin-bottom: 0;
}

/* Remove bottom margin from last inside grid rows */
.co-form-row .co-field-group {
    margin-bottom: 0;
}

.co-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.co-required {
    color: var(--maroon);
    font-size: 13px;
    line-height: 1;
}

.co-optional {
    font-size: 10px;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0;
}

.co-input {
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    font-family: inherit;
    transition: var(--transition-fast);
    width: 100%;
}

.co-input:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(122, 36, 22, 0.08);
}

.co-input:valid:not(:placeholder-shown) {
    border-color: #2E7D32;
}

.co-input::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.co-input.error {
    border-color: #C62828;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08);
}

.co-select {
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    font-family: inherit;
    transition: var(--transition-fast);
    width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.co-select:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(122, 36, 22, 0.08);
}

.co-textarea {
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 13px;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    font-family: inherit;
    transition: var(--transition-fast);
    width: 100%;
    resize: vertical;
    min-height: 72px;
    line-height: 1.6;
}

.co-textarea:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(122, 36, 22, 0.08);
}

.co-char-count {
    font-size: 10px;
    color: var(--gray);
    text-align: right;
    margin-top: 3px;
    display: block;
}

.co-field-hint {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.4;
}

/* Input with icon prefix (phone, card) */
.co-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.co-phone-wrap .co-input {
    padding-left: 86px;
}

.co-phone-flag {
    position: absolute;
    left: 14px;
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}

.co-phone-code {
    position: absolute;
    left: 36px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-light);
    pointer-events: none;
    z-index: 1;
}

.co-card-num-wrap .co-input {
    padding-left: 42px;
}

.co-card-input-icon {
    position: absolute;
    left: 14px;
    color: var(--gray);
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}

.co-card-type-icon {
    position: absolute;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
    pointer-events: none;
    z-index: 1;
    letter-spacing: 0.04em;
}

/* Checkbox custom style */
.co-checkbox-row {
    margin-top: 4px;
}

.co-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--charcoal-light);
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}

.co-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.co-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cream-dark);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-top: 1px;
}

.co-checkbox:checked + .co-checkbox-mark {
    background: var(--maroon);
    border-color: var(--maroon);
}

.co-checkbox:checked + .co-checkbox-mark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.co-checkbox:focus-visible + .co-checkbox-mark {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}

/* Error message */
.co-error-msg {
    font-size: 11px;
    color: #C62828;
    font-weight: 500;
    margin-top: 3px;
    display: none;
}

.co-error-msg.show {
    display: block;
}


/* =============================================
   6. SAVED ADDRESS SELECTOR
============================================= */
.co-saved-addresses {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.co-saved-addr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.co-saved-addr:hover {
    border-color: var(--maroon);
    background: rgba(122, 36, 22, 0.02);
}

.co-saved-addr.active {
    border-color: var(--maroon);
    background: rgba(122, 36, 22, 0.03);
}

.co-addr-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.co-saved-addr-card {
    flex: 1;
}

.co-saved-addr-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-addr-tag {
    background: var(--maroon);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.06em;
}

.co-saved-addr-line {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

.co-addr-check-icon {
    color: var(--cream-dark);
    font-size: 18px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.co-saved-addr.active .co-addr-check-icon {
    color: var(--maroon);
}

.co-addr-new .co-saved-addr-name {
    color: var(--maroon);
}

.co-addr-new .co-saved-addr-name i {
    font-size: 11px;
}

/* New address form */
.co-new-address-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1.5px dashed var(--cream-dark);
    transition: var(--transition);
}

.co-new-address-form.hidden {
    display: none;
}


/* =============================================
   7. DELIVERY OPTIONS
============================================= */
.co-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-delivery-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.co-delivery-option:hover {
    border-color: var(--maroon);
    background: rgba(122, 36, 22, 0.02);
}

.co-delivery-option.active {
    border-color: var(--maroon);
    background: rgba(122, 36, 22, 0.03);
}

.co-option-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.co-delivery-info-wrap {
    flex: 1;
}

.co-delivery-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-delivery-badge {
    background: #F57C00;
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.co-delivery-desc {
    font-size: 12px;
    color: var(--gray);
}

.co-delivery-price-wrap {
    text-align: right;
    flex-shrink: 0;
}

.co-delivery-price {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
}

.co-delivery-price.free {
    color: #2E7D32;
}

.co-delivery-cond {
    display: block;
    font-size: 10px;
    color: var(--gray);
}

.co-option-check {
    font-size: 18px;
    color: var(--cream-dark);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.co-delivery-option.active .co-option-check {
    color: var(--maroon);
}


/* =============================================
   8. PAYMENT TABS
============================================= */
.co-payment-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.co-pay-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--charcoal-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    flex-shrink: 0;
}

.co-pay-tab:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.co-pay-tab.active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: var(--white);
}

.co-pay-tab-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.bkash-icon {
    background: #E2136E;
    color: var(--white);
}

.nagad-icon {
    background: #F6621F;
    color: var(--white);
}

/* Payment panels */
.co-pay-panel {
    display: none;
    animation: coFadeIn 0.25s ease;
}

.co-pay-panel.active {
    display: block;
}

@keyframes coFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.co-pay-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* =============================================
   9. PAYMENT PANEL SPECIFICS
============================================= */

/* bKash logo */
.co-bkash-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.co-bkash-logo-mark {
    width: 44px;
    height: 44px;
    background: #E2136E;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    font-family: var(--font-display);
}

.co-bkash-logo-name {
    font-size: 17px;
    font-weight: 700;
    color: #E2136E;
}

.co-bkash-logo-sub {
    font-size: 11px;
    color: var(--gray);
}

/* Nagad logo */
.co-nagad-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.co-nagad-logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #F6621F, #E53935);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
}

.co-nagad-logo-name {
    font-size: 17px;
    font-weight: 700;
    color: #F6621F;
}

.co-nagad-logo-sub {
    font-size: 11px;
    color: var(--gray);
}

/* Payment instructions */
.co-pay-instruction {
    background: var(--cream);
    border-radius: var(--radius-sm);
    border: 1px solid var(--cream-dark);
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--charcoal-light);
}

.co-pay-instruction i {
    color: var(--maroon);
    flex-shrink: 0;
    margin-top: 2px;
}

.co-pay-steps {
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.6;
}

/* Card brand icons */
.co-card-brand-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.co-card-brand {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    border: 1.5px solid var(--cream-dark);
    letter-spacing: 0.04em;
}

.co-card-brand.visa {
    background: #1A1F71;
    color: var(--white);
    border-color: #1A1F71;
}

.co-card-brand.mc {
    background: #EB001B;
    color: var(--white);
    border-color: #EB001B;
}

.co-card-brand.amex {
    background: #2E77BC;
    color: var(--white);
    border-color: #2E77BC;
}

/* CVV help button */
.co-cvv-help {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 13px;
    cursor: pointer;
    padding: 0 2px;
    transition: var(--transition-fast);
    vertical-align: middle;
}

.co-cvv-help:hover {
    color: var(--maroon);
}

/* COD block */
.co-cod-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.co-cod-icon {
    width: 52px;
    height: 52px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E7D32;
    font-size: 22px;
    flex-shrink: 0;
    border: 1.5px solid #C8E6C9;
}

.co-cod-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.co-cod-desc {
    font-size: 13px;
    color: var(--charcoal-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.co-cod-notes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.co-cod-notes li {
    font-size: 12px;
    color: var(--charcoal-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-cod-notes li i {
    color: #2E7D32;
    font-size: 11px;
    flex-shrink: 0;
}

/* Payment amount */
.co-payment-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
}

.co-payment-amount span {
    font-size: 13px;
    color: var(--charcoal-light);
    font-weight: 600;
}

.co-payment-amount strong {
    font-size: 18px;
    color: var(--maroon);
}


/* Payment number */
.co-payment-number {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.co-payment-number-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.co-payment-number-box strong {
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--charcoal);
}

.co-copy-payment-number {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    background: var(--cream);
    color: var(--charcoal-light);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.co-copy-payment-number:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}


/* Field helper text */
.co-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--gray);
}


/* Payment verification notice */
.co-payment-verification {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    background: #F1F8F2;
    border: 1px solid #C8E6C9;
    color: #2E7D32;
    font-size: 12px;
    line-height: 1.5;
}

.co-payment-verification i {
    flex-shrink: 0;
    margin-top: 2px;
}


/* =============================================
   10. PLACE ORDER BUTTON
============================================= */
.co-terms-row {
    margin-bottom: 20px;
}

.co-terms-link {
    color: var(--maroon);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

.co-terms-link:hover {
    color: var(--maroon-dark);
}

.co-place-order-btn {
    width: 100%;
    height: 56px;
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.co-place-order-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.co-place-order-btn:hover::before {
    transform: translateX(100%);
}

.co-place-order-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(122, 36, 22, 0.35);
}

.co-place-order-btn:active {
    transform: translateY(0);
}

.co-place-order-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.co-place-order-lock {
    font-size: 14px;
    opacity: 0.7;
}

.co-place-order-arrow {
    font-size: 14px;
    opacity: 0.7;
}

/* Processing state */
.co-order-processing {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    font-size: 14px;
    color: var(--charcoal-light);
    font-weight: 500;
}

.co-order-processing.show {
    display: flex;
}

.co-processing-spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid var(--cream-dark);
    border-top-color: var(--maroon);
    border-radius: 50%;
    animation: coSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes coSpin {
    to { transform: rotate(360deg); }
}

/* Security strip below button */
.co-security-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.co-security-strip span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
}

.co-security-strip i {
    color: #2E7D32;
    font-size: 11px;
}

/* Review card special styling */
.checkout-card-review {
    border-color: var(--maroon);
}

.checkout-card-review .checkout-card-head {
    background: rgba(122, 36, 22, 0.04);
}


/* =============================================
   11. CHECKOUT SUMMARY (RIGHT COLUMN)
============================================= */
.checkout-summary-col {
    position: sticky;
    top: calc(var(--header-h, 112px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.co-summary-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.co-summary-head {
    background: var(--maroon);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.co-summary-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.co-summary-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.co-summary-toggle:hover {
    color: var(--white);
}

.co-summary-toggle i {
    font-size: 11px;
    transition: transform 0.3s;
}

.co-summary-toggle[aria-expanded="false"] i {
    transform: rotate(180deg);
}


/* =============================================
   12. LINE ITEMS IN SUMMARY
============================================= */
.co-summary-items {
    padding: 16px 20px;
    border-bottom: 1.5px solid var(--cream-dark);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-summary-items.collapsed {
    max-height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
}

.co-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.co-summary-item-img-wrap {
    width: 52px;
    height: 62px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cream-dark);
}

.co-summary-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-summary-item-qty {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--maroon);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--white);
}

.co-summary-item-info {
    flex: 1;
    min-width: 0;
}

.co-summary-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
}

.co-summary-item-variant {
    font-size: 11px;
    color: var(--gray);
}

.co-summary-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--maroon);
    flex-shrink: 0;
}

/* Coupon inside summary */
.co-summary-coupon {
    padding: 14px 20px;
    border-bottom: 1.5px solid var(--cream-dark);
}

.co-coupon-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.co-coupon-icon {
    padding: 0 12px;
    color: var(--maroon);
    font-size: 13px;
    background: var(--cream);
    height: 40px;
    display: flex;
    align-items: center;
    border-right: 1.5px solid var(--cream-dark);
    flex-shrink: 0;
}

.co-coupon-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 12px;
    font-size: 12px;
    font-family: inherit;
    color: var(--charcoal);
    background: var(--white);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.co-coupon-input::placeholder {
    text-transform: none;
    letter-spacing: 0;
    color: var(--gray);
}

.co-coupon-btn {
    background: var(--maroon);
    color: var(--white);
    border: none;
    padding: 0 16px;
    height: 40px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.04em;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.co-coupon-btn:hover {
    background: var(--maroon-dark);
}

.co-coupon-msg {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    min-height: 16px;
}

.co-coupon-msg.success { color: #2E7D32; }
.co-coupon-msg.error   { color: #C62828; }

/* Totals */
.co-summary-totals {
    padding: 16px 20px;
}

.co-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--charcoal-light);
    padding: 5px 0;
}

.co-summary-row span:last-child {
    font-weight: 600;
    color: var(--charcoal);
}

.co-savings {
    color: #2E7D32 !important;
}

.co-free-delivery {
    color: #2E7D32 !important;
    font-weight: 700 !important;
}

.co-summary-divider {
    height: 1px;
    background: var(--cream-dark);
    margin: 8px 0;
}

.co-total-row {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-top: 6px;
}

.co-total-row span:first-child {
    color: var(--charcoal) !important;
}

.co-total-row span:last-child {
    font-size: 20px !important;
    color: var(--maroon) !important;
    font-family: var(--font-display);
}

.co-summary-tax-note {
    font-size: 10px;
    color: var(--gray);
    text-align: right;
    margin-top: 4px;
}

.co-coupon-row {
    color: #2E7D32;
}


/* =============================================
   13. DELIVERY ESTIMATE & TRUST CARD
============================================= */
.co-delivery-estimate-card {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    border: 1.5px solid #C8E6C9;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.co-est-icon {
    color: #2E7D32;
    font-size: 22px;
    flex-shrink: 0;
}

.co-est-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2E7D32;
    margin-bottom: 3px;
}

.co-est-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-display);
}

.co-trust-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--charcoal-light);
}

.co-trust-row i {
    color: var(--maroon);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 13px;
}


/* =============================================
   14. ORDER SUCCESS OVERLAY & MODAL
============================================= */
.co-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}

.co-success-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.co-success-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    padding: 40px 36px 36px;
    text-align: center;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    position: relative;
}

.co-success-overlay.open .co-success-modal {
    transform: translateY(0) scale(1);
}

.co-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.co-success-icon svg {
    width: 80px;
    height: 80px;
}

.co-check-path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.co-success-overlay.open .co-check-path {
    stroke-dashoffset: 0;
}

.co-success-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.co-success-sub {
    font-size: 14px;
    color: var(--charcoal-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.co-success-detail-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.co-success-detail {
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-width: 120px;
    border: 1px solid var(--cream-dark);
}

.co-success-detail-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
}

.co-success-detail-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-display);
}

.co-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.co-success-btn-primary {
    padding: 12px 24px;
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.co-success-btn-primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-1px);
}

.co-success-btn-outline {
    padding: 12px 24px;
    border: 1.5px solid var(--maroon);
    color: var(--maroon);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.co-success-btn-outline:hover {
    background: var(--maroon);
    color: var(--white);
}

.co-success-whatsapp {
    margin-top: 8px;
}

.co-success-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #25D366;
    text-decoration: none;
    transition: var(--transition-fast);
}

.co-success-whatsapp a:hover {
    color: #1DA851;
}

.co-success-whatsapp i {
    font-size: 16px;
}


/* =============================================
   15. CHECKOUT FOOTER
============================================= */
.checkout-footer {
    background: var(--charcoal);
    padding: 20px 0;
    margin-top: 40px;
}

.checkout-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.checkout-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.checkout-footer-links {
    display: flex;
    gap: 20px;
}

.checkout-footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-fast);
}

.checkout-footer-links a:hover {
    color: var(--gold);
}

/* =============================================
    AUTH PAGES — LOGIN & REGISTER
    =============================================
    Sections:
    1.  Auth page body & layout
    2.  Auth header
    3.  Decorative left panel
    4.  Form panel & card
    5.  Google button
    6.  Divider
    7.  Form fields (auth-specific)
    8.  Password toggle & strength meter
    9.  Checkboxes
    10. Referral toggle
    11. Submit button
    12. Trust row & footer
    13. Success overlay (post-register)
============================================= */

/* =============================================
   1. AUTH PAGE BODY & LAYOUT
============================================= */
.auth-page-body {
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - 80px - 64px); /* minus header + footer */
}

/* Register layout: slightly wider form */
.auth-layout-register {
    grid-template-columns: 5fr 7fr;
}

/* =============================================
   2. AUTH HEADER
============================================= */
.auth-header {
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
}

.auth-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-header-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-light);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 8px 14px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
}

.auth-header-back:hover {
    color: var(--maroon);
    border-color: var(--maroon);
    background: rgba(122, 36, 22, 0.03);
}

/* =============================================
   3. DECORATIVE LEFT PANEL
============================================= */
.auth-deco-panel {
    background: linear-gradient(160deg, var(--maroon) 0%, #4A1209 55%, #2A0A06 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.auth-deco-inner {
    position: relative;
    z-index: 2;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

/* Decorative SVG/CSS pattern background */
.auth-deco-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(200, 155, 90, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200, 155, 90, 0.08) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C89B5A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-deco-content {
    position: relative;
    z-index: 2;
}

.auth-deco-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.auth-deco-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.auth-deco-title em {
    font-style: italic;
    color: var(--gold-light);
}

.auth-deco-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 320px;
}

.auth-deco-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-deco-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.auth-deco-feature i {
    width: 32px;
    height: 32px;
    background: rgba(200, 155, 90, 0.18);
    border: 1px solid rgba(200, 155, 90, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--gold-light);
    flex-shrink: 0;
}

.auth-deco-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    position: relative;
    z-index: 2;
}

.auth-deco-stat {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 12px;
}

.auth-deco-stat:first-child { padding-left: 0; }
.auth-deco-stat:last-child  { border-right: none; padding-right: 0; }

.auth-deco-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.1;
    margin-bottom: 3px;
}

.auth-deco-stat span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* =============================================
   4. FORM PANEL & CARD
============================================= */
.auth-form-panel {
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--cream-dark);
    box-shadow: var(--shadow-md);
    padding: 36px 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.auth-card-register {
    max-width: 520px;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
}

.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.auth-card-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 8px;
}

.auth-card-title em {
    font-style: italic;
    color: var(--maroon);
}

.auth-card-sub {
    font-size: 13px;
    color: var(--gray);
}

.auth-switch-link {
    color: var(--maroon);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.auth-switch-link:hover {
    border-bottom-color: var(--maroon);
}

/* =============================================
   5. GOOGLE BUTTON
============================================= */
.auth-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.auth-google-btn:hover {
    border-color: #4285F4;
    box-shadow: 0 2px 12px rgba(66, 133, 244, 0.15);
    transform: translateY(-1px);
}

.auth-google-btn:active {
    transform: translateY(0);
}

.auth-google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =============================================
   6. DIVIDER
============================================= */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 12px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cream-dark);
}

/* =============================================
   7. FORM FIELDS
============================================= */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}

.auth-field-group:last-of-type {
    margin-bottom: 0;
}

.auth-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.04em;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.auth-label-row .auth-label {
    margin-bottom: 0;
}

.auth-required {
    color: var(--maroon);
    font-size: 13px;
    line-height: 1;
}

.auth-optional {
    font-size: 10px;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--gray);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-fast);
}

.auth-input {
    width: 100%;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 12px 40px 12px 40px;
    font-size: 14px;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    font-family: inherit;
    transition: var(--transition-fast);
}

.auth-input::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.auth-input:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(122, 36, 22, 0.08);
}

.auth-input:focus + .auth-input-icon,
.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--maroon);
}

.auth-input:valid:not(:placeholder-shown) {
    border-color: #2E7D32;
}

.auth-input.error {
    border-color: #C62828;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08);
}

/* Phone input padding adjustment */
.auth-phone-wrap .auth-input {
    padding-left: 86px;
}

.auth-phone-flag {
    position: absolute;
    left: 14px;
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}

.auth-phone-code {
    position: absolute;
    left: 36px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-light);
    pointer-events: none;
    z-index: 1;
}

.auth-forgot-link {
    font-size: 12px;
    color: var(--maroon);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.auth-forgot-link:hover {
    border-bottom-color: var(--maroon);
}

.auth-field-hint {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.4;
}

.auth-error-msg {
    font-size: 11px;
    color: #C62828;
    font-weight: 500;
    min-height: 16px;
    display: block;
}

/* =============================================
   8. PASSWORD TOGGLE & STRENGTH METER
============================================= */
.auth-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    font-size: 15px;
    transition: var(--transition-fast);
    padding: 4px;
    z-index: 1;
}

.auth-toggle-password:hover {
    color: var(--maroon);
}

.auth-strength-meter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    min-height: 18px;
}

.auth-strength-bars {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.auth-strength-bar {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--cream-dark);
    transition: background 0.3s ease;
}

.auth-strength-bar.weak   { background: #E53935; }
.auth-strength-bar.fair   { background: #F57C00; }
.auth-strength-bar.good   { background: #FBC02D; }
.auth-strength-bar.strong { background: #2E7D32; }

.auth-strength-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    transition: color 0.3s;
}

/* =============================================
   9. CHECKBOXES
============================================= */
.auth-checkbox-row,
.auth-agreements {
    margin-bottom: 16px;
}

.auth-agreements {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--charcoal-light);
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}

.auth-checkbox-label a {
    color: var(--maroon);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

.auth-checkbox-label a:hover {
    color: var(--maroon-dark);
}

.auth-checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cream-dark);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-top: 1px;
}

.auth-checkbox-input:checked + .auth-checkbox-mark {
    background: var(--maroon);
    border-color: var(--maroon);
}

.auth-checkbox-input:checked + .auth-checkbox-mark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.auth-checkbox-input:focus-visible + .auth-checkbox-mark {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}

/* =============================================
   10. REFERRAL TOGGLE
============================================= */
.auth-referral-group {
    margin-bottom: 16px;
}

.auth-referral-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--maroon);
    cursor: pointer;
    padding: 8px 0;
    transition: var(--transition-fast);
    user-select: none;
}

.auth-referral-toggle:hover {
    color: var(--maroon-dark);
}

.auth-referral-toggle i:first-child {
    color: var(--gold);
    font-size: 13px;
}

.auth-referral-chevron {
    margin-left: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 10px;
}

.auth-referral-chevron.open {
    transform: rotate(180deg);
}

.auth-referral-input-wrap {
    animation: authSlideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes authSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   11. SUBMIT BUTTON
============================================= */
.auth-submit-btn {
    width: 100%;
    height: 52px;
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.auth-submit-btn:hover::before {
    transform: translateX(100%);
}

.auth-submit-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(122, 36, 22, 0.3);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-submit-btn-register {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
}

.auth-submit-spinner {
    display: none;
}

.auth-submit-btn.loading .auth-submit-label  { display: none; }
.auth-submit-btn.loading .auth-submit-spinner { display: flex; align-items: center; gap: 8px; }

/* =============================================
   12. TRUST ROW, CARD FOOTER & PAGE FOOTER
============================================= */
.auth-card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-dark);
    text-align: center;
}

.auth-card-footer-text {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.5;
}

.auth-card-footer-text a {
    color: var(--maroon);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

.auth-card-footer-text a:hover {
    color: var(--maroon-dark);
}

.auth-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    max-width: 520px;
    width: 100%;
}

.auth-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
}

.auth-trust-badge i {
    color: var(--maroon);
    font-size: 11px;
}

/* Footer */
.auth-footer {
    background: var(--charcoal);
    padding: 18px 0;
}

.auth-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.auth-footer-links {
    display: flex;
    gap: 18px;
}

.auth-footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition-fast);
}

.auth-footer-links a:hover {
    color: var(--gold);
}

/* =============================================
    WISHLIST PAGE — CSS ADDITIONS
    =============================================
    Sections:
    1.  Page header
    2.  Filter tabs
    3.  Two-column layout
    4.  Toolbar
    5.  Wishlist item card (grid + list view)
    6.  Item pricing, badges, stock
    7.  Item actions
    8.  Sidebar summary card
    9.  Share card
    10. Promo card
    11. Empty state
    12. Mobile sticky bar
============================================= */

/* =============================================
   1. WISHLIST PAGE HEADER
============================================= */
.wishlist-section {
    padding: 28px 0 56px;
}

.wishlist-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.wishlist-page-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 4px;
}

.wishlist-page-title em {
    font-style: italic;
    color: var(--maroon);
}

.wishlist-page-sub {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.wishlist-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wishlist-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-light);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.wishlist-share-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.wishlist-add-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.wishlist-add-all-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(122, 36, 22, 0.25);
}

/* =============================================
   2. FILTER TABS
============================================= */
.wishlist-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    flex-wrap: nowrap;
}

.wishlist-filter-tabs::-webkit-scrollbar {
    display: none;
}

.wl-filter-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1.5px solid var(--cream-dark);
    background: var(--white);
    color: var(--charcoal-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    white-space: nowrap;
}

.wl-filter-tab:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.wl-filter-tab.active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: var(--white);
    font-weight: 600;
}

.wl-tab-count {
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1.4;
}

.wl-filter-tab.active .wl-tab-count {
    background: rgba(255, 255, 255, 0.25);
}

.wl-tab-count-sale {
    background: rgba(229, 57, 53, 0.12);
    color: #C62828;
}

.wl-filter-tab.active .wl-tab-count-sale {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* =============================================
   3. TWO-COLUMN LAYOUT
============================================= */
.wishlist-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.wishlist-main-col {
    min-width: 0;
}

/* =============================================
   4. TOOLBAR
============================================= */
.wishlist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.wishlist-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wishlist-select-all-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    user-select: none;
}

.wishlist-bulk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.wishlist-bulk-actions.visible {
    opacity: 1;
    pointer-events: auto;
}

.wishlist-bulk-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1.5px solid;
    font-family: inherit;
}

.wishlist-bulk-cart {
    border-color: var(--maroon);
    color: var(--maroon);
    background: transparent;
}

.wishlist-bulk-cart:hover {
    background: var(--maroon);
    color: var(--white);
}

.wishlist-bulk-remove {
    border-color: #C62828;
    color: #C62828;
    background: transparent;
}

.wishlist-bulk-remove:hover {
    background: #C62828;
    color: var(--white);
}

.wishlist-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wl-sort-select {
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 13px;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-fast);
}

.wl-sort-select:focus {
    border-color: var(--maroon);
}

.wl-view-toggle {
    display: flex;
    gap: 4px;
}

.wl-view-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cream-dark);
    background: var(--white);
    color: var(--gray);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-family: inherit;
}

.wl-view-btn.active,
.wl-view-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
    background: rgba(122, 36, 22, 0.04);
}

/* =============================================
   5. WISHLIST GRID
============================================= */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* List view */
.wishlist-grid.wl-list-view {
    grid-template-columns: 1fr;
}

.wishlist-grid.wl-list-view .wl-item {
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-md);
}

.wishlist-grid.wl-list-view .wl-item-img-wrap {
    width: 110px;
    min-width: 110px;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
}

.wishlist-grid.wl-list-view .wl-item-info {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wishlist-grid.wl-list-view .wl-item-select {
    order: -1;
    padding: 0 12px 0 14px;
    flex-shrink: 0;
}

.wishlist-grid.wl-list-view .wl-item-name {
    -webkit-line-clamp: unset;
    font-size: 15px;
}

.wishlist-grid.wl-list-view .wl-item-date {
    display: block;
}

/* Item card */
.wl-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--cream-dark);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.wl-item:hover {
    border-color: var(--maroon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.wl-item.wl-removing {
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
}

/* Checkbox in top-left corner */
.wl-item-select {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
}

.wishlist-grid.wl-list-view .wl-item-select {
    position: static;
}

/* =============================================
   5a. ITEM IMAGE
============================================= */
.wl-item-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--cream);
    flex-shrink: 0;
}

.wl-skeleton-img {
    position: absolute;
    inset: 0;
    border-radius: 0;
    height: 100%;
}

.wl-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wl-item:hover .wl-item-img-wrap img {
    transform: scale(1.06);
}

/* Quick view overlay */
.wl-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 42, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 2;
}

.wl-item:hover .wl-item-overlay {
    opacity: 1;
}

.wl-quick-view {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    color: var(--charcoal);
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: 0.04em;
}

.wl-quick-view:hover {
    background: var(--maroon);
    color: var(--white);
}

/* Badge */
.wl-item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    z-index: 1;
}

/* =============================================
   6. ITEM INFO
============================================= */
.wl-item-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.wl-item-category {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wl-item-category a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

.wl-item-category a:hover {
    color: var(--maroon);
}

.wl-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wl-item-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.wl-item-name a:hover {
    color: var(--maroon);
}

.wl-item-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wl-item-pricing {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.wl-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--maroon);
}

.wl-price-original {
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
}

.wl-price-save {
    font-size: 10px;
    color: #2E7D32;
    font-weight: 600;
    background: #E8F5E9;
    padding: 2px 7px;
    border-radius: 4px;
}

.wl-item-stock {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.wl-stock-ok {
    color: #2E7D32;
}

.wl-stock-low {
    color: #C62828;
}

.wl-item-date {
    font-size: 10px;
    color: var(--gray);
    margin-top: 4px;
}

/* =============================================
   7. ITEM ACTIONS (Add to Cart + Remove)
============================================= */
.wl-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.wl-add-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.wl-add-cart-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122, 36, 22, 0.25);
}

.wl-add-cart-btn.added {
    background: #2E7D32;
}

.wl-remove-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-family: inherit;
}

.wl-remove-btn:hover {
    background: #fff0ee;
    border-color: #C62828;
    color: #C62828;
}

/* =============================================
   8. SIDEBAR SUMMARY CARD
============================================= */
.wishlist-sidebar-col {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wl-summary-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.wl-summary-head {
    background: var(--maroon);
    padding: 14px 20px;
}

.wl-summary-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wl-summary-title i {
    font-size: 14px;
    color: var(--gold-light);
}

.wl-summary-body {
    padding: 18px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-summary-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--charcoal-light);
}

.wl-stat-label {
    font-weight: 500;
}

.wl-stat-value {
    font-weight: 700;
    color: var(--charcoal);
}

.wl-stat-maroon {
    color: var(--maroon) !important;
    font-family: var(--font-display);
    font-size: 15px;
}

.wl-stat-green {
    color: #2E7D32 !important;
}

.wl-summary-divider {
    height: 1px;
    background: var(--cream-dark);
    margin: 4px 0;
}

.wl-summary-total {
    font-size: 16px !important;
    padding-top: 4px;
}

.wl-summary-total .wl-stat-value {
    font-size: 20px;
}

.wl-summary-actions {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-add-all-btn {
    width: 100%;
    padding: 13px;
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wl-add-all-btn:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 36, 22, 0.3);
}

.wl-view-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px;
    border: 1.5px solid var(--maroon);
    border-radius: var(--radius-sm);
    color: var(--maroon);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.wl-view-cart-btn:hover {
    background: var(--maroon);
    color: var(--white);
}

/* =============================================
   9. SHARE CARD
============================================= */
.wl-share-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-share-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    font-size: 17px;
}

.wl-share-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 3px;
}

.wl-share-text p {
    font-size: 12px;
    color: var(--gray);
}

.wl-share-buttons {
    display: flex;
    gap: 8px;
}

.wl-share-wa,
.wl-share-fb,
.wl-share-copy {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition-fast);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.wl-share-wa {
    background: #25D366;
    color: var(--white);
}

.wl-share-wa:hover {
    background: #1DA851;
    transform: scale(1.1);
}

.wl-share-fb {
    background: #1877F2;
    color: var(--white);
}

.wl-share-fb:hover {
    background: #166FE5;
    transform: scale(1.1);
}

.wl-share-copy {
    background: var(--cream);
    color: var(--charcoal-light);
    border: 1.5px solid var(--cream-dark);
}

.wl-share-copy:hover {
    background: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
    transform: scale(1.1);
}

/* =============================================
   10. PROMO CARD
============================================= */
.wl-promo-card {
    background: linear-gradient(135deg, #FFF8EE 0%, #F0E0C0 100%);
    border: 1.5px solid var(--gold-pale);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.wl-promo-icon {
    font-size: 28px;
    line-height: 1;
}

.wl-promo-text {
    font-size: 13px;
    color: var(--charcoal-light);
    line-height: 1.6;
}

.wl-promo-text strong {
    color: var(--maroon);
}

.wl-promo-copy-btn {
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    border-radius: var(--radius-sm);
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    letter-spacing: 0.04em;
}

.wl-promo-copy-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* =============================================
   11. EMPTY STATE
============================================= */
.wishlist-empty {
    text-align: center;
    padding: 72px 20px 56px;
}

.wishlist-empty-icon {
    width: 88px;
    height: 88px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--maroon);
    font-size: 36px;
}

.wishlist-empty-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.wishlist-empty-sub {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.wishlist-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wishlist-empty-btn {
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.wishlist-empty-btn-primary {
    background: var(--maroon);
    color: var(--white);
}

.wishlist-empty-btn-primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 36, 22, 0.25);
}

.wishlist-empty-btn-outline {
    background: transparent;
    color: var(--maroon);
    border: 1.5px solid var(--maroon);
}

.wishlist-empty-btn-outline:hover {
    background: var(--maroon);
    color: var(--white);
}

/* =============================================
   12. MOBILE STICKY BAR
============================================= */
.wl-mobile-sticky {
    display: none;
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1.5px solid var(--cream-dark);
    padding: 10px 16px;
    z-index: 790;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.wl-mobile-sticky-info {
    flex: 1;
    min-width: 0;
}

.wl-mobile-sticky-count {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.wl-mobile-sticky-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--maroon);
    font-family: var(--font-display);
}

.wl-mobile-sticky-btn {
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.wl-mobile-sticky-btn:hover {
    background: var(--maroon-dark);
}


/* =============================================
   CUSTOMER DASHBOARD — SCOPED STYLES
   Uses existing CSS variables from styles.css
============================================= */

/* ── Layout ── */
.dashboard-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 36px 0 60px;
    align-items: start;
}

/* ── Sidebar ── */
.dash-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.dash-profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    text-align: center;
    margin-bottom: 16px;
}

.dash-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cream-dark);
    margin: 0 auto 14px;
    display: block;
}

.dash-avatar-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 3px solid var(--cream-dark);
}

.dash-profile-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
    line-height: 1.2;
}

.dash-profile-email {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 14px;
    word-break: break-all;
}

.dash-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.dash-verify-badge.verified {
    background: #E8F5E9;
    color: #2E7D32;
}

.dash-verify-badge.unverified {
    background: #FFF3E0;
    color: #E65100;
}

/* ── Sidebar Nav ── */
.dash-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    overflow: hidden;
}

.dash-nav-section {
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.dash-nav-section:last-child {
    border-bottom: none;
}

.dash-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    padding: 10px 20px 6px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--charcoal-light);
    text-decoration: none;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dash-nav-link:hover {
    background: var(--cream);
    color: var(--maroon);
    border-left-color: var(--maroon);
}

.dash-nav-link.active {
    background: linear-gradient(90deg, rgba(122,36,22,0.07) 0%, transparent 100%);
    color: var(--maroon);
    border-left-color: var(--maroon);
    font-weight: 600;
}

.dash-nav-link i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

.dash-nav-badge {
    margin-left: auto;
    background: var(--maroon);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.dash-nav-link.logout-link {
    color: #c0392b;
}

.dash-nav-link.logout-link:hover {
    background: #FFF5F5;
    color: #c0392b;
    border-left-color: #c0392b;
}

/* ── Main Content ── */
.dash-main {
    min-width: 0;
}

/* ── Page header ── */
.dash-page-header {
    margin-bottom: 24px;
}

.dash-page-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--maroon);
    margin-bottom: 6px;
}

.dash-page-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}

.dash-page-title em {
    color: var(--maroon);
    font-style: italic;
}

.dash-page-sub {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

/* ── Stats cards ── */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.dash-stat-icon.orders   { background: #FFF3E0; color: #E65100; }
.dash-stat-icon.pending  { background: #FFF8E1; color: #F57F17; }
.dash-stat-icon.wishlist { background: #FCE4EC; color: #C2185B; }
.dash-stat-icon.spent    { background: #E8F5E9; color: #2E7D32; }

.dash-stat-value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 3px;
}

.dash-stat-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

/* ── Quick Links ── */
.dash-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.dash-quick-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    text-align: center;
    text-decoration: none;
    color: var(--charcoal);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dash-quick-card:hover {
    border-color: var(--maroon);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--maroon);
}

.dash-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--cream);
    color: var(--maroon);
    transition: var(--transition-fast);
}

.dash-quick-card:hover .dash-quick-icon {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
}

.dash-quick-label {
    font-size: 13px;
    font-weight: 600;
}

.dash-quick-sub {
    font-size: 11px;
    color: var(--gray);
}

/* ── Section card ── */
.dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    margin-bottom: 24px;
    overflow: hidden;
}

.dash-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1.5px solid var(--cream-dark);
}

.dash-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
}

.dash-card-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash-card-link:hover { text-decoration: underline; }

.dash-card-body {
    padding: 24px;
}

/* ── Welcome banner ── */
.dash-welcome-banner {
    background: linear-gradient(135deg, var(--maroon) 0%, #9B3522 60%, #B84030 100%);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dash-welcome-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(200,155,90,0.12);
    border-radius: 50%;
}

.dash-welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 80px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.dash-welcome-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.dash-welcome-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 8px;
}

.dash-welcome-title em {
    color: var(--gold-light);
    font-style: italic;
}

.dash-welcome-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.dash-welcome-action {
    flex-shrink: 0;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 1;
}

.dash-welcome-action:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

/* ── Orders table ── */
.dash-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-orders-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    padding: 0 0 14px 0;
    border-bottom: 1.5px solid var(--cream-dark);
    text-align: left;
}

.dash-orders-table td {
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 13.5px;
    color: var(--charcoal);
    vertical-align: middle;
}

.dash-orders-table tr:last-child td {
    border-bottom: none;
}

.dash-order-id {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--maroon);
}

.dash-order-date {
    font-size: 12px;
    color: var(--gray);
    margin-top: 2px;
}

.dash-order-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.dash-order-status.delivered  { background: #E8F5E9; color: #2E7D32; }
.dash-order-status.processing { background: #E3F2FD; color: #1565C0; }
.dash-order-status.pending    { background: #FFF8E1; color: #F57F17; }
.dash-order-status.cancelled  { background: #FFEBEE; color: #C62828; }
.dash-order-status.shipped    { background: #F3E5F5; color: #6A1B9A; }

.dash-order-items-preview {
    display: flex;
    gap: 6px;
}

.dash-order-item-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--gray);
    overflow: hidden;
    flex-shrink: 0;
}

.dash-order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-order-more {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
}

.dash-order-total {
    font-weight: 700;
    color: var(--charcoal);
    font-size: 14px;
}

.dash-view-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    padding: 6px 14px;
    border: 1.5px solid var(--maroon);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.dash-view-btn:hover {
    background: var(--maroon);
    color: var(--white);
}

/* ── Empty state ── */
.dash-empty {
    text-align: center;
    padding: 48px 24px;
}

.dash-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gray-light);
    margin: 0 auto 16px;
}

.dash-empty-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.dash-empty-sub {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.dash-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--maroon);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-fast);
}

.dash-empty-btn:hover {
    background: var(--maroon-dark);
    color: var(--white);
}

/* ── Account info card ── */
.dash-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-info-item {}

.dash-info-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 5px;
}

.dash-info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
}

.dash-info-value.na {
    color: var(--gray);
    font-style: italic;
    font-weight: 400;
}

/* ── Logout button ── */
.dash-logout-form {
    margin: 0;
    padding: 0;
}

.dash-logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    width: 100%;
    font-size: 13.5px;
    font-weight: 500;
    color: #c0392b;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
    text-align: left;
}

.dash-logout-btn:hover {
    background: #FFF5F5;
    border-left-color: #c0392b;
}

.dash-logout-btn i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

/* ── Customer Address ── */
/* ── Reuse dashboard layout styles ── */
.dashboard-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 36px 0 60px;
    align-items: start;
}

.dash-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.dash-profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    text-align: center;
    margin-bottom: 16px;
}

.dash-avatar-initials {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.dash-profile-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.dash-profile-email {
    font-size: 12px;
    color: var(--gray);
    word-break: break-all;
}

.dash-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--cream-dark);
    overflow: hidden;
}

.dash-nav-section {
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.dash-nav-section:last-child { border-bottom: none; }

.dash-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    padding: 10px 20px 6px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--charcoal-light);
    text-decoration: none;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dash-nav-link:hover {
    background: var(--cream);
    color: var(--maroon);
    border-left-color: var(--maroon);
}

.dash-nav-link.active {
    background: linear-gradient(90deg, rgba(122,36,22,0.07) 0%, transparent 100%);
    color: var(--maroon);
    border-left-color: var(--maroon);
    font-weight: 600;
}

.dash-nav-link i { width: 18px; text-align: center; font-size: 14px; flex-shrink: 0; }

.dash-logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    width: 100%;
    font-size: 13.5px;
    font-weight: 500;
    color: #c0392b;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dash-logout-btn:hover {
    background: #FFF5F5;
    border-left-color: #c0392b;
}

.dash-logout-btn i { width: 18px; text-align: center; font-size: 14px; }

/* ── Address page specific ── */
.addr-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.addr-page-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--maroon);
    margin-bottom: 6px;
}

.addr-page-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}

.addr-page-title em { color: var(--maroon); font-style: italic; }

.addr-page-sub {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

.addr-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--maroon);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    flex-shrink: 0;
    white-space: nowrap;
}

.addr-add-btn:hover { background: var(--maroon-dark); color: var(--white); }

/* ── Inline form panel ── */
.addr-form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--maroon);
    overflow: hidden;
    margin-bottom: 24px;

    /* Slide animation */
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),
                opacity 0.3s ease,
                margin 0.3s ease;
    pointer-events: none;
}

.addr-form-panel.open {
    max-height: 800px;
    opacity: 1;
    pointer-events: auto;
}

.addr-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1.5px solid var(--cream-dark);
    background: linear-gradient(90deg, rgba(122,36,22,0.04) 0%, transparent 100%);
}

.addr-form-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
}

.addr-form-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--gray);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.addr-form-close:hover { background: #FFEBEE; color: #c0392b; }

.addr-form-body {
    padding: 24px;
}

/* ── Form fields (reuse auth style) ── */
.addr-field-group {
    margin-bottom: 18px;
}

.addr-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.addr-required { color: var(--maroon); }

.addr-input,
.addr-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.addr-input:focus,
.addr-select:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(122,36,22,0.08);
}

.addr-input.error,
.addr-select.error { border-color: #E53935; }

.addr-error-msg {
    font-size: 12px;
    color: #E53935;
    margin-top: 5px;
    display: block;
    min-height: 16px;
}

.addr-select-wrap {
    position: relative;
}

.addr-select-wrap::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    font-size: 11px;
}

.addr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Label selector */
.addr-label-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.addr-label-option {
    flex: 1;
    min-width: 80px;
}

.addr-label-option input[type="radio"] {
    display: none;
}

.addr-label-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal-light);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
    white-space: nowrap;
}

.addr-label-option input[type="radio"]:checked + .addr-label-pill {
    border-color: var(--maroon);
    background: rgba(122,36,22,0.06);
    color: var(--maroon);
    font-weight: 600;
}

.addr-label-pill:hover { border-color: var(--maroon); color: var(--maroon); }

/* Custom label field */
.addr-custom-label-wrap {
    margin-top: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.addr-custom-label-wrap.show {
    max-height: 80px;
    opacity: 1;
}

/* Form actions */
.addr-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 8px;
}

.addr-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--maroon);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.addr-submit-btn:hover:not(:disabled) { background: var(--maroon-dark); }
.addr-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.addr-cancel-btn {
    background: none;
    border: 1.5px solid var(--cream-dark);
    color: var(--charcoal-light);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.addr-cancel-btn:hover { border-color: var(--gray); color: var(--charcoal); }

/* ── Address cards grid ── */
.addr-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.addr-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--cream-dark);
    box-shadow: var(--shadow-card);
    padding: 20px;
    transition: var(--transition-fast);
    position: relative;
}

.addr-card:hover {
    border-color: var(--maroon);
    box-shadow: var(--shadow-md);
}

.addr-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.addr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.addr-badge.Home   { background: #E3F2FD; color: #1565C0; }
.addr-badge.Office { background: #E8F5E9; color: #2E7D32; }
.addr-badge.Other  { background: #FFF3E0; color: #E65100; }

.addr-card-actions {
    display: flex;
    gap: 6px;
}

.addr-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cream-dark);
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.addr-action-btn.edit:hover   { border-color: var(--maroon); color: var(--maroon); background: rgba(122,36,22,0.05); }
.addr-action-btn.delete:hover { border-color: #E53935; color: #E53935; background: #FFEBEE; }

.addr-recipient-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 3px;
}

.addr-recipient-phone {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.addr-recipient-phone i { font-size: 11px; }

.addr-address-text {
    font-size: 13px;
    color: var(--charcoal-light);
    line-height: 1.65;
    display: flex;
    gap: 8px;
}

.addr-address-text i {
    color: var(--maroon);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── Empty state ── */
.addr-empty {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px dashed var(--cream-dark);
    padding: 64px 24px;
    text-align: center;
}

.addr-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--gray-light);
    margin: 0 auto 20px;
}

.addr-empty-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.addr-empty-sub {
    font-size: 13px;
    color: var(--gray);
    max-width: 320px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* ── Toast ── */
.addr-toast-wrap {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

/* ── Deleting animation ── */
.addr-card.deleting {
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

/* ── Responsive ── */
@media (max-width: 1024px) { .addr-cards-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
    .dashboard-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0 48px;
    }
    .dash-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .dash-profile-card { margin-bottom: 0; }
    .dash-nav { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .addr-form-row { grid-template-columns: 1fr; }
    .addr-page-header { flex-direction: column; align-items: flex-start; }
    .addr-add-btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
    .dash-sidebar { grid-template-columns: 1fr; }
    .addr-cards-grid { grid-template-columns: 1fr; }
    .addr-label-options { gap: 8px; }
    .addr-form-actions { flex-direction: column; }
    .addr-submit-btn,
    .addr-cancel-btn { width: 100%; justify-content: center; }
}

/* updated product grid css after fetching products data from backend */
.product-img-wrap {
    position: relative;
    overflow: hidden;
}

.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-img.loaded {
    opacity: 1;
}

.skeleton-img.hide {
    display: none;
}

/* updated product details skeleton css after fetching product details data from backend */
.pd-thumb {
    position: relative;
    overflow: hidden;
}
.pd-thumb-skeleton {
    position: absolute;
    inset: 0;
}
.pd-thumb-img {
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pd-thumb-img.loaded {
    opacity: 1;
}

/* hover zoom effect on product image */
.pd-main-img-wrap {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

/* .pd-zoom-lens {
    display: none;
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 5;
} */

.pd-zoom-lens {
    display: none;
    position: absolute;
    background-repeat: no-repeat;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 5;
}

/* Desktop-only feature; hide the hint on touch devices where hover doesn't apply */
@media (hover: none) {
    .pd-zoom-hint { display: none; }
}

#pdLightboxOverlay {
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pd-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
}

#pdLightboxOverlay #pdLightboxClose {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10;
}


/* ajax-search */
/* .search-wrap,
.mobile-search-bar { position: relative; } */
.search-wrap { position: relative; }
.mobile-search-form { position: relative; }

.search-suggestions--mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 999999;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
}

.search-suggestions.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.search-group-label {
  padding: 8px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #999;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--maroon, #2A2A2A);
  transition: background .1s ease;
}

.search-item img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.search-item-name { flex: 1; font-size: 14px; }
.search-item-price { font-size: 13px; font-weight: 600; color: var(--gold, #C89B5A); }
.search-item:hover,
.search-item.is-active { background: rgba(200,155,90,0.1); }

.search-item mark { background: rgba(200,155,90,0.35); color: inherit; padding: 0 1px; border-radius: 2px; }

.search-view-all {
  display: block;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon, #2A2A2A);
  border-top: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
}

.search-empty,
.search-loading {
  padding: 16px 14px;
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,0.1);
  border-top-color: var(--gold, #C89B5A);
  border-radius: 50%;
  animation: search-spin .6s linear infinite;
}

@keyframes search-spin { to { transform: rotate(360deg); } }

/* @media (max-width: 768px) {
  .search-suggestions--mobile { position: static; margin-top: 8px; border-radius: 8px; }
} */
