/* ================= 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); }
.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 */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dark); padding: 5px; }
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav-list { display: none; flex-direction: column; width: 100%; gap: 0; }
    .main-nav-list.show { display: flex; }
    .main-nav-item { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
    .main-nav-list { font-size: 12px; text-align: left; }
    .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; }
    .has-mega:hover .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; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.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: 25px; 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); }
.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: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ================= 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-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; }
