/* ============================================================
   HUGOCHRISTIAN — White, Gold & Red Sacred Streetwear
   Fully responsive — all breakpoints and touch optimizations
   ============================================================ */

:root {
    --primary: #B91C1C;
    --primary-light: #DC2626;
    --gold: #C9970C;
    --gold-light: #F59E0B;
    --gold-pale: #FEF3C7;
    --burgundy: #7F1D1D;
    --bg: #F2EDE3;
    --bg-card: #F7F2EA;
    --bg-section: #EDE5D8;
    --bg-dark-section: #1C0A0A;
    --text: #1A0A05;
    --text-muted: #78614A;
    --border: #E8DDD0;
    --border-gold: #D4AF37;
    --shadow: rgba(180, 28, 28, 0.12);
    --shadow-gold: rgba(201, 151, 12, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-gold);
    box-shadow: 0 2px 20px rgba(201,151,12,0.15);
}
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 12px 20px;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.logo-container { height: clamp(44px, 6vw, 70px); flex-shrink: 0; }
.logo-img { height: 100%; width: auto; object-fit: contain; }

.site-header {
    background: linear-gradient(to right, #b22222 0%, #d4af37 50%, #b22222 100%);
    -webkit-background-clip: text; -moz-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
    font-size: 45px; font-weight: 700; text-align: center; text-transform: uppercase;
    letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(212,175,55,0.5);
    flex: 1; display: inline-block; font-size: clamp(18px, 3.5vw, 45px);
}

.nav-menu {
    display: flex; list-style: none; gap: 30px; align-items: center;
}
.nav-link {
    color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 2px; transition: all 0.3s;
    position: relative; font-family: 'Cinzel', serif;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: width 0.3s;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.nav-item-dropdown { position: relative; list-style: none; }
.nav-dropdown-trigger {
    display: flex; align-items: center; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 0;
    font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--text);
    transition: color 0.3s; position: relative;
}
.nav-dropdown-trigger::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: width 0.3s;
}
.nav-item-dropdown.dropdown-open .nav-dropdown-trigger,
.nav-dropdown-trigger:hover { color: var(--primary); }
.nav-item-dropdown.dropdown-open .nav-dropdown-trigger::after,
.nav-dropdown-trigger:hover::after { width: 100%; }
.dropdown-caret { font-size: 10px; transition: transform 0.25s ease; display: inline-block; }
.nav-item-dropdown.dropdown-open .dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute; top: calc(100% + 18px); left: 50%;
    transform: translateX(-50%) translateY(-8px); min-width: 260px;
    background: #fff; border: 1.5px solid var(--border-gold); border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(201,151,12,0.1);
    padding: 10px 0; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1100;
}
.nav-dropdown-menu::before {
    content: ''; position: absolute; top: -7px; left: 50%;
    transform: translateX(-50%); width: 12px; height: 12px;
    background: #fff; border-top: 1.5px solid var(--border-gold);
    border-left: 1.5px solid var(--border-gold);
    transform: translateX(-50%) rotate(45deg);
}
.nav-item-dropdown.dropdown-open .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.dropdown-section-label {
    font-family: 'Lato', sans-serif; font-size: 10px; font-weight: 900;
    letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
    padding: 6px 18px 4px;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 12px; }
.dropdown-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 18px;
    width: 100%; text-align: left; text-decoration: none;
    background: none; border: none; color: var(--text);
    font-family: 'Cinzel', serif; font-size: 12px; font-weight: 600;
    letter-spacing: 0.5px; transition: background 0.18s, color 0.18s;
    cursor: pointer; position: relative;
}
.dropdown-item:hover { background: var(--gold-pale); color: var(--primary); }
.dropdown-item-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.dropdown-item-sub {
    font-family: 'Lato', sans-serif; font-size: 10px; font-weight: 400;
    color: var(--text-muted); letter-spacing: 0; margin-left: auto;
    white-space: nowrap;
}
.cart-btn {
    position: relative; background: linear-gradient(135deg, var(--primary), var(--burgundy));
    border: none; padding: 12px; border-radius: 50%; cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s; color: #fff;
    box-shadow: 0 4px 15px var(--shadow); display: flex; align-items: center; justify-content: center;
}
.cart-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px var(--shadow); }
.cart-btn svg { display: block; stroke: #fff; }
.cart-count {
    position: absolute; top: -5px; right: -5px; background: var(--gold);
    color: #fff; width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span { width: 25px; height: 3px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed; right: -450px; top: 0; width: 450px; height: 100vh; height: 100dvh;
    background: var(--bg-card); border-left: 3px solid var(--gold); z-index: 2000;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    will-change: right;
}
.cart-sidebar.active { right: 0; }
.cart-header {
    padding: 25px; border-bottom: 2px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--burgundy)); color: #fff;
}
.cart-header h2 { font-family: 'Cinzel', serif; font-size: 24px; letter-spacing: 3px; color: #fff; }
.close-cart {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    color: #fff; font-size: 28px; cursor: pointer; transition: 0.2s;
    width: 38px; height: 38px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; line-height: 1;
}
.close-cart:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px; background: var(--bg-section); }
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 80px; margin-bottom: 20px; opacity: 0.3; }
.cart-item {
    display: flex; gap: 15px; padding: 16px; background: var(--bg-card);
    border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cart-item-image { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; border: 2px solid var(--border); }
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--text); font-family: 'Cinzel', serif; }
.cart-item-options { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 17px; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn {
    width: 28px; height: 28px; border-radius: 6px; border: 2px solid var(--border);
    background: var(--bg-section); color: var(--text); cursor: pointer; font-weight: 700;
    transition: 0.3s; display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.remove-item { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 20px; transition: 0.3s; }
.remove-item:hover { color: var(--primary); }
.cart-footer { padding: 25px; border-top: 2px solid var(--border); background: var(--bg-card); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 15px; color: var(--text-muted); }
.cart-total-final {
    display: flex; justify-content: space-between; font-size: 22px; font-weight: 700;
    margin: 15px 0; padding-top: 15px; border-top: 2px solid var(--border);
    color: var(--text);
}
.cart-total-final span:last-child { color: var(--primary); }

.footer-links a + a::before {
    content: "|";
    color: rgba(255,255,255,0.15);
    padding-right: 12px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 6px;
    font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
    border: none; cursor: pointer; transition: all 0.3s; text-decoration: none;
    text-align: center; font-family: 'Cinzel', serif;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--burgundy)); color: #fff; box-shadow: 0 4px 15px var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; box-shadow: 0 4px 15px var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--shadow-gold); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-large { padding: 18px 40px; font-size: 14px; }
.btn-checkout, .btn-continue { width: 100%; margin-bottom: 10px; }
.btn-continue { background: var(--bg-section); border: 2px solid var(--border); color: var(--text-muted); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 130px 20px 80px; overflow: hidden;
    background: var(--bg-dark-section);
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(201,151,12,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,151,12,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
.gradient-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25;
    animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -10%; left: -5%; }
.orb-2 { width: 450px; height: 450px; background: var(--gold); bottom: -5%; right: 5%; animation-delay: 2s; }
.orb-3 { width: 350px; height: 350px; background: var(--burgundy); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 4s; }
@keyframes float {
    0%,100% { transform: translate(0,0); }
    33% { transform: translate(30px,-30px); }
    66% { transform: translate(-30px,30px); }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 1000px; color: #fff; }
.hero-badge {
    display: inline-block; padding: 10px 28px;
    background: rgba(201,151,12,0.15); border: 1.5px solid rgba(201,151,12,0.6);
    border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 35px;
    animation: pulse 2.5s infinite; letter-spacing: 2px; text-transform: uppercase;
    font-family: 'Cinzel', serif; color: var(--gold-light);
}
@keyframes pulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,151,12,0.3); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(201,151,12,0); }
}
.hero-title {
    font-family: 'Cinzel', serif; font-size: clamp(44px, 9vw, 90px); font-weight: 900;
    line-height: 1.05; margin-bottom: 30px; letter-spacing: 4px; color: #fff;
}
.title-word { display: block; animation: slideUp 0.8s ease-out backwards; word-break: break-word; }
.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.25s; }
.title-word:nth-child(3) { animation-delay: 0.4s; }
.title-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), #FFF3AA);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes slideUp { from { opacity:0; transform:translateY(50px); } }
.hero-subtitle {
    font-size: 18px; color: rgba(255,255,255,0.72); margin-bottom: 45px;
    animation: fadeIn 1s 0.6s backwards; letter-spacing: 1px; font-weight: 300;
}
@keyframes fadeIn { from { opacity:0; } }
.hero-cta {
    display: flex; gap: 20px; justify-content: center; margin-bottom: 70px;
    animation: fadeIn 1s 0.8s backwards; flex-wrap: wrap;
}
.hero-cta .btn-outline {
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}
.hero-cta .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff !important; }
.hero-stats {
    display: flex; justify-content: center; gap: 30px;
    animation: fadeIn 1s 1s backwards; flex-wrap: wrap;
}
.stat-card {
    text-align: center; padding: 22px 28px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(201,151,12,0.35);
    border-radius: 14px; backdrop-filter: blur(10px); min-width: 130px;
}
.stat-icon { font-size: 30px; margin-bottom: 8px; }
.stat-number {
    font-family: 'Cinzel', serif; font-size: 42px; font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }

/* ===== SECTIONS ===== */
section { padding: 100px 20px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.centered { max-width: 700px; margin-left: auto; margin-right: auto; }
.section-badge {
    display: inline-block; padding: 8px 22px; background: var(--gold-pale);
    border: 1.5px solid var(--gold); border-radius: 50px; font-size: 12px;
    font-weight: 700; margin-bottom: 20px; color: var(--gold);
    text-transform: uppercase; letter-spacing: 2px; font-family: 'Cinzel', serif;
}
.section-title {
    font-family: 'Cinzel', serif; font-size: clamp(36px, 7vw, 62px);
    font-weight: 900; letter-spacing: 3px; margin-bottom: 15px; color: var(--text);
}
.section-subtitle { font-size: 17px; color: var(--text-muted); }

/* ===== SHOP ===== */
.shop { background: var(--bg); }
.filter-tabs {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 50px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 12px 30px; background: var(--bg-card); border: 2px solid var(--border);
    border-radius: 6px; color: var(--text-muted); font-weight: 700; cursor: pointer;
    transition: 0.3s; font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    font-family: 'Cinzel', serif; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold); }
.filter-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--burgundy));
    border-color: transparent; color: #fff; box-shadow: 0 4px 15px var(--shadow);
}
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: 16px; overflow: hidden; transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.product-card:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 20px 40px var(--shadow-gold); }
.product-card--shirt { border: 2.5px solid var(--primary); box-shadow: 0 4px 18px rgba(185,28,28,0.18), 0 0 0 1px rgba(201,151,12,0.15); }
.product-card--shirt:hover { border-color: var(--gold); box-shadow: 0 20px 40px var(--shadow-gold), 0 0 0 2px rgba(201,151,12,0.35); }
.product-card--shirt .product-image { background: linear-gradient(160deg, #4a3728 0%, #362618 35%, #2a1d10 65%, #3e2c1a 100%); }
.product-card--shirt .product-image::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(80,50,20,0.22) 100%);
    z-index: 1; pointer-events: none;
}
.product-image {
    position: relative; width: 100%; padding-top: 115%; overflow: hidden;
    background: var(--bg-section);
}
.product-image img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: 0.5s;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-badge {
    position: absolute; top: 15px; right: 15px; padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), var(--burgundy));
    color: #fff; font-weight: 700; font-size: 11px; border-radius: 4px;
    text-transform: uppercase; z-index: 2; letter-spacing: 1px; font-family: 'Cinzel', serif;
}
.product-info { padding: 24px; }
.product-name {
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 17px;
    margin-bottom: 6px; color: var(--text);
}
.product-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.product-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.product-price {
    font-family: 'Cinzel', serif; font-size: 28px; font-weight: 700; color: var(--primary);
}
.add-to-cart {
    padding: 10px 22px; background: linear-gradient(135deg, var(--primary), var(--burgundy));
    border: none; border-radius: 6px; color: #fff; font-weight: 700; font-size: 12px;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase; letter-spacing: 1px; font-family: 'Cinzel', serif;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.add-to-cart:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--shadow); }
.product-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.option-group { display: flex; flex-direction: column; gap: 8px; }
.option-label {
    font-size: 11px; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 2px; font-family: 'Cinzel', serif;
}
.option-values { display: flex; gap: 8px; flex-wrap: wrap; }
.option-btn {
    padding: 7px 14px; background: var(--bg-section); border: 1.5px solid var(--border);
    border-radius: 5px; color: var(--text-muted); font-size: 12px; font-weight: 700;
    cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.option-btn:hover, .option-btn.active { border-color: var(--primary); background: rgba(185,28,28,0.08); color: var(--primary); }
.color-swatch-btn {
    min-width: 68px; font-weight: 700; letter-spacing: 0.5px;
    outline: 2px solid transparent; outline-offset: 2px;
    transition: transform 0.15s, box-shadow 0.15s, outline 0.15s;
}
.color-swatch-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.28); }
.color-swatch-btn.active {
    outline: 2.5px solid var(--primary); outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(185,28,28,0.18);
    transform: translateY(-1px);
}
.product-main-img { transition: opacity 0.2s ease; width:100%; height:100%; object-fit:cover; display:block; }

/* ===== FEATURES ===== */
.features { background: var(--bg-dark-section); padding: 80px 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 30px; }
.feature-box {
    text-align: center; padding: 40px 28px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,151,12,0.25); border-radius: 16px; transition: 0.3s; color: #fff;
}
.feature-box:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(255,255,255,0.07); }
.feature-icon { font-size: 48px; margin-bottom: 20px; }
.feature-box h3 { font-family: 'Cinzel', serif; font-size: 20px; margin-bottom: 12px; color: #fff; }
.feature-box p { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ===== ABOUT ===== */
.about { background: var(--bg-section); }
.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--text-muted); font-size: 17px; line-height: 1.9; margin-bottom: 20px; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; align-items: center; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text); font-size: 15px; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.stats-card {
    padding: 40px 30px; background: var(--bg-card); border: 2px solid var(--border-gold);
    border-radius: 20px; display: flex; flex-direction: column; gap: 28px;
    box-shadow: 0 8px 30px var(--shadow-gold);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stats-item {
    text-align: center; padding: 20px 10px; border-radius: 12px; background: var(--bg-section);
}
.stats-number { font-family: 'Cinzel', serif; font-size: 48px; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.stats-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-family: 'Cinzel', serif; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-section); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    padding: 28px; background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: 16px; text-align: center; transition: 0.3s; box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.contact-card:hover { border-color: var(--gold); box-shadow: 0 8px 24px var(--shadow-gold); }
.contact-icon { font-size: 38px; margin-bottom: 12px; }
.contact-card h3 { font-family: 'Cinzel', serif; font-size: 18px; margin-bottom: 8px; color: var(--text); }
.contact-card p { color: var(--text-muted); font-size: 14px; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 700; transition: color 0.2s; }
.contact-card a:hover { color: var(--gold); text-decoration: underline; }
.social-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.social-btn {
    padding: 9px 18px; background: var(--bg-section); border: 1.5px solid var(--border);
    border-radius: 6px; color: var(--text-muted); text-decoration: none; font-weight: 700;
    font-size: 12px; transition: 0.3s; font-family: 'Cinzel', serif; letter-spacing: 1px;
}
.social-btn:hover { border-color: var(--primary); background: rgba(185,28,28,0.07); color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form input, .contact-form textarea {
    padding: 16px 20px; background: var(--bg-card); border: 2px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: 15px; font-family: 'Lato', sans-serif;
    transition: 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,12,0.1);
}
.contact-form textarea { resize: vertical; min-height: 150px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark-section); padding: 60px 20px 30px; border-top: 3px solid var(--gold); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-logo { height: 80px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; font-style: italic; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 700; transition: 0.3s; text-transform: uppercase; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-powered { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-brandify { color: var(--gold); text-decoration: none; font-weight: 700; letter-spacing: 0.5px; transition: color 0.2s; }
.footer-brandify:hover { color: var(--gold-light); text-decoration: underline; }

/* ===== MODALS ===== */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26,10,5,0.88); z-index: 3000; overflow-y: auto; padding: 20px;
    backdrop-filter: blur(8px);
}
.modal.active { display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; }
.modal-content {
    background: var(--bg-card); border: 2px solid var(--gold); border-radius: 20px;
    padding: 40px; max-width: 600px; width: 100%; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-close {
    position: absolute; top: 18px; right: 18px; background: var(--bg-section);
    border: 1.5px solid var(--border); color: var(--text-muted); font-size: 20px;
    cursor: pointer; transition: 0.3s; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.modal-close:hover { color: var(--primary); border-color: var(--primary); transform: rotate(90deg); }

.checkout-modal-content {
    padding: 0; overflow: hidden; max-width: 680px;
    border: 2px solid var(--gold); box-shadow: 0 0 60px rgba(201,151,12,0.2), 0 20px 60px rgba(0,0,0,0.2);
}
.checkout-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--burgundy) 60%, #3D0000 100%);
    padding: 32px 36px 28px; border-bottom: 2px solid var(--gold); position: relative; overflow: hidden;
}
.checkout-modal-header::before {
    content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,151,12,0.2) 0%, transparent 70%); border-radius: 50%;
}
.checkout-modal-content .modal-close {
    top: 18px; right: 18px; background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25); color: #fff;
}
.checkout-modal-content .modal-close:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); color: #fff; }
.checkout-brand-badge {
    display: inline-block; padding: 6px 16px; background: rgba(201,151,12,0.18);
    border: 1px solid rgba(201,151,12,0.5); border-radius: 50px; font-size: 11px;
    font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; color: var(--gold-light);
    font-family: 'Cinzel', serif;
}
.checkout-title {
    font-family: 'Cinzel', serif; font-size: 40px; font-weight: 900; letter-spacing: 4px;
    margin-bottom: 24px; color: #fff;
}
.checkout-steps-indicator { display: flex; align-items: center; gap: 0; }
.step-indicator {
    display: flex; align-items: center; gap: 10px; opacity: 0.35;
    transition: opacity 0.3s; color: rgba(255,255,255,0.8);
}
.step-indicator.active { opacity: 1; }
.step-dot {
    width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.25); display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 14px; transition: 0.3s;
    flex-shrink: 0; color: #fff;
}
.step-indicator.active .step-dot { background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-color: transparent; color: #fff; }
.step-indicator span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; font-family: 'Cinzel', serif; color: rgba(255,255,255,0.8); }
.step-indicator-line { flex: 1; height: 1px; background: rgba(255,255,255,0.2); margin: 0 16px; min-width: 40px; }

.checkout-step { display: none; padding: 30px 36px 36px; }
.checkout-step.active { display: block; }
.checkout-section-label {
    display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted);
    margin-bottom: 20px; font-family: 'Cinzel', serif;
}
.checkout-section-icon { font-size: 18px; }
.checkout-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.input-group { display: flex; flex-direction: column; gap: 7px; }
.input-group label {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted); font-family: 'Cinzel', serif;
}
.input-group input, .input-group select {
    width: 100%; padding: 14px 18px; background: var(--bg-section);
    border: 1.5px solid var(--border); border-radius: 8px; color: var(--text);
    font-size: 15px; font-family: 'Lato', sans-serif; transition: 0.3s;
}
.input-group input:focus, .input-group select:focus {
    outline: none; border-color: var(--gold); background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(201,151,12,0.12);
}
.input-group select option { background: var(--bg-card); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-three { grid-template-columns: 1fr 1fr 1fr; }
.full-width { grid-column: 1 / -1; }

.checkout-continue-btn { width: 100%; }
.order-summary-styled {
    background: var(--bg-section); border: 1.5px solid var(--border); border-radius: 12px;
    padding: 22px; margin-bottom: 24px;
}
.checkout-items-list { display: flex; flex-direction: column; gap: 0; }
.checkout-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px;
    color: var(--text-muted);
}
.checkout-item span:last-child { color: var(--text); font-weight: 700; white-space: nowrap; margin-left: 12px; }
.summary-divider { height: 1.5px; background: var(--border); margin: 16px 0 12px; }
.summary-row {
    display: flex; justify-content: space-between; font-size: 15px;
    margin-bottom: 10px; color: var(--text-muted);
}
.summary-row span:last-child { color: var(--text); font-weight: 700; }
.summary-row-total {
    font-size: 20px; font-weight: 800; padding-top: 12px;
    border-top: 1.5px solid var(--border); margin-top: 4px;
}
.total-amount { color: var(--primary) !important; font-family: 'Cinzel', serif; font-size: 28px !important; letter-spacing: 1px; }

.payfast-block {
    background: linear-gradient(135deg, rgba(185,28,28,0.06), rgba(201,151,12,0.06));
    border: 1.5px solid rgba(201,151,12,0.3); border-radius: 12px; padding: 22px; margin-bottom: 24px;
}
.payfast-label {
    display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary);
    margin-bottom: 10px; font-family: 'Cinzel', serif;
}
.payfast-description { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.payfast-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.payfast-badge {
    padding: 6px 14px; background: var(--bg-section); border: 1px solid var(--border);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--text-muted);
}
.checkout-actions { display: flex; gap: 14px; }
.checkout-back-btn { flex: 0 0 auto; min-width: 110px; }
.checkout-pay-btn { flex: 1; }

.success-content { text-align: center; }
.success-icon { font-size: 80px; margin-bottom: 20px; }
.success-content h2 { font-family: 'Cinzel', serif; font-size: 36px; letter-spacing: 2px; margin-bottom: 20px; color: var(--text); }
.success-content p { color: var(--text-muted); margin-bottom: 15px; font-size: 16px; }
.success-actions { display: flex; gap: 15px; margin-top: 30px; }
.success-actions .btn { flex: 1; }

/* ============================================================
   RESPONSIVE BREAKPOINTS — fully optimized for all screens
   ============================================================ */

/* Tablet: 769px – 968px */
@media (min-width: 769px) and (max-width: 968px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: clamp(36px, 6vw, 58px); }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .checkout-modal-content { max-width: 90vw; }
}

/* Mobile & small tablets: up to 968px */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed; top: 68px; left: -100%; width: 100%;
        height: calc(100vh - 68px); background: rgba(250,250,248,0.99);
        backdrop-filter: blur(20px); flex-direction: column; padding: 40px;
        transition: 0.3s; border-top: 2px solid var(--border-gold);
        overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

    .nav-menu li { width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
    .nav-dropdown-trigger {
        display: inline-flex !important; align-items: center; justify-content: center;
        gap: 6px; padding: 12px 0 !important; width: auto !important;
        font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 2px; color: var(--text);
        background: none !important; border: none !important; cursor: pointer;
        position: relative; transition: color 0.3s ease;
        -webkit-appearance: none; appearance: none; margin: 0;
    }
    .nav-dropdown-trigger::after {
        content: ''; position: absolute; bottom: 4px; left: 0;
        width: 0; height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--gold));
        transition: width 0.3s ease;
    }
    .nav-dropdown-trigger:hover::after,
    .nav-item-dropdown.dropdown-open .nav-dropdown-trigger::after { width: 100%; }
    .nav-link { display: inline-flex !important; align-items: center; justify-content: center; padding: 12px 0 !important; width: auto !important; }
    .dropdown-caret { font-size: 10px; transition: transform 0.25s ease; display: inline-block; line-height: 1; }
    .nav-item-dropdown.dropdown-open .dropdown-caret { transform: rotate(180deg); }
    .nav-dropdown-menu {
        position: static !important; transform: none !important; opacity: 1 !important;
        visibility: visible !important; pointer-events: all !important;
        box-shadow: none !important; border: none !important;
        border-top: 1.5px solid var(--border) !important; border-radius: 0 !important;
        padding: 6px 0 0 !important; margin-top: 6px; display: none;
        background: transparent !important; width: 100%; min-width: unset;
    }
    .nav-item-dropdown.dropdown-open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu::before { display: none !important; }
    .dropdown-section-label, .dropdown-divider { display: none; }
    .dropdown-item {
        display: flex !important; align-items: center; justify-content: center;
        gap: 10px; padding: 10px 12px !important; width: 100% !important;
        text-align: center; background: none !important; border: none !important;
        color: var(--text-muted) !important; font-family: 'Cinzel', serif;
        font-size: 12px !important; font-weight: 600; letter-spacing: 0.5px;
        cursor: pointer; transition: color 0.2s, background 0.2s;
        border-radius: 6px; min-height: 44px;
    }
    .dropdown-item:hover, .dropdown-item:active {
        background: var(--gold-pale) !important; color: var(--primary) !important;
    }
    .dropdown-item-icon { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; }
    .dropdown-item-sub { display: none !important; }

    .cart-btn {
        display: inline-flex !important; align-items: center; justify-content: center;
        padding: 12px !important; margin: 0 auto; position: relative;
        background: linear-gradient(135deg, var(--primary), var(--burgundy));
        border: none; border-radius: 50%; cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s; color: #fff;
        box-shadow: 0 4px 15px var(--shadow); width: 50px; height: 50px; flex-shrink: 0;
    }
    .cart-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px var(--shadow); }
    .cart-btn svg { display: block; stroke: #fff; width: 22px; height: 22px; }
    .cart-count {
        position: absolute; top: -4px; right: -4px; background: var(--gold);
        color: #fff; width: 22px; height: 22px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 12px; font-weight: 700; font-family: 'Cinzel', serif; line-height: 1;
    }
    .nav-menu { padding: 24px 20px 40px !important; gap: 6px !important; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { flex-wrap: wrap; }
    .about-content, .contact-grid { grid-template-columns: 1fr; }
    .cart-sidebar { width: 100%; right: -100%; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
    .footer-links { flex-direction: column; gap: 15px; align-items: center; }
    .site-header { font-size: clamp(14px, 3vw, 28px); }
}

/* Fine‑tuning for small phones (480px and below) */
@media (max-width: 480px) {
    .nav-dropdown-trigger { font-size: 12px !important; letter-spacing: 1.5px !important; padding: 10px 0 !important; }
    .nav-link { font-size: 12px !important; letter-spacing: 1.5px !important; padding: 10px 0 !important; }
    .dropdown-item { font-size: 11px !important; padding: 8px 10px !important; min-height: 38px; }
    .hero-title {
        font-size: 36px !important;
        letter-spacing: 1px !important;
    }
}

/* Main mobile adjustments (600px and below) */
@media (max-width: 600px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-three { grid-template-columns: 1fr; }
    .checkout-actions, .success-actions { flex-direction: column; }
    .checkout-modal-header { padding: 24px 20px 20px; }
    .checkout-step { padding: 20px 20px 24px; }
    .checkout-title { font-size: 30px; }
    .checkout-back-btn { min-width: unset; }
    .product-info { padding: 14px; }
    .product-name { font-size: 14px; }
    .product-price { font-size: 20px; }
    .add-to-cart { padding: 8px 12px; font-size: 10px; }
    .option-btn { padding: 5px 10px; font-size: 11px; }
    .filter-tabs { gap: 8px; }
    .filter-tab { padding: 9px 16px; font-size: 10px; letter-spacing: 1px; }
    section { padding: 60px 16px; }
    .hero { padding: 110px 16px 60px; }
    .stat-card { padding: 16px 18px; min-width: 100px; }
    .stat-number { font-size: 30px; }
    .hero-subtitle { font-size: 15px; }

    /* About & stats alignment */
    .about-text {
        text-align: center;
    }
    .about-text p {
        text-align: center;
        font-size: 15px;
        padding: 0 4px;
    }
    .about-list {
        align-items: center;
        padding: 0;
        margin: 24px auto;
    }
    .about-list li {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 6px 0;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .about-stats {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .stats-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 30px 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        justify-items: center;
    }
    .stats-item {
        width: 100%;
        padding: 16px 10px;
    }
    .stats-number {
        font-size: 36px;
    }
    .stats-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Features cards */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .feature-box {
        padding: 28px 16px;
    }
    .feature-box h3 {
        font-size: 17px;
    }
    .feature-box p {
        font-size: 13px;
    }
}

/* Tiny screens (400px and below) – single column for stats & features */
@media (max-width: 400px) {
    .products-grid { grid-template-columns: 1fr; }
    .site-header { display: none; }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-list li {
        max-width: 100%;
        font-size: 14px;
    }
}

/* Extra tiny (360px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 28px !important;
        letter-spacing: 0px !important;
    }
    .filter-tabs {
        overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch;
        scrollbar-width: none; padding-bottom: 4px;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tab { flex-shrink: 0; }
    .hero-stats { gap: 10px; }
    .stat-card { min-width: 80px; padding: 12px; }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@media print {
    .navbar, .cart-sidebar, .modal, .cart-btn, .add-to-cart { display: none !important; }
    body { background: #fff; color: #000; }
}
.features, .about, .contact { content-visibility: auto; contain-intrinsic-size: 0 500px; }
.product-main-img { image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }

/* ============================================================
   TERMS & CONDITIONS POPUP
   ============================================================ */
.terms-popup-content {
    max-width: 520px;
    padding: 40px 36px;
    border: 2px solid #D4AF37;
    border-radius: 20px;
    background: #F7F2EA;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(201,151,12,0.15);
}
.terms-popup-header {
    text-align: center;
    margin-bottom: 24px;
}
.terms-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    color: #D4AF37;
}
.terms-popup-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 900;
    color: #1A0A05;
    letter-spacing: 1px;
}
.terms-popup-body p {
    color: #4A3520;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.terms-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.terms-list li {
    padding: 6px 0;
}
.terms-list a {
    color: #B91C1C;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
}
.terms-list a:hover {
    color: #D4AF37;
    text-decoration: underline;
}
.terms-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0 28px 0;
    padding: 16px;
    background: #EDE5D8;
    border-radius: 10px;
    border: 1px solid #E8DDD0;
}
.terms-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #B91C1C;
    cursor: pointer;
}
.terms-checkbox-group label {
    font-size: 14px;
    line-height: 1.6;
    color: #1A0A05;
    cursor: pointer;
}
.terms-checkbox-group label strong {
    color: #B91C1C;
}
.terms-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}
.terms-actions .btn {
    min-width: 120px;
    padding: 12px 24px;
    font-size: 13px;
}
.terms-cancel-btn {
    background: transparent;
    border: 2px solid #E8DDD0;
    color: #78614A;
}
.terms-cancel-btn:hover {
    border-color: #B91C1C;
    color: #B91C1C;
}
.terms-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
@media (max-width: 480px) {
    .terms-popup-content { padding: 28px 20px; }
    .terms-actions { flex-direction: column; }
    .terms-actions .btn { width: 100%; }
}

/* ============================================================
   LIGHTBOX ZOOM
   ============================================================ */
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 10px;
    background: rgba(0,0,0,0.9);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-content .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 30px;
    width: 45px;
    height: 45px;
}
.lightbox-content .modal-close:hover {
    background: rgba(255,255,255,0.3);
    border-color: #D4AF37;
    color: #D4AF37;
}

/* ===== SAFE AREA ===== */
@supports (padding: env(safe-area-inset-bottom)) {
    .navbar { padding-top: env(safe-area-inset-top); }
    .cart-sidebar { padding-bottom: env(safe-area-inset-bottom); }
    .modal-content { margin-bottom: env(safe-area-inset-bottom); }
}