/* ================= AURORA LOLITA — Design System v2 ================= */
/* Color: Primary #1A1A1A · Secondary #F8EDEB · Accent #D4AF37 · BG #FFFFFF */

:root {
    --primary: #1A1A1A;
    --secondary: #F8EDEB;
    --accent: #D4AF37;
    --accent-light: #f0e5c9;
    --bg: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #e8e8e8;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --radius: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= Reset & Base ================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background-color: var(--bg); line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ================= Buttons ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 36px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border: none; cursor: pointer; transition: all var(--transition); border-radius: var(--radius); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #333; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: #c49e2e; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,0.3); }

/* ================= Tags ================= */
.tag { display: inline-block; padding: 4px 12px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: 20px; }
.tag-gothic { background: var(--primary); color: #fff; }
.tag-sweet { background: #fce4ec; color: #c2185b; }
.tag-classic { background: var(--accent-light); color: #8b7300; }
.tag-hime { background: #f3e5f5; color: #7b1fa2; }

/* ================= Top Bar ================= */
.top-bar { background: var(--primary); color: #fff; font-size: 12px; letter-spacing: 0.5px; position: relative; z-index: 3000; }
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.top-bar-promo { flex: 1; text-align: center; }
.header-utility-bar { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.header-utility-bar a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.header-utility-bar a:hover { color: var(--accent); }
.divider { color: rgba(255,255,255,0.2); }

/* Search */
.search-container { display: flex; align-items: center; background: #ffffff; border-radius: 20px; padding: 4px 12px; border: 1px solid #ddd; transition: var(--transition); }
.search-container:focus-within { border-color: var(--accent); box-shadow: 0 0 5px rgba(212,175,55,0.4); }
.search-container input { border: none; background: transparent; outline: none; padding: 4px 8px; width: 140px; font-size: 12px; color: var(--text-dark); }
.search-container input::placeholder { color: var(--text-muted); }
.search-container button { border: none; background: transparent; cursor: pointer; color: var(--primary); }

@media (max-width: 860px) {
    .top-bar-flex { flex-direction: column; padding: 8px 0; gap: 10px; }
    .top-bar-promo { width: 100%; text-align: center; }
    .header-utility-bar { width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px; }
    .search-container input { width: 100px; }
}

/* Lang */
.lang-selector { cursor: pointer; position: relative; color: rgba(255,255,255,0.8); padding: 10px 0; }
.lang-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border-color); width: 100px; text-align: center; box-shadow: var(--shadow-md); z-index: 2000; color: var(--text-dark); margin-top: -5px; padding: 5px 0; border-radius: var(--radius); }
.lang-selector:hover .lang-dropdown { display: block; }
.lang-item { padding: 8px 5px; font-size: 13px; cursor: pointer; transition: background 0.2s; }
.lang-item:hover { background: var(--secondary); }

/* Utility Icons */
.util-icon-btn { background: none; border: none; font-size: 13px; color: rgba(255,255,255,0.8); cursor: pointer; display: flex; align-items: center; gap: 5px; font-weight: 500; }
.util-icon-btn:hover { color: var(--accent); }
.util-svg-icon { flex-shrink: 0; vertical-align: middle; stroke: currentColor; }
.util-icon-btn:hover .util-svg-icon { stroke: var(--accent); }
.cart-count { background: var(--accent); color: #fff; border-radius: 50%; padding: 2px 7px; font-size: 10px; font-weight: 700; }

/* ================= Header ================= */
header { background: var(--bg); border-bottom: 1px solid var(--border-color); padding: 20px 0; position: relative; z-index: 1000; box-shadow: var(--shadow-sm); }
.header-logo-area { text-align: center; margin-bottom: 20px; }
.logo { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--primary); letter-spacing: 3px; }
.header-nav-area { display: flex; justify-content: center; align-items: center; }
.main-nav-list { display: flex; gap: 30px; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--primary); }
.main-nav-item { position: relative; padding-bottom: 8px; }
.main-nav-link { transition: color var(--transition); position: relative; }
.main-nav-link::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.main-nav-link:hover::after, .main-nav-item:hover > .main-nav-link::after { width: 100%; }
.main-nav-link:hover, .main-nav-item:hover > .main-nav-link { color: var(--accent); }

/* Old Dropdown (compat) */
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--bg); border: 1px solid var(--border-color); width: 200px; opacity: 0; visibility: hidden; transition: all var(--transition); box-shadow: var(--shadow-lg); z-index: 10; border-top: 2px solid var(--accent); }
.main-nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; top: calc(100% + 5px); }
.dropdown-item { border-bottom: 1px solid #f5f5f5; }
.dropdown-link { display: block; padding: 12px 20px; font-weight: 400; text-transform: capitalize; color: var(--text-light); font-size: 13px; text-align: center; letter-spacing: 0; }
.dropdown-link:hover { background: var(--secondary); color: var(--primary); font-weight: 600; }

/* ================= Mega Menu ================= */
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--bg); border: 1px solid var(--border-color); border-top: 2px solid var(--accent); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); padding: 30px 35px; display: flex; gap: 35px; min-width: 520px; opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 100; }
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; top: calc(100% + 5px); }
.mega-col { min-width: 150px; }
.mega-heading { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--accent-light); font-family: var(--font-body); font-weight: 700; }
.mega-link { display: block; padding: 6px 0; font-size: 13px; color: var(--text-light); font-weight: 400; text-transform: none; letter-spacing: 0; transition: all 0.2s; }
.mega-link:hover { color: var(--primary); padding-left: 6px; }
.mega-grid-style { display: flex; gap: 12px; min-width: 520px; padding: 25px 30px; }
.mega-style-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 14px; border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 11px; font-weight: 600; color: var(--text-dark); text-transform: none; text-align: center; min-width: 90px; transition: all 0.25s ease; letter-spacing: 0; }
.mega-style-card:hover { border-color: var(--accent); background: var(--accent-light); color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(212,175,55,0.15); }
.mega-style-icon { font-size: 22px; }

/* Mobile hamburger
   The button element ships empty in HTML; the glyph is rendered via
   CSS so the markup stays language-neutral and never shows '?' even
   if the file is ever round-tripped through a lossy codepage. */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dark); padding: 5px 8px; line-height: 1; }
.mobile-menu-btn::before { content: '\2630'; font-style: normal; }                 /* ☰ */
.mobile-menu-btn[aria-expanded="true"]::before { content: '\00D7'; font-size: 28px; } /* × */
@media (max-width: 768px) {
    /* Anchor the hamburger to <header> (already position:relative) so it
       always sits in the white header band — never overlapping the hero
       below. We previously anchored it to .header-nav-area, but that
       container collapses to height:0 when .main-nav-list is hidden,
       causing the button to render on top of the next section. */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 22px;
        right: 16px;
        z-index: 30;
        color: var(--primary);
    }
    .header-logo-area { padding: 0 50px; }            /* leave room for the hamburger so the centred logo never collides with it */
    .main-nav-list { display: none; flex-direction: column; width: 100%; gap: 0; font-size: 13px; text-align: left; }
    .main-nav-list.show { display: flex; }
    .main-nav-item { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
    .mega-menu, .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; min-width: auto; width: 100%; opacity: 1; visibility: visible; padding: 10px 15px; display: none; flex-direction: column; }
    /* Open the mega panel on hover (desktop fallback) OR when the JS
       click handler adds the .mega-open class (touch devices). */
    .has-mega:hover .mega-menu,
    .has-mega.mega-open .mega-menu,
    .main-nav-item:hover .dropdown-menu { display: flex; }
    .mega-grid-style { flex-wrap: wrap; min-width: auto; }
}

/* ================= Breadcrumbs ================= */
.breadcrumbs { padding: 20px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span.separator { margin: 0 8px; color: #ddd; }
.breadcrumbs span.current { color: var(--primary); font-weight: 600; }

/* Section Title */
.section-title { text-align: center; margin: 80px 0 40px; font-family: var(--font-heading); font-size: 32px; font-weight: 600; color: var(--primary); position: relative; letter-spacing: 1px; }
.section-title::after { content: ''; display: block; width: 50px; height: 2px; background: var(--accent); margin: 18px auto 0; }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 15px; margin-top: -20px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.loading { text-align: center; padding: 60px; color: var(--text-muted); font-style: italic; grid-column: 1 / -1; }

/* ================= Hero Section ================= */
.hero { position: relative; height: 85vh; min-height: 550px; max-height: 800px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; margin-bottom: 0; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%); }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 8s ease; }
.hero:hover .hero-bg { transform: scale(1.05); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 0 20px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; font-weight: 600; }
.hero h1 { font-family: var(--font-heading); font-size: 56px; color: #fff; line-height: 1.15; margin-bottom: 20px; font-weight: 700; letter-spacing: 1px; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 35px; line-height: 1.7; }
.hero-cta { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { min-width: 180px; }
.hero-cta .btn-primary { background: var(--accent); color: #fff; }
.hero-cta .btn-primary:hover { background: #c49e2e; }
.hero-cta .btn-secondary { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-cta .btn-secondary:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* Hero animation */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }

/* ================= Style Grid Section ================= */
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.style-card { position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; cursor: pointer; group: true; }
.style-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.style-card:hover .style-card-img { transform: scale(1.08); }
.style-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; transition: background var(--transition); }
.style-card:hover .style-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%); }
.style-card-title { font-family: var(--font-heading); font-size: 24px; color: #fff; margin-bottom: 8px; }
.style-card-desc { font-size: 13px; color: rgba(255,255,255,0.7); transform: translateY(10px); opacity: 0; transition: all 0.4s ease; }
.style-card:hover .style-card-desc { transform: translateY(0); opacity: 1; }
@media (max-width: 768px) { .style-grid { grid-template-columns: 1fr; } .style-card { height: 300px; } }

/* ================= Coords Section ================= */
.coords-section { background: var(--secondary); padding: 80px 0; margin-bottom: 80px; }
.coords-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.coord-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.coord-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.coord-card-img { width: 100%; height: 350px; object-fit: cover; }
.coord-card-body { padding: 20px; }
.coord-card-title { font-family: var(--font-heading); font-size: 18px; margin-bottom: 8px; }
.coord-card-price { color: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.coord-card-items { font-size: 13px; color: var(--text-light); line-height: 1.6; }
@media (max-width: 768px) { .coords-grid { grid-template-columns: 1fr; } }

/* ================= Product Grid / Cards ================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 60px; }
.product-card { background: var(--bg); border: 1px solid var(--border-color); text-align: center; transition: all var(--transition); border-radius: var(--radius); overflow: hidden; position: relative; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.product-img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-card-body { padding: 18px; }
.product-title { font-size: 14px; margin-bottom: 8px; height: 38px; overflow: hidden; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; font-weight: 500; }
.price-container { margin-top: 8px; }
.sale-price { font-weight: 700; color: var(--primary); font-size: 18px; }
.base-price { text-decoration: line-through; color: var(--text-muted); font-size: 14px; margin-left: 8px; }

/* Product badges */
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; font-size: 10px; font-weight: 700; color: #fff; border-radius: 3px; z-index: 2; letter-spacing: 1px; text-transform: uppercase; }
.badge-discount { background: #e53935; }
.badge-hot { background: var(--accent); }
.badge-new { background: var(--primary); }

/* Quick add overlay on hover */
.product-card .quick-add { position: absolute; bottom: 0; left: 0; right: 0; background: var(--primary); color: #fff; padding: 12px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transform: translateY(100%); transition: transform var(--transition); cursor: pointer; }
.product-card:hover .quick-add { transform: translateY(0); }

/* ================= Best Sellers Carousel ================= */
.carousel-wrapper { position: relative; overflow: hidden; margin-bottom: 80px; }
.carousel-track { display: flex; gap: 25px; transition: transform 0.5s ease; }
.carousel-track .product-card { width: 280px; min-width: 280px; flex-shrink: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; z-index: 5; transition: all var(--transition); color: var(--primary); }
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-btn-prev { left: -24px; }
.carousel-btn-next { right: -24px; }

/* ================= Trust Icons ================= */
.trust-section { background: var(--secondary); padding: 60px 0; margin-bottom: 80px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.trust-item { padding: 20px; }
.trust-icon { font-size: 36px; color: var(--accent); margin-bottom: 15px; }
.trust-title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--primary); }
.trust-desc { font-size: 13px; color: var(--text-light); line-height: 1.5; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================= Blog Section ================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
.blog-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.blog-card-title { font-family: var(--font-heading); font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.blog-card-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-link { font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: 0.5px; }
.blog-card-link:hover { color: var(--accent); }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* ================= Footer ================= */
footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 70px 0 30px; font-size: 14px; }
/* 3-col grid: Newsletter / Customer Service / About Aurora. Offices have moved
   to a dedicated horizontal band below. This keeps column heights comparable. */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-heading { color: #fff; font-family: var(--font-heading); font-size: 16px; margin-bottom: 20px; letter-spacing: 1px; }
.footer-list-item { margin-bottom: 10px; }
.footer-link { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-link:hover { color: var(--accent); }
.newsletter-desc { margin-bottom: 15px; color: rgba(255,255,255,0.5); font-size: 13px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-input { flex: 1; padding: 12px 16px; border: none; border-radius: var(--radius) 0 0 var(--radius); outline: none; font-size: 13px; background: rgba(255,255,255,0.1); color: #fff; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-btn { padding: 12px 24px; background: var(--accent); color: #fff; border: none; font-weight: 700; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0; transition: var(--transition); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.newsletter-btn:hover { background: #c49e2e; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.4); }
.social-icons { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.social-icons a { color: rgba(255,255,255,0.5); font-size: 18px; transition: all var(--transition); }
.social-icons a:hover { color: var(--accent); transform: translateY(-2px); }
/* Legacy .contact-info-list retained for any page that still renders the list
   (e.g., staging archives). Live pages no longer use it. */
.contact-info-list { list-style: none; padding: 0; margin: 0; color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.8; }
.contact-info-list li { margin-bottom: 12px; }
.contact-info-list strong { color: #fff; font-size: 13px; display: inline-block; margin-bottom: 3px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ------- Global Offices horizontal band -------
   Sits between the 3-col footer-grid and the copyright row. Four compact
   cards for US / JP / HK / GZ. Replaces the tall 4th column that previously
   stacked offices vertically and unbalanced the footer. */
.footer-offices-band { margin: 0 0 28px; padding: 30px 0 28px; border-top: 1px solid rgba(255,255,255,0.10); border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-offices-heading { color: rgba(255,255,255,0.55); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin: 0 0 18px; text-align: center; }
.footer-offices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.footer-office-card { position: relative; padding: 14px 0 14px 18px; border-left: 2px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); font-size: 12.5px; line-height: 1.65; transition: border-color .25s; }
.footer-office-card:hover { border-left-color: var(--accent); }
.footer-office-card .office-flag { display: inline-block; font-size: 17px; line-height: 1; margin-right: 6px; vertical-align: -2px; }
.footer-office-card .office-name { display: block; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .5px; margin-bottom: 6px; }
.footer-office-card .office-addr { color: rgba(255,255,255,0.55); font-size: 12.5px; line-height: 1.7; }
.footer-office-card .office-addr strong { color: rgba(255,255,255,0.78); font-weight: 600; }
[dir="rtl"] .footer-office-card { border-left: none; border-right: 2px solid rgba(255,255,255,0.12); padding: 14px 18px 14px 0; }
[dir="rtl"] .footer-office-card:hover { border-right-color: var(--accent); }
[dir="rtl"] .footer-office-card .office-flag { margin-right: 0; margin-left: 6px; }
@media (max-width: 900px) { .footer-offices-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 560px) { .footer-offices-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ------- Fineprint row (compliance link + copyright stack) ------- */
.footer-fineprint { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.5); padding: 4px 0 14px; }
.footer-fineprint a { color: rgba(255,255,255,0.62); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); transition: color .2s, border-color .2s; padding-bottom: 1px; }
.footer-fineprint a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-fineprint .sep { color: rgba(255,255,255,0.25); font-size: 11px; }
@media (max-width: 560px) { .footer-fineprint { gap: 10px; font-size: 11.5px; } .footer-fineprint .sep { display: none; } }

/* ------- Footer regulatory compliance block (LEGACY — kept for backward
   compatibility with any archived/staging pages that still embed it inline.
   Live pages link out to compliance.html instead). ------- */
.footer-compliance { margin: 20px 0 36px; padding: 22px 26px; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); font-size: 12.5px; line-height: 1.75; }
.footer-compliance h4 { color: #fff; font-family: var(--font-heading); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 12px; }
.footer-compliance p { margin: 0 0 10px; }
.footer-compliance ul { list-style: disc; padding-left: 22px; margin: 10px 0 12px; }
.footer-compliance li { margin-bottom: 8px; }
.footer-compliance strong { color: rgba(255,255,255,0.88); }
.footer-compliance em { color: rgba(255,255,255,0.75); font-style: italic; }
.footer-compliance a { color: var(--accent); text-decoration: underline; }
.footer-compliance a:hover { color: #fff; }
.footer-compliance .compliance-note { font-size: 11.5px; color: rgba(255,255,255,0.4); margin-top: 12px; padding-top: 10px; border-top: 1px dotted rgba(255,255,255,0.1); }
[dir="rtl"] .footer-compliance ul { padding-right: 22px; padding-left: 0; }
@media (max-width: 768px) { .footer-compliance { padding: 16px 14px; font-size: 12px; } }

/* ================= Product Detail Page ================= */
.product-detail-wrapper { display: flex; gap: 50px; margin-bottom: 80px; background: var(--bg); padding: 40px; border-radius: var(--radius); }
.product-gallery { flex: 6; }
.main-image { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; cursor: zoom-in; transition: opacity var(--transition); }
.main-image:hover { opacity: 0.95; }
.product-info { flex: 4; }
.product-h1 { font-size: 28px; font-family: var(--font-heading); margin-bottom: 10px; line-height: 1.3; }
.product-sku { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.price-box { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 20px; }
.selector-group { margin-bottom: 20px; }
.selector-label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 13px; letter-spacing: 0.5px; }
.options-list { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn { border: 1px solid var(--border-color); background: var(--bg); padding: 10px 18px; cursor: pointer; border-radius: var(--radius); transition: all 0.2s; font-size: 13px; font-weight: 500; }
.size-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.size-btn:hover { border-color: var(--primary); }
.action-group { display: flex; gap: 15px; margin-top: 25px; }
.quantity-input { width: 70px; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--radius); text-align: center; font-size: 15px; }
.add-to-cart-btn { flex: 1; background: var(--primary); color: #fff; border: none; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); transition: var(--transition); letter-spacing: 1px; }
.add-to-cart-btn:hover { background: #333; }

/* Variant selector */
.variant-group { margin-bottom: 20px; }
.variant-label { font-size: 13px; color: var(--text-light); margin-bottom: 8px; display: block; }
.variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.variant-btn { border: 1px solid var(--border-color); background: #fff; padding: 10px; font-size: 13px; color: var(--text-dark); cursor: pointer; border-radius: var(--radius); text-align: center; transition: all 0.2s; }
.variant-btn:hover { border-color: var(--text-light); }
.variant-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; font-weight: 600; }

/* Share bar */
.share-bar { display: flex; align-items: center; gap: 15px; margin: 25px 0 15px; padding-top: 15px; border-top: 1px dashed var(--border-color); }
.share-bar span { font-size: 13px; color: var(--text-light); font-weight: 600; }
.share-bar a { color: var(--text-muted); font-size: 18px; transition: var(--transition); }
.share-bar a:hover { color: var(--accent); }

/* Payment trust */
.payment-trust-box { text-align: center; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.payment-trust-title { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.payment-icons { display: flex; justify-content: center; gap: 15px; font-size: 28px; color: var(--text-light); flex-wrap: wrap; }
.btn-paypal { background: #ffc439; color: #003087; width: 100%; padding: 12px; border: none; border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 10px; transition: var(--transition); }
.btn-paypal:hover { background: #f4bb33; }

/* Bullets & description */
.product-bullets { margin: 20px 0; padding-left: 20px; color: var(--text-dark); font-size: 14px; line-height: 1.7; }
.product-bullets li { margin-bottom: 8px; }
.product-long-description { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color); line-height: 1.8; color: var(--text-dark); }
.product-long-description h3 { font-size: 22px; margin-bottom: 15px; font-family: var(--font-heading); color: var(--primary); }
.recommendation-section { margin-top: 60px; padding-top: 40px; border-top: 2px dashed var(--border-color); }

/* ================= Lightbox ================= */
.lightbox { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(8px); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 85vh; margin-top: 3%; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { color: var(--accent); }
.lightbox-caption { margin: auto; display: block; width: 80%; text-align: center; color: rgba(255,255,255,0.7); padding: 15px 0; font-size: 16px; font-family: var(--font-heading); }

/* ================= Cart Drawer ================= */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: all var(--transition); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 420px; height: 100%; background: var(--bg); z-index: 2000; box-shadow: -5px 0 30px rgba(0,0,0,0.15); transition: right var(--transition); display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.cart-header { padding: 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.cart-title { font-size: 18px; font-weight: 700; font-family: var(--font-heading); color: var(--primary); letter-spacing: 1px; }
.close-cart-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px; }
.empty-cart-msg { text-align: center; color: var(--text-muted); margin-top: 50px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f5f5f5; }
.cart-item-img { width: 80px; height: 100px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-color); }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-qty-controls { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.cart-qty-btn { width: 28px; height: 28px; border: 1px solid var(--border-color); background: #fff; cursor: pointer; border-radius: var(--radius); display: flex; justify-content: center; align-items: center; font-weight: 700; color: var(--text-dark); transition: var(--transition); }
.cart-qty-btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.cart-qty-display { font-size: 14px; font-weight: 700; width: 20px; text-align: center; }
.cart-item-price { color: var(--primary); font-weight: 700; }
.cart-item-remove { font-size: 12px; color: var(--text-muted); text-decoration: underline; cursor: pointer; border: none; background: none; margin-top: 5px; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border-color); background: var(--secondary); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 15px; }
.checkout-btn { width: 100%; background: var(--primary); color: #fff; padding: 15px; border: none; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); letter-spacing: 1px; transition: var(--transition); }
.checkout-btn:hover { background: #333; }

/* ================= Category Header ================= */
.category-header { background: var(--secondary); padding: 40px 0; margin-bottom: 40px; }
.category-title { font-family: var(--font-heading); font-size: 32px; text-align: center; }
/* ================= Product Detail Page (60/40 layout) ================= */
.product-detail-wrapper { display: flex; gap: 50px; padding: 40px 0; align-items: flex-start; }
.product-gallery { flex: 0 0 58%; position: sticky; top: 20px; }
.product-info { flex: 1; min-width: 0; }
.product-h1 { font-family: var(--font-heading); font-size: 26px; line-height: 1.3; margin-bottom: 12px; color: var(--primary); }
.product-sku { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 20px; }
.price-box { margin: 20px 0 25px; }
.selector-group { margin-bottom: 20px; }
.selector-label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: var(--primary); }
.options-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 52px; height: 40px; border: 1.5px solid var(--border-color); background: #fff; color: var(--text-dark); font-size: 13px; font-weight: 600; cursor: pointer; border-radius: var(--radius); transition: all 0.2s; padding: 0 12px; }
.size-btn:hover { border-color: var(--primary); }
.size-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.action-group { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; }
.quantity-input { width: 70px; height: 48px; border: 1.5px solid var(--border-color); text-align: center; font-size: 16px; font-weight: 600; border-radius: var(--radius); padding: 0 10px; }
.quantity-input:focus { outline: none; border-color: var(--primary); }
.add-to-cart-btn { flex: 1; height: 48px; background: var(--primary); color: #fff; border: none; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; }
.add-to-cart-btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.3); }
@media (max-width: 900px) {
    .product-detail-wrapper { flex-direction: column; gap: 30px; padding: 20px 0; }
    .product-gallery { flex: none; width: 100%; position: static; }
    .product-info { width: 100%; }
}

/* ===== AURORA LOLITA PHASE 7: Category Nav Grid ===== */
.aurora-cat-nav {
    padding: 70px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1a2e 60%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}
.aurora-cat-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 1 L35 20 L55 20 L40 32 L45 52 L30 40 L15 52 L20 32 L5 20 L25 20Z' fill='%23D4AF3705'/%3E%3C/svg%3E");
    pointer-events: none;
}
.aurora-cat-header {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.aurora-cat-divider {
    text-align: center;
    margin: 16px 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.aurora-cat-divider::before,
.aurora-cat-divider::after {
    content: '';
    display: block;
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, #D4AF37);
}
.aurora-cat-divider::after {
    background: linear-gradient(90deg, #D4AF37, transparent);
}
.aurora-cat-div-icon {
    font-size: 20px;
    margin: 0 14px;
    line-height: 1;
}
.aurora-cat-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 860px) {
    .aurora-cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
    .aurora-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
    .aurora-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
.aurora-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.aurora-cat-item::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

.aurora-cat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212,175,55,0.4);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.15), inset 0 0 20px rgba(212,175,55,0.1);
}

.aurora-cat-item:hover::before {
    left: 200%;
}

.aurora-cat-icon {
    font-size: 32px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.aurora-cat-item:hover .aurora-cat-icon {
    transform: scale(1.15) translateY(-3px);
    text-shadow: 0 0 20px rgba(212,175,55,0.6);
}

.aurora-cat-name {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
    color: rgba(255,255,255,0.95);
}

/* Elegant Premium Icon Gradient Colors */
.acat-dresses{ background: -webkit-linear-gradient(135deg, #fbcfe8, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-gothic { background: -webkit-linear-gradient(135deg, #e0b3ff, #9333ea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-dark   { background: -webkit-linear-gradient(135deg, #a5b4fc, #4f46e5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-sweet  { background: -webkit-linear-gradient(135deg, #ffb6c1, #ff6b9d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-classic{ background: -webkit-linear-gradient(135deg, #fef08a, #D4AF37); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-op     { background: -webkit-linear-gradient(135deg, #fbcfe8, #db2777); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-jsk    { background: -webkit-linear-gradient(135deg, #e9d5ff, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-shoes  { background: -webkit-linear-gradient(135deg, #f8cc82, #D4AF37); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-head   { background: -webkit-linear-gradient(135deg, #ddd6fe, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-pet    { background: -webkit-linear-gradient(135deg, #f5f5f5, #d6d6d6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-ouji   { background: -webkit-linear-gradient(135deg, #93c5fd, #2563eb); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-coord  { background: -webkit-linear-gradient(135deg, #a7f3d0, #059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-pre    { background: -webkit-linear-gradient(135deg, #fde68a, #d97706); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-hime   { background: -webkit-linear-gradient(135deg, #fce7f3, #be185d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-new    { background: -webkit-linear-gradient(135deg, #fca5a5, #dc2626); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acat-acc    { background: -webkit-linear-gradient(135deg, #fef08a, #ca8a04); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== Cart item checkbox improvements ===== */
.rating-bar{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.rating-fill{height:8px;background:var(--accent);border-radius:4px;flex:1;max-width:300px}

/* BUGFIX: Lang Dropdown */
.lang-dropdown .lang-item a { color: #1a1a1a !important; display: block; width: 100%; text-decoration: none; font-weight: 500; font-size: 13px; }
.lang-dropdown { background: #ffffff !important; z-index: 99999 !important; }

/* ================= RTL Support (Arabic) ================= */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .top-bar-flex,
[dir="rtl"] .header-utility-bar,
[dir="rtl"] .main-nav-list,
[dir="rtl"] .hero-cta,
[dir="rtl"] .action-group,
[dir="rtl"] .cart-qty-controls,
[dir="rtl"] .share-bar,
[dir="rtl"] .options-list { direction: rtl; }

[dir="rtl"] .top-bar-flex { flex-direction: row-reverse; }
[dir="rtl"] .header-utility-bar { flex-direction: row-reverse; }
[dir="rtl"] .newsletter-form { flex-direction: row-reverse; }
[dir="rtl"] .newsletter-input { border-radius: 0 var(--radius) var(--radius) 0; }
[dir="rtl"] .newsletter-btn { border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] .breadcrumbs { text-align: right; }
[dir="rtl"] .breadcrumbs span.separator { margin: 0 8px; }
[dir="rtl"] .hero { text-align: center; }
[dir="rtl"] .product-detail-wrapper { flex-direction: row-reverse; }
[dir="rtl"] .product-info { text-align: right; }
[dir="rtl"] .product-bullets { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .cart-drawer { right: auto; left: -420px; }
[dir="rtl"] .cart-drawer.open { left: 0; right: auto; }
[dir="rtl"] .cart-item { flex-direction: row-reverse; }
[dir="rtl"] .cart-item-info { text-align: right; }
[dir="rtl"] .cart-subtotal { flex-direction: row-reverse; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .base-price { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .dropdown-menu,
[dir="rtl"] .mega-menu { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .lang-dropdown { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .carousel-btn-prev { left: auto; right: -24px; }
[dir="rtl"] .carousel-btn-next { right: auto; left: -24px; }
[dir="rtl"] .search-container { flex-direction: row-reverse; }

/* ================= Skeleton Loading Screens ================= */
@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.skeleton-bone {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: 4px;
}
.skeleton-img {
    width: 100%;
    padding-bottom: 120%;
    border-radius: var(--radius) var(--radius) 0 0;
}
.skeleton-title {
    height: 16px;
    margin: 14px 12px 8px;
    width: 75%;
}
.skeleton-price {
    height: 14px;
    margin: 0 12px 14px;
    width: 45%;
}
.skeleton-btn {
    height: 38px;
    margin: 0 12px 12px;
    border-radius: var(--radius);
}
/* Skeleton grid layout matching product-grid */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) { .skeleton-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .skeleton-grid { grid-template-columns: repeat(2, 1fr); } }
/* Skeleton inside carousel */
.skeleton-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.skeleton-carousel .skeleton-card {
    min-width: 280px;
    flex-shrink: 0;
}

/* =============================================================
   📱 MOBILE & TABLET RESPONSIVE OVERRIDES (added 2026-04 — f3a)
   Target: phones (≤480px), large phones / portrait tablet (≤768px),
           landscape tablet (≤1024px). Mobile-first principles:
   - Product grid: 2 cols on phone, 3 on tablet, 4 on desktop
   - Carousel: native horizontal scroll-snap (touch swipe) on touch devices
   - Hide carousel side-buttons on touch (rely on swipe)
   - Larger tap targets, reduced gaps, lighter shadows for performance
   ============================================================= */

/* ---------- Tablet (≤1024px): 3-column product grid ---------- */
@media (max-width: 1024px) {
    .product-grid       { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .skeleton-grid      { grid-template-columns: repeat(3, 1fr) !important; }
    .product-img        { height: 300px; }
    .container          { padding: 0 24px; }
}

/* ---------- Large phone / Portrait tablet (≤768px): 2-column ---------- */
@media (max-width: 768px) {
    .product-grid       { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
    .skeleton-grid      { grid-template-columns: repeat(2, 1fr) !important; }
    .product-img        { height: 240px; }
    .product-card-body  { padding: 12px; }
    .product-title      { font-size: 13px; height: 34px; line-height: 1.35; }
    .sale-price         { font-size: 16px; }
    .original-price     { font-size: 12px; }
    .product-badge      { font-size: 10px; padding: 4px 8px; }

    /* Promote carousel to native horizontal scroll on touch devices
       (best touch experience: hardware accelerated + scroll-snap). */
    .carousel-wrapper   { overflow-x: auto; overflow-y: hidden;
                          -webkit-overflow-scrolling: touch;
                          scroll-snap-type: x mandatory;
                          scrollbar-width: none;            /* Firefox */ }
    .carousel-wrapper::-webkit-scrollbar { display: none; } /* WebKit */
    .carousel-track     { gap: 12px; transition: none; transform: none !important; }
    .carousel-track .product-card { width: 60vw; min-width: 220px; max-width: 260px; scroll-snap-align: start; }
    .carousel-btn       { display: none; }                  /* hide arrows: swipe instead */

    /* Hero — shrink heading + button stack */
    .hero-content h1    { font-size: 32px !important; line-height: 1.15; }
    .hero-content p     { font-size: 14px !important; }
    .hero-cta           { flex-direction: column; gap: 10px; }
    .hero-cta .btn      { width: 100%; }

    /* Aurora category nav grid: 3 cols on phone (was 5) for breathing room */
    .aurora-cat-grid    { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
    .aurora-cat-icon    { font-size: 26px; }
    .aurora-cat-name    { font-size: 11px; }

    /* Tighter sections so more content fits above the fold */
    section, .container > section { padding-top: 30px; padding-bottom: 30px; }
}

/* ---------- Small phone (≤480px): single-thumb tighter ---------- */
@media (max-width: 480px) {
    .product-grid       { gap: 8px; }
    .product-img        { height: 200px; }
    .product-card-body  { padding: 10px; }
    .container          { padding: 0 12px; }
    .aurora-cat-grid    { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-content h1    { font-size: 26px !important; }
}

/* ---------- Make any horizontal scroll-on-touch list swipe-friendly ---------- */
.swipe-list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
}
.swipe-list::-webkit-scrollbar { display: none; }
.swipe-list > * { scroll-snap-align: start; flex-shrink: 0; }

/* =============================================================
   📱 PRODUCT-DETAIL-PAGE responsive fixes (bug verification round)
   - Hide gallery prev/next arrows on mobile (use swipe instead;
     swipe handler lives in js/product.js attachGallerySwipe()).
   - Lightbox: was broken on mobile because the wrapper relied on
     `width:100%;height:100%` (which is body-scoped on mobile and
     misses the URL bar). Switch to viewport units + flex-column
     center; hide arrow buttons in favor of swipe; clamp image
     size so caption stays visible above the fold.
   ============================================================= */
@media (max-width: 768px) {
    /* — main product gallery: kill the absolute-positioned arrows — */
    .gallery-arrow,
    .gallery-prev,
    .gallery-next       { display: none !important; }
    .gallery-main-wrap  { touch-action: pan-y;        /* allow vertical scroll */ }
    .gallery-main-img   { width: 100%; height: auto;
                          /* hint to browser this is gesture-active */
                          -webkit-user-select: none; user-select: none;
                          -webkit-touch-callout: none; }
    .gallery-counter    { font-size: 11px; padding: 2px 8px; bottom: 8px; right: 8px; }

    /* — lightbox: full visual viewport + proper flex centering — */
    .lightbox {
        /* fallback then dynamic viewport (covers browser chrome on iOS Safari) */
        width: 100vw;  height: 100vh;
        width: 100dvw; height: 100dvh;
        display: none;                          /* JS toggles to flex */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px;
        overflow: hidden;
    }
    /* When JS sets display:flex inline, our flex-direction takes effect. */
    .lightbox-content {
        max-width: 100%;
        max-height: 70vh;
        margin: 0 auto;
        object-fit: contain;
    }
    .lightbox-caption {
        width: 100%;
        margin: 12px 0 0;
        font-size: 13px;
        padding: 8px 0;
    }
    .lightbox-close {
        top: 12px; right: 16px;
        font-size: 32px;
        z-index: 10002;
    }
    /* Hide lightbox prev/next on mobile — same swipe gesture works in lightbox.
       Swipe handler in js/product.js delegates to lightboxNav() when active. */
    .lb-nav, .lb-prev, .lb-next { display: none !important; }
}

/* =============================================================
   🎬 f2 — Product video gallery styling
   - .gallery-thumb.is-video paints a translucent ▶ play icon over
     the canvas-extracted poster so users instantly know which slot
     is a video. We use a CSS-only approach (no extra DOM) by
     compositing two backgrounds: the SVG play badge + a soft
     gradient. The poster <img> sits BEHIND it via z-index trick
     since <img> can't host ::before/::after, so we instead paint
     the icon onto a tiny wrapper that we render in product.js IF
     we want a real overlay; else we use this mixed-bg approach.
   - .gallery-main-slot is the swap container for <img>/<video>.
   - Video element styling matches the existing image rules so
     transitions / object-fit feel identical between media types.
   - Admin gallery preview: dark vignette + corner badge for video.
   ============================================================= */
.gallery-main-slot {
    position: relative;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}
.gallery-main-slot video.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    cursor: default;
    display: block;
}

/* Storefront thumbnail strip: tiny ▶ badge in the bottom-right corner.
   The thumb itself is an <img> rendered with the poster_url, so we use
   a parent ::after via wrapping div added below. Since the existing JS
   renders bare <img class="gallery-thumb">, we paint the play icon
   directly onto the img background as a layered SVG when .is-video. */
.gallery-thumb.is-video {
    position: relative;
    /* Layer 1 (top): play-icon SVG, 22px centered.
       Layer 2: subtle gradient to darken poster so the icon pops.
       Layer 3 (bottom): the poster itself stays via the <img> src. */
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='rgba(255,255,255,0.85)'/><polygon points='10,7 10,17 17,12' fill='%23222'/></svg>"),
        linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45));
    background-position: center center, center center;
    background-size: 22px 22px, cover;
    background-repeat: no-repeat, no-repeat;
}

/* Admin upload preview tiles for videos: subtle vignette + corner badge */
.gallery-item.is-video {
    background: #111;
}
.gallery-item.is-video img {
    opacity: 0.92;
}
.gallery-item-vidbadge {
    position: absolute;
    top: 6px; left: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 3;
}
.gallery-item-vidplaceholder {
    width: 100%; height: 100%;
    min-height: 120px;
    background: #2a2a2a;
    color: #ccc;
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 12px; line-height: 1.5;
}

/* Mobile tweaks for video gallery */
@media (max-width: 768px) {
    .gallery-thumb.is-video {
        background-size: 20px 20px, cover;
    }
}

/* =============================================================
   ✨ f4b — Instagram-style Editorial: Stories Rail + Community Feed
   -------------------------------------------------------------
   Two new homepage sections, both populated by /api/home/editorial.
   Designed to feel native on mobile (where IG-style is most familiar)
   AND elegant on desktop where it slots between curated sections.

   Color contract:
     - Story ring uses gold→pink→primary gradient (variant via class).
     - Modals use a deep matte backdrop (#000 95%) to mimic IG's
       full-screen story stage.
     - Community grid uses the same card radius/shadow tokens already
       used by .product-card so visual rhythm stays consistent.
   ============================================================= */

/* ---------- Stories Rail (section A) ---------- */
.aurora-stories-section {
    margin: 32px 0 8px;
}
.aurora-stories-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.aurora-stories-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 6px 14px;
}
.aurora-stories-head h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.5px;
}
.aurora-stories-head p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.aurora-stories-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 6px 14px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.aurora-stories-track::-webkit-scrollbar { display: none; }

.aurora-story-item {
    flex: 0 0 auto;
    width: 86px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.18s ease;
}
.aurora-story-item:hover { transform: translateY(-2px); }
.aurora-story-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 50%;
}

/* Gradient ring (default) — pink/gold/primary stops */
.aurora-story-ring {
    display: block;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    padding: 3px;
    border-radius: 50%;
    background: conic-gradient(from 200deg,
        #d4af37, #e91e63, #c2185b, #1a1a1a, #d4af37);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
/* Variant rings the API may emit (future-proof) */
.ring-gothic   .aurora-story-ring { background: conic-gradient(from 0deg,#000,#3a3a3a,#000); }
.ring-sweet    .aurora-story-ring { background: conic-gradient(from 0deg,#fce4ec,#f48fb1,#c2185b,#fce4ec); }
.ring-classic  .aurora-story-ring { background: conic-gradient(from 0deg,#d4af37,#f0e5c9,#d4af37); }
.ring-seen     .aurora-story-ring { background: #e1e1e1; }

.aurora-story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #f5f5f5;
    display: block;
}
.aurora-story-label {
    display: block;
    font-size: 11.5px;
    line-height: 1.3;
    color: var(--text-dark);
    margin-top: 6px;
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ---------- Story Modal (full-screen viewer) ---------- */
.aurora-story-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 12000;
    display: none; /* toggled by JS to flex */
    align-items: center;
    justify-content: center;
    animation: aurora-fadein 0.18s ease;
}
@keyframes aurora-fadein { from { opacity: 0; } to { opacity: 1; } }
.aurora-story-stage {
    position: relative;
    width: min(420px, 100vw);
    height: min(92vh, 760px);
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    outline: none;
}
@media (max-width: 600px) {
    .aurora-story-stage {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
}
.aurora-story-progress {
    position: absolute;
    top: 8px; left: 8px; right: 8px;
    display: flex;
    gap: 4px;
    z-index: 5;
}
.aurora-story-progress-track {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.28);
    overflow: hidden;
}
.aurora-story-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
    border-radius: 2px;
}
.aurora-story-progress-fill.is-done { width: 100%; }
.aurora-story-progress-fill.is-active {
    width: 100%;
    transform-origin: left;
    animation: aurora-story-fill 4.5s linear forwards;
}
@keyframes aurora-story-fill {
    from { width: 0; }
    to   { width: 100%; }
}

.aurora-story-header {
    position: absolute;
    top: 22px; left: 14px; right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.aurora-story-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.aurora-story-author-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.85);
    background: #222;
}
.aurora-story-author-name {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
}
.aurora-story-author-title {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aurora-story-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 50%;
    transition: background 0.15s;
}
.aurora-story-close:hover { background: rgba(255,255,255,0.12); }

.aurora-story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
    background: #000;
}

.aurora-story-caption-row {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 60px 18px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
    color: #fff;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.aurora-story-caption {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    flex: 1 1 60%;
    min-width: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.aurora-story-shop-cta {
    flex: 0 0 auto;
    background: var(--accent);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 24px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(212,175,55,0.4);
}
.aurora-story-shop-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212,175,55,0.55);
}

/* Tap zones for prev/next nav (invisible buttons over left/right thirds) */
.aurora-story-tap {
    position: absolute;
    top: 0; bottom: 0;
    width: 33%;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 3;
}
.aurora-story-tap-prev { left: 0; }
.aurora-story-tap-next { right: 0; }

/* ---------- Community Feed (#AuroraGirls) ---------- */
.aurora-community-section {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    padding: 70px 0 90px;
    margin-top: 40px;
}
.aurora-community-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.aurora-community-head {
    text-align: center;
    margin-bottom: 36px;
}
.aurora-community-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}
.aurora-community-head h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--primary);
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.aurora-community-head p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0 auto;
    max-width: 560px;
}
.aurora-community-grid {
    /* CSS columns gives true magazine-style masonry without JS layout cost */
    column-count: 4;
    column-gap: 14px;
}
@media (max-width: 1100px) { .aurora-community-grid { column-count: 3; } }
@media (max-width: 760px)  { .aurora-community-grid { column-count: 2; column-gap: 10px; } }
@media (max-width: 420px)  { .aurora-community-grid { column-count: 1; } }

.aurora-post-card {
    break-inside: avoid;
    margin: 0 0 14px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}
.aurora-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.aurora-post-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.aurora-post-media {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.aurora-post-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    background: #f0f0f0;
}
.aurora-post-card:hover .aurora-post-img { transform: scale(1.04); }
.aurora-post-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.42);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.aurora-post-card:hover .aurora-post-hover { opacity: 1; }
.aurora-post-hover i { margin-right: 6px; }
.aurora-post-foot {
    padding: 10px 12px 14px;
}
.aurora-post-handle {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.aurora-post-caption {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
            line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* On touch devices, hover-only stats are awkward — show subtle bottom-left chip */
@media (hover: none) {
    .aurora-post-hover { display: none; }
}

/* ---------- Post Lightbox ---------- */
.aurora-post-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 12000;
    display: none; /* JS toggles to flex */
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: aurora-fadein 0.18s ease;
}
.aurora-post-lb-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    width: min(960px, 100%);
    max-height: 92vh;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    position: relative;
}
@media (max-width: 760px) {
    .aurora-post-lb-card {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }
}
.aurora-post-lb-close {
    position: absolute;
    top: 8px; right: 12px;
    background: rgba(0,0,0,0.55);
    border: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: background 0.15s;
}
.aurora-post-lb-close:hover { background: rgba(0,0,0,0.85); }
.aurora-post-lb-media {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    max-height: 92vh;
}
.aurora-post-lb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 92vh;
}
.aurora-post-lb-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    overflow-y: auto;
}
.aurora-post-lb-handle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}
.aurora-post-lb-caption {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dark);
    margin: 0;
    word-break: break-word;
}
.aurora-post-lb-stats {
    display: flex;
    gap: 18px;
    color: var(--text-light);
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}
.aurora-post-lb-stats i { color: var(--accent); margin-right: 6px; }
.aurora-post-lb-cta {
    margin-top: auto;
    align-self: flex-start;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 30px;
    transition: background 0.15s, transform 0.15s;
}
.aurora-post-lb-cta:hover {
    background: var(--accent);
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Mobile spacing tweaks */
@media (max-width: 600px) {
    .aurora-stories-head h2 { font-size: 18px; }
    .aurora-community-head h2 { font-size: 26px; }
    .aurora-community-section { padding: 50px 0 70px; }
    .aurora-story-item { width: 74px; }
    .aurora-story-ring { width: 70px; height: 70px; }
    .aurora-story-label { max-width: 74px; font-size: 11px; }
}

/* ============================================================================
   f5 — Category Page (IG-style themed landing)
   ============================================================================
   Sections: hero · trust strip · intro · products · stories · style guide ·
   UGC wall · FAQ accordion · related cards.
   Theme palette is injected via CSS custom properties on :root by category.js
   (--cat-theme-primary / --cat-theme-accent / --cat-theme-text /
    --cat-theme-text-muted / --cat-hero-image).
   ============================================================================ */

:root {
    --cat-theme-primary: #1a1a1a;
    --cat-theme-accent:  #d4a574;
    --cat-theme-text:    #fff5f8;
    --cat-theme-text-muted: rgba(255,245,248,0.78);
    --cat-radius-lg: 18px;
    --cat-radius-md: 12px;
}

/* Themed Hero ----------------------------------------------------------------- */
.cat-hero {
    position: relative;
    background: var(--cat-theme-primary);
    color: var(--cat-theme-text);
    padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 90px);
    margin-bottom: 0;
    overflow: hidden;
    isolation: isolate;
}
.cat-hero[data-loading="1"] .cat-hero-h1::after {
    content: ''; display: inline-block; width: 1.2em; height: 0.55em;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    background-size: 200% 100%; animation: cat-shimmer 1.4s linear infinite;
    border-radius: 4px; margin-left: 6px; vertical-align: middle;
}
@keyframes cat-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.cat-hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--cat-theme-accent) 14%, transparent) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 100%, color-mix(in srgb, var(--cat-theme-accent) 9%, transparent) 0%, transparent 70%),
        var(--cat-theme-primary);
}
.cat-hero.has-image .cat-hero-bg {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--cat-theme-primary) 75%, transparent) 0%, color-mix(in srgb, var(--cat-theme-primary) 92%, transparent) 100%),
        var(--cat-hero-image, none) center/cover no-repeat,
        var(--cat-theme-primary);
}

.cat-hero-inner { position: relative; z-index: 1; max-width: 920px; }
.cat-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 18px;
    color: var(--cat-theme-accent);
}
.cat-hero-h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(32px, 5.4vw, 56px);
    line-height: 1.1;
    margin: 0 0 22px;
    color: var(--cat-theme-text);
    letter-spacing: -0.01em;
}
.cat-hero-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--cat-theme-text-muted);
    margin: 0 0 30px;
    max-width: 720px;
}

.cat-trust-strip {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 12px;
}
.cat-trust-item {
    background: color-mix(in srgb, var(--cat-theme-text) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--cat-theme-accent) 35%, transparent);
    color: var(--cat-theme-text);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Section scaffolding -------------------------------------------------------- */
.cat-section {
    padding: clamp(50px, 7vw, 90px) 0;
}
.cat-section[hidden] { display: none; }
.cat-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    text-align: center;
    margin: 0 0 40px;
    color: var(--text-primary, #1a1418);
    letter-spacing: -0.005em;
}

/* Editorial intro ------------------------------------------------------------ */
.cat-intro { background: var(--bg-secondary, #fcfafd); }
.cat-intro-body {
    max-width: 760px; margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 17px; line-height: 1.75;
    color: var(--text-primary, #1f1820);
}
.cat-intro-body p { margin: 0 0 18px; }
.cat-intro-body strong { color: var(--cat-theme-accent); font-weight: 600; }
.cat-intro-body em { font-style: italic; color: color-mix(in srgb, var(--cat-theme-accent) 70%, var(--text-primary)); }
.cat-intro-body a { color: var(--cat-theme-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cat-intro-body a:hover { text-decoration-thickness: 2px; }

/* Style guide ---------------------------------------------------------------- */
.cat-guide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
}
.cat-guide-content { font-family: 'Inter', sans-serif; }
.cat-guide-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    margin: 0 0 28px;
    color: var(--text-primary, #1a1418);
}
.cat-guide-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--cat-theme-accent);
    letter-spacing: -0.005em;
}
.cat-guide-body h3:first-child { margin-top: 0; }
.cat-guide-body p {
    font-size: 16px; line-height: 1.7;
    color: var(--text-primary, #2a2228);
    margin: 0 0 14px;
}
.cat-guide-body strong { font-weight: 600; color: var(--cat-theme-accent); }
.cat-guide-body em { font-style: italic; }
.cat-guide-body a { color: var(--cat-theme-accent); text-decoration: underline; text-underline-offset: 3px; }

.cat-guide-figure {
    margin: 0; position: sticky; top: 120px;
    border-radius: var(--cat-radius-lg);
    overflow: hidden;
    background: var(--bg-secondary, #f5f0f3);
    box-shadow: 0 14px 40px -18px rgba(26,20,24,0.18);
}
.cat-guide-figure img {
    display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5;
}

/* UGC wall ------------------------------------------------------------------- */
.cat-ugc { background: linear-gradient(180deg, transparent 0%, var(--bg-secondary, #fcfafd) 100%); }
.cat-ugc-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.cat-ugc-card {
    margin: 0; position: relative;
    border-radius: var(--cat-radius-md);
    overflow: hidden; cursor: pointer;
    aspect-ratio: 1/1;
    background: var(--bg-secondary, #f5f0f3);
}
.cat-ugc-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.cat-ugc-card:hover img { transform: scale(1.06); }
.cat-ugc-cap {
    position: absolute; inset: auto 0 0 0;
    padding: 22px 14px 10px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 100%);
    color: #fff;
    display: flex; flex-direction: column; gap: 4px;
    opacity: 0; transition: opacity 0.25s;
}
.cat-ugc-card:hover .cat-ugc-cap { opacity: 1; }
.cat-ugc-handle { font-weight: 600; font-size: 13px; }
.cat-ugc-stats { font-size: 12px; opacity: 0.9; }

/* Story rail (re-uses f4b ring colours) -------------------------------------- */
.cat-story-rail {
    display: flex; gap: 18px;
    overflow-x: auto; padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.cat-story-rail::-webkit-scrollbar { height: 4px; }
.cat-story-rail::-webkit-scrollbar-thumb { background: var(--cat-theme-accent); border-radius: 4px; }

/* FAQ accordion -------------------------------------------------------------- */
.cat-faq { background: var(--bg-secondary, #fcfafd); }
.cat-faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.cat-faq-item {
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--cat-theme-accent) 18%, var(--border-color, #ece8ec));
    border-radius: var(--cat-radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.cat-faq-item[open] {
    border-color: color-mix(in srgb, var(--cat-theme-accent) 50%, var(--border-color, #ece8ec));
    box-shadow: 0 8px 24px -16px rgba(26,20,24,0.18);
}
.cat-faq-q {
    list-style: none; cursor: pointer;
    padding: 18px 22px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px;
    color: var(--text-primary, #1a1418);
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    user-select: none;
}
.cat-faq-q::-webkit-details-marker { display: none; }
.cat-faq-q-text { flex: 1; }
.cat-faq-q-icon {
    font-family: 'Inter', sans-serif;
    font-size: 22px; line-height: 1;
    color: var(--cat-theme-accent);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.cat-faq-item[open] .cat-faq-q-icon { transform: rotate(45deg); }
.cat-faq-a {
    padding: 0 22px 20px;
    font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.7;
    color: var(--text-secondary, #4a4248);
}

/* Related cards -------------------------------------------------------------- */
.cat-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.cat-related-card {
    display: flex; align-items: center; gap: 14px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--border-color, #ece8ec);
    border-radius: var(--cat-radius-lg);
    color: var(--text-primary, #1a1418);
    text-decoration: none; font-family: 'Inter', sans-serif;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
}
.cat-related-card::before {
    content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
    background: linear-gradient(90deg, var(--cat-theme-accent), color-mix(in srgb, var(--cat-theme-accent) 50%, transparent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.cat-related-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--cat-theme-accent) 50%, var(--border-color, #ece8ec));
    box-shadow: 0 10px 28px -18px rgba(26,20,24,0.22);
}
.cat-related-card:hover::before { transform: scaleX(1); }
.cat-related-emoji { font-size: 24px; flex-shrink: 0; }
.cat-related-name { font-weight: 600; font-size: 15px; flex: 1; }
.cat-related-arrow { font-size: 18px; color: var(--cat-theme-accent); transition: transform 0.2s; flex-shrink: 0; }
.cat-related-card:hover .cat-related-arrow { transform: translateX(4px); }

/* Mobile tweaks -------------------------------------------------------------- */
@media (max-width: 760px) {
    .cat-guide-grid { grid-template-columns: 1fr; }
    .cat-guide-figure { position: static; }
    .cat-trust-item { font-size: 12px; padding: 6px 10px; }
    .cat-ugc-wall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
    .cat-faq-q { padding: 16px 18px; font-size: 15px; }
    .cat-faq-a { padding: 0 18px 18px; font-size: 14px; }
    .cat-related-card { padding: 18px 20px; }
}
