/* --- RESET & BASE --- */
:root {
    --bg: #141414; 
    --text: #ffffff; 
    --accent: #D0021B; 
    --accent-dim: rgba(208, 2, 27, 0.3);
    --glass: rgba(20, 20, 20, 0.95); 
    --border: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', sans-serif; 
    --font-head: 'Oswald', sans-serif;
    --font-logo: 'Metal Mania', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-user-select: none; user-select: none; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff0000; }

html { scroll-behavior: smooth; font-size: 16px; } 
body { background: radial-gradient(circle at center top, #1a1a1a, var(--bg)); color: var(--text); font-family: var(--font-main); overflow-x: hidden; width: 100%; min-height: 100vh; }

/* PRELOADER */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s; }
.loader-bolt { width: 80px; height: 80px; color: var(--accent); filter: drop-shadow(0 0 20px var(--accent)); animation: pulseLoad 1s infinite alternate; }
@keyframes pulseLoad { from { transform: scale(1); opacity: 0.5; } to { transform: scale(1.2); opacity: 1; } }
.loaded #preloader { opacity: 0; visibility: hidden; }

/* BACKGROUNDS */
.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }
.fixed-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.15; }
.bg-bolt { position: absolute; fill: none; stroke: var(--accent); stroke-width: 2px; width: 30vw; height: 80vh; }
.bg-bolt.left { top: 10%; left: -5%; transform: rotate(10deg); }
.bg-bolt.right { top: 5%; right: -5%; transform: scaleX(-1) rotate(-10deg); }

/* HEADER */
#main-header { position: sticky; top: 0; z-index: 100; background: rgba(15,15,15,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); width: 100%; }
.header-container { max-width: 1800px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.header-left { display: flex; align-items: center; gap: 25px; }
.menu-trigger { display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; transition: 0.3s; width: 50px; height: 50px; }
.menu-trigger i { font-size: 1.8rem; }
.menu-trigger:hover { color: var(--accent); transform: scale(1.1); }
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #fff; }
.logo-bolt-svg { width: 40px; height: 40px; color: var(--accent); transition: 0.3s; filter: drop-shadow(0 0 5px var(--accent)); }
.logo-text { font-family: var(--font-logo); font-size: 2.5rem; letter-spacing: 2px; line-height: 1; transition: 0.3s; }
.logo:hover .logo-text { color: var(--accent); text-shadow: 0 0 20px var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 30px; }
.lang-btn { cursor: pointer; font-weight: 700; font-size: 0.9rem; transition: 0.2s; }
.lang-btn:hover { color: var(--accent); }
.icons { display: flex; gap: 20px; align-items: center; }
.icon-btn { font-size: 1.4rem; cursor: pointer; transition: 0.2s; position: relative; color: #ddd; }
.icon-btn:hover { color: var(--accent); transform: scale(1.1); }
#cart-count { position: absolute; top: -5px; right: -8px; background: var(--accent); color: #fff; font-size: 0.7rem; width: 18px; height: 18px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; border: 2px solid #050505; }
.search-bar { position: absolute; top: 100%; right: 0; width: 100%; background: #111; padding: 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: 0.3s; z-index: -1; }
.search-bar.active { opacity: 1; visibility: visible; transform: translateY(0); }
.search-bar input { background: transparent; border: none; border-bottom: 1px solid #444; color: #fff; outline: none; padding: 10px; font-size: 1.2rem; width: 100%; }

/* HERO */
.hero { position: relative; width: 100%; height: 90vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background-color: #000; margin-top: 0; }
.hero-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4), var(--bg)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1000px; padding: 20px; }
.hero-tag { background: rgba(208,2,27,0.2); border: 1px solid var(--accent); color: #fff; padding: 8px 16px; display: inline-block; font-weight: 800; font-size: 0.8rem; margin-bottom: 20px; letter-spacing: 3px; border-radius: 30px; backdrop-filter: blur(10px); }
.glitch-text { font-family: var(--font-head); font-size: 5rem; line-height: 0.9; font-weight: 800; margin-bottom: 40px; text-transform: uppercase; color: #fff; text-shadow: 3px 3px 0px var(--accent); }
.glitch-text span { color: transparent; -webkit-text-stroke: 1px #fff; font-style: italic; }
.cta-btn { padding: 18px 50px; background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.4); font-size: 1rem; font-weight: 800; letter-spacing: 2px; cursor: pointer; transition: 0.3s; font-family: var(--font-head); text-transform: uppercase; border-radius: 50px; }
.cta-btn:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 30px var(--accent); transform: translateY(-3px); }

/* FILTERS */
.filters { display: flex; justify-content: center; gap: 15px; margin: 40px 0; position: sticky; top: 90px; z-index: 90; padding: 10px 0; }
.filter-btn { background-color: rgba(20, 20, 20, 0.9); backdrop-filter: blur(8px); border: 1px solid #444; color: #888; padding: 10px 25px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.filter-btn.active, .filter-btn:hover { border-color: var(--accent); color: #fff; background-color: var(--accent-dim); box-shadow: 0 0 15px var(--accent-dim); }

/* PRODUCTS */
.main-container { max-width: 1600px; margin: 0 auto; padding: 40px 20px; width: 100%; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; }
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }
.card { background: #1a1a1a; border-radius: 15px; border: 1px solid #333; overflow: hidden; cursor: pointer; transition: 0.4s ease; position: relative; }
.card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--accent); box-shadow: 0 15px 40px rgba(0,0,0,0.8); }
.card-img-wrap { aspect-ratio: 3/4; overflow: hidden; background: #141414; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
.card:hover .card-img { transform: scale(1.1); }
.card-info { padding: 20px; text-align: center; }
.card-info h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.price { color: var(--accent); font-weight: 700; font-size: 1.2rem; }

/* FOOTER */
#main-footer { background: #111; padding: 80px 0 30px; margin-top: auto; border-top: 1px solid #222; }
.footer-inner { max-width: 1600px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand h2 { font-family: var(--font-logo); font-size: 2.5rem; margin-bottom: 20px; color: var(--accent); }
.footer-brand p { color: #ccc; font-size: 0.9rem; max-width: 350px; margin-bottom: 25px; line-height: 1.6; }
.socials a { color: #fff; font-size: 1.3rem; margin-right: 20px; transition: 0.3s; }
.socials a:hover { color: var(--accent); transform: translateY(-5px); }
.footer-links h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; letter-spacing: 1px; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.9rem; transition: 0.3s; margin-bottom: 10px; display: block; }
.footer-links a:hover { color: var(--accent); padding-left: 10px; }
.copyright { text-align: center; color: #555; font-size: 0.8rem; margin-top: 50px; border-top: 1px solid #222; padding-top: 20px; }

/* --- SIDEBAR & MENU (POPRAWIONE) --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.right-aligned { justify-content: flex-end; align-items: stretch; }

/* Panel Boczny (Menu/Koszyk) */
.menu-panel, .side-panel { 
    position: absolute; top: 0; height: 100%; width: 100%; max-width: 380px; 
    background: #0a0a0a; display: flex; flex-direction: column; 
    animation: slideIn 0.4s; box-shadow: 10px 0 50px rgba(0,0,0,0.5); 
    padding: 30px; overflow-y: auto; border-right: 1px solid var(--accent);
}
.menu-panel { left: 0; }
.side-panel { right: 0; left: auto; border-left: 1px solid var(--accent); border-right: none; animation: slideInRight 0.4s; }

@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* Nagłówek Menu */
.menu-header, .cart-top { 
    display: flex; justify-content: space-between; align-items: center; 
    padding-bottom: 20px; border-bottom: 1px solid #333; margin-bottom: 30px; 
}
.menu-header h2, .cart-top h2 { font-family: var(--font-head); font-size: 1.8rem; color: #fff; margin: 0; letter-spacing: 2px; }

/* X Close Button */
.close-icon { font-size: 1.5rem; cursor: pointer; transition: 0.3s; color: #888; }
.close-icon:hover { color: var(--accent); transform: rotate(90deg); }

/* Menu Linki */
.menu-content { display: flex; flex-direction: column; gap: 20px; }
.menu-category { margin-bottom: 10px; }
.cat-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: #fff; cursor: pointer; text-transform: uppercase; display: block; margin-bottom: 10px; transition: 0.2s; }
.cat-title:hover { color: var(--accent); padding-left: 5px; }
.sub-cat { list-style: none; padding-left: 15px; margin: 0; border-left: 1px solid #333; }
.sub-cat li { font-size: 0.95rem; color: #aaa; padding: 6px 0; cursor: pointer; transition: 0.2s; }
.sub-cat li:hover { color: #fff; transform: translateX(5px); }

/* Dolne linki */
.menu-divider { height: 1px; background: #333; margin: 20px 0; }
.menu-links-group { display: flex; flex-direction: column; gap: 10px; }
.menu-link { display: block; font-family: var(--font-head); font-size: 1.1rem; color: #fff; text-decoration: none; transition: 0.3s; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.menu-link:hover { color: var(--accent); letter-spacing: 1px; padding-left: 10px; }

/* --- MODALE --- */
.modal-box { position: relative; background: #1a1a1a; border: 1px solid #333; overflow: hidden; animation: popUp 0.4s; }
.glass-box { background: var(--glass); backdrop-filter: blur(30px); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,0.9); border: 1px solid var(--border); }
@keyframes popUp { from { transform: scale(0.9) translateY(30px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.close-btn-round { 
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; 
    border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); 
    color: #fff; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; 
    transition: 0.3s; 
}
.close-btn-round:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }

/* AUTH */
.modal-box:not(.product-box):not(.side-panel):not(.menu-panel):not(.prompt-box):not(.checkout-box):not(.settings-modal) { width: 100%; max-width: 450px; padding: 40px; background: #1a1a1a; }
.auth-head { text-align: center; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.auth-head h2 { font-family: var(--font-logo); font-size: 2.5rem; margin-bottom: 5px; color: var(--accent); }
.auth-switch { display: flex; margin-bottom: 30px; background: rgba(0,0,0,0.5); border-radius: 10px; padding: 5px; border: 1px solid var(--border); }
.auth-switch button { flex: 1; background: transparent; border: none; color: #888; padding: 12px; cursor: pointer; font-weight: 700; border-radius: 8px; transition: 0.3s; font-size: 0.9rem; }
.auth-switch button.active { background: #222; color: #fff; border: 1px solid #444; }
form input, .modal-input { width: 100%; padding: 15px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 20px; color: #fff; outline: none; font-size: 1rem; transition: 0.3s; }
form input:focus, .modal-input:focus { border-color: var(--accent); background: #0a0a0a; }
.submit-btn { width: 100%; padding: 18px; background: #fff; color: #000; font-weight: 800; border: none; border-radius: 50px; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-family: var(--font-head); letter-spacing: 2px; font-size: 1rem; }
.submit-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.check-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 0.9rem; color: #ccc; }
.check-row input { width: auto; margin: 0; }
.terms-link { color: var(--accent); text-decoration: none; font-weight: 700; border-bottom: 1px solid transparent; transition: 0.3s; }
.terms-link:hover { color: #fff; border-bottom-color: #fff; }
.auth-divider { position: relative; text-align: center; margin: 25px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: #333; z-index: 0; }
.auth-divider span { position: relative; z-index: 1; background: #111; padding: 0 15px; color: #666; font-size: 0.8rem; font-weight: 700; font-family: var(--font-head); }
.guest-btn { width: 100%; padding: 15px; background: transparent; border: 2px solid #444; color: #ccc; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border-radius: 50px; transition: 0.3s; }
.guest-btn:hover { border-color: #fff; color: #fff; }

.vip-card { background: linear-gradient(135deg, #1a1a1a 0%, #000 100%); border: 2px solid var(--accent); border-radius: 15px; padding: 30px 20px; margin-bottom: 25px; box-shadow: 0 0 30px rgba(208,2,27,0.1); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; }
.vip-header { font-size: 0.8rem; color: var(--accent); letter-spacing: 4px; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid #333; padding-bottom: 15px; width: 100%; }
.avatar-circle { width: 80px; height: 80px; border: 3px solid var(--accent); font-size: 2.5rem; box-shadow: 0 0 20px var(--accent); text-shadow: 0 0 10px var(--accent); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--accent); margin-bottom: 15px; }
.user-info h3 { font-size: 1.5rem; font-family: var(--font-head); margin: 0; }
.vip-welcome { text-align: center; margin: 20px 0; color: #888; font-size: 0.9rem; }
.dark-btn { background: #111; color: #fff; border: 2px solid #333; }
.dark-btn:hover { background: var(--accent); border-color: var(--accent); }

/* CHECKOUT */
#checkout-header { display: flex !important; justify-content: space-between; align-items: center; padding: 15px 40px !important; background: rgba(10,10,10,0.95) !important; border-bottom: 1px solid var(--border); }
.back-shop-btn { display: flex; align-items: center; gap: 10px; color: #aaa; text-decoration: none; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; padding: 12px 25px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; transition: all 0.3s ease; background: rgba(0,0,0,0.3); }
.back-shop-btn:hover { color: #fff; border-color: var(--accent); background: rgba(208, 2, 27, 0.15); transform: translateX(-5px); box-shadow: 0 0 15px rgba(208, 2, 27, 0.2); }
.checkout-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.page-title { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 30px; color: #fff; text-transform: uppercase; }
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.checkout-left, .checkout-right { padding: 30px; border-radius: 15px; border: 1px solid var(--border); background: #1a1a1a; }
.checkout-left h3, .checkout-right h3 { font-family: var(--font-head); color: var(--accent); margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 10px; letter-spacing: 1px; }
.checkout-items { margin-bottom: 20px; max-height: 400px; overflow-y: auto; }
.check-item { display: flex; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.check-item img { width: 70px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid #333; }
.check-info h4 { font-size: 0.95rem; margin-bottom: 5px; font-family: var(--font-head); margin-top: 0; }
.check-price { font-weight: bold; color: #fff; margin-top: 5px; display: block; }
.checkout-summary-row { display: flex; justify-content: space-between; color: #aaa; margin-bottom: 10px; font-size: 0.9rem; }
.checkout-total-row { display: flex; justify-content: space-between; font-size: 1.5rem; font-weight: 800; color: #fff; margin-top: 20px; padding-top: 20px; border-top: 1px solid #444; font-family: var(--font-head); }
#checkout-final-total { color: var(--accent); text-shadow: 0 0 15px rgba(208,2,27,0.4); }

/* CUSTOM PROMPT */
.prompt-box { width: 90%; max-width: 450px; padding: 40px; text-align: center; background: #000; border: 2px solid var(--accent); box-shadow: 0 0 50px rgba(208,2,27,0.3); }
.modal-buttons { display: flex; gap: 15px; justify-content: center; }
.modal-btn-confirm { background: var(--accent); color: #fff; padding: 12px 30px; border-radius: 30px; border: none; font-weight: 800; cursor: pointer; font-family: var(--font-head); }
.modal-btn-confirm:hover { background: #fff; color: #000; }
.modal-btn-cancel { background: transparent; border: 1px solid #444; color: #888; padding: 12px 30px; border-radius: 30px; cursor: pointer; font-family: var(--font-head); }
.modal-btn-cancel:hover { border-color: #fff; color: #fff; }

/* --- NOWY, LEPSZY COOKIE BANNER --- */
.cookie-banner { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: rgba(10, 10, 10, 0.95); /* Półprzezroczyste tło */
    border-top: 1px solid #333;
    padding: 15px 40px; 
    z-index: 9999;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}
.cookie-banner.hidden { display: none; }

.cookie-content p { color: #ccc; font-size: 0.9rem; margin: 0; max-width: 700px; }
.cookie-content a { color: #fff; text-decoration: underline; }

.cookie-actions { display: flex; gap: 15px; }

/* Guziki Cookies */
.btn-cookie-accept { 
    background: #fff; color: #000; border: none; 
    padding: 10px 25px; font-weight: 700; font-size: 0.85rem; 
    text-transform: uppercase; cursor: pointer; letter-spacing: 1px;
    font-family: var(--font-head); transition: 0.3s;
}
.btn-cookie-accept:hover { background: var(--accent); color: #fff; }

.btn-cookie-settings { 
    background: transparent; color: #888; border: 1px solid #444; 
    padding: 10px 20px; font-weight: 700; font-size: 0.85rem; 
    text-transform: uppercase; cursor: pointer; letter-spacing: 1px;
    font-family: var(--font-head); transition: 0.3s;
}
.btn-cookie-settings:hover { border-color: #fff; color: #fff; }

/* MODAL USTAWIEŃ COOKIES (PREFERENCE CENTER) */
.settings-modal { width: 100%; max-width: 600px; background: #111; padding: 0 !important; border: 1px solid #333; display: flex; flex-direction: column; }
.settings-header { padding: 25px; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
.settings-header h3 { font-family: var(--font-head); font-size: 1.5rem; margin: 0; letter-spacing: 1px; }
.settings-body { padding: 25px; max-height: 60vh; overflow-y: auto; }
.settings-footer { padding: 20px 25px; border-top: 1px solid #222; display: flex; justify-content: flex-end; gap: 15px; background: #0a0a0a; }

.cookie-option { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #222; }
.cookie-option:last-child { border-bottom: none; }
.opt-info h4 { font-size: 1rem; margin: 0 0 5px; color: #fff; }
.opt-info p { font-size: 0.85rem; color: #888; margin: 0; }

/* Switch Toggle */
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(18px); }
input:disabled + .slider { background-color: #222; cursor: not-allowed; opacity: 0.5; }

/* RWD */
@media(max-width: 768px) {
    .cookie-banner { flex-direction: column; padding: 20px; text-align: center; gap: 15px; }
    .cookie-actions { width: 100%; flex-direction: column; }
    .btn-cookie-accept, .btn-cookie-settings { width: 100%; }
}

/* Product Modals */
.product-box { width: 95%; max-width: 1200px; height: 85vh; display: flex; padding: 0; flex-direction: row; background: #1a1a1a; border: 1px solid #333; }
.p-image { flex: 0 0 50%; background: #111; position: relative; cursor: zoom-in; border-right: 1px solid var(--border); overflow: hidden; }
.p-image img { width: 100%; height: 100%; object-fit: cover; }
.p-details { flex: 0 0 50%; padding: 50px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
#p-title { font-size: 3.5rem; margin-bottom: 20px; font-family: var(--font-head); text-transform: uppercase; line-height: 1; }
.p-price { color: var(--accent); font-size: 2rem; margin-bottom: 20px; }
.p-desc { color: #ccc; margin-bottom: 30px; line-height: 1.6; font-size: 1rem; }
.sizes { display: flex; gap: 10px; margin-bottom: 30px; }
.size-opt { width: 60px; height: 60px; border: 2px solid #333; border-radius: 15px; font-size: 1.1rem; background: rgba(0,0,0,0.5); color: #fff; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; font-weight: 700; }
.size-opt:hover, .size-opt.sel { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 20px var(--accent-dim); }
.cart-add-btn { padding: 25px 40px; background: var(--accent); color: #fff; font-size: 1.2rem; }
.size-guide-link { color: #888; text-decoration: underline; font-size: 0.85rem; cursor: pointer; margin-left: 10px; transition: 0.2s; }
.size-guide-link:hover { color: var(--accent); }

.cart-list { flex: 1; overflow-y: auto; padding-right: 10px; }
.c-item { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.08); align-items: center; }
.c-item img { width: 100px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid #333; }
.c-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.c-name { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
.c-size { font-size: 0.9rem; color: #aaa; }
.c-price { color: var(--accent); font-weight: 700; font-size: 1.2rem; margin-top: 5px; }
.c-remove { cursor: pointer; color: #666; font-size: 1.2rem; transition: 0.3s; padding: 10px; }
.c-remove:hover { color: var(--accent); transform: scale(1.2); }
.cart-bot { padding-top: 30px; border-top: 1px solid var(--border); background: linear-gradient(to top, rgba(0,0,0,0.2), transparent); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; font-family: var(--font-head); }
.cart-total span:last-child { color: var(--accent); text-shadow: 0 0 15px var(--accent-dim); }

#size-modal { z-index: 3000 !important; background: rgba(0,0,0,0.9); }
.size-box { width: 95%; max-width: 600px; padding: 40px; background: #1a1a1a; border: 1px solid #333; }
.size-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.size-table th, .size-table td { border: 1px solid #333; padding: 15px; text-align: center; color: #fff; }
.size-table th { background: var(--accent); color: #fff; font-family: var(--font-head); letter-spacing: 1px; }
.size-table tr:nth-child(even) { background: rgba(255,255,255,0.05); }

#lightbox { z-index: 4000; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.close-modal-x { position: absolute; top: 30px; right: 30px; color: #fff; font-size: 3.5rem; cursor: pointer; transition: 0.2s; }
.close-modal-x:hover { color: var(--accent); }

.toast { position: fixed; bottom: 30px; left: 30px; background: #000; color: #fff; padding: 15px 25px; border-left: 5px solid var(--accent); border-radius: 8px; font-family: var(--font-head); box-shadow: 0 5px 20px rgba(0,0,0,0.8); animation: slideInLeft 0.3s; z-index: 10000; font-size: 1rem; letter-spacing: 1px; }
@keyframes slideInLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.hidden { display: none !important; }

@media(max-width: 1024px) { 
    .desktop-menu { display: none; } 
    .hamburger { display: block !important; } 
    .product-box { flex-direction: column; height: auto; min-height: 100%; overflow-y: auto; }
    .p-image { flex: 0 0 auto; height: 400px; border-right: none; border-bottom: 1px solid var(--border); }
    .p-details { flex: 0 0 auto; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { padding-top: 60px; }
    .side-panel { width: 90%; }
    .menu-panel { width: 85%; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-right { order: -1; }
    #checkout-header { padding: 15px 20px !important; flex-direction: column-reverse; gap: 20px; }
    .back-shop-btn { width: 100%; justify-content: center; }
}