/* ===================== DESIGN SYSTEM — Rahil Gold Studio ===================== */
:root {
    --gold: #C9A84C;
    --gold-light: #F0D080;
    --gold-dark: #8B6914;
    --gold-accent: #FFD700;
    --gold-mid: #D4AF37;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --dark: #1A1510;
    --dark-text: #2C1F0A;
    --white: #ffffff;
    --red: #E53E3E;
    --green: #38A169;
    --blue: #4299E1;
    --amber: #ED8936;
    --gray-100: #F7F7F7;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E0;
    --gray-400: #A0AEC0;
    --gray-500: #718096;
    --gray-600: #4A5568;
    --gray-700: #2D3748;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1);
    --shadow-gold: 0 4px 14px rgba(201,168,76,.25);
    --max-w: 1280px;
    --transition: all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', 'Inter', sans-serif;
    color: var(--dark-text);
    background: var(--cream-light);
    line-height: 1.6;
    min-height: 100vh;
}

.font-heading { font-family: 'Cormorant Garamond', 'Playfair Display', serif; }
.font-body { font-family: 'Jost', 'Inter', sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    border-bottom: .5px solid rgba(201,168,76,.12);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(26,22,20,.06); }
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--max-w); margin: 0 auto; padding: .75rem 1rem;
}
.navbar-logo img { height: 40px; width: auto; }
.navbar-links { display: flex; gap: 1.5rem; align-items: center; }
.navbar-links a {
    font-family: 'Jost', sans-serif; font-size: .78rem; font-weight: 400; color: #1A1614;
    letter-spacing: .08em; text-transform: uppercase;
    transition: color .2s; position: relative;
}
.navbar-links a:hover { color: #C9A84C; }
.navbar-actions { display: flex; align-items: center; gap: 1rem; }
.navbar-actions .icon-btn {
    position: relative; background: none; border: none; padding: .5rem;
    color: var(--dark-text); transition: color .2s;
}
.navbar-actions .icon-btn:hover { color: var(--gold); }
.navbar-actions .badge {
    position: absolute; top: 0; right: 0; background: var(--gold);
    color: var(--white); font-size: .65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mega-dropdown { position: relative; display: flex; align-items: center; }
.mega-dropdown-content {
    display: none; position: absolute; top: calc(100% + .5rem); left: -1rem;
    background: #fff; border-radius: 0;
    box-shadow: 0 8px 32px rgba(26,22,20,.08); padding: 1.5rem; min-width: 320px;
    z-index: 100; border: .5px solid rgba(201,168,76,.12);
}
.mega-dropdown > a { display: flex; align-items: center; gap: .25rem; }
.mega-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 0; right: 0;
    height: .75rem; display: none;
}
.mega-dropdown:hover::after { display: block; }
.mega-dropdown:hover .mega-dropdown-content,
.mega-dropdown:focus-within .mega-dropdown-content { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .25rem .5rem; }
.mega-dropdown-content a {
    padding: .4rem .75rem; border-radius: 0; font-family: 'Jost', sans-serif; font-size: .8rem;
    font-weight: 300; color: #7A6E62; transition: all .2s; letter-spacing: .02em;
}
.mega-dropdown-content a:hover { background: #FBF5E6; color: #C9A84C; }

/* User dropdown */
.user-dropdown { position: relative; }
.user-dropdown::after {
    content: ''; position: absolute; top: 100%; right: 0;
    width: 100%; height: .5rem; display: none;
}
.user-dropdown:hover::after { display: block; }
.user-dropdown-content {
    display: none; position: absolute; top: calc(100% + .5rem); right: 0;
    background: #fff; border-radius: 0; box-shadow: 0 8px 32px rgba(26,22,20,.08);
    padding: .5rem; min-width: 200px; z-index: 100; border: .5px solid rgba(201,168,76,.12);
}
.user-dropdown:hover .user-dropdown-content,
.user-dropdown:focus-within .user-dropdown-content { display: block; }
.user-dropdown-content a, .user-dropdown-content button {
    display: block; width: 100%; text-align: left; padding: .6rem .75rem;
    border-radius: 0; font-family: 'Jost', sans-serif; font-size: .82rem; font-weight: 300;
    background: none; border: none; transition: all .2s; color: #1A1614;
}
.user-dropdown-content a:hover, .user-dropdown-content button:hover { background: #FBF5E6; color: #C9A84C; }
.user-dropdown-content .user-info { padding: .75rem; border-bottom: 1px solid var(--gray-200); margin-bottom: .25rem; }
.user-dropdown-content .user-info .name { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1rem; color: #1A1614; }
.user-dropdown-content .user-info .email { font-family: 'Jost', sans-serif; font-size: .72rem; color: #A89880; }

/* Mobile menu */
.mobile-menu-btn { display: none; background: none; border: none; padding: .5rem; color: var(--dark-text); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 2000; padding: 1rem;
    overflow-y: auto; transform: translateX(-100%); transition: transform .3s;
    visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu-links { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu-links a {
    padding: .75rem 1rem; border-radius: 0;
    font-family: 'Jost', sans-serif; font-weight: 400; font-size: .85rem;
    letter-spacing: .06em; transition: all .2s; color: #1A1614;
}
.mobile-menu-links a:hover { background: #FBF5E6; color: #C9A84C; }

/* Mobile accordion for subcategories */
.mobile-accordion { border-bottom: .5px solid rgba(201,168,76,.1); }
.mobile-accordion-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.mobile-accordion-toggle a {
    flex: 1; padding: .75rem 1rem; font-family: 'Jost', sans-serif; font-weight: 500;
    font-size: .85rem; letter-spacing: .06em; color: #1A1614; text-decoration: none; text-align: left;
}
.mobile-accordion-toggle a:hover { color: #C9A84C; }
.mobile-accordion-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.mobile-accordion-arrow svg {
    color: #C9A84C; transition: transform .25s ease;
}
.mobile-accordion.open .mobile-accordion-arrow svg { transform: rotate(180deg); }
.mobile-accordion-content {
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.mobile-accordion.open .mobile-accordion-content { max-height: 600px; }
.mobile-accordion-content a {
    display: block; padding: .5rem 1rem .5rem 2.2rem; font-family: 'Jost', sans-serif;
    font-size: .78rem; font-weight: 300; color: #7A6E62; text-decoration: none;
    letter-spacing: .04em; transition: all .2s;
}
.mobile-accordion-content a:hover { color: #C9A84C; background: #FBF5E6; }

@media (max-width: 768px) {
    .navbar-links { display: none; }
    .mobile-menu-btn { display: block; }
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.5rem; border-radius: var(--radius-xl); font-weight: 600;
    font-size: .9rem; border: none; transition: var(--transition);
    text-decoration: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: var(--shadow-gold); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-text); }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { opacity: .9; }
.btn-green { background: var(--green); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-amber { background: var(--amber); color: var(--white); }

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 50%, #FFF8E7 100%);
    position: relative; overflow: hidden; text-align: center; padding: 2rem;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201,168,76,.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(201,168,76,.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; animation: fadeUp .8s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero h1 {
    font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 1rem; line-height: 1.2;
}
.hero p { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 2rem; max-width: 500px; margin-inline: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================== SECTIONS ===================== */
.section { padding: 5rem 0; }
.section-title {
    font-family: 'Playfair Display', serif; font-size: 2.2rem; text-align: center;
    margin-bottom: .5rem; color: var(--dark); position: relative;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: .75rem auto 0; border-radius: 2px;
}
.section-subtitle { text-align: center; color: var(--gray-500); margin-bottom: 2.5rem; margin-top: .75rem; }
.section-maquillage { background: #FDF6F0; }
.section-parfum { background: #F5F0FF; }

/* ===================== PRODUCT CARD ===================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-card {
    background: var(--white); border-radius: var(--radius-2xl); overflow: hidden;
    box-shadow: var(--shadow); transition: all .35s ease; position: relative;
    border: 1px solid var(--gray-100);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.1); border-color: rgba(201,168,76,.2); }
.product-card-img {
    position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray-100);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .35rem; }
.badge-new { background: var(--gold); color: var(--white); padding: .2rem .6rem; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.badge-promo { background: var(--red); color: var(--white); padding: .2rem .6rem; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.badge-rupture { background: var(--gray-400); color: var(--white); padding: .2rem .6rem; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.badge-low-stock { background: var(--amber); color: var(--white); padding: .2rem .6rem; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.product-card-fav {
    position: absolute; top: .75rem; right: .75rem; background: rgba(255,255,255,.9);
    border: none; border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s; cursor: pointer; color: var(--red);
}
.product-card:hover .product-card-fav { opacity: 1; }
.product-card-fav.active { opacity: 1; color: var(--red); }
.product-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: .75rem;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    opacity: 0; transition: opacity .3s; display: flex; justify-content: center;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-info { padding: 1rem; }
.product-card-cat { font-size: .75rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-card-name {
    font-weight: 600; font-size: .95rem; margin: .25rem 0 .4rem;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-stars { display: flex; align-items: center; gap: .25rem; margin-bottom: .5rem; }
.star-icon.filled { color: var(--gold); }
.star-icon.empty { color: var(--gray-300); }
.product-card-price { display: flex; align-items: center; gap: .5rem; }
.price-current { font-weight: 700; font-size: 1.05rem; color: var(--dark); }
.price-old { text-decoration: line-through; color: var(--gray-400); font-size: .85rem; }
.price-discount { color: var(--red); font-size: .8rem; font-weight: 600; }
.review-count { font-size: .75rem; color: var(--gray-500); }

/* ===================== CAROUSEL ===================== */
.carousel-container { position: relative; overflow: hidden; padding: 0 2.5rem; }
.carousel-track {
    display: flex; gap: 1.5rem; overflow-x: auto; scroll-behavior: smooth;
    padding: 1rem 0; -ms-overflow-style: none; scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .product-card { min-width: 260px; max-width: 280px; flex: 0 0 260px; scroll-snap-align: start; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: var(--white); box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    z-index: 10; cursor: pointer; transition: var(--transition);
}
.carousel-btn:hover { background: var(--gold); color: var(--white); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* ===================== COLLECTIONS GRID ===================== */
.collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.collection-card {
    position: relative; border-radius: var(--radius-2xl); overflow: hidden;
    height: 220px; background: linear-gradient(135deg, #1A1510 0%, #2C1F0A 100%); transition: all .4s ease;
}
.collection-card-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease; opacity: .85;
}
.collection-card:hover .collection-card-img { transform: scale(1.08); opacity: 1; }
.collection-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.collection-card-overlay {
    position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0,0,0,.75));
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--white);
    transition: background .3s;
}
.collection-card:hover .collection-card-overlay { background: linear-gradient(transparent 10%, rgba(201,168,76,.25), rgba(0,0,0,.8)); }
.collection-card-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; transition: color .3s; }
.collection-card:hover .collection-card-overlay h3 { color: var(--gold-light); }
.collection-card-overlay p { font-size: .85rem; opacity: .8; margin-top: .25rem; }

/* ===================== WHY US ===================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.why-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius-2xl);
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.why-card-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; color: var(--white);
}
.why-card h3 { font-weight: 600; margin-bottom: .5rem; }
.why-card p { font-size: .85rem; color: var(--gray-500); }

/* ===================== CTA BANNER ===================== */
.cta-banner {
    background: linear-gradient(135deg, #1A1510 0%, #2C1F0A 100%);
    border-radius: var(--radius-2xl); padding: 4rem 3rem; text-align: center;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201,168,76,.15), transparent 60%);
    pointer-events: none;
}
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; margin-bottom: .75rem; color: var(--gold-light); position: relative; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; position: relative; }

/* ===================== SHOP PAGE ===================== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; margin-top: 5rem; }
.shop-sidebar {
    position: sticky; top: 5rem; align-self: start; background: var(--white);
    border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow);
    max-height: calc(100vh - 6rem); overflow-y: auto;
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group h4 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: .75rem; }
.filter-group label { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; cursor: pointer; font-size: .9rem; }
.filter-group input[type="radio"], .filter-group input[type="checkbox"] { accent-color: var(--gold); }
.filter-range { display: flex; gap: .5rem; align-items: center; }
.filter-range input { width: 80px; padding: .4rem; border: 1px solid var(--gray-300); border-radius: 8px; font-size: .85rem; }
.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.shop-toolbar select {
    padding: .5rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius-lg);
    font-size: .85rem; background: var(--white);
}
.shop-count { font-size: .9rem; color: var(--gray-600); }

@media (max-width: 768px) {
    .shop-layout { grid-template-columns: 1fr; margin-top: 4.5rem; }
    .shop-sidebar { display: none; }
    .shop-sidebar.mobile-open { display: block; position: fixed; top: 0; left: 0; bottom: 0; width: 300px; z-index: 2000; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: 1fr; }
}

/* ===================== PRODUCT DETAIL ===================== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 5rem; padding: 2rem 0; }
.gallery-main { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 1; background: var(--gray-100); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: 1rem; }
.gallery-thumbs img {
    width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-lg);
    cursor: pointer; border: 2px solid transparent; transition: border-color .2s;
}
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--gold); }
.product-info h1 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: .5rem; }
.product-info .cat-label { font-size: .85rem; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.product-info .price-block { margin: 1rem 0; font-size: 1.5rem; font-weight: 700; }
.product-info .description { color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.7; }
.product-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.product-tags span { background: var(--cream); padding: .25rem .75rem; border-radius: 20px; font-size: .8rem; color: var(--gold-dark); }

.variant-colors { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.color-swatch {
    width: 36px; height: 36px; border-radius: 50%; border: 3px solid transparent;
    cursor: pointer; transition: border-color .2s; position: relative;
}
.color-swatch.selected { border-color: var(--gold); }
.color-swatch-label { font-size: .7rem; text-align: center; margin-top: .25rem; }

.variant-sizes { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.size-pill {
    padding: .5rem 1rem; border: 2px solid var(--gray-300); border-radius: var(--radius-lg);
    cursor: pointer; transition: var(--transition); font-size: .85rem; font-weight: 500;
    background: var(--white);
}
.size-pill.selected { border-color: var(--gold); background: var(--gold); color: var(--white); }

.quantity-selector { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.quantity-selector button {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-300);
    background: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; transition: var(--transition);
}
.quantity-selector button:hover { border-color: var(--gold); color: var(--gold); }
.quantity-selector input {
    width: 50px; text-align: center; border: 1px solid var(--gray-300);
    border-radius: 8px; padding: .4rem; font-weight: 600;
}
.product-actions { display: flex; gap: 1rem; margin-bottom: 2rem; }

@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; margin-top: 4.5rem; gap: 1.5rem; }
}

/* ===================== REVIEWS ===================== */
.reviews-section { margin-top: 3rem; padding: 2rem 0; }
.review-card { background: var(--white); padding: 1.25rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.review-author { font-weight: 600; }
.review-date { font-size: .8rem; color: var(--gray-500); }
.review-form { background: var(--white); padding: 1.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }

/* ===================== CART ===================== */
.cart-page { margin-top: 5rem; padding: 2rem 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: .75rem; font-size: .85rem; color: var(--gray-500); border-bottom: 2px solid var(--gray-200); }
.cart-table td { padding: .75rem; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-lg); }
.cart-item-info { display: flex; align-items: center; gap: 1rem; }
.cart-item-name { font-weight: 600; }
.cart-item-variant { font-size: .8rem; color: var(--gray-500); }
.cart-summary {
    background: var(--white); padding: 1.5rem; border-radius: var(--radius-xl);
    box-shadow: var(--shadow); position: sticky; top: 5rem;
}
.cart-summary-row { display: flex; justify-content: space-between; padding: .5rem 0; }
.cart-summary-total { font-weight: 700; font-size: 1.2rem; border-top: 2px solid var(--gray-200); padding-top: .75rem; margin-top: .5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; }

.trust-badges { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: center; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--gray-500); }

@media (max-width: 768px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-table { display: none; }
}

/* Cart Drawer */
.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 90vw;
    background: var(--white); box-shadow: -4px 0 20px rgba(0,0,0,.15);
    z-index: 3000; transform: translateX(100%); transition: transform .3s;
    display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 2999;
    display: none; opacity: 0; transition: opacity .3s;
}
.cart-drawer-overlay.open { display: block; opacity: 1; }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; border-bottom: .5px solid rgba(201,168,76,.15); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-drawer-footer { padding: 1.25rem; border-top: .5px solid rgba(201,168,76,.15); }
.cart-drawer-item { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: .5px solid rgba(201,168,76,.08); }
.cart-drawer-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 0; border: .5px solid rgba(201,168,76,.12); }

@media (max-width: 768px) {
    .cart-drawer { width: 92%; max-width: 92vw; }
}

/* ===================== CHECKOUT ===================== */
.checkout-page { margin-top: 5rem; padding: 2rem 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.checkout-form { background: var(--white); padding: 2rem; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--gray-600); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: .75rem 1rem; border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg); font-size: .9rem; transition: border-color .2s;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 768px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ===================== AUTH PAGES ===================== */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF8E7 50%, var(--cream-light) 100%);
    padding: 2rem; position: relative;
}
.auth-page::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 15% 85%, rgba(201,168,76,.1) 0%, transparent 50%),
                radial-gradient(circle at 85% 15%, rgba(201,168,76,.08) 0%, transparent 50%);
    pointer-events: none;
}
.auth-card {
    position: relative; z-index: 1; display: flex; width: 100%; max-width: 960px;
    background: var(--white); border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0,0,0,.08); overflow: hidden;
    border: 1px solid rgba(201,168,76,.1);
}
.auth-visual {
    flex: 0 0 380px; background: linear-gradient(160deg, #0f0c08 0%, #1a1510 40%, #2c1f0a 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 3rem 2.5rem; position: relative; overflow: hidden;
}
.auth-visual::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,168,76,.12), transparent 60%);
    pointer-events: none;
}
.auth-visual-logo { position: relative; z-index: 1; margin-bottom: 1.5rem; }
.auth-visual-logo img { height: 72px; filter: drop-shadow(0 4px 12px rgba(201,168,76,.3)); }
.auth-visual-sub {
    position: relative; z-index: 1; font-size: .7rem; color: rgba(201,168,76,.6);
    letter-spacing: .25em; text-transform: uppercase; margin-bottom: 2.5rem;
}
.auth-visual-features {
    position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.25rem; width: 100%;
}
.auth-visual-features .vf {
    display: flex; align-items: center; gap: .85rem; color: rgba(255,255,255,.65); font-size: .85rem;
}
.auth-visual-features .vf-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.2);
    display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0;
}
.auth-form-side {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 3rem 2.5rem; background: var(--white);
}
.auth-form { width: 100%; max-width: 400px; }
.auth-form h1 {
    font-family: 'Playfair Display', serif; font-size: 1.85rem;
    margin-bottom: .35rem; color: var(--dark);
}
.auth-form > p { color: var(--gray-500); margin-bottom: 2rem; font-size: .95rem; }
.auth-form .form-group { margin-bottom: 1.25rem; }
.auth-form .form-group label {
    display: block; font-size: .82rem; font-weight: 600; color: var(--gray-600);
    margin-bottom: .4rem; letter-spacing: .02em;
}
.auth-form .form-group input {
    width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg); font-size: .9rem; transition: all .2s;
    background: var(--gray-50, #FAFAFA);
}
.auth-form .form-group input:focus {
    outline: none; border-color: var(--gold); background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.auth-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.auth-form .btn { width: 100%; padding: .8rem; font-size: .95rem; border-radius: var(--radius-lg); }
.auth-divider {
    display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--gray-400); font-size: .8rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

@media (max-width: 768px) {
    .auth-page { padding-top: 5rem; align-items: flex-start; }
    .auth-card { flex-direction: column; max-width: 480px; }
    .auth-visual { flex: 0 0 auto; padding: 2rem; }
    .auth-visual-features { display: none; }
    .auth-form-side { padding: 2rem 1.5rem; }
}

/* ===================== ACCOUNT ===================== */
.account-page { margin-top: 5rem; padding: 2rem 0; }
.tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--gray-200); margin-bottom: 2rem; }
.tab {
    padding: .75rem 1.5rem; font-weight: 500; color: var(--gray-500);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    cursor: pointer; transition: var(--transition); background: none; border-top: none;
    border-left: none; border-right: none;
}
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Order cards */
.order-card {
    background: var(--white); border-radius: var(--radius-xl); padding: 1.25rem;
    box-shadow: var(--shadow-sm); margin-bottom: 1rem; cursor: pointer;
    transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-md); }
.order-header { display: flex; justify-content: space-between; align-items: center; }
.order-status { padding: .25rem .75rem; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.status-EN_ATTENTE { background: var(--gray-200); color: var(--gray-600); }
.status-ACCEPTEE { background: #DBEAFE; color: #1E40AF; }
.status-EN_LIVRAISON { background: #FEF3C7; color: #92400E; }
.status-LIVREE { background: #D1FAE5; color: #065F46; }
.status-ANNULEE { background: #FEE2E2; color: #991B1B; }

/* ===================== ABOUT ===================== */
.about-page { margin-top: 5rem; padding: 3rem 0; }
.about-hero { text-align: center; margin-bottom: 3rem; }
.about-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.value-card { background: var(--white); padding: 2rem; border-radius: var(--radius-2xl); text-align: center; box-shadow: var(--shadow); }
.value-card h3 { margin: 1rem 0 .5rem; font-weight: 600; }
.value-card p { font-size: .85rem; color: var(--gray-500); }

/* ===================== FOOTER ===================== */
.footer { background: #FAF6EE; color: #1A1614; padding: 4rem 0 1.5rem; margin-top: 0; border-top: .5px solid rgba(201,168,76,.15); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-col h3 { font-family: 'Cormorant Garamond', serif; margin-bottom: 1.2rem; font-size: 1.15rem; font-weight: 400; color: #C9A84C; }
.footer-col p { font-family: 'Jost', sans-serif; color: #7A6E62; font-size: .82rem; margin-bottom: .75rem; font-weight: 300; line-height: 1.8; }
.footer-col a { display: block; font-family: 'Jost', sans-serif; color: #7A6E62; padding: .3rem 0; font-size: .82rem; font-weight: 300; transition: color .2s; }
.footer-col a:hover { color: #C9A84C; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { color: #7A6E62; transition: color .2s; }
.footer-social a:hover { color: #C9A84C; }
.footer-logo { margin-bottom: .8rem; }
.footer-logo img { height: 40px; width: auto; }
.footer-bottom { border-top: .5px solid rgba(201,168,76,.15); padding-top: 1.2rem; text-align: center; font-family: 'Jost', sans-serif; font-size: .72rem; color: #A89880; letter-spacing: .05em; }
.footer-bottom a { color: #C9A84C; }

/* ===================== RGS PRODUCT CARD (shared) ===================== */
.rgs-product-card {
    background: white; border: 0.5px solid rgba(201,168,76,0.18);
    position: relative; overflow: hidden;
    transition: box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.rgs-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(201,168,76,0.12), 0 4px 12px rgba(26,22,20,0.06);
}
.rgs-product-card-img {
    width: 100%; aspect-ratio: 1/1;
    background: #FBF5E6; position: relative; overflow: hidden;
}
.rgs-product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.rgs-product-card:hover .rgs-product-card-img img { transform: scale(1.05); }
.rgs-product-badge {
    position: absolute; top: 12px; left: 12px;
    font-family: 'Jost', sans-serif; font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    background: #1A1614; color: #C9A84C;
}
.rgs-product-badge.new { background: #C9A84C; color: #1A1614; }
.rgs-product-card-body { padding: 1.2rem 1.4rem 1.5rem; }
.rgs-product-card-cat {
    font-family: 'Jost', sans-serif; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: #A89880; display: block; margin-bottom: 0.4rem;
}
.rgs-product-card-name {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.1rem; font-weight: 400;
    color: #1A1614; display: block; margin-bottom: 0.8rem; line-height: 1.2;
}
.rgs-product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.rgs-product-card-price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.15rem; font-weight: 400; color: #C9A84C; }
.rgs-product-card-add {
    width: 34px; height: 34px; border: 0.5px solid rgba(201,168,76,0.32);
    background: transparent; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}
.rgs-product-card-add:hover { background: #C9A84C; border-color: #C9A84C; }
.rgs-product-card-add:hover svg { stroke: #1A1614; }
.rgs-product-card-add svg {
    width: 13px; height: 13px; stroke: #7A6E62;
    fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.rgs-product-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: #C9A84C;
    transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.rgs-product-card:hover::after { width: 100%; }

/* Product card — favorite heart */
.rgs-product-fav {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.85); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s, color .2s;
    color: #A89880;
}
.rgs-product-fav:hover { background: #fff; color: #E53E3E; }
.rgs-product-fav.active { color: #E53E3E; }
.rgs-product-fav svg { width: 16px; height: 16px; }

/* Product card — promo badge */
.rgs-product-badge.promo {
    background: #E53E3E; color: #fff;
    top: auto; bottom: 12px; left: 12px;
    font-weight: 600;
}
.rgs-product-badge.out-of-stock {
    background: #718096; color: #fff;
}
.rgs-product-badge.last-unit {
    background: #ED8936; color: #fff;
}

/* Product card — old price */
.rgs-product-card-oldprice {
    font-family: 'Jost', sans-serif; font-size: .78rem;
    color: #A89880; text-decoration: line-through; margin-left: .5rem;
    font-weight: 300;
}

/* ===================== CONFIRM MODAL ===================== */
.rgs-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.rgs-modal-overlay.open { opacity: 1; visibility: visible; }
.rgs-modal {
    background: #fff; padding: 2rem; width: 90%; max-width: 380px;
    text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.rgs-modal-icon { margin-bottom: 1rem; color: #E53E3E; }
.rgs-modal-icon svg { width: 48px; height: 48px; }
.rgs-modal-title {
    font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
    font-weight: 400; color: #1A1614; margin-bottom: .5rem;
}
.rgs-modal-text {
    font-family: 'Jost', sans-serif; font-size: .85rem;
    color: #718096; margin-bottom: 1.5rem; line-height: 1.6;
}
.rgs-modal-actions { display: flex; gap: .75rem; justify-content: center; }
.rgs-modal-cancel {
    font-family: 'Jost', sans-serif; font-size: .72rem; letter-spacing: .15em;
    text-transform: uppercase; padding: .65rem 1.5rem; background: none;
    border: .5px solid rgba(201,168,76,.3); color: #1A1614; cursor: pointer;
    transition: all .2s;
}
.rgs-modal-cancel:hover { border-color: #C9A84C; }
.rgs-modal-confirm {
    font-family: 'Jost', sans-serif; font-size: .72rem; letter-spacing: .15em;
    text-transform: uppercase; padding: .65rem 1.5rem; background: #E53E3E;
    border: none; color: #fff; cursor: pointer; transition: background .2s;
}
.rgs-modal-confirm:hover { background: #C53030; }

/* ===================== WHATSAPP BUTTON ===================== */
.whatsapp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,.4); transition: transform .2s;
    color: var(--white);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===================== FLASH MESSAGES ===================== */
.flash-container { position: fixed; top: 5rem; right: 1rem; z-index: 5000; display: flex; flex-direction: column; gap: .5rem; }
.flash-msg {
    padding: .75rem 1.25rem; border-radius: var(--radius-lg); font-size: .9rem;
    box-shadow: var(--shadow-md); animation: slideIn .3s ease; max-width: 400px;
}
.flash-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.flash-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pagination a, .pagination span {
    padding: .5rem 1rem; border-radius: var(--radius-lg); font-size: .9rem;
    border: 1px solid var(--gray-300); transition: var(--transition);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .active { background: var(--gold); color: var(--white); border-color: var(--gold); }
@media (max-width: 768px) {
    .pagination { flex-wrap: wrap; gap: .35rem; }
    .pagination a, .pagination span { padding: .4rem .75rem; font-size: .8rem; }
}

/* ===================== ADMIN LAYOUT ===================== */
.admin-layout { min-height: 100vh; position: relative; }
.admin-sidebar {
    background: #1A1510; color: var(--white); padding: 1.25rem 0;
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px; z-index: 100;
    display: flex; flex-direction: column;
    overflow-y: auto;
    transition: width .3s ease;
}
.admin-sidebar-logo { text-align: center; padding: .75rem 1.25rem 1.5rem; border-bottom: .5px solid rgba(201,168,76,.15); margin-bottom: 1rem; }
.admin-sidebar-logo img { height: 40px; margin: 0 auto; }
.admin-nav { display: flex; flex-direction: column; gap: .15rem; flex: 1; padding: 0 .75rem; }
.admin-nav a {
    display: flex; align-items: center; gap: .85rem; padding: .75rem 1rem;
    border-radius: 0; font-family: 'Jost', sans-serif; font-size: .82rem; color: rgba(255,255,255,.55);
    transition: all .2s; position: relative; font-weight: 300; white-space: nowrap; overflow: hidden; letter-spacing: .03em;
}
.admin-nav a span { transition: opacity .2s; }
.admin-nav a svg { flex-shrink: 0; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active {
    background: rgba(201,168,76,.15); color: #F0D080;
    border-left: 3px solid var(--gold); padding-left: calc(1rem - 3px);
}
.admin-nav a.active svg { color: var(--gold); }

.admin-back-store { padding: .75rem 1.5rem; border-top: .5px solid rgba(201,168,76,.15); }
.admin-back-store a {
    display: flex; align-items: center; gap: .5rem; font-family: 'Jost', sans-serif; font-size: .78rem;
    color: rgba(255,255,255,.45); padding: .5rem .75rem; border-radius: 0; transition: all .2s; font-weight: 300;
}
.admin-back-store a:hover { color: #fff; background: rgba(255,255,255,.05); }

.admin-main {
    margin-left: 280px; min-height: 100vh; background: var(--cream-light); transition: margin-left .3s ease;
    display: flex; flex-direction: column;
}
.admin-header {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; padding: 1rem 2rem; box-shadow: 0 1px 8px rgba(26,22,20,.03);
    position: sticky; top: 0; z-index: 50; min-height: 80px;
    border-bottom: .5px solid rgba(201,168,76,.08);
}
.admin-header h1 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400;
    color: #1A1614; margin: 0; letter-spacing: .02em;
}
.admin-header-actions { display: flex; align-items: center; gap: 1.25rem; }
.admin-content { padding: 1.5rem 2rem; flex: 1; }

.admin-burger { display: flex; background: none; border: none; padding: .5rem; cursor: pointer; color: var(--dark-text); }
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }
.admin-overlay.open { display: block; }

.admin-layout.collapsed .admin-sidebar { width: 68px; overflow: hidden; }
.admin-layout.collapsed .admin-sidebar-logo { padding: .75rem .5rem 1.5rem; }
.admin-layout.collapsed .admin-sidebar-logo div { font-size: 0 !important; overflow: hidden; height: 0; margin: 0; }
.admin-layout.collapsed .admin-sidebar-logo::after { content: 'RGS'; display: block; font-size: .85rem; font-weight: 700; color: var(--gold); text-align: center; }
.admin-layout.collapsed .admin-nav { padding: 0 .35rem; }
.admin-layout.collapsed .admin-nav a { justify-content: center; padding: .75rem; gap: 0; }
.admin-layout.collapsed .admin-nav a span { opacity: 0; width: 0; overflow: hidden; }
.admin-layout.collapsed .admin-nav a.active { border-left: none; padding-left: .75rem; }
.admin-layout.collapsed .admin-nav a { position: relative; }
.admin-layout.collapsed .admin-nav a:hover::after {
    content: attr(data-tip); position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
    background: #2C1F0A; color: #fff; padding: .35rem .75rem; border-radius: 6px; font-size: .8rem;
    white-space: nowrap; z-index: 200; pointer-events: none;
}
.admin-layout.collapsed .admin-back-store a span { opacity: 0; width: 0; overflow: hidden; }
.admin-layout.collapsed .admin-back-store a { justify-content: center; }
.admin-layout.collapsed .admin-main { margin-left: 68px; }

@media (max-width: 1024px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-header { padding: 1rem; }
    .admin-content { padding: 1rem; }
}

/* Admin stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card {
    background: var(--white); padding: 1.5rem; border-radius: 0;
    box-shadow: 0 2px 12px rgba(26,22,20,.04); border: .5px solid rgba(201,168,76,.12);
    display: flex; align-items: center; gap: 1rem;
}
.stat-card-icon {
    width: 48px; height: 48px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; color: var(--white);
}
.stat-card-icon.gold { background: var(--gold); }
.stat-card-icon.blue { background: var(--blue); }
.stat-card-icon.green { background: var(--green); }
.stat-card-icon.amber { background: var(--amber); }
.stat-card-value { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: #1A1614; }
.stat-card-label { font-family: 'Jost', sans-serif; font-size: .72rem; color: #A89880; letter-spacing: .05em; font-weight: 300; }

/* Admin table */
.admin-table-wrap { background: var(--white); border-radius: 0; box-shadow: 0 2px 12px rgba(26,22,20,.04); border: .5px solid rgba(201,168,76,.12); overflow-x: auto; }
.admin-table-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: .5px solid rgba(201,168,76,.1); flex-wrap: wrap; gap: 1rem; }
.admin-table-toolbar input {
    padding: .5rem 1rem; border: .5px solid rgba(201,168,76,.25); border-radius: 0;
    font-family: 'Jost', sans-serif; font-size: .82rem; width: 250px; color: #1A1614;
}
.admin-table {
    width: 100%; border-collapse: collapse;
}
.admin-table th {
    text-align: left; padding: .75rem 1.25rem; font-family: 'Jost', sans-serif; font-size: .68rem;
    color: #A89880; text-transform: uppercase; letter-spacing: .12em; font-weight: 400;
    border-bottom: .5px solid rgba(201,168,76,.12); background: #FBF5E6;
}
.admin-table td { padding: .75rem 1.25rem; border-bottom: .5px solid rgba(201,168,76,.06); font-family: 'Jost', sans-serif; font-size: .85rem; color: #1A1614; }
.admin-table tr:hover { background: #FBF5E6; }
.admin-table img { width: 48px; height: 48px; object-fit: cover; border-radius: 0; border: .5px solid rgba(201,168,76,.12); }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
    position: absolute; inset: 0; background: var(--gray-300); border-radius: 12px;
    cursor: pointer; transition: .3s;
}
.toggle .slider::before {
    content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
    background: var(--white); border-radius: 50%; transition: .3s;
}
.toggle input:checked + .slider { background: var(--gold); }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* Notification dropdown */
.notif-dropdown { position: relative; }
.notif-dropdown-content {
    display: none; position: absolute; right: 0; top: calc(100% + .5rem);
    width: 350px; max-height: 400px; overflow-y: auto;
    background: #fff; border-radius: 0; box-shadow: 0 8px 32px rgba(26,22,20,.08);
    border: .5px solid rgba(201,168,76,.12); z-index: 200;
}
.notif-dropdown.open .notif-dropdown-content { display: block; }
.notif-item { padding: .75rem 1rem; border-bottom: 1px solid var(--gray-100); font-size: .85rem; }
.notif-item.unread { background: #FFF8E7; }
.notif-item .notif-title { font-weight: 600; margin-bottom: .15rem; }
.notif-item .notif-time { font-size: .75rem; color: var(--gray-400); }

/* ===================== EMPTY STATES ===================== */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state svg { width: 80px; height: 80px; color: var(--gray-300); margin: 0 auto 1rem; }
.empty-state h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.empty-state p { color: var(--gray-500); margin-bottom: 1.5rem; }

/* ===================== MAINTENANCE ===================== */
.maintenance-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--dark); color: var(--white); text-align: center; padding: 2rem;
}
.maintenance-page h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.maintenance-page p { color: rgba(255,255,255,.7); }

/* ===================== CHECKOUT SUCCESS ===================== */
.success-check {
    width: 80px; height: 80px; border-radius: 50%; background: var(--green);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; animation: scaleIn .5s ease;
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }

/* ===================== MODAL ===================== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 4000;
    display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--white); border-radius: var(--radius-2xl); padding: 2rem;
    max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-400); }

/* ===================== PRODUCT TYPE CHOOSER ===================== */
.type-chooser-overlay {
    display: flex; align-items: center; justify-content: center;
    min-height: 60vh;
}
.type-chooser-modal {
    background: var(--white); border-radius: 0;
    padding: 2.5rem; max-width: 700px; width: 100%;
    box-shadow: 0 8px 32px rgba(26,22,20,.08); border: .5px solid rgba(201,168,76,.12);
}
.type-chooser-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.type-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 1.5rem 1rem; border-radius: 0;
    border: .5px solid rgba(201,168,76,.2); transition: all .25s;
    cursor: pointer; background: var(--white);
}
.type-card:hover {
    border-color: var(--gold); box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.type-card-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: .75rem;
}
.type-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 400; margin-bottom: .25rem; color: #1A1614; }
.type-card p { font-family: 'Jost', sans-serif; font-size: .75rem; color: #A89880; line-height: 1.4; font-weight: 300; }
@media (max-width: 640px) { .type-chooser-grid { grid-template-columns: 1fr; } }

/* ===================== PRODUCT FORM CARDS ===================== */
.pf-card {
    background: var(--white); padding: 1.5rem; border-radius: 0;
    box-shadow: 0 2px 12px rgba(26,22,20,.04); margin-bottom: 1.5rem;
    border: .5px solid rgba(201,168,76,.12);
}
.pf-card h3 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 400;
    margin-bottom: 1rem; color: #1A1614;
    padding-bottom: .5rem; border-bottom: .5px solid rgba(201,168,76,.1);
}
.pf-type-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .75rem; border-radius: 20px; font-size: .75rem; font-weight: 600;
}
.pf-type-BIJOUX { background: rgba(201,168,76,.12); color: #8B6914; }
.pf-type-MAQUILLAGE { background: rgba(237,100,166,.12); color: #C53030; }
.pf-type-PARFUM { background: rgba(128,90,213,.12); color: #6B46C1; }

/* Variant table */
.var-table { width: 100%; border-collapse: collapse; }
.var-table th {
    text-align: left; padding: .5rem .75rem; font-family: 'Jost', sans-serif; font-size: .68rem;
    color: #A89880; text-transform: uppercase; letter-spacing: .1em; font-weight: 400;
    border-bottom: .5px solid rgba(201,168,76,.12); background: #FBF5E6;
}
.var-table td { padding: .5rem .75rem; border-bottom: .5px solid rgba(201,168,76,.06); }
.var-table input {
    width: 100%; padding: .4rem .5rem; border: .5px solid rgba(201,168,76,.25);
    border-radius: 0; font-family: 'Jost', sans-serif; font-size: .82rem; color: #1A1614;
}
.var-table input:focus { border-color: #C9A84C; outline: none; box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
.var-remove {
    background: none; border: none; color: var(--red); cursor: pointer;
    padding: .25rem; border-radius: 6px; transition: background .2s;
}
.var-remove:hover { background: #FEE2E2; }

/* Image drop zone */
.img-drop-zone {
    border: 1.5px dashed rgba(201,168,76,.3); border-radius: 0;
    padding: 1.5rem; text-align: center; cursor: pointer;
    transition: border-color .2s, background .2s;
}
.img-drop-zone:hover, .img-drop-zone.drag-over {
    border-color: var(--gold); background: rgba(201,168,76,.04);
}

/* Image preview grid */
.img-preview-grid {
    display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem;
}
.img-preview-item {
    position: relative; width: 80px; height: 80px; border-radius: 10px;
    overflow: hidden; border: 1px solid var(--gray-200);
}
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-item .img-remove {
    position: absolute; top: 2px; right: 2px; width: 20px; height: 20px;
    border-radius: 50%; background: rgba(0,0,0,.6); color: #fff;
    border: none; cursor: pointer; font-size: 10px;
    display: flex; align-items: center; justify-content: center;
}

/* ===================== ORDER ACTION BUTTONS ===================== */
.btn-green { background: #38A169; color: #fff; }
.btn-green:hover { background: #2F855A; }
.btn-red { background: #E53E3E; color: #fff; }
.btn-red:hover { background: #C53030; }
.btn-blue { background: #4299E1; color: #fff; }
.btn-blue:hover { background: #3182CE; }
.btn-amber { background: #ED8936; color: #fff; }
.btn-amber:hover { background: #DD6B20; }

/* ===================== MISC ===================== */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.color-dot {
    display: inline-block; width: 16px; height: 16px; border-radius: 50%;
    border: 1px solid var(--gray-300); vertical-align: middle;
}

/* Animations */
.fade-in { animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===================== SCROLL REVEAL ANIMATIONS ===================== */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(40px); }
[data-reveal="right"] { transform: translateX(-40px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="fade"] { transform: none; }

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.4s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.5s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.6s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.7s; }

/* Delay modifiers */
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-stagger] > * {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
}
