/* --- 1. ZÁKLAD, PROMĚNNÉ & SCROLLBAR --- */
:root {
    --bg-dark: #050505; --bg-panel: #111111;
    --text-main: #ffffff; --text-muted: #888888;
    --accent: #FF5722; --accent-dim: rgba(255, 87, 34, 0.2);
    --border: #222222;
    --font-heading: 'Rajdhani', sans-serif; --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--accent) #050505; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-accent { color: var(--accent); }

/* Vlastní Scrollbar (Chrome/Safari) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 5px; border: 2px solid #050505; }
::-webkit-scrollbar-thumb:hover { background-color: #ff7043; }

/* --- 2. NAVIGACE --- */
nav { position: fixed; width: 100%; padding: 20px 0; z-index: 1000; background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s; top: 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; z-index: 1002; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; letter-spacing: 1px; position: relative; }
.nav-links a:not(.btn-nav):hover { color: var(--accent); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background: var(--accent); transition: 0.3s; }
.nav-links a:hover::after { width: 100%; }
.btn-nav { border: 1px solid var(--accent); padding: 8px 25px; color: var(--accent) !important; transition: 0.3s; }
.btn-nav:hover { background: var(--accent); color: #fff !important; }
.btn-nav::after { display: none; }
.menu-toggle { display: none; cursor: pointer; z-index: 1002; }
.bar { display: block; width: 25px; height: 2px; margin: 6px auto; transition: 0.3s; background-color: #fff; }

/* --- 3. HERO SEKCE & ANIMACE --- */
#hero { height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid-bg { position: absolute; width: 100%; height: 100%; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 50px 50px; z-index: -1; mask-image: radial-gradient(circle, black 30%, transparent 80%); }
.hero-content { z-index: 2; max-width: 900px; padding-top: 89px; }
.hero-tagline { color: var(--accent); letter-spacing: 4px; margin-bottom: 15px; font-size: 1rem; font-weight: 600; }
.hero-title { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.1; margin-bottom: 25px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.2rem; color: #bbb; max-width: 650px; margin-bottom: 50px; font-weight: 300; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

/* Glitch Efekt */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); }
.glitch::before { left: 2px; text-shadow: -1px 0 red; clip: rect(24px, 550px, 90px, 0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -1px 0 blue; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0% { clip: rect(30px, 9999px, 10px, 0); } 100% { clip: rect(80px, 9999px, 90px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(10px, 9999px, 80px, 0); } 100% { clip: rect(90px, 9999px, 10px, 0); } }

/* Tlačítka */
.btn { padding: 18px 40px; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; display: inline-block; border: 1px solid transparent; font-size: 0.9rem; transition: var(--transition); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: 0 0 20px var(--accent-dim); transform: translateY(-3px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,87,34,0.05); }
.btn-secondary { background: #333; color: #fff; border: 1px solid #555; padding: 8px 15px; border-radius: 4px; cursor: pointer; font-size: 0.85rem; transition: 0.3s; width: 100%; }
.btn-secondary:hover { background: #444; border-color: #777; }

/* --- 4. HLAVNÍ SEKCE & KOMPONENTY --- */
section, .content-section { padding: 120px 0; position: relative; }
.content-section { background: var(--bg-dark); min-height: 80vh; padding-top: 140px; }
.section-dark { background: #080808; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; }
.section-header { text-align: center; margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 3rem; margin-bottom: 20px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* O nás - Vizualizace s Hover efektem */
.about-visual-container { width: 100%; height: 350px; position: relative; overflow: hidden; border: 1px solid #333; cursor: pointer; }
.about-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.2); transition: filter 0.5s ease-in-out; }
.about-visual-container:hover .about-img { filter: grayscale(0%) contrast(1); }
.about-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); transition: 0.5s; }
.about-visual-container:hover .about-overlay { background: rgba(0,0,0,0.2); }

/* Materiály */
.materials-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.material-card { background: var(--bg-panel); border: 1px solid var(--border); transition: 0.4s; position: relative; }
.material-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.mat-visual { height: 250px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.mat-visual h3 { z-index: 2; font-size: 2.5rem; text-shadow: 0 5px 15px rgba(0,0,0,0.5); margin: 0; }
.mat-visual .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.mat-info { padding: 40px; }
.mat-info h4 { color: var(--accent); margin-bottom: 15px; font-size: 1.2rem; }
.mat-info p { color: #ccc; font-size: 0.95rem; margin-bottom: 20px; }
.copper-bg { background: linear-gradient(135deg, #b87333 0%, #5d4037 100%); }
.alu-bg { background: linear-gradient(135deg, #cfd8dc 0%, #546e7a 100%); }
.steel-bg { background: linear-gradient(45deg, #2b2b2b, #5a5a5a); }
.zinc-bg { background: linear-gradient(45deg, #1a1a1a, #333333); }

/* --- 5. TECH SEKCE (3D VIZUALIZACE) --- */
#tech-visual { perspective: 1500px; height: 550px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, #1a1a1a 0%, #050505 80%); }
.exploded-assembly { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(-30deg); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.layer-plate { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 8px; transition: transform 0.8s; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; letter-spacing: 2px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); pointer-events: none; }
.plate-copper { background: radial-gradient(circle, transparent 5px, #b87333 6px), linear-gradient(135deg, #b87333, #8d4a25); border: 2px solid #d48c50; box-shadow: inset 0 0 20px rgba(0,0,0,0.6); transform: translateZ(0px); }
.plate-ring-bottom { border: 4px solid #666; border-radius: 12px; transform: translateZ(20px); width: 90%; height: 90%; left: 5%; top: 5%; }
.plate-jet { width: 90%; height: 90%; top: 5%; left: 5%; background: #e0e0e0; border: 1px solid #fff; transform: translateZ(40px); color: #000; }
.plate-ring-top { border: 4px solid #666; border-radius: 25px; transform: translateZ(60px); width: 85%; height: 85%; left: 7.5%; top: 7.5%; }
.plate-acrylic { background: rgba(200, 220, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(2px); transform: translateZ(80px); box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); }
/* Porty v akrylu */
.plate-acrylic::before, .plate-acrylic::after { content: ''; position: absolute; width: 36px; height: 36px; top: 50%; transform: translateY(-50%); border-radius: 50%; border: 3px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.2); }
.plate-acrylic::before { left: 32%; } .plate-acrylic::after { right: 32%; }
/* 3D Hover */
.exploded-assembly:hover .plate-copper { transform: translateZ(-50px); }
.exploded-assembly:hover .plate-ring-bottom { transform: translateZ(-10px); }
.exploded-assembly:hover .plate-jet { transform: translateZ(30px); }
.exploded-assembly:hover .plate-ring-top { transform: translateZ(70px); }
.exploded-assembly:hover .plate-acrylic { transform: translateZ(120px); }

/* --- 6. ESHOP & PRODUKTY --- */
.shop-header { padding: 120px 0 40px; text-align: center; background: radial-gradient(circle at top, #1a1a1a, #050505); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 80px; position: relative; }
/* Sidebar */
.cat-group { margin-bottom: 30px; }
.cat-title { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; border-bottom: 1px solid #333; padding-bottom: 5px; margin-bottom: 10px; letter-spacing: 1px; }
.filter-btn { display: block; width: 100%; text-align: left; background: transparent; border: none; color: #888; padding: 8px 0; cursor: pointer; transition: 0.2s; font-size: 0.95rem; }
.filter-btn:hover, .filter-btn.active { color: var(--accent); padding-left: 5px; font-weight: 700; }
.shop-controls { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #222; }
.sort-select { background: #111; color: #fff; border: 1px solid #333; padding: 8px 15px; border-radius: 4px; cursor: pointer; }
.mobile-filter-trigger, .close-filters-btn, .filter-overlay { display: none; }

/* Grid Produktů (Sjednoceno pro Home i Eshop) */
.product-grid, .shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; padding-bottom: 80px; }
.product-card { background: var(--bg-panel); border: 1px solid var(--border); transition: 0.4s; display: flex; flex-direction: column; overflow: hidden; height: 100%; position: relative; }
.product-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card-img-wrapper { width: 100%; height: 250px; overflow: hidden; background: #000; border-bottom: 1px solid #222; position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .card-img-wrapper img { transform: scale(1.1); }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; } /* Pro Eshop verzi */
.card-header { margin-bottom: 20px; padding: 25px 25px 0; } /* Pro Home verzi */
.card-header h3 { font-size: 1.6rem; margin-top: 10px; }
.badge { font-size: 0.7rem; background: var(--accent); color: #fff; padding: 4px 8px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; padding: 0 25px; }
.btn-link { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-left: 25px; margin-bottom: 25px; display: inline-block;}
.scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); box-shadow: 0 0 15px var(--accent); opacity: 0; transition: opacity 0.3s; z-index: 10; }
.product-card:hover .scan-line { opacity: 1; animation: scan 1.5s infinite linear; }
.stock-status { font-size: 0.85rem; font-weight: 600; margin-top: 5px; display: inline-block; }
.stock-in { color: #4cd137; } .stock-out { color: #e84118; }

/* --- 7. DETAIL PRODUKTU --- */
.product-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; margin-bottom: 80px; }
.main-image { width: 100%; height: 500px; background: #0a0a0a; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.gallery-thumbnails { display: flex; gap: 15px; }
.thumb { width: 100px; height: 100px; background: #0a0a0a; border: 1px solid var(--border); cursor: pointer; opacity: 0.6; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--accent); }
.product-title { font-size: 3.5rem; line-height: 1; margin-bottom: 10px; }
.product-price { font-size: 2.5rem; color: var(--accent); font-family: var(--font-heading); font-weight: 700; margin-bottom: 10px; }
.product-short-desc { color: #ccc; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.config-options { margin-bottom: 40px; }
.option-label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 0.8rem; color: #fff; }
.opt-btn { padding: 12px 25px; border: 1px solid var(--border); background: #0a0a0a; color: #aaa; cursor: pointer; transition: 0.3s; margin-right: 10px; margin-bottom: 10px; display: inline-block; }
.opt-btn:hover, .opt-btn.selected { border-color: var(--accent); background: rgba(255, 87, 34, 0.1); color: #fff; }
.action-buttons { display: flex; gap: 20px; margin-top: 40px; }
.qty-input { width: 80px; background: #0a0a0a; border: 1px solid var(--border); color: #fff; text-align: center; font-size: 1.2rem; }
.tab-header { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 40px; overflow-x: auto; }
.tab-btn { padding: 20px 40px; background: transparent; border: none; color: var(--text-muted); font-family: var(--font-heading); font-size: 1.1rem; cursor: pointer; transition: 0.3s; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-btn:hover, .tab-btn.active { color: #fff; border-bottom-color: var(--accent); }
.tab-content { display: none; line-height: 1.8; color: #ccc; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

/* --- 8. KOŠÍK & CHECKOUT --- */
.cart-container { max-width: 1000px; margin: 140px auto 80px; padding: 0 20px; }
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; margin-bottom: 40px; }
.cart-table th { text-align: left; padding: 15px; border-bottom: 1px solid #333; color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; }
.cart-table td { padding: 15px; border-top: 1px solid #222; border-bottom: 1px solid #222; vertical-align: middle; background: var(--bg-panel); }
.cart-table td:first-child { border-left: 1px solid #222; border-radius: 8px 0 0 8px; }
.cart-table td:last-child { border-right: 1px solid #222; border-radius: 0 8px 8px 0; text-align: right; }
.cart-item-info { display: flex; align-items: center; gap: 20px; }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid #333; }
.btn-remove { background: none; border: none; color: #555; cursor: pointer; font-size: 1.2rem; transition: 0.3s; }
.btn-remove:hover { color: red; }
.cart-summary { background: #111; padding: 30px; border: 1px solid #222; max-width: 400px; margin-left: auto; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; color: #ccc; }
.summary-row.total { border-top: 1px solid #333; padding-top: 20px; font-size: 1.4rem; color: #fff; font-weight: bold; }

/* Formuláře Checkout */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #888; font-size: 0.9rem; }
.form-control, input[type="text"], input[type="email"], textarea { width: 100%; padding: 12px 15px; background: #050505; border: 1px solid #333; color: #fff; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; transition: 0.3s; }
.form-control:focus { border-color: var(--accent); outline: none; }
.form-control.error { border-color: #e84118 !important; background: rgba(232, 65, 24, 0.05); }
.error-msg { color: #e84118; font-size: 0.8rem; margin-top: 5px; display: none; }
.form-control.error + .error-msg { display: block; }
.options-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.option-card { background: #111; border: 1px solid #333; padding: 20px; border-radius: 6px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: space-between; }
.option-card:hover { background: #161616; }
.option-card.active { border-color: var(--accent); background: rgba(255, 87, 34, 0.05); }
.option-radio { accent-color: var(--accent); width: 18px; height: 18px; }
.business-fields { display: none; border-left: 2px solid var(--accent); padding: 20px; margin-top: 20px; background: rgba(255,255,255,0.02); }

/* --- 9. KONTAKT & PRÁVNÍ STRÁNKY --- */
#contact { background: linear-gradient(to bottom, #050505, #0c0c0c); border-top: 1px solid #222; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.form-group textarea { height: 180px; resize: none; }
.legal-content h2.section-title { font-size: 2.5rem; color: #fff; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 50px; }
.legal-content h3 { color: var(--accent); margin-top: 40px; margin-bottom: 15px; font-size: 1.4rem; }
.legal-content p, .legal-content li { color: #ccc; margin-bottom: 15px; line-height: 1.8; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 20px; }
.legal-content a { color: var(--accent); text-decoration: underline; }

/* --- 10. MODAL, LIGHTBOX, GLS --- */
.lightbox, .gls-modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.lightbox-content { margin: auto; display: block; width: 80%; max-width: 1000px; max-height: 85vh; object-fit: contain; border: 1px solid #333; animation: zoom 0.6s; margin-top: 50px; }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; }
.gls-modal-overlay { align-items: center; justify-content: center; }
.gls-modal-content { background-color: #fff; width: 90%; max-width: 1000px; height: 80vh; border-radius: 8px; display: flex; flex-direction: column; }
.gls-modal-header { padding: 15px; background: #f1f1f1; color: #000; display: flex; justify-content: space-between; align-items: center; }
.gls-modal-close { font-size: 28px; font-weight: bold; cursor: pointer; color: #333; }
.gls-modal-body { flex-grow: 1; position: relative; }

/* --- 11. FOOTER (OPTIMALIZOVANÝ) --- */
footer { background: #000; border-top: 1px solid var(--border); padding: 60px 0 20px; margin-top: auto; color: #666; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; letter-spacing: 2px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #888; font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; text-align: center; font-size: 0.8rem; color: #555; }

/* --- 12. ANIMACE --- */
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
@keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; } .delay-200 { transition-delay: 0.2s; }

/* --- 13. MOBILNÍ RESPONSIVITA (KOMPLETNÍ) --- */
@media (max-width: 900px) {
    /* Navigace */
    .menu-toggle { display: block; }
    .nav-links { position: fixed; left: -100%; top: 0; gap: 0; flex-direction: column; background-color: #000; width: 100%; height: 100vh; justify-content: center; transition: 0.4s; }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 1.4rem; }
    .nav-links .btn-nav { width: 80%; text-align: center; margin-top: 20px; display: inline-block; }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Layouty */
    .grid-2, .materials-comparison, .contact-wrapper, .form-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3rem; }
    .materials-grid-4 { grid-template-columns: 1fr; }
    
    /* Eshop Sidebar */
    .shop-layout { display: block; }
    .mobile-filter-trigger { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; background: #111; border: 1px solid var(--border); color: #fff; margin-bottom: 30px; cursor: pointer; text-transform: uppercase; }
    .sidebar-filters { position: fixed; top: 0; left: -100%; width: 85%; max-width: 320px; height: 100vh; background: #000; z-index: 2000; padding: 30px; overflow-y: auto; border-right: 1px solid var(--accent); transition: left 0.4s; }
    .sidebar-filters.open { left: 0; }
    .close-filters-btn { display: block; position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
    .filter-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1999; opacity: 0; visibility: hidden; transition: 0.3s; }
    .filter-overlay.open { opacity: 1; visibility: visible; }
    .shop-controls { justify-content: space-between; }

    /* Produkt Detail */
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .main-image { height: 350px; }
    .product-title { font-size: 2.5rem; }
    .action-buttons { flex-direction: column; }
    .action-buttons button, .action-buttons input { width: 100%; margin-bottom: 10px; }

    /* FOOTER FIX (2 Sloupce na mobilu) */
    footer { padding: 40px 0 20px; }
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2 sloupce vedle sebe */
        gap: 20px; 
    }
    .footer-col { margin-bottom: 20px; }
    .footer-col h4 { font-size: 1rem; margin-bottom: 15px; }
    .footer-links a { font-size: 0.85rem; }
}

@media (max-width: 480px) {
    /* Pro úplně malé telefony Footer pod sebe */
    .footer-grid { grid-template-columns: 1fr; }
}
/* --- EFEKT ČERNOBÍLÉHO OBRÁZKU --- */

/* Základní stav obrázku - černobílý */
.bw-hover-img {
    filter: grayscale(100%) brightness(0.9); /* 100% černobílá, lehce ztmaveno pro lepší kontrast */
    transition: filter 0.5s ease, transform 0.5s ease; /* Plynulý přechod trvající půl sekundy */
    display: block; /* Odstraní případnou mezeru pod obrázkem */
}

/* Stav po najetí myší na rodičovskou kartu (.material-card) */
.material-card:hover .bw-hover-img {
    filter: grayscale(0%) brightness(1); /* Plná barva a původní jas */
    transform: scale(1.05); /* Volitelné: jemné přiblížení pro lepší efekt */
}
/* --- COOKIE BANNER (VLOŽIT NA KONEC STYLE.CSS) --- */
.cookie-banner {
    position: fixed;          /* Důležité: fixní pozice vůči oknu prohlížeče */
    bottom: -100%;            /* Výchozí stav: schováno pod obrazovkou */
    left: 0;
    width: 100%;
    background: #000000;      /* Černé pozadí */
    border-top: 1px solid #333;
    padding: 20px 0;
    z-index: 99999;           /* Aby byla vždy nahoře */
    transition: bottom 0.5s ease-in-out; /* Animace vysunutí */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
}

.cookie-banner.show {
    bottom: 0;                /* Vysunutí na spodek obrazovky */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-text p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-buttons .btn {
        width: 100%;
    }
}
