/* ==========================================================================
   GLAMORA LUXURY E-COMMERCE DESIGN SYSTEM — TASTE-SKILL COMPLIANT
   Brand Identity: Royal Plum (#5A2E4D), Rose (#F9D1D4), Mist (#FAF7F9), Deep Plum (#2D1A27)
   Principles: High-End Editorial, Zero AI Slop, Flat Surfaces, 100dvh Stability, 48px Touch Targets
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700&display=swap');

:root {
    /* Glamora Official Primary Brand Colors */
    --glm-rose: #F9D1D4;
    --glm-rose-hover: #F2BDC1;
    --glm-cream: #FCFADA;
    --glm-cream-subtle: #FFFDF0;

    /* Glamora Official Supporting Brand Colors */
    --glm-plum: #5A2E4D;
    --glm-plum-hover: #48233D;
    --glm-plum-light: #6E385E;
    --glm-lavender: #C0A2C7;
    --glm-blush: #F3E7EB;
    --glm-orchid: #E7CEE4;

    /* Neutral Surfaces & Text */
    --glm-mist: #FAF7F9;
    --glm-surface: #FFFFFF;
    --glm-surface-subtle: #F3E7EB;
    --glm-surface-dark: #5A2E4D;
    --glm-text: #3D1C34;
    --glm-text-muted: #7A5870;

    /* UI Ergonomics */
    --glm-radius-sm: 8px;
    --glm-radius-md: 14px;
    --glm-radius-lg: 20px;
    --glm-radius-full: 9999px;
    --glm-touch-target: 48px;
}


/* Reset & Foundation */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: var(--glm-text);
    background-color: var(--glm-mist);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Container */
.glm-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.glm-container-sm {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Top Announcement Strip — Clean Flat Surface */
.glm-topbar {
    background-color: var(--glm-rose);
    color: var(--glm-plum);
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

.glm-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Navbar */
.glm-header {
    background-color: var(--glm-surface);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(45, 26, 39, 0.05); /* taste-skill-ignore */
}

.glm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.25rem;
}

.glm-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.glm-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.glm-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.glm-nav-link {
    color: var(--glm-plum);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.glm-nav-link:hover, .glm-nav-link.active {
    color: var(--glm-plum-light);
}

.glm-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--glm-plum);
}

.glm-search-box {
    flex: 1;
    max-width: 360px;
    position: relative;
}

.glm-search-input {
    width: 100%;
    background-color: var(--glm-mist);
    border: 1px solid #E5D5DE; /* data-ui form control */
    border-radius: var(--glm-radius-full);
    padding: 0.625rem 2.5rem 0.625rem 1.25rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--glm-text);
    outline: none;
    height: 44px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.glm-search-input:focus {
    border-color: var(--glm-plum);
    background-color: var(--glm-surface);
}

.glm-search-btn {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--glm-plum);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.glm-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glm-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--glm-plum);
    text-decoration: none;
    min-height: var(--glm-touch-target);
    padding: 0 0.875rem;
    border-radius: var(--glm-radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.glm-action-link:hover {
    background-color: var(--glm-surface-subtle);
}

.glm-cart-badge {
    background-color: var(--glm-rose);
    color: var(--glm-plum);
    border-radius: var(--glm-radius-full);
    min-height: var(--glm-touch-target);
    padding: 0 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.glm-cart-badge:hover {
    background-color: var(--glm-rose-hover);
}

.glm-cart-badge:active {
    transform: scale(0.97);
}

.glm-cart-count {
    background-color: var(--glm-plum);
    color: #FFFFFF;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: var(--glm-radius-full);
    font-size: 0.6875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle Button */
.glm-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--glm-plum);
    width: var(--glm-touch-target);
    height: var(--glm-touch-target);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* Primary Button — Flat Bold Contrast, Min 48px touch target */
.glm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: var(--glm-plum) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--glm-radius-full);
    min-height: var(--glm-touch-target);
    padding: 0.875rem 2rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.glm-btn-primary:hover {
    background-color: var(--glm-plum-hover) !important;
}

.glm-btn-primary:active {
    transform: scale(0.98);
}

.glm-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: var(--glm-surface-subtle) !important;
    color: var(--glm-plum) !important;
    border: none;
    border-radius: var(--glm-radius-full);
    min-height: var(--glm-touch-target);
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.glm-btn-secondary:hover {
    background-color: var(--glm-rose) !important;
}

.glm-btn-secondary:active {
    transform: scale(0.98);
}

/* ==========================================================================
   HOMEPAGE COMPONENTS (Taste-Skill Aligned)
   ========================================================================== */

.glm-hero-section {
    background-color: var(--glm-surface);
    padding: 3.5rem 0 4rem 0;
}

.glm-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.glm-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.glm-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--glm-plum);
    margin: 0;
    letter-spacing: -0.02em;
}

.glm-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--glm-text-muted);
    margin: 0;
    max-width: 500px;
}

.glm-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.glm-hero-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.75rem;
    background-color: var(--glm-mist);
    padding: 1.25rem 1.5rem;
    border-radius: var(--glm-radius-md);
}

.glm-perk-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--glm-plum);
}

.glm-perk-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--glm-text-muted);
}

.glm-hero-media {
    position: relative;
    border-radius: var(--glm-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    max-height: 520px;
    background-color: var(--glm-surface-subtle);
}

.glm-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.glm-hero-img:hover {
    transform: scale(1.02);
}

/* Feature Strips */
.glm-features-section {
    padding: 3rem 0;
    background-color: var(--glm-mist);
}

.glm-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.glm-feature-card {
    background-color: var(--glm-surface);
    border-radius: var(--glm-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: transform 0.2s ease;
}

.glm-feature-card:hover {
    transform: translateY(-2px);
}

.glm-feature-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--glm-plum);
    margin: 0;
}

.glm-feature-desc {
    font-size: 0.8125rem;
    color: var(--glm-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Products Section */
.glm-section {
    padding: 4rem 0;
}

.glm-section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem auto;
}

.glm-section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--glm-plum);
    margin: 0 0 0.75rem 0;
    line-height: 1.25;
}

.glm-section-subtitle {
    font-size: 1rem;
    color: var(--glm-text-muted);
    margin: 0;
    line-height: 1.6;
}

.glm-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glm-product-card {
    background-color: var(--glm-surface);
    border-radius: var(--glm-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.glm-product-card:hover {
    transform: translateY(-4px);
}

.glm-product-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--glm-surface-subtle);
}

.glm-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.glm-product-card:hover .glm-product-thumb {
    transform: scale(1.04);
}

.glm-product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.875rem;
}

.glm-product-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--glm-plum);
    margin: 0;
    line-height: 1.4;
}

.glm-product-title a {
    color: inherit;
    text-decoration: none;
}

.glm-swatches-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.glm-color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.glm-size-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
}

.glm-size-pill {
    padding: 0.25rem 0.625rem;
    background-color: var(--glm-mist);
    border-radius: var(--glm-radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--glm-plum);
}

.glm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.glm-price-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--glm-plum);
}

.glm-price-cur {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--glm-plum-light);
    margin-right: 0.25rem;
}

/* ==========================================================================
   PRODUCT DETAILS PAGE (PDP) — LUXURY & SMOOTH MOBILE
   ========================================================================== */

.glm-pdp-layout {
    display: grid;
    grid-template-columns: 52% 48%;
    gap: 3.5rem;
    align-items: start;
    padding: 2.5rem 0 4rem 0;
}

.glm-gallery-wrap {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.glm-main-image-frame {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--glm-radius-lg);
    overflow: hidden;
    background-color: var(--glm-surface-subtle);
}

.glm-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

.glm-thumb-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.glm-thumb-item {
    aspect-ratio: 1;
    border-radius: var(--glm-radius-md);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--glm-surface-subtle);
    padding: 2px;
    min-height: 64px;
    transition: transform 0.2s ease, outline 0.2s ease;
}

.glm-thumb-item.active {
    outline: 2px solid var(--glm-plum);
    transform: scale(1.02);
}

.glm-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--glm-radius-md) - 2px);
}

.glm-pdp-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.glm-pdp-title {
    font-size: 2.125rem;
    font-weight: 900;
    color: var(--glm-plum);
    margin: 0;
    line-height: 1.25;
}

.glm-pdp-price-box {
    background-color: var(--glm-mist);
    border-radius: var(--glm-radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glm-price-big {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--glm-plum);
}

/* Swatches with 48px touch targets */
.glm-swatch-list {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.glm-swatch-color-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--glm-touch-target);
    padding: 0.625rem 1.25rem;
    background-color: var(--glm-surface);
    border: 2px solid #E5D5DE; /* data-ui */
    border-radius: var(--glm-radius-full);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--glm-text);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.glm-swatch-color-btn.active {
    border-color: var(--glm-plum);
    background-color: var(--glm-surface-subtle);
    color: var(--glm-plum);
}

.glm-swatch-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.glm-swatch-size-btn {
    min-width: 64px;
    min-height: var(--glm-touch-target);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--glm-surface);
    border: 2px solid #E5D5DE; /* data-ui */
    border-radius: var(--glm-radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    color: var(--glm-text);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.glm-swatch-size-btn.active {
    border-color: var(--glm-plum);
    background-color: var(--glm-plum);
    color: #FFFFFF;
}

/* Quantity Counter & Add to Bag */
.glm-action-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding-top: 0.5rem;
}

.glm-qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--glm-surface);
    border: 2px solid #E5D5DE; /* data-ui */
    border-radius: var(--glm-radius-full);
    height: 52px;
    padding: 0 0.5rem;
}

.glm-qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: var(--glm-mist);
    color: var(--glm-plum);
    font-weight: 800;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.glm-qty-btn:active {
    background-color: var(--glm-rose);
}

.glm-qty-val {
    font-weight: 800;
    font-size: 1.0625rem;
    width: 36px;
    text-align: center;
}

.glm-pdp-cta-btn {
    height: 52px;
    border-radius: var(--glm-radius-full);
    font-size: 1.0625rem;
}

/* Mobile Sticky Action Bar — Bottom Sheet for Smooth Thumb Operation */
.glm-mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0.75rem 1.25rem;
    box-shadow: 0 -4px 16px rgba(45, 26, 39, 0.08); /* taste-skill-ignore */
}

.glm-mobile-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Accordions */
.glm-accordion-item {
    background-color: var(--glm-surface);
    border-radius: var(--glm-radius-md);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.glm-accordion-header {
    width: 100%;
    min-height: var(--glm-touch-target);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--glm-plum);
    cursor: pointer;
    text-align: right;
}

.glm-accordion-body {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--glm-text-muted);
}

/* ==========================================================================
   CUSTOMER AUTH PAGES (LOGIN / REGISTER)
   ========================================================================== */

.glm-auth-wrapper {
    min-height: calc(100dvh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
}

.glm-auth-card {
    width: 100%;
    max-width: 480px;
    background-color: var(--glm-surface);
    border-radius: var(--glm-radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
}

.glm-auth-logo {
    height: 52px;
    margin: 0 auto 1.5rem auto;
    display: block;
}

.glm-auth-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--glm-plum);
    margin: 0 0 0.5rem 0;
}

.glm-auth-desc {
    font-size: 0.9375rem;
    color: var(--glm-text-muted);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.glm-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
    margin-bottom: 1.25rem;
}

.glm-input-label {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--glm-plum);
}

.glm-input-text {
    width: 100%;
    height: 52px;
    padding: 0 1.25rem;
    background-color: var(--glm-mist);
    border: 1px solid #E5D5DE; /* data-ui */
    border-radius: var(--glm-radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--glm-text);
    outline: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.glm-input-text:focus {
    background-color: var(--glm-surface);
    border-color: var(--glm-plum);
}

/* Footer — High-Contrast Dark Surface */
.glm-footer {
    background-color: var(--glm-surface-dark);
    color: #F3E7EB;
    padding: 4rem 0 2.5rem 0;
    margin-top: auto;
}

.glm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.glm-footer-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
}

.glm-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.glm-footer-links a {
    color: #CBB9C4;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.glm-footer-links a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   MOBILE DRAWER & RESPONSIVE BREAKPOINTS (< 992px, < 768px, < 480px)
   ========================================================================== */
/* Legacy drawer placeholder replaced by reconstructed system at line 2895 */

.glm-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
}

.glm-mobile-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.glm-mobile-drawer-link {
    display: flex;
    align-items: center;
    min-height: var(--glm-touch-target);
    padding: 0 1rem;
    border-radius: var(--glm-radius-md);
    color: var(--glm-plum);
    font-size: 1.0625rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.glm-mobile-drawer-link:active {
    background-color: var(--glm-surface-subtle);
}

@media (max-width: 992px) {
    .glm-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .glm-pdp-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 1rem;
    }

    .glm-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .glm-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .glm-nav-menu, .glm-search-box {
        display: none;
    }

    .glm-mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .glm-hero-title {
        font-size: 2.25rem;
    }

    .glm-section-title {
        font-size: 1.75rem;
    }

    .glm-pdp-title {
        font-size: 1.75rem;
    }

    .glm-gallery-wrap {
        position: static;
    }

    .glm-mobile-sticky-bar {
        display: block;
    }

    body {
        padding-bottom: 72px; /* space for sticky bar on mobile */
    }
}

@media (max-width: 540px) {
    .glm-hero-title {
        font-size: 1.875rem;
    }

    .glm-hero-perks {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .glm-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .glm-features-grid {
        grid-template-columns: 1fr;
    }

    .glm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }
    .glm-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .glm-action-row {
        grid-template-columns: 1fr;
    }

    .glm-auth-wrapper {
        padding: 1.5rem 1rem;
        align-items: flex-start;
    }

    .glm-auth-card {
        padding: 2rem 1.25rem;
    }

    .glm-auth-name-grid {
        grid-template-columns: 1fr !important;
    }

    .glm-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .glm-topbar-secondary {
        display: none !important;
    }

    .glm-topbar-main {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* ==========================================================================
   GLAMORA STOREFRONT V2 — LUXURY COMMERCE COMPONENTS
   ========================================================================== */

/* Mega Menu Dropdown */
.glm-nav-item {
    position: relative;
}

.glm-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 0.875rem;
    color: var(--glm-text);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: var(--glm-radius-full);
    transition: all 0.2s ease;
}

.glm-nav-link:hover, .glm-nav-link.active {
    color: var(--glm-plum);
    background-color: var(--glm-surface-subtle);
}

.glm-nav-item:hover .glm-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.glm-megamenu {
    position: absolute;
    top: 100%;
    right: -1rem;
    width: 680px;
    background: var(--glm-surface);
    border-radius: var(--glm-radius-lg);
    box-shadow: 0 20px 40px rgba(90, 46, 77, 0.12);
    border: 1px solid rgba(90, 46, 77, 0.08);
    padding: 1.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.glm-megamenu-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.glm-megamenu-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--glm-plum);
    margin-bottom: 0.75rem;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid var(--glm-rose);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.glm-megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.glm-megamenu-link {
    color: var(--glm-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glm-megamenu-link:hover {
    color: var(--glm-plum);
    padding-inline-start: 4px;
}

.glm-megamenu-badge {
    background-color: var(--glm-rose);
    color: var(--glm-plum);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: var(--glm-radius-full);
}

.glm-megamenu-featured {
    background: linear-gradient(135deg, var(--glm-mist) 0%, #FFF5F7 100%);
    border-radius: var(--glm-radius-md);
    padding: 1.25rem;
    border: 1px dashed var(--glm-lavender);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glm-megamenu-featured-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--glm-radius-sm);
    margin-bottom: 0.75rem;
}

/* Category Quick Filter Chips */
.glm-filter-chips {
    display: flex;
    gap: 0.625rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.glm-filter-chips::-webkit-scrollbar {
    display: none;
}

.glm-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    background: var(--glm-surface);
    color: var(--glm-text);
    border: 1px solid #EADBDF;
    border-radius: var(--glm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.glm-chip:hover, .glm-chip.active {
    background: var(--glm-plum);
    color: #FFFFFF;
    border-color: var(--glm-plum);
    box-shadow: 0 4px 12px rgba(90, 46, 77, 0.18);
}

.glm-chip-promo {
    background: #FFF1F3;
    color: #C0264A;
    border-color: #F8B4C4;
}

.glm-chip-promo.active {
    background: #C0264A;
    color: #FFFFFF;
}

/* Product Card V2 */
.glm-card-v2 {
    background: var(--glm-surface);
    border-radius: var(--glm-radius-md);
    border: 1px solid #EFE4EA;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.glm-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(90, 46, 77, 0.1);
    border-color: #DFCCD6;
}

.glm-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--glm-mist);
}

.glm-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.glm-card-v2:hover .glm-card-img {
    transform: scale(1.04);
}

.glm-card-wishlist {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glm-text);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.glm-card-wishlist:hover, .glm-card-wishlist.active {
    background: #FFFFFF;
    color: #E11D48;
    transform: scale(1.1);
}

.glm-card-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    z-index: 10;
}

.glm-badge-sale {
    background: #E11D48;
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-full);
}

.glm-badge-offer {
    background: var(--glm-plum);
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-full);
}

.glm-badge-new {
    background: var(--glm-rose);
    color: var(--glm-plum);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-full);
}

.glm-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.glm-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--glm-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.glm-card-title:hover {
    color: var(--glm-plum);
}

.glm-card-prices {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.glm-card-price-current {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--glm-plum);
}

.glm-card-price-old {
    font-size: 0.8125rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.glm-card-swatches {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
}

.glm-swatch-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.glm-card-quick-add {
    width: 100%;
    background: var(--glm-surface-subtle);
    color: var(--glm-plum);
    border: 1px solid var(--glm-lavender);
    border-radius: var(--glm-radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.glm-card-quick-add:hover {
    background: var(--glm-plum);
    color: #FFFFFF;
    border-color: var(--glm-plum);
}

/* Responsive 2-Col Mobile Grid */
.glm-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .glm-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .glm-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .glm-card-body {
        padding: 0.65rem 0.5rem;
    }
    .glm-card-brand-tag {
        font-size: 0.625rem;
        margin-bottom: 0.2rem;
    }
    .glm-card-rating {
        display: none !important;
    }
    .glm-card-title {
        font-size: 0.8125rem;
        line-height: 1.35;
        margin-bottom: 0.25rem;
        min-height: 2.3em;
    }
    .glm-card-prices {
        gap: 0.35rem;
        margin-bottom: 0.4rem;
    }
    .glm-card-price-current {
        font-size: 0.9375rem;
        font-weight: 800;
    }
    .glm-card-price-old {
        font-size: 0.75rem;
    }
    .glm-card-swatches {
        margin-bottom: 0.5rem;
        gap: 0.25rem;
    }
    .glm-swatch-dot {
        width: 14px;
        height: 14px;
    }
    .glm-card-quick-add {
        height: 36px;
        font-size: 0.75rem;
        padding: 0 0.5rem;
        border-radius: 8px;
    }
    .glm-card-badges {
        top: 0.5rem;
        right: 0.5rem;
    }
    .glm-card-wishlist {
        top: 0.5rem;
        left: 0.5rem;
        width: 32px;
        height: 32px;
    }
}

/* Cart Drawer (Slide-Over) */
.glm-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(45, 26, 39, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.glm-cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.glm-cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 420px;
    background: var(--glm-surface);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glm-cart-drawer.open {
    transform: translateX(0);
}

.glm-cart-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #EFE4EA;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glm-cart-drawer-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--glm-plum);
    margin: 0;
}

.glm-cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--glm-text);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.glm-cart-drawer-close:hover {
    background: var(--glm-surface-subtle);
}

/* Free Shipping Progress Meter */
.glm-free-shipping-bar {
    background: var(--glm-mist);
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid #EFE4EA;
}

.glm-free-shipping-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--glm-plum);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glm-progress-track {
    width: 100%;
    height: 6px;
    background: #E8D7E0;
    border-radius: var(--glm-radius-full);
    overflow: hidden;
}

.glm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--glm-lavender) 0%, var(--glm-plum) 100%);
    border-radius: var(--glm-radius-full);
    transition: width 0.4s ease;
}

.glm-cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glm-cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 0.875rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3EAEF;
}

.glm-cart-item-img {
    width: 70px;
    height: 85px;
    object-fit: cover;
    border-radius: var(--glm-radius-sm);
    background: var(--glm-mist);
}

.glm-cart-item-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--glm-text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.glm-cart-item-variant {
    font-size: 0.75rem;
    color: var(--glm-text-muted);
    margin-bottom: 0.5rem;
}

.glm-cart-item-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--glm-plum);
}

.glm-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D9C5D0;
    border-radius: var(--glm-radius-full);
    overflow: hidden;
}

.glm-qty-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--glm-plum);
    display: flex;
    align-items: center;
    justify-content: center;
}

.glm-qty-btn:hover {
    background: var(--glm-surface-subtle);
}

.glm-qty-value {
    width: 28px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
}

.glm-cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #EFE4EA;
    background: var(--glm-surface);
}

.glm-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 800;
    margin-bottom: 0.375rem;
}

.glm-cart-vat-note {
    font-size: 0.75rem;
    color: var(--glm-text-muted);
    margin-bottom: 1rem;
}

.glm-btn-checkout {
    width: 100%;
    padding: 0.875rem;
    background: var(--glm-plum);
    color: #FFFFFF;
    border-radius: var(--glm-radius-full);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 14px rgba(90, 46, 77, 0.25);
    transition: all 0.25s ease;
}

.glm-btn-checkout:hover {
    background: var(--glm-plum-hover);
    transform: translateY(-1px);
}

/* Search Modal */
.glm-search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(45, 26, 39, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.glm-search-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.glm-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: var(--glm-surface);
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-bottom: 2px solid var(--glm-rose);
}

.glm-search-modal.open {
    transform: translateY(0);
}

.glm-search-modal-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.glm-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.glm-search-modal-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border: 2px solid var(--glm-plum);
    border-radius: var(--glm-radius-full);
    font-size: 1.125rem;
    font-family: 'Cairo', sans-serif;
    color: var(--glm-text);
    outline: none;
    background: var(--glm-mist);
}

.glm-search-icon-btn {
    position: absolute;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--glm-plum);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.glm-tag-chip {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--glm-surface-subtle);
    color: var(--glm-plum);
    border-radius: var(--glm-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.glm-tag-chip:hover {
    background: var(--glm-rose);
    color: var(--glm-plum);
}

/* Tabby / Tamara Installment Widget */
.glm-installment-box {
    background: #FFFDF9;
    border: 1px solid #F5E8D8;
    border-radius: var(--glm-radius-md);
    padding: 0.875rem 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.glm-installment-text {
    font-size: 0.8125rem;
    color: #4B382A;
    line-height: 1.4;
}

.glm-installment-badge {
    background: #29E8A2;
    color: #053D2A;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-sm);
    white-space: nowrap;
}

/* Size Guide Modal */
.glm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(45, 26, 39, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.glm-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.glm-modal-content {
    background: var(--glm-surface);
    border-radius: var(--glm-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.glm-size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.875rem;
}

.glm-size-table th, .glm-size-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #EFE4EA;
}

.glm-size-table th {
    background: var(--glm-surface-subtle);
    color: var(--glm-plum);
    font-weight: 700;
}

/* Toast Message */
.glm-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--glm-plum);
    color: #FFFFFF;
    padding: 0.875rem 1.75rem;
    border-radius: var(--glm-radius-full);
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: 0 10px 30px rgba(90, 46, 77, 0.35);
    z-index: 2000;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.glm-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   GLAMORA LUXURY HERO SLIDER (MULTI-SLIDE & RESPONSIVE)
   ========================================================================== */
.glm-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--glm-surface);
}

.glm-slider-track {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.glm-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.glm-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.glm-slider-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    z-index: 10;
}

.glm-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--glm-radius-full);
    background-color: rgba(90, 46, 77, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.glm-slider-dot.active {
    width: 32px;
    background-color: var(--glm-plum);
}

.glm-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(90, 46, 77, 0.15);
    color: var(--glm-plum);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(90, 46, 77, 0.1);
}

.glm-slider-arrow:hover {
    background-color: var(--glm-plum);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.glm-slider-arrow.prev {
    right: 1.5rem;
}

.glm-slider-arrow.next {
    left: 1.5rem;
}

@media (max-width: 768px) {
    .glm-slider-arrow {
        display: none;
    }
    .glm-slider-track {
        min-height: auto;
    }
}

/* ==========================================================================
   GLAMORA STOREFRONT DARK MODE (VELVET PLUM LUXURY PALETTE)
   ========================================================================== */
html.dark,
.dark,
body.dark {
    --glm-surface: #1E0F1C;
    --glm-surface-subtle: #281425;
    --glm-mist: #160B14;
    --glm-text: #FCFADA;
    --glm-text-muted: #E7CEE4;
    --glm-border: #381C34;
    background-color: #160B14 !important;
    color: #FCFADA !important;
}

html.dark body {
    background-color: #160B14 !important;
    color: #FCFADA !important;
}

html.dark .glm-header {
    background-color: rgba(30, 15, 28, 0.95) !important;
    border-bottom-color: #381C34 !important;
}

html.dark .glm-topbar {
    background-color: #281425 !important;
    color: #F9D1D4 !important;
}

html.dark .glm-nav-link {
    color: #E7CEE4 !important;
}

html.dark .glm-nav-link:hover,
html.dark .glm-nav-link.active {
    color: #FCFADA !important;
    background-color: #281425 !important;
}

html.dark .glm-search-input {
    background-color: #281425 !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}

html.dark .glm-action-link,
html.dark .glm-cart-badge {
    color: #E7CEE4 !important;
}

html.dark .glm-action-link:hover,
html.dark .glm-cart-badge:hover {
    color: #FCFADA !important;
}

html.dark .glm-hero-section,
html.dark .glm-slider-container {
    background-color: #160B14 !important;
}

html.dark .glm-hero-perks {
    background-color: #1E0F1C !important;
    border: 1px solid #381C34 !important;
}

html.dark .glm-perk-sub {
    color: #B89EB3 !important;
}

html.dark .glm-features-section {
    background-color: #160B14 !important;
}

html.dark .glm-feature-card {
    background-color: #1E0F1C !important;
    border: 1px solid #381C34 !important;
}

html.dark .glm-feature-title {
    color: #FCFADA !important;
}

html.dark .glm-feature-desc {
    color: #B89EB3 !important;
}

html.dark .glm-section {
    background-color: #160B14 !important;
}

html.dark .glm-card-v2 {
    background-color: #1E0F1C !important;
    border-color: #381C34 !important;
}

html.dark .glm-card-title {
    color: #FCFADA !important;
}

html.dark .glm-card-price-current {
    color: #FCFADA !important;
}

html.dark .glm-card-price-old {
    color: #856C81 !important;
}

html.dark .glm-card-quick-add {
    background-color: #281425 !important;
    color: #E7CEE4 !important;
    border: 1px solid #381C34 !important;
}

html.dark .glm-card-quick-add:hover {
    background-color: #7B436B !important;
    color: #FFFFFF !important;
}

html.dark .glm-footer {
    background-color: #120810 !important;
    border-top: 1px solid #281425 !important;
}

html.dark .glm-auth-wrapper {
    background-color: #160B14 !important;
}

html.dark .glm-auth-card {
    background-color: #1E0F1C !important;
    border: 1px solid #381C34 !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6) !important;
}

html.dark .glm-auth-title {
    color: #FCFADA !important;
}

html.dark .glm-auth-desc {
    color: #B89EB3 !important;
}

html.dark .glm-input-text {
    background-color: #281425 !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}

html.dark .glm-input-text:focus {
    border-color: #9A5886 !important;
    background-color: #331A30 !important;
}

html.dark .glm-input-label {
    color: #E7CEE4 !important;
}

html.dark .glm-account-content {
    background-color: #1E0F1C !important;
    border-color: #381C34 !important;
}

html.dark .glm-account-grid aside {
    background-color: #1E0F1C !important;
    border-color: #381C34 !important;
}

html.dark .glm-cart-drawer {
    background-color: #1E0F1C !important;
    color: #FCFADA !important;
}

html.dark .glm-modal-box {
    background-color: #1E0F1C !important;
    color: #FCFADA !important;
    border: 1px solid #381C34 !important;
}

html.dark .glm-chip {
    background-color: #1E0F1C !important;
    border-color: #381C34 !important;
    color: #E7CEE4 !important;
}

html.dark .glm-chip.active {
    background-color: #7B436B !important;
    color: #FFFFFF !important;
    border-color: #7B436B !important;
}

html.dark .glm-pdp-price-box {
    background-color: #1E0F1C !important;
    border-color: #381C34 !important;
}

html.dark .glm-price-big {
    color: #FCFADA !important;
}

html.dark .glm-slider-arrow {
    background-color: rgba(30, 15, 28, 0.85) !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}

html.dark .glm-slider-arrow:hover {
    background-color: #7B436B !important;
    color: #FFFFFF !important;
}

html.dark .glm-slider-dot {
    background-color: rgba(231, 206, 228, 0.25) !important;
}

html.dark .glm-slider-dot.active {
    background-color: #FCFADA !important;
}

/* Visibility Utilities for Light / Dark Mode & Auth Cards */
.hidden {
    display: none !important;
}

.dark\:block {
    display: none !important;
}

html.dark .dark\:block,
.dark .dark\:block,
body.dark .dark\:block {
    display: block !important;
}

html.dark .dark\:hidden,
.dark .dark\:hidden,
body.dark .dark\:hidden {
    display: none !important;
}

/* Hero Typography Dark Mode Contrast */
html.dark .glm-hero-title,
.dark .glm-hero-title {
    color: #FCFADA !important;
}

html.dark .glm-hero-subtitle,
.dark .glm-hero-subtitle {
    color: #E7CEE4 !important;
}

/* ==============================================================================
   GLAMORA TASTE-SKILL CATEGORY SUITE & NOCTURNAL LUXURY SYSTEM
   ============================================================================== */

/* 1. Breadcrumbs Bar */
.glm-breadcrumb-bar {
    background: #FAF5F8;
    border-bottom: 1px solid #EFE4EA;
    padding: 0.875rem 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.glm-breadcrumbs-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--glm-text-muted);
}

.glm-breadcrumb-link {
    color: var(--glm-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.glm-breadcrumb-link:hover {
    color: var(--glm-plum);
}

.glm-breadcrumb-sep {
    color: #D4BFCF;
}

.glm-breadcrumb-current {
    color: var(--glm-plum);
    font-weight: 700;
}

/* 2. Collection Hero Banner (Editorial Parallax) */
.glm-category-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FAF4F8 0%, #F5E6EE 100%);
    border-bottom: 1px solid #EFE4EA;
    padding: 3.25rem 0 3rem 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glm-hero-ambient-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 209, 212, 0.45) 0%, rgba(250, 244, 248, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.glm-category-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.glm-category-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(90, 46, 77, 0.08);
    color: var(--glm-plum);
    padding: 0.35rem 1rem;
    border-radius: var(--glm-radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    border: 1px solid rgba(90, 46, 77, 0.12);
}

.glm-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--glm-plum);
    box-shadow: 0 0 8px var(--glm-plum);
}

.glm-category-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--glm-plum);
    margin: 0 0 0.875rem 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.glm-category-hero-desc {
    font-size: 0.95rem;
    color: var(--glm-text-muted);
    line-height: 1.8;
    margin: 0 0 1.25rem 0;
}

.glm-category-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.glm-hero-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(223, 204, 214, 0.6);
    border-radius: var(--glm-radius-full);
    color: var(--glm-plum);
    backdrop-filter: blur(4px);
}

/* 3. Catalog Toolbar & Sort Dropdown */
.glm-catalog-section {
    padding: 2.5rem 0 4rem 0;
}

.glm-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #EFE4EA;
    margin-bottom: 2rem;
}

.glm-catalog-count {
    font-size: 0.9375rem;
    color: var(--glm-text);
    font-weight: 700;
}

.glm-count-highlight {
    color: var(--glm-plum);
}

.glm-catalog-sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glm-sort-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--glm-text-muted);
}

.glm-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.glm-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.45rem 2.25rem 0.45rem 1.25rem;
    border: 1px solid #D8C3CF;
    border-radius: var(--glm-radius-full);
    font-size: 0.8125rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    background: var(--glm-surface);
    color: var(--glm-text);
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.glm-sort-select:focus {
    border-color: var(--glm-plum);
    box-shadow: 0 0 0 3px rgba(90, 46, 77, 0.12);
}

.glm-select-chevron {
    position: absolute;
    right: 0.875rem;
    pointer-events: none;
    color: var(--glm-plum);
}

/* 4. Product Card V2 Polish */
.glm-card-v2 {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    will-change: transform;
}

.glm-card-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: flex-end;
    z-index: 10;
}

.glm-badge-sale {
    background: #9E1F3B;
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-full);
    box-shadow: 0 2px 6px rgba(158, 31, 59, 0.25);
}

.glm-badge-offer {
    background: var(--glm-plum);
    color: #FCFADA;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-full);
    box-shadow: 0 2px 6px rgba(90, 46, 77, 0.25);
}

.glm-badge-new {
    background: #F9D1D4;
    color: #431E37;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.25rem 0.625rem;
    border-radius: var(--glm-radius-full);
    box-shadow: 0 2px 6px rgba(249, 209, 212, 0.3);
}

.glm-card-wishlist {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(90, 46, 77, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glm-plum);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.glm-card-wishlist:hover {
    transform: scale(1.12);
    color: #E11D48;
    background: #FFFFFF;
}

.glm-card-wishlist.active svg {
    fill: #E11D48;
    stroke: #E11D48;
}

.glm-card-brand-tag {
    font-size: 0.6875rem;
    color: var(--glm-plum);
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: 0.04em;
}

.glm-card-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
}

.glm-stars {
    color: #F59E0B;
    letter-spacing: -0.05em;
    font-size: 0.8125rem;
}

.glm-rating-val {
    font-weight: 700;
    color: var(--glm-text);
    font-size: 0.75rem;
}

.glm-rating-count {
    color: var(--glm-text-muted);
    font-size: 0.6875rem;
}

.glm-swatch-rose { background-color: #F9D1D4; }
.glm-swatch-plum { background-color: #5A2E4D; }
.glm-swatch-cream { background-color: #FCFADA; }

/* 5. TASTE-SKILL COMPREHENSIVE DARK MODE OVERRIDES */
html.dark .glm-breadcrumb-bar {
    background: #180C16 !important;
    border-bottom: 1px solid #281224 !important;
}

html.dark .glm-breadcrumb-link {
    color: #B89EB3 !important;
}

html.dark .glm-breadcrumb-link:hover {
    color: #FCFADA !important;
}

html.dark .glm-breadcrumb-sep {
    color: #4A2643 !important;
}

html.dark .glm-breadcrumb-current {
    color: #FCFADA !important;
}

html.dark .glm-category-hero {
    background: linear-gradient(135deg, #180C16 0%, #241122 50%, #2F162C 100%) !important;
    border-bottom: 1px solid #381C34 !important;
}

html.dark .glm-hero-ambient-glow {
    background: radial-gradient(circle, rgba(123, 67, 107, 0.35) 0%, rgba(24, 12, 22, 0) 70%) !important;
}

html.dark .glm-category-hero-badge {
    background: rgba(249, 209, 212, 0.1) !important;
    color: #F9D1D4 !important;
    border-color: rgba(249, 209, 212, 0.22) !important;
}

html.dark .glm-badge-dot {
    background-color: #F9D1D4 !important;
    box-shadow: 0 0 8px #F9D1D4 !important;
}

html.dark .glm-category-hero-title {
    color: #FCFADA !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
}

html.dark .glm-category-hero-desc {
    color: #E7CEE4 !important;
}

html.dark .glm-hero-pill {
    background: rgba(40, 20, 37, 0.7) !important;
    border-color: rgba(231, 206, 228, 0.18) !important;
    color: #FCFADA !important;
}

html.dark .glm-catalog-toolbar {
    border-bottom-color: #2D1427 !important;
}

html.dark .glm-catalog-count {
    color: #FCFADA !important;
}

html.dark .glm-count-highlight {
    color: #F9D1D4 !important;
}

html.dark .glm-sort-label {
    color: #E7CEE4 !important;
}

html.dark .glm-sort-select {
    background-color: #241222 !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}

html.dark .glm-sort-select option {
    background-color: #241222 !important;
    color: #FCFADA !important;
}

html.dark .glm-sort-select:focus {
    border-color: #9A5886 !important;
    box-shadow: 0 0 0 3px rgba(154, 88, 134, 0.2) !important;
}

html.dark .glm-select-chevron {
    color: #F9D1D4 !important;
}

html.dark .glm-card-v2 {
    background: #1C0E1A !important;
    border-color: #33182F !important;
}

html.dark .glm-card-v2:hover {
    border-color: #7B436B !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 16px rgba(123, 67, 107, 0.2) !important;
}

html.dark .glm-card-img-wrap {
    background: #160B14 !important;
}

html.dark .glm-card-wishlist {
    background: rgba(30, 15, 28, 0.85) !important;
    border: 1px solid rgba(231, 206, 228, 0.18) !important;
    color: #FCFADA !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

html.dark .glm-card-wishlist:hover {
    background: #3D1C35 !important;
    color: #F9D1D4 !important;
    border-color: #F9D1D4 !important;
}

html.dark .glm-card-brand-tag {
    color: #F9D1D4 !important;
}

html.dark .glm-rating-val {
    color: #FCFADA !important;
}

html.dark .glm-rating-count {
    color: #B89EB3 !important;
}

html.dark .glm-badge-sale {
    background: #8F1832 !important;
    color: #FCFADA !important;
    border: 1px solid rgba(252, 250, 218, 0.2) !important;
}

html.dark .glm-badge-offer {
    background: #4A1E3E !important;
    color: #FCFADA !important;
    border: 1px solid rgba(249, 209, 212, 0.25) !important;
}

html.dark .glm-badge-new {
    background: #3B1632 !important;
    color: #F9D1D4 !important;
    border: 1px solid #7B436B !important;
}

html.dark .glm-chip-promo {
    background-color: #3A1424 !important;
    border-color: #732238 !important;
    color: #FFB3C1 !important;
}

html.dark .glm-chip-promo:hover {
    background-color: #541B33 !important;
    color: #FFFFFF !important;
}

html.dark .glm-chip-promo.active {
    background: linear-gradient(135deg, #9E1F3B 0%, #6E1227 100%) !important;
    color: #FFFFFF !important;
    border-color: #C0264A !important;
}

html.dark .glm-chip-guide {
    color: #F9D1D4 !important;
}

/* ==========================================================================
   GLAMORA V3 MOBILE-FIRST ARCHITECTURE (TASTE-SKILL & WCAG 2.2 COMPLIANT)
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Mobile Toggle & Desktop Nav */
.glm-mobile-toggle {
    display: none !important;
}

.glm-desktop-nav {
    display: flex !important;
    align-items: center;
}

@media (max-width: 1024px) {
    .glm-mobile-toggle {
        display: inline-flex !important;
    }
    .glm-desktop-nav {
        display: none !important;
    }
}

/* Mobile Drawer (Safe Area & Zero Off-Canvas Layout Spill) */
.glm-mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(22, 11, 20, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.glm-mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==========================================================================
   GLAMORA V3 RECONSTRUCTED MOBILE DRAWER
   ========================================================================== */
.glm-mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 6, 14, 0.72) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.glm-mobile-drawer-backdrop.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.glm-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88vw !important;
    max-width: 360px !important;
    background: #FFFFFF !important;
    z-index: 1000;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: -10px 0 36px rgba(32, 11, 26, 0.25) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
    direction: rtl;
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch;
}

.glm-mobile-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.glm-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid #F1E5EC;
    flex-shrink: 0;
}

.glm-drawer-close-btn {
    background: #FAF5F8;
    border: 1px solid #EEDBE4;
    color: #5A2E4D;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.glm-drawer-close-btn:hover {
    background: #5A2E4D;
    color: #FCFADA;
}

.glm-drawer-profile-card {
    padding: 1rem 1.25rem;
    background: #FAF7F9;
    border-bottom: 1px solid #F1E5EC;
    flex-shrink: 0;
}
.glm-drawer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5A2E4D;
    color: #FCFADA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
}
.glm-drawer-account-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #5A2E4D;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #EEDBE4;
}
.glm-drawer-auth-btn {
    flex: 1;
    text-align: center;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.glm-drawer-auth-primary {
    background: #5A2E4D;
    color: #FCFADA;
}
.glm-drawer-auth-secondary {
    background: #FFFFFF;
    color: #5A2E4D;
    border: 1px solid #EEDBE4;
}
.glm-drawer-search-pill {
    width: calc(100% - 2.5rem);
    margin: 1rem 1.25rem 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FAF7F9;
    border: 1px solid #EEDBE4;
    border-radius: 9999px;
    padding: 0.6rem 1.125rem;
    color: #8F7686;
    font-size: 0.8125rem;
    cursor: pointer;
    flex-shrink: 0;
}
.glm-drawer-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1.25rem 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}
.glm-drawer-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #8F7686;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0.75rem 0 0.5rem 0;
}
.glm-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.glm-mobile-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.875rem;
    color: #2D1826;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
    min-height: 44px;
}
.glm-mobile-nav li a:hover,
.glm-mobile-nav li a:active {
    background: #FAF5F8;
    color: #5A2E4D;
}
.glm-nav-special-offer {
    background: #FFF5F7 !important;
    border: 1px solid #FCE4EC !important;
    color: #C0264A !important;
}
.glm-badge-pill-danger {
    background: #E11D48;
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}
.glm-badge-pill-luxury {
    background: #5A2E4D;
    color: #FCFADA;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}
.glm-drawer-concierge-card {
    margin-top: 1.5rem;
    padding: 1.125rem;
    background: #FAF7F9;
    border-radius: 14px;
    border: 1px solid #F1E5EC;
}
.glm-drawer-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: #FFFFFF;
    padding: 0.625rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
}

/* Dark Mode Drawer Overrides */
html.dark .glm-mobile-drawer {
    background: #1E0F1C !important;
    border-left: 1px solid #381C34;
    color: #FCFADA;
}
html.dark .glm-mobile-drawer-header {
    border-bottom-color: #381C34;
}
html.dark .glm-drawer-close-btn {
    background: #281425;
    border-color: #381C34;
    color: #FCFADA;
}
html.dark .glm-drawer-profile-card {
    background: #251222;
    border-bottom-color: #381C34;
}
html.dark .glm-drawer-account-link {
    background: #1E0F1C;
    border-color: #381C34;
    color: #F9D1D4;
}
html.dark .glm-drawer-search-pill {
    background: #281425;
    border-color: #381C34;
    color: #CBB9C4;
}
html.dark .glm-drawer-section-title {
    color: #A08298;
}
html.dark .glm-mobile-nav li a {
    color: #FCFADA;
}
html.dark .glm-mobile-nav li a:hover,
html.dark .glm-mobile-nav li a:active {
    background: #281425;
    color: #F9D1D4;
}
html.dark .glm-nav-special-offer {
    background: #341223 !important;
    border-color: #551D3A !important;
    color: #F9D1D4 !important;
}
html.dark .glm-drawer-concierge-card {
    background: #251222;
    border-color: #381C34;
}

/* Mobile Bottom Navigation Bar */
#glm-mobile-bottom-nav {
    display: block;
}
@media (min-width: 769px) {
    #glm-mobile-bottom-nav {
        display: none !important;
    }
}

/* Prevent double sticky bar conflict on Product Detail Page (PDP) */
.glm-pdp-page #glm-mobile-bottom-nav,
body.is-pdp #glm-mobile-bottom-nav {
    display: none !important;
}

/* Mobile Merchandising Grids */
.glm-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .glm-pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}
@media (max-width: 360px) {
    .glm-pillars-grid {
        grid-template-columns: 1fr !important;
    }
}

.glm-category-scroller {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .glm-category-scroller {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 0.75rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        scroll-snap-type: x mandatory;
    }
    .glm-category-scroller > * {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
    }
}

.glm-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1024px) {
    .glm-prod-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .glm-prod-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
}
@media (max-width: 340px) {
    .glm-prod-grid {
        grid-template-columns: 1fr !important;
    }
}

.glm-packaging-banner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}
@media (max-width: 768px) {
    .glm-packaging-banner {
        grid-template-columns: 1fr !important;
    }
}

.glm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .glm-testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Zero-Overflow Off-Canvas Isolation (Ensures zero canvas spillage in RTL) */
.glm-cart-backdrop:not(.open),
.glm-cart-drawer:not(.open),
.glm-search-backdrop:not(.open),
.glm-search-modal:not(.open),
.glm-modal-backdrop:not(.open),
.glm-mobile-drawer:not(.open),
.glm-mobile-drawer-backdrop:not(.open) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.glm-cart-backdrop.open,
.glm-search-backdrop.open,
.glm-modal-backdrop.open,
.glm-mobile-drawer-backdrop.open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.glm-cart-drawer.open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

.glm-search-modal.open {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.glm-mobile-drawer.open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

/* Responsive Footer */
.glm-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 1024px) {
    .glm-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}
@media (max-width: 640px) {
    .glm-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
}

.glm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #A38C9B;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Header Compact Spacing on Mobile */
@media (max-width: 480px) {
    .glm-header .glm-logo-link img {
        height: 34px !important;
    }
    .glm-header-cart-btn {
        padding: 0.35rem 0.5rem !important;
    }
    #glm-mobile-search-btn {
        display: none !important;
    }
}

/* ==========================================================================
   HEADER ACTION BUTTONS HIGH CONTRAST & ANIMATIONS
   ========================================================================== */
.glm-header-action-btn {
    color: #2D1826;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.glm-header-action-btn:hover {
    color: #5A2E4D;
    transform: translateY(-2px);
}

html.dark .glm-header-action-btn {
    color: #FCFADA !important;
}

html.dark .glm-header-action-btn svg {
    stroke: #FCFADA !important;
}

html.dark .glm-header-action-btn:hover {
    color: #F9D1D4 !important;
}

html.dark .glm-header-action-btn:hover svg {
    stroke: #F9D1D4 !important;
}

html.dark .glm-header button,
html.dark .glm-header a.glm-header-action-btn,
html.dark #glm-darkmode-toggle svg,
html.dark #glm-mobile-search-btn svg {
    stroke: #FCFADA !important;
    color: #FCFADA !important;
}

/* ==========================================================================
   CART DRAWER FULL DARK MODE OVERHAUL
   ========================================================================== */
html.dark .glm-cart-drawer {
    background-color: #1A0B18 !important;
    color: #FCFADA !important;
    border-left: 1px solid #381C34 !important;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6) !important;
}

html.dark .glm-cart-drawer-header {
    border-bottom: 1px solid #2D1426 !important;
    background: #200E1E !important;
}

html.dark .glm-cart-drawer-title {
    color: #FCFADA !important;
}

html.dark .glm-cart-drawer-close {
    color: #F9D1D4 !important;
}

html.dark .glm-free-shipping-bar {
    background: #261123 !important;
    border-bottom: 1px solid #351731 !important;
}

html.dark .glm-free-shipping-text {
    color: #E7CEE4 !important;
}

html.dark .glm-free-shipping-text strong {
    color: #F9D1D4 !important;
}

html.dark .glm-progress-track {
    background: #3B1B35 !important;
}

html.dark .glm-progress-fill {
    background: linear-gradient(90deg, #F9D1D4, #E5A4B8) !important;
}

html.dark .glm-cart-item {
    border-bottom: 1px solid #2D1426 !important;
}

html.dark .glm-cart-item-img {
    background: #281425 !important;
    border: 1px solid #381C34 !important;
}

html.dark .glm-cart-item-title {
    color: #FCFADA !important;
}

html.dark .glm-cart-item-variant {
    color: #CBB9C4 !important;
}

html.dark .glm-cart-item-price {
    color: #F9D1D4 !important;
}

html.dark .glm-qty-stepper {
    border-color: #4A2343 !important;
    background: #240E21 !important;
}

html.dark .glm-qty-btn {
    color: #FCFADA !important;
}

html.dark .glm-qty-btn:hover {
    background: #381734 !important;
    color: #F9D1D4 !important;
}

html.dark .glm-qty-value {
    color: #FCFADA !important;
}

html.dark .glm-cart-drawer-footer {
    background: #200E1E !important;
    border-top: 1px solid #2D1426 !important;
}

html.dark #glm-drawer-coupon {
    background: #281425 !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}

html.dark #glm-drawer-coupon::placeholder {
    color: #856C81 !important;
}

html.dark .glm-cart-drawer-footer button {
    background: #381734 !important;
    border-color: #5A2E4D !important;
    color: #FCFADA !important;
}

html.dark .glm-cart-subtotal-row {
    color: #E7CEE4 !important;
}

html.dark #glm-drawer-subtotal {
    color: #FCFADA !important;
}

html.dark .glm-cart-vat-note {
    color: #A38C9B !important;
}

html.dark .glm-btn-checkout {
    background: linear-gradient(135deg, #7B3363 0%, #5A2448 100%) !important;
    color: #FCFADA !important;
    border: 1px solid rgba(249, 209, 212, 0.3) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

html.dark .glm-btn-checkout:hover {
    background: linear-gradient(135deg, #8E3B72 0%, #6E2B58 100%) !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   SMOOTH SCROLL, REVEAL ANIMATIONS & PARALLAX (TASTE-SKILL COMPLIANT)
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

.glm-reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.glm-reveal-item.glm-in-view {
    opacity: 1 !important;
    transform: none !important;
}

/* Micro-interactions & Smooth Hover Elevations */
.glm-product-card,
.glm-prod-card,
.glm-pillar-card,
.glm-category-bubble,
.glm-testimonial-card,
.glm-packaging-banner {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
    will-change: transform, box-shadow;
}

.glm-product-card:hover,
.glm-prod-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 30px rgba(90, 46, 77, 0.12) !important;
    border-color: #C0A2C7 !important;
}

html.dark .glm-product-card:hover,
html.dark .glm-prod-card:hover {
    border-color: #7B436B !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55) !important;
}

.glm-product-card img,
.glm-prod-card img {
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glm-product-card:hover img,
.glm-prod-card:hover img {
    transform: scale(1.045) !important;
}

.glm-pillar-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 22px rgba(90, 46, 77, 0.08) !important;
}

html.dark .glm-pillar-card:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}

.glm-testimonial-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(90, 46, 77, 0.09) !important;
}

html.dark .glm-testimonial-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
}

.glm-hero-slide-art img {
    animation: glmFloatingArt 6s ease-in-out infinite alternate;
}

@keyframes glmFloatingArt {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-8px) scale(1.02); }
}

.glm-packaging-banner img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glm-packaging-banner:hover img {
    transform: scale(1.03) translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DISPLAY UTILITIES (BULLETPROOF P0)
   ========================================================================== */
@media (max-width: 768px) {
    .glm-desktop-only {
        display: none !important;
    }
    .glm-mobile-only {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .glm-desktop-only {
        display: flex !important;
    }
    .glm-mobile-only {
        display: none !important;
    }
}

/* ==========================================================================
   NAVIGATION LINKS & HIGH CONTRAST DARK MODE (P0)
   ========================================================================== */
.glm-header-nav-link {
    color: #4A3A46;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    font-weight: 700;
    transition: color 0.2s ease;
}
.glm-header-nav-link:hover,
.glm-header-nav-link.active {
    color: #5A2E4D;
}
html.dark .glm-header-nav-link {
    color: #F3EBF0 !important;
}
html.dark .glm-header-nav-link:hover,
html.dark .glm-header-nav-link.active {
    color: #FCFADA !important;
}

.glm-view-all-link {
    color: #7A426B;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.glm-view-all-link:hover {
    color: #5A2E4D;
    transform: translateX(-3px);
}
html.dark .glm-view-all-link {
    color: #F9D1D4 !important;
}
html.dark .glm-view-all-link:hover {
    color: #FCFADA !important;
}

/* ==========================================================================
   GLAMORA LUXURY PAGE TRANSITION LOADER (MOON EMBLEM)
   ========================================================================== */
.glm-page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 247, 249, 0.48);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glm-page-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

html.dark .glm-page-loader {
    background: rgba(18, 9, 16, 0.58) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}

.glm-loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    padding: 2rem 2.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.42) 100%) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 28px;
    box-shadow: 0 24px 48px -12px rgba(90, 46, 77, 0.14), 0 1px 1px 0 rgba(255, 255, 255, 0.9) inset, 0 -1px 2px 0 rgba(90, 46, 77, 0.04) inset !important;
    animation: glmCardPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark .glm-loader-card {
    background: linear-gradient(145deg, rgba(46, 21, 41, 0.65) 0%, rgba(24, 11, 22, 0.45) 100%) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border: 1px solid rgba(249, 209, 212, 0.25) !important;
    border-bottom: 1px solid rgba(249, 209, 212, 0.08) !important;
    border-right: 1px solid rgba(249, 209, 212, 0.12) !important;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.65), 0 1px 1px 0 rgba(249, 209, 212, 0.25) inset !important;
}

.glm-loader-brand {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #5A2E4D;
    letter-spacing: 0.06em;
    font-family: inherit;
    margin-top: 0.125rem;
}

html.dark .glm-loader-brand {
    color: #F9D1D4 !important;
}

.glm-moon-emblem-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glm-moon-svg {
    animation: glmMoonFloat 2.2s ease-in-out infinite alternate;
}

.glm-ldr-moon {
    fill: url(#glmLdrGrad);
}

html.dark .glm-ldr-moon {
    fill: url(#glmLdrDarkGrad) !important;
}

.glm-ldr-dreamer {
    fill: #5A2E4D;
}

html.dark .glm-ldr-dreamer {
    fill: #FCFADA !important;
}

.glm-loader-spinner {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: #F9D1D4;
    border-right-color: #5A2E4D;
    animation: glmSpin 1.1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

html.dark .glm-loader-spinner {
    border-top-color: #FCFADA !important;
    border-right-color: #F9D1D4 !important;
}

.glm-ldr-star {
    transform-origin: center;
    animation: glmStarTwinkle 1.4s ease-in-out infinite alternate;
}

.star-2 {
    animation-delay: 0.4s;
}

.star-3 {
    animation-delay: 0.8s;
}

.glm-loader-shimmer-bar {
    width: 80px;
    height: 3px;
    border-radius: 9999px;
    background: rgba(90, 46, 77, 0.10);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(4px);
}

html.dark .glm-loader-shimmer-bar {
    background: rgba(249, 209, 212, 0.15) !important;
}

.glm-loader-shimmer-thumb {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #5A2E4D, transparent);
    animation: glmShimmerSlide 1.2s ease-in-out infinite;
}

html.dark .glm-loader-shimmer-thumb {
    background: linear-gradient(90deg, transparent, #F9D1D4, transparent) !important;
}

@keyframes glmMoonFloat {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-4px) scale(1.03); }
}

@keyframes glmStarTwinkle {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

@keyframes glmSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glmShimmerSlide {
    0% { left: -60%; }
    100% { left: 120%; }
}

@keyframes glmCardPop {
    0% { transform: scale(0.92) translateY(8px); opacity: 0; }
    60% { transform: scale(1.01) translateY(-2px); opacity: 0.95; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ==========================================================================
   GLAMORA V3 HEADER CART BUTTON & COUNTER (DARK & LIGHT)
   ========================================================================== */
.glm-header-cart-btn {
    background: #FAF5F8;
    color: #5A2E4D;
    border: 1px solid #F1E5EC;
    transition: all 0.2s ease;
}
.glm-header-cart-btn:hover {
    background: #F4EBF0;
}
#glm-header-cart-count {
    background: #F9D1D4;
    color: #2D1826;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
}
html.dark .glm-header-cart-btn {
    background: #281425 !important;
    color: #FCFADA !important;
    border-color: #381C34 !important;
}
html.dark .glm-header-cart-btn:hover {
    background: #341830 !important;
}
html.dark #glm-header-cart-count {
    background: #5A2E4D !important;
    color: #FCFADA !important;
}

/* ==========================================================================
   CUSTOMER ACCOUNT DATAGRID & PROFILE DARK MODE OVERRIDES
   ========================================================================== */
html.dark .glm-account-flex .table-responsive,
html.dark .glm-account-flex .table-responsive div,
html.dark .glm-account-flex [class*="overflow-x-auto"],
html.dark .glm-account-flex .bg-white,
html.dark .glm-account-flex [class*="bg-white"] {
    background-color: #240C20 !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}
html.dark .glm-account-flex .row {
    background-color: #240C20 !important;
    border-color: #381C34 !important;
    color: #FCFADA !important;
}
html.dark .glm-account-flex .row:hover {
    background-color: #2D142A !important;
}
html.dark .glm-account-flex .border,
html.dark .glm-account-flex .border-b,
html.dark .glm-account-flex [class*="border-zinc-200"],
html.dark .glm-account-flex [class*="border-gray-"] {
    border-color: #381C34 !important;
}
html.dark .glm-account-flex .bg-zinc-100,
html.dark .glm-account-flex [class*="bg-zinc-100"] {
    background-color: #2D142A !important;
    color: #FCFADA !important;
    border-color: #381C34 !important;
}
html.dark .glm-account-flex .text-zinc-500,
html.dark .glm-account-flex [class*="text-zinc-500"],
html.dark .glm-account-flex .text-gray-600,
html.dark .glm-account-flex .text-gray-500,
html.dark .glm-account-flex .text-gray-800,
html.dark .glm-account-flex .text-black,
html.dark .glm-account-flex p {
    color: #E7CEE4 !important;
}
html.dark .glm-account-flex select,
html.dark .glm-account-flex .custom-select {
    background-color: #281425 !important;
    color: #FCFADA !important;
    border-color: #381C34 !important;
}
html.dark .glm-account-flex .icon-arrow-left,
html.dark .glm-account-flex .icon-arrow-right,
html.dark .glm-account-flex .icon-sort-down,
html.dark .glm-account-flex .icon-sort-up,
html.dark .glm-account-flex .icon-search,
html.dark .glm-account-flex .icon-filter {
    color: #FCFADA !important;
}

/* ==========================================================================
   CHECKOUT REFINED ACCORDION & PAYMENT CARDS
   ========================================================================== */
#steps-container input[type="radio"].peer:checked ~ label:last-of-type,
#steps-container input[type="radio"]:checked ~ label {
    border-color: #5A2E4D !important;
    background-color: #FAF5F8 !important;
    box-shadow: 0 0 0 1px #5A2E4D, 0 4px 12px rgba(90, 46, 77, 0.08) !important;
}
html.dark #steps-container input[type="radio"].peer:checked ~ label:last-of-type,
html.dark #steps-container input[type="radio"]:checked ~ label {
    border-color: #F9D1D4 !important;
    background-color: #2D142A !important;
    box-shadow: 0 0 0 1px #F9D1D4, 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
#steps-container .peer-checked\:icon-radio-select,
#steps-container .icon-radio-select {
    color: #5A2E4D !important;
}
html.dark #steps-container .peer-checked\:icon-radio-select,
html.dark #steps-container .icon-radio-select {
    color: #F9D1D4 !important;
}

/* Explicit Checkbox reset for 'use same address for shipping' */
#steps-container label[for="use_for_shipping"],
html.dark #steps-container label[for="use_for_shipping"] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer !important;
}

/* Checkout Dark Mode Contrast Fixes */
html.dark .text-navyBlue,
html.dark [class*="text-navyBlue"],
html.dark .cart-item-title,
html.dark [class*="item-title"] {
    color: #FCFADA !important;
}
html.dark .text-blue-700,
html.dark [class*="text-blue-700"] {
    color: #F9D1D4 !important;
}
.text-blue-700 {
    color: #5A2E4D;
}
.text-blue-700:hover {
    color: #42163A;
}

/* Checkout Action Primary Buttons */
.primary-button {
    background: linear-gradient(135deg, #5A2E4D 0%, #3B1E32 100%) !important;
    color: #FFFFFF !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    border: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}
.primary-button:hover {
    background: linear-gradient(135deg, #42163A 0%, #2A1024 100%) !important;
    box-shadow: 0 4px 14px rgba(90, 46, 77, 0.35) !important;
    color: #FFFFFF !important;
}
html.dark .primary-button {
    background: linear-gradient(135deg, #A84884 0%, #7A2E5F 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(249, 209, 212, 0.4) !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(168, 72, 132, 0.3) !important;
}
html.dark .primary-button:hover {
    background: linear-gradient(135deg, #C25699 0%, #8E356F 100%) !important;
    color: #FFFFFF !important;
    border-color: rgba(249, 209, 212, 0.8) !important;
}

/* Shimmer Dark Mode Fix */
html.dark .shimmer {
    background: linear-gradient(90deg, #241122 8%, #361A34 18%, #241122 33%) !important;
    background-size: 1250px 100% !important;
    border-radius: 8px !important;
}

