/* L&E Store — Luxury 60-30-10 palette (warm ivory + espresso + gold) */
:root {
    /* 60% — backgrounds */
    --le-bg: #FAF8F5;
    --le-surface: #FFFFFF;
    --le-bg-warm: #F3EFE8;

    /* 30% — structure & text (warm espresso, not cold gray/black) */
    --le-charcoal: #3D3834;
    --le-dark: #3D3834;
    --le-text: #3D3834;
    --le-text-soft: #6E665C;
    --le-muted: #8A8278;
    --le-text-muted: #8A8278;

    /* 10% — accent (CTA only) */
    --le-accent: #C5A059;
    --le-accent-dark: #A88545;
    --le-accent-soft: rgba(197, 160, 89, 0.14);

    /* Sky banner accent */
    --le-sky-light: #D8F0FA;
    --le-sky: #72C5E8;
    --le-sky-deep: #3FAAD4;
    --le-sky-text: #1A4558;

    /* Legacy aliases mapped to luxury palette */
    --le-primary: #C5A059;
    --le-primary-dark: #A88545;
    --le-secondary: #3D3834;

    --le-nav-bg: linear-gradient(165deg, #423C37 0%, #35312D 100%);
    --le-footer-bg: linear-gradient(165deg, #423C37 0%, #2E2A26 55%, #262320 100%);

    --le-border: rgba(61, 56, 52, 0.12);
    --le-shadow: 0 8px 30px rgba(61, 56, 52, 0.08);
    --le-radius: 2px;
    --le-transition: all 0.4s ease;

    --bs-primary: #C5A059;
    --bs-secondary: #3D3834;
    --bs-dark: #3D3834;
    --bs-body-color: #3D3834;
    --bs-secondary-color: #8A8278;
}

body {
    background: var(--le-bg);
    color: var(--le-text);
}

.text-muted,
.text-body-secondary {
    color: var(--le-text-soft) !important;
}

small.text-muted {
    color: var(--le-muted) !important;
}

/* Logo — larger & sharper */
.store-logo {
    height: 92px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(61, 56, 52, 0.1));
}

.store-logo-sm {
    height: 66px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(61, 56, 52, 0.1));
}

.store-main {
    background: var(--le-bg);
}

/* Typography — Arabic: Tajawal · English: Cormorant + Inter */
html[lang="ar"] body,
html[lang="ar"] .le-chat {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
}

html[lang="en"] body,
html[lang="en"] .le-chat {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6,
html[lang="ar"] .home-hero__title,
html[lang="ar"] .home-section__title,
html[lang="ar"] .marketing-top__title,
html[lang="ar"] .marketing-bottom__title,
html[lang="ar"] .display-6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] h4, html[lang="en"] h5, html[lang="en"] h6,
html[lang="en"] .home-hero__title,
html[lang="en"] .home-section__title,
html[lang="en"] .marketing-top__title,
html[lang="en"] .marketing-bottom__title,
html[lang="en"] .display-6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Navbar & footer — warm espresso structure (30%) */
.store-nav__bar,
.nav-bar .bg-primary,
footer.bg-primary {
    background: var(--le-nav-bg) !important;
    border-top: 1px solid rgba(197, 160, 89, 0.22);
}

footer.bg-primary {
    background: var(--le-footer-bg) !important;
}

/* ── Store top header ── */
.store-topbar {
    background: linear-gradient(90deg, var(--le-bg-warm) 0%, #fff 50%, var(--le-bg-warm) 100%);
    border-bottom: 1px solid var(--le-border);
}

.store-topbar__tagline {
    font-size: .85rem;
    color: var(--le-text-soft);
    font-weight: 600;
}

.store-topbar__contact {
    font-size: .85rem;
    color: var(--le-text);
}

.store-topbar__contact a {
    color: var(--le-accent-dark);
    text-decoration: none;
    font-weight: 600;
}

.store-topbar__contact a:hover {
    color: var(--le-charcoal);
}

.store-topbar__link {
    font-size: .85rem;
    color: var(--le-text);
    text-decoration: none;
    margin-inline-start: .75rem;
    font-weight: 500;
}

.store-topbar__link:hover {
    color: var(--le-accent);
}

.store-header {
    background: #fff;
    border-bottom: 1px solid var(--le-border);
    box-shadow: 0 4px 24px rgba(242, 139, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.store-header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: .65rem 0;
    flex-wrap: wrap;
}

.store-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.store-header__search {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 220px;
    border: 2px solid var(--le-border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--le-bg-warm);
    transition: border-color .2s, box-shadow .2s;
}

.store-header__search:focus-within {
    border-color: var(--le-primary);
    box-shadow: 0 0 0 3px rgba(242, 139, 0, 0.12);
    background: #fff;
}

.store-header__search .form-control {
    border: 0;
    background: transparent;
    padding: .75rem 1.25rem;
    box-shadow: none;
}

.store-header__search .form-control:focus {
    box-shadow: none;
}

.store-header__search .btn {
    border-radius: 0;
    padding-inline: 1.25rem;
    white-space: nowrap;
}

.store-header__actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.store-header__action {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--le-dark);
    background: var(--le-bg-warm);
    border: 1px solid var(--le-border);
    text-decoration: none;
    transition: all .2s ease;
    position: relative;
}

.store-header__action:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    border-color: transparent;
}

.store-header__cart {
    width: auto;
    padding: 0 .85rem;
    gap: .5rem;
}

.store-header__cart-total {
    font-size: .9rem;
    font-weight: 700;
    color: var(--le-primary);
}

.store-header__action:hover .store-header__cart-total {
    color: #fff;
}

.store-header__badge {
    position: absolute;
    top: -4px;
    inset-inline-start: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--le-secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.store-nav {
    box-shadow: 0 4px 16px rgba(61, 56, 52, 0.12);
}

.store-nav__links .nav-link {
    padding: .85rem 1rem !important;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 0;
    position: relative;
    transition: background .2s, color .2s;
    color: rgba(250, 248, 245, 0.9) !important;
}

.store-nav__bar .navbar-dark .navbar-nav .nav-link {
    color: rgba(250, 248, 245, 0.88) !important;
}

.store-nav__links .nav-link.active,
.store-nav__links .nav-link:hover {
    background: rgba(197, 160, 89, 0.18);
    color: #FAF8F5 !important;
}

.store-nav__links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--le-accent);
    border-radius: 999px 999px 0 0;
}

.navbar-dark .nav-link.active,
.navbar-dark .nav-link:hover {
    color: #fff !important;
    opacity: 1;
}

.store-categories-bar {
    background: #fff;
    border-bottom: 1px solid var(--le-border);
}

.store-categories-label {
    color: var(--le-primary) !important;
}

/* ── Homepage hero ── */
.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--le-bg-warm) 0%, #fff 45%, rgba(249, 36, 0, 0.04) 100%);
    border-bottom: 1px solid var(--le-border);
}

.home-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.home-hero__glow--1 {
    width: 420px;
    height: 420px;
    background: rgba(242, 139, 0, 0.18);
    top: -120px;
    left: -80px;
}

.home-hero__glow--2 {
    width: 360px;
    height: 360px;
    background: rgba(249, 36, 0, 0.1);
    bottom: -80px;
    right: -60px;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    padding: .45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(242, 139, 0, 0.3);
}

.home-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--le-dark);
    margin-bottom: 1rem;
}

.home-hero__title span {
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero__lead {
    font-size: 1.1rem;
    color: var(--le-text-soft);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.home-hero__cta {
    box-shadow: 0 8px 24px rgba(242, 139, 0, 0.35);
}

.luxmind-hero {
    position: relative;
    padding: 12px;
    background: linear-gradient(145deg, #FAF8F5 0%, #F0EBE3 100%);
    border-radius: 1.25rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 16px 40px rgba(61, 56, 52, 0.12);
}

.luxmind-hero__frame {
    position: relative;
    aspect-ratio: 1024 / 936;
    width: 100%;
    border-radius: calc(1.25rem - 8px);
    overflow: hidden;
    background: #FAF8F5;
}

.luxmind-hero__image {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: contain;
    object-position: center center;
    display: block;
}

.luxmind-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.05) 35%, rgba(61, 56, 52, 0.72) 100%);
    pointer-events: none;
}

.luxmind-hero__content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.1rem 1.15rem;
}

.luxmind-hero__heading {
    font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #FAF8F5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    margin-bottom: .5rem;
}

.luxmind-hero__text {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.55;
    color: #FAF8F5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    background: rgba(61, 56, 52, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--le-radius);
    padding: .6rem .85rem;
    margin-bottom: .75rem;
    backdrop-filter: blur(4px);
}

.luxmind-stat {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: .65rem;
    padding: .55rem .4rem;
    text-align: center;
    color: var(--le-charcoal);
    backdrop-filter: blur(6px);
}

.luxmind-stat strong {
    display: block;
    font-size: 1.15rem;
    color: var(--le-accent-dark);
}

.luxmind-stat .small {
    color: var(--le-text-soft);
}

/* ── Homepage sections ── */
.home-section {
    position: relative;
}

.home-section--warm {
    background: linear-gradient(180deg, var(--le-bg-warm) 0%, var(--le-bg) 100%);
}

.home-section--accent {
    background: linear-gradient(180deg, #fff 0%, var(--le-bg-warm) 100%);
    border-top: 1px solid var(--le-border);
}

.home-section__title {
    font-weight: 800;
    color: var(--le-dark);
    position: relative;
    display: inline-block;
}

.home-section__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--le-primary), var(--le-secondary));
    border-radius: 999px;
    margin-top: .4rem;
}

.home-section__subtitle {
    color: var(--le-muted);
    font-size: .95rem;
    margin-top: .25rem;
}

.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid var(--le-border);
    border-radius: var(--le-radius);
    text-decoration: none;
    color: var(--le-dark);
    height: 100%;
    transition: all .25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.home-category-card:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--le-shadow);
}

.home-category-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--le-bg-warm);
    color: var(--le-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all .25s ease;
}

.home-category-card:hover .home-category-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Legacy hero class fallback */
.hero-header {
    background: linear-gradient(180deg, var(--le-bg-warm) 0%, var(--le-bg) 100%) !important;
}

/* Cards & surfaces */
.card,
.stat-card,
.border.rounded,
.product-card-le {
    border-color: var(--le-border) !important;
}

.btn-primary {
    background: var(--le-accent) !important;
    border-color: var(--le-accent) !important;
    border-radius: var(--le-radius) !important;
    transition: var(--le-transition) !important;
}

.btn-primary:hover {
    background: var(--le-accent-dark) !important;
    border-color: var(--le-accent-dark) !important;
}

.btn-outline-primary {
    color: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
    border-radius: var(--le-radius) !important;
    transition: var(--le-transition) !important;
}

.btn-outline-primary:hover {
    background: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--le-primary) !important;
}

.bg-primary {
    background-color: var(--le-charcoal) !important;
}

.btn-primary.bg-primary {
    background-color: var(--le-accent) !important;
}

/* Product cards — clean layout, no overlap */
/* Product grid — prevent hover bleed into rows below */
.product-grid-item {
    margin-bottom: 1.5rem;
    isolation: isolate;
}

.product-card-le {
    background: var(--le-surface);
    border-radius: var(--le-radius);
    border: 1px solid var(--le-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.product-card-le:hover {
    box-shadow: var(--le-shadow);
    transform: translateY(-4px);
    z-index: 2;
}

.product-card-le__media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--le-bg-warm) 0%, #fff 100%);
}

.product-card-le__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.35s ease;
    display: block;
}

.product-card-le__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-card-le__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-card-le__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.product-card-le__indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}

.product-card-le__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.product-card-le__dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

.product-card-le__photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.product-card-le__photo-count::before {
    content: '\f030';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 4px;
}

.product-gallery__main {
    aspect-ratio: 1 / 1;
    background: var(--le-bg-warm, #faf8f5);
}

.product-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-gallery__thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    border-color: var(--le-primary, #F28B00);
    box-shadow: 0 0 0 1px rgba(242, 139, 0, 0.25);
}

.product-card-le:hover .product-card-le__media .product-card-le__slide.is-active {
    transform: scale(1.06);
}

.product-card-le__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-le:hover .product-card-le__overlay {
    opacity: 1;
}

.product-card-le__overlay a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-card-le__body {
    padding: 1rem 1rem 0.75rem;
    flex: 1;
    text-align: center;
}

.product-card-le__footer {
    padding: 0 1rem 1rem;
}

.product-card-le .product-new,
.product-card-le .product-badge-luxmind {
    position: absolute;
    z-index: 3;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
}

.product-card-le .product-new {
    top: 10px;
    right: 10px;
    width: auto;
    height: auto;
    background: var(--le-primary);
    color: #fff;
}

.product-card-le .product-badge-luxmind {
    top: 10px;
    left: 10px;
    right: auto;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    font-weight: 700;
}


.store-category-chip.btn-primary {
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary)) !important;
}

.store-category-chip.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary)) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Shop filter panel */
.shop-filter-panel {
    background: var(--le-surface);
    border-radius: var(--le-radius);
    border: 1px solid var(--le-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 1rem 1.25rem;
}

.shop-filter-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .75rem 1rem;
}

.shop-filter-form__field {
    flex: 1 1 140px;
    min-width: 120px;
}

.shop-filter-form__field--price {
    flex: 0 1 110px;
    min-width: 90px;
}

.shop-filter-form__field--action {
    flex: 0 0 auto;
    min-width: 100px;
}

.shop-filter-form .form-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--le-text-muted, #6c757d);
    margin-bottom: .25rem;
}

.shop-filter-form .form-select,
.shop-filter-form .form-control {
    border-radius: 999px;
    border-color: var(--le-border);
}

.shop-filter-form .form-select:focus,
.shop-filter-form .form-control:focus {
    border-color: var(--le-primary);
    box-shadow: 0 0 0 .2rem rgba(242, 139, 0, 0.15);
}

.shop-filter-form .btn-primary {
    border-radius: 999px;
    padding-inline: 1.25rem;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .shop-filter-form__row {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filter-form__field,
    .shop-filter-form__field--price,
    .shop-filter-form__field--action {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* Alerts */
.alert-success {
    border-color: rgba(242, 139, 0, 0.2);
    background: var(--le-bg-warm);
}

/* PWA header matches brand */
.pwa-app-header {
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary)) !important;
}

.pwa-tabbar .tab-link.active {
    color: var(--le-primary) !important;
}

/* Collapsible install dock */
.pwa-install-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--pwa-tab-height, 64px) + var(--pwa-safe-bottom, 0px));
    z-index: 1045;
    pointer-events: none;
}

.pwa-install-dock.is-hidden {
    display: none !important;
}

.pwa-install-dock__inner {
    pointer-events: auto;
    margin: 0 12px 8px;
    background: var(--le-surface);
    border: 1px solid var(--le-border);
    border-radius: 14px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.pwa-install-dock__tab {
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.pwa-install-dock__panel {
    padding: 14px 16px;
    background: var(--le-bg-warm);
    border-top: 1px solid var(--le-border);
}

.pwa-install-dock.is-collapsed .pwa-install-dock__panel {
    display: none;
}

.pwa-install-dock:not(.is-collapsed) .pwa-install-dock__chevron {
    transform: rotate(180deg);
}

.pwa-install-dock__chevron {
    transition: transform 0.25s ease;
    font-size: 12px;
}

.pwa-desktop-dock {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1035;
    max-width: 320px;
}

.pwa-desktop-dock.is-hidden {
    display: none !important;
}

@media (max-width: 991.98px) {
    .store-header__inner {
        justify-content: center;
    }

    .store-header__search {
        order: 3;
        width: 100%;
        flex: none;
    }

    .pwa-desktop-dock {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .pwa-install-dock {
        display: none !important;
    }
}

/* Language switcher */
.store-lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--le-border);
    background: #fff;
    color: var(--le-primary);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s ease;
}

.store-lang-switcher__btn:hover {
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    border-color: transparent;
}

.admin-sidebar .store-lang-switcher__btn {
    width: 100%;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border-color: rgba(242,139,0,.35);
    color: #fff;
}

/* Marketing banners */
.store-banner-slider {
    background: var(--le-bg);
}

.store-banner-carousel {
    border-radius: var(--le-radius);
    overflow: hidden;
    border: 1px solid var(--le-border);
    box-shadow: var(--le-shadow);
}

.store-banner-carousel__link {
    display: block;
}

.store-banner-carousel__image {
    aspect-ratio: 21 / 8;
    object-fit: cover;
    max-height: 420px;
}

.store-banner-carousel__caption {
    background: linear-gradient(180deg, transparent 0%, rgba(61, 56, 52, 0.72) 100%);
    inset-inline: 0;
    bottom: 0;
    padding: 2rem 1.5rem 1.25rem;
    text-align: start;
}

.store-banner-carousel__title {
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.store-banner-carousel__subtitle {
    opacity: .92;
}

.store-banner-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
}

.store-banner-carousel .carousel-indicators .active {
    background-color: var(--le-accent);
}

.store-banner-strip__image {
    width: 100%;
    border-radius: var(--le-radius);
    border: 1px solid var(--le-border);
    box-shadow: var(--le-shadow);
    object-fit: cover;
    aspect-ratio: 21 / 6;
}

.store-banner-strip__link {
    display: block;
}

.marketing-top {
    background: linear-gradient(125deg, var(--le-sky-light) 0%, #B8E4F7 28%, var(--le-sky) 62%, var(--le-sky-deep) 100%);
    color: var(--le-sky-text);
    padding: 1.75rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.marketing-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 45%, rgba(255, 255, 255, 0.55), transparent 48%),
        radial-gradient(circle at 88% 55%, rgba(255, 255, 255, 0.28), transparent 42%);
    pointer-events: none;
}

.marketing-top__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.marketing-top__title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    margin-bottom: .5rem;
    color: var(--le-sky-text);
}

.marketing-top__text {
    color: rgba(26, 69, 88, 0.88);
    max-width: 640px;
    margin: 0;
    line-height: 1.7;
}

.marketing-top__spark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--le-accent-dark);
    border-radius: 50%;
    margin-bottom: .5rem;
}

.marketing-top__trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

.marketing-trust-item {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: .75rem;
    padding: .65rem .85rem;
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--le-sky-text);
    backdrop-filter: blur(4px);
}

.marketing-trust-item i {
    color: var(--le-accent-dark);
}

.marketing-top .btn-outline-primary {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(26, 69, 88, 0.35) !important;
    color: var(--le-sky-text) !important;
}

.marketing-top .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: var(--le-sky-text) !important;
    color: var(--le-sky-text) !important;
}

.marketing-bottom {
    margin-top: 0;
}

.marketing-bottom__inner {
    background: linear-gradient(145deg, #2a2118 0%, #484848 50%, #1a1208 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    color: #fff;
    border: 1px solid rgba(242, 139, 0, 0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    position: relative;
    overflow: hidden;
}

.marketing-bottom__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(242,139,0,.35), transparent 45%);
    pointer-events: none;
}

.marketing-bottom__title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
}

.marketing-bottom__text {
    opacity: .88;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.marketing-bottom__list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    position: relative;
    z-index: 1;
}

.marketing-bottom__list li {
    padding: .35rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.marketing-bottom__list i {
    color: var(--le-primary);
}

.marketing-bottom__visual {
    position: relative;
    z-index: 1;
}

.marketing-bottom__logo {
    max-width: 180px;
    position: relative;
    z-index: 2;
}

.marketing-bottom__ring {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border: 3px solid rgba(242,139,0,.35);
    border-radius: 50%;
}

/* Chat widget */
.le-chat {
    position: fixed;
    bottom: calc(var(--pwa-tab-height, 24px) + var(--pwa-safe-bottom, 0px) + 16px);
    inset-inline-start: 16px;
    z-index: 1050;
}

@media (min-width: 992px) {
    .le-chat {
        bottom: 24px;
    }
}

.le-chat__fab {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    border-radius: 999px;
    padding: .85rem 1.25rem;
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(242,139,0,.4);
    cursor: pointer;
    transition: transform .2s ease;
}

.le-chat__fab:hover { transform: scale(1.04); }
.le-chat__fab.is-open { border-radius: 50%; width: 52px; height: 52px; padding: 0; justify-content: center; }
.le-chat__fab.is-open .le-chat__fab-label { display: none; }

.le-chat__panel {
    position: absolute;
    bottom: calc(100% + 12px);
    inset-inline-start: 0;
    width: min(360px, calc(100vw - 32px));
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--le-border);
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
}

.le-chat__panel.is-hidden { display: none; }

.le-chat__header {
    background: linear-gradient(135deg, var(--le-primary), var(--le-secondary));
    color: #fff;
    padding: .85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.le-chat__close {
    background: rgba(255,255,255,.2);
    border: 0;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.le-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: var(--le-bg-warm);
    min-height: 200px;
    max-height: 320px;
}

.le-chat__msg {
    margin-bottom: .75rem;
    padding: .65rem .85rem;
    border-radius: .85rem;
    font-size: .9rem;
    line-height: 1.6;
    max-width: 92%;
}

.le-chat__msg--bot {
    background: #fff;
    border: 1px solid var(--le-border);
    margin-inline-end: auto;
}

.le-chat__msg--user {
    background: linear-gradient(135deg, var(--le-primary), var(--le-primary-dark));
    color: #fff;
    margin-inline-start: auto;
}

.le-chat__typing { opacity: .6; font-style: italic; }

.le-chat__products {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .5rem;
}

.le-chat__product {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem;
    background: var(--le-bg-warm);
    border-radius: .5rem;
    text-decoration: none;
    color: var(--le-dark);
    border: 1px solid var(--le-border);
}

.le-chat__product img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: .35rem;
}

.le-chat__product strong { display: block; font-size: .8rem; }
.le-chat__product small { color: var(--le-primary); font-weight: 700; }

.le-chat__quick {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .5rem .75rem;
    border-top: 1px solid var(--le-border);
    background: #fff;
}

.le-chat__quick-btn {
    border: 1px solid var(--le-border);
    background: #fff;
    color: var(--le-primary);
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
}

.le-chat__quick-btn:hover {
    background: var(--le-primary);
    color: #fff;
}

.le-chat__form {
    display: flex;
    gap: .35rem;
    padding: .65rem;
    border-top: 1px solid var(--le-border);
    background: #fff;
}

.le-chat__form .form-control {
    border-radius: 999px;
    border-color: var(--le-border);
    font-size: .9rem;
}

.le-chat__form .btn {
    border-radius: var(--le-radius);
    width: 42px;
    height: 42px;
    padding: 0;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   Luxury overrides — 60-30-10 enforcement
   ═══════════════════════════════════════════════════════ */

.btn,
.form-control,
.form-select,
.store-header__search,
.product-card-le,
.home-category-card,
.shop-filter-panel,
.shop-filter-form .form-select,
.shop-filter-form .form-control,
.card,
.stat-card {
    border-radius: var(--le-radius) !important;
}

.btn,
.product-card-le,
.home-category-card,
.store-header__action,
.category-pill,
.product-card-le__media img,
.store-nav__links .nav-link,
.store-category-chip,
.home-hero__cta {
    transition: var(--le-transition) !important;
}

/* CTA — noble gold (10%) */
.btn-primary,
.shop-filter-form .btn-primary,
.product-card-le__footer .btn-primary,
.le-chat__form .btn-primary,
.le-chat__fab,
.pwa-install-dock__tab {
    background: var(--le-accent) !important;
    border-color: var(--le-accent) !important;
    color: #fff !important;
}

.btn-primary:hover,
.shop-filter-form .btn-primary:hover,
.product-card-le__footer .btn-primary:hover,
.le-chat__form .btn-primary:hover,
.le-chat__fab:hover,
.pwa-install-dock__tab:hover {
    background: var(--le-accent-dark) !important;
    border-color: var(--le-accent-dark) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--le-accent) !important;
}

.product-card-le__body .text-primary,
.product-card-le__body .fw-bold.text-primary {
    color: var(--le-charcoal) !important;
}

/* Structure — warm nav, header accents */
.store-nav {
    box-shadow: 0 4px 16px rgba(61, 56, 52, 0.1);
}

.store-topbar {
    background: var(--le-bg) !important;
    border-bottom: 1px solid var(--le-border);
}

.store-topbar__contact a {
    color: var(--le-charcoal);
}

.store-topbar__contact a:hover {
    color: var(--le-accent);
}

.store-topbar__link:hover {
    color: var(--le-accent);
}

.store-header {
    background: var(--le-surface);
    box-shadow: 0 2px 16px rgba(45, 49, 49, 0.04);
}

.store-header__search {
    border-radius: var(--le-radius) !important;
    border-color: rgba(45, 49, 49, 0.15) !important;
    background: var(--le-surface) !important;
}

.store-header__search:focus-within {
    border-color: var(--le-charcoal) !important;
    box-shadow: 0 0 0 2px rgba(45, 49, 49, 0.08) !important;
}

.store-header__action {
    border-radius: var(--le-radius) !important;
    background: var(--le-surface) !important;
    color: var(--le-charcoal) !important;
}

.store-header__action:hover {
    background: var(--le-accent) !important;
    border-color: var(--le-accent) !important;
    color: #fff !important;
}

.store-header__cart-total {
    color: var(--le-accent) !important;
}

.store-header__action:hover .store-header__cart-total {
    color: #fff !important;
}

.store-header__badge {
    background: var(--le-accent) !important;
    border-radius: var(--le-radius) !important;
}

.store-categories-label {
    color: var(--le-charcoal) !important;
}

.store-category-chip.btn-outline-primary {
    color: var(--le-charcoal) !important;
    border-color: rgba(45, 49, 49, 0.25) !important;
}

.store-category-chip.btn-primary,
.store-category-chip.btn-outline-primary:hover {
    background: var(--le-accent) !important;
    border-color: var(--le-accent) !important;
    color: #fff !important;
}

.store-lang-switcher__btn {
    border-radius: var(--le-radius) !important;
    color: var(--le-charcoal) !important;
}

.store-lang-switcher__btn:hover {
    background: var(--le-charcoal) !important;
    color: #fff !important;
    border-color: var(--le-charcoal) !important;
}

/* Hero & sections — ivory canvas */
.home-hero {
    background: var(--le-bg) !important;
    border-bottom: 1px solid var(--le-border);
}

.home-hero__glow--1 {
    background: rgba(197, 160, 89, 0.08) !important;
}

.home-hero__glow--2 {
    background: rgba(45, 49, 49, 0.04) !important;
}

.home-hero__badge {
    background: var(--le-charcoal) !important;
    border: 1px solid var(--le-accent);
    border-radius: var(--le-radius) !important;
    box-shadow: none;
}

.home-hero__title {
    color: var(--le-charcoal);
    font-weight: 500;
}

.home-hero__title span {
    background: none !important;
    -webkit-text-fill-color: var(--le-accent) !important;
    color: var(--le-accent) !important;
}

.home-hero__cta {
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
}

.home-section--warm,
.home-section--accent {
    background: var(--le-bg) !important;
    border-color: var(--le-border) !important;
}

.home-section__title {
    color: var(--le-charcoal);
    font-weight: 500;
}

.home-section__title::after {
    background: var(--le-accent) !important;
    border-radius: 0 !important;
    height: 2px;
    width: 40px;
}

.home-category-card {
    background: var(--le-surface) !important;
    border-radius: var(--le-radius) !important;
}

.home-category-card:hover {
    background: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.home-category-card__icon {
    border-radius: var(--le-radius) !important;
    background: var(--le-bg) !important;
    color: var(--le-charcoal) !important;
}

.home-category-card:hover .home-category-card__icon {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.luxmind-hero,
.marketing-bottom__inner {
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    border-radius: var(--le-radius) !important;
}

.luxmind-hero {
    background: linear-gradient(145deg, #FAF8F5 0%, #F0EBE3 100%) !important;
    padding: 12px !important;
}

.marketing-bottom__inner {
    background: var(--le-charcoal) !important;
}

.luxmind-hero__frame {
    border-radius: calc(1.25rem - 8px) !important;
}

.luxmind-stat {
    border-color: rgba(197, 160, 89, 0.3) !important;
    border-radius: var(--le-radius) !important;
}

.luxmind-stat strong {
    color: var(--le-accent) !important;
}

.marketing-top {
    background: linear-gradient(125deg, var(--le-sky-light) 0%, #B8E4F7 28%, var(--le-sky) 62%, var(--le-sky-deep) 100%) !important;
    color: var(--le-sky-text) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.marketing-bottom__list i {
    color: var(--le-accent) !important;
}

.marketing-bottom__ring {
    border-color: rgba(197, 160, 89, 0.35) !important;
}

/* Product cards — white surfaces, subtle motion */
.product-card-le {
    background: var(--le-surface) !important;
    border-radius: var(--le-radius) !important;
    transition: var(--le-transition) !important;
}

.product-card-le:hover {
    box-shadow: var(--le-shadow);
    transform: translateY(-2px);
}

.product-card-le__media {
    background: var(--le-bg) !important;
}

.product-card-le__overlay a {
    background: var(--le-charcoal) !important;
    border-radius: var(--le-radius) !important;
}

.product-card-le .product-new,
.product-card-le .product-badge-luxmind {
    background: var(--le-accent) !important;
    border-radius: var(--le-radius) !important;
}

.product-card-le__footer .btn.rounded-pill {
    border-radius: var(--le-radius) !important;
}

/* PWA shell */
.pwa-app-header {
    background: var(--le-charcoal) !important;
}

.pwa-tabbar .tab-link.active {
    color: var(--le-accent) !important;
}

.pwa-drawer .offcanvas-header,
.pwa-drawer .list-group-item i {
    color: var(--le-accent) !important;
}

.pwa-drawer .offcanvas-header {
    background: var(--le-charcoal) !important;
    color: #fff !important;
}

/* Chat widget */
.le-chat__header {
    background: var(--le-charcoal) !important;
}

.le-chat__fab {
    border-radius: var(--le-radius) !important;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.3) !important;
}

.le-chat__panel {
    border-radius: var(--le-radius) !important;
}

.le-chat__quick-btn:hover {
    background: var(--le-charcoal) !important;
}

.le-chat__form .form-control {
    border-radius: var(--le-radius) !important;
}

.le-chat__product small {
    color: var(--le-accent) !important;
}

/* Shop filters */
.shop-filter-form .form-select:focus,
.shop-filter-form .form-control:focus {
    border-color: var(--le-charcoal) !important;
    box-shadow: 0 0 0 2px rgba(45, 49, 49, 0.08) !important;
}

.alert-success {
    border-color: rgba(197, 160, 89, 0.25) !important;
    background: var(--le-bg) !important;
}

footer.bg-primary {
    color: rgba(250, 248, 245, 0.94) !important;
}

footer.bg-primary h5 {
    color: var(--le-accent);
    font-weight: 500;
    letter-spacing: 0.02em;
}

footer.bg-primary p {
    color: rgba(250, 248, 245, 0.82);
}

footer.bg-primary a.text-white {
    color: rgba(250, 248, 245, 0.88) !important;
}

footer.bg-primary a.text-white:hover {
    color: var(--le-accent) !important;
}

/* Pagination — horizontal row (override legacy style.css) */
.pagination {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.page-item {
    display: inline-flex;
}

.page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    border-radius: var(--le-radius) !important;
    color: var(--le-charcoal);
    border-color: var(--le-border);
    transition: var(--le-transition);
}

.page-item.active .page-link {
    background: var(--le-accent) !important;
    border-color: var(--le-accent) !important;
    color: #fff !important;
}

.page-item .page-link:hover {
    background: var(--le-bg-warm);
    color: var(--le-charcoal);
    border-color: var(--le-border);
}

.page-item.disabled .page-link {
    color: var(--le-muted);
}

nav[role="navigation"] .pagination {
    margin-bottom: 0;
}

/* Auth social buttons */
.btn-auth-google {
    background: #fff !important;
    border: 1px solid var(--le-border) !important;
    color: var(--le-charcoal) !important;
    border-radius: var(--le-radius) !important;
}

.btn-auth-facebook {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #fff !important;
    border-radius: var(--le-radius) !important;
}

.btn-auth-apple {
    background: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
    color: #fff !important;
    border-radius: var(--le-radius) !important;
}

.auth-social-btn--pending {
    opacity: 0.92;
}

.account-auth-card,
.account-hub-sidebar,
.account-stat-card {
    border-radius: var(--le-radius) !important;
}

.account-hub-user {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    background: var(--le-surface);
    border: 1px solid var(--le-border);
    border-radius: var(--le-radius);
}

.account-hub-user__avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--le-radius);
    object-fit: cover;
}

.account-hub-user__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--le-charcoal);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.account-hub-nav .list-group-item {
    border-radius: var(--le-radius) !important;
    margin-bottom: .35rem;
    border: 1px solid var(--le-border);
}

.account-hub-nav .list-group-item.active {
    background: var(--le-charcoal) !important;
    border-color: var(--le-charcoal) !important;
}

.account-stat-card {
    background: var(--le-surface);
    border: 1px solid var(--le-border);
    padding: 1rem 1.25rem;
}

.account-stat-card__label {
    display: block;
    font-size: .85rem;
    color: var(--le-muted);
}

.account-stat-card__value {
    font-size: 1.5rem;
    color: var(--le-charcoal);
}
