@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #140B2D;
    --bg-card: rgba(20, 11, 45, 0.7);
    --text-main: #EDE1FF;
    --text-muted: #a695c0;
    --border: #4a2887;
    --header-bg: rgba(20, 11, 45, 0.85);
    --accent: #9B45FF;
    --accent-dark: #7A2BE2;
    --accent-gradient: linear-gradient(135deg, #7A2BE2, #9B45FF);
    --shadow-soft: 0 10px 40px rgba(122, 43, 226, 0.15);
    --shadow-hover: 0 15px 50px rgba(155, 69, 255, 0.4);
}

/* ANTI-THEFT: Blokada przeciągania elementów i zaznaczania tekstu */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; -webkit-user-drag: none; }
body { background-color: var(--bg-main); color: var(--text-main); overflow-x: hidden; transition: 0.3s ease; user-select: none; -webkit-user-select: none; }
input, textarea, select { user-select: text !important; -webkit-user-select: text !important; }

/* Loader */
.loader-overlay { position: fixed; inset: 0; background: var(--bg-main); z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.5s ease; animation: removeLoader 1.5s forwards; pointer-events: none; }
@keyframes removeLoader { 0%, 80% { opacity: 1; visibility: visible; pointer-events: all;} 100% { opacity: 0; visibility: hidden; z-index: -100; display: none; } }
.loader-logo { width: 120px; margin-bottom: 25px; animation: pulseLogo 1.5s infinite ease-in-out; }
@keyframes pulseLogo { 0% { transform: scale(1); opacity: 0.8;} 50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px var(--accent)); } 100% { transform: scale(1); opacity: 0.8;} }
.spinner { width: 50px; height: 50px; border: 5px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; }

/* Marquee & Header */
.top-marquee { background: var(--accent-gradient); color: #fff; padding: 8px 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.marquee-content { display: inline-block; animation: ticker 25s linear infinite; }
.marquee-content span { margin-right: 50px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.main-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--header-bg); backdrop-filter: blur(15px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.logo { display: flex; align-items: center; font-size: 24px; font-weight: 800; cursor: pointer; }
.header-logo-img { height: 35px; margin-right: 12px; }
.logo-accent { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav a { color: var(--text-muted); text-decoration: none; margin: 0 15px; font-weight: 600; font-size: 14px; text-transform: uppercase; transition: 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); text-shadow: 0 0 10px rgba(155, 69, 255, 0.4); }

.header-right { display: flex; align-items: center; gap: 15px; }
.icon-btn, .lang-toggle { background: var(--bg-main); border: 1px solid var(--border); color: var(--text-main); height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; position: relative; }
.icon-btn { width: 42px; font-size: 16px; }
.lang-toggle { width: 42px; font-size: 18px; border-radius: 12px; }
.icon-btn:hover, .lang-toggle:hover { border-color: var(--accent); box-shadow: 0 0 15px rgba(155, 69, 255, 0.3); transform: scale(1.05); }
.icon-badge { position: absolute; top: -5px; right: -5px; background: var(--accent); color: #fff; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 50%; }

.cart-trigger { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 20px; border-radius: 30px; background: var(--bg-main); border: 1px solid var(--border); transition: 0.3s; }
.cart-trigger:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.cart-icon-wrapper { position: relative; }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #fff; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 50%; }
.cart-price { font-weight: 700; font-size: 15px; }

/* Views & Layout */
.fade-in-up { animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.view { display: none; opacity: 0; animation: fadeIn 0.4s forwards; }
.view.active { display: block; }
@keyframes fadeIn { to { opacity: 1; } }

/* NOWY HERO SLIDER Z OBRAZKAMI */
.hero-slider-area { position: relative; height: 50vh; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); overflow: hidden; text-align: center; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 0; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: rgba(20, 11, 45, 0.6); z-index: 1; backdrop-filter: blur(2px); }
.hero-content h1 { font-size: 40px; font-weight: 800; margin-bottom: 15px; text-shadow: 0 0 15px rgba(155,69,255,0.3); }
.hero-content p { font-size: 16px; color: var(--text-muted); }

.filters-section { text-align: center; padding: 40px 5% 20px; }
.category-filters { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn { padding: 12px 25px; border-radius: 30px; border: 2px solid var(--border); background: var(--bg-card); color: var(--text-main); font-weight: 700; font-size: 14px; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.filter-btn:hover { border-color: var(--accent); box-shadow: 0 0 15px rgba(155, 69, 255, 0.3); }
.filter-btn.active { background: var(--accent-gradient); color: #fff; border-color: transparent; box-shadow: 0 10px 20px rgba(122, 43, 226, 0.4); }

/* Products Grid & NEW BADGES */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 35px; max-width: 1400px; margin: 0 auto; padding: 20px 5%; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: 0.4s; backdrop-filter: blur(10px); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.img-container { position: relative; width: 100%; height: 280px; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.2); overflow: hidden; }
.product-card img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.5s; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }
.product-card:hover img { transform: scale(1.1); filter: drop-shadow(0 10px 30px rgba(155, 69, 255, 0.3)); }
.hover-overlay { position: absolute; inset: 0; background: rgba(20, 11, 45, 0.8); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.4s ease; z-index: 10; }
.product-card:hover .hover-overlay { opacity: 1; }
.btn-quick-add { border: 2px solid var(--accent); background: transparent; color: #fff; padding: 12px 24px; font-weight: 700; font-size: 14px; cursor: pointer; transition: 0.3s; text-transform: uppercase; transform: translateY(20px); opacity: 0; border-radius: 8px;}
.product-card:hover .btn-quick-add { transform: translateY(0); opacity: 1; transition-delay: 0.1s; }
.btn-quick-add:hover { background: var(--accent); box-shadow: 0 0 15px rgba(155, 69, 255, 0.5); }
.action-icons { position: absolute; top: 15px; right: -40px; display: flex; flex-direction: column; gap: 12px; transition: 0.4s; }
.product-card:hover .action-icons { right: 15px; }
.action-icon { width: 40px; height: 40px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.action-icon:hover { background: var(--accent); color: #fff; transform: scale(1.1); }

/* BADGES */
.bestseller-badge { position: absolute; top: 15px; left: 15px; background: var(--accent-gradient); color: white; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; z-index: 2; }
.new-badge { position: absolute; top: 15px; right: 15px; background: linear-gradient(135deg, #ff4757, #ff6b81); color: white; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 800; z-index: 2; box-shadow: 0 0 10px rgba(255,71,87,0.5); text-transform: uppercase;}
.discount-badge { position: absolute; top: 50px; left: 15px; background: linear-gradient(135deg, #2ed573, #7bed9f); color: white; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 800; z-index: 2; box-shadow: 0 0 10px rgba(46,213,115,0.4); }

.card-info { padding: 25px; text-align: center; }
.card-info h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.price-box { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 14px; }
.new-price { color: var(--accent); font-weight: 800; font-size: 20px; text-shadow: 0 0 10px rgba(155, 69, 255, 0.3); }

/* About Us & Sections */
.page-section { max-width: 1000px; margin: 60px auto; padding: 0 5%; text-align: center; }
.page-title { font-size: 40px; font-weight: 800; margin-bottom: 15px; text-shadow: 0 0 15px rgba(155, 69, 255, 0.3); }
.page-subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 50px; line-height: 1.6;}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin-bottom: 60px; align-items: center; }
.about-text h2 { font-size: 28px; margin-bottom: 15px; color: var(--accent); }
.about-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.about-location { background: var(--bg-card); padding: 20px; border-radius: 16px; border: 1px solid var(--border); display: flex; align-items: center; gap: 15px; }
.about-location i { font-size: 30px; color: var(--accent); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); padding: 40px 20px; border-radius: 20px; box-shadow: var(--shadow-soft); transition: 0.3s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.f-icon { font-size: 40px; margin-bottom: 20px; color: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); }

/* =========================================================
   NOWY WYGLĄD: ZAUFANIE & LICZNIK KLIENTÓW
========================================================= */
.trust-section { padding: 60px 5%; text-align: center; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); margin-top: 60px;}
.section-heading { font-size: 32px; font-weight: 800; margin-bottom: 40px; color: var(--text-main); text-shadow: 0 0 15px rgba(155, 69, 255, 0.4); }

.counter-container { margin: 0 auto 50px; background: rgba(20, 11, 45, 0.5); border: 1px solid var(--border); border-radius: 20px; padding: 30px; display: inline-block; min-width: 300px; box-shadow: var(--shadow-soft); backdrop-filter: blur(10px); }
.counter-icon { font-size: 40px; color: var(--accent); margin-bottom: 15px; filter: drop-shadow(0 0 10px var(--accent)); }
.counter-number { font-size: 48px; font-weight: 800; color: #fff; text-shadow: 0 0 20px var(--accent); margin-bottom: 5px; }
.counter-label { font-size: 14px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.trust-card { padding: 40px 30px; background: linear-gradient(145deg, var(--bg-card), rgba(122, 43, 226, 0.05)); border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: 0.4s; position: relative; overflow: hidden; }
.trust-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(155, 69, 255, 0.1) 0%, transparent 60%); opacity: 0; transition: 0.5s; pointer-events: none; }
.trust-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 15px 40px rgba(155, 69, 255, 0.2); }
.trust-card:hover::before { opacity: 1; }
.trust-icon-wrapper { width: 80px; height: 80px; margin: 0 auto 25px; background: var(--bg-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--border); transition: 0.4s; }
.trust-card:hover .trust-icon-wrapper { border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 20px rgba(155, 69, 255, 0.4); }
.trust-icon-wrapper i { font-size: 35px; color: var(--accent); }
.trust-card h3 { font-size: 22px; margin-bottom: 15px; font-weight: 700; color: #fff; }
.trust-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* =========================================================
   NOWY WYGLĄD: OPINIE (PERFECT LOOP)
========================================================= */
.testimonials-section { padding: 80px 0; background: rgba(20, 11, 45, 0.3); overflow: hidden; text-align: center; border-top: 1px solid var(--border); position: relative; }
.testi-scroller { width: 100%; overflow: hidden; white-space: nowrap; position: relative; padding: 20px 0; display: flex; }
.testi-scroller::before, .testi-scroller::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.testi-scroller::before { left: 0; background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%); }
.testi-scroller::after { right: 0; background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%); }

.testi-track { display: flex; gap: 30px; animation: scrollTestimonials 60s linear infinite; width: max-content; padding-left: 30px; }
.testi-track:hover { animation-play-state: paused; }
.testi-card { white-space: normal; width: 380px; background: var(--bg-card); padding: 35px; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); text-align: left; transition: 0.3s; flex-shrink: 0; }
.testi-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(155, 69, 255, 0.2); }
.stars { color: var(--accent); margin-bottom: 20px; font-size: 18px; filter: drop-shadow(0 0 5px var(--accent)); }
.quote { font-size: 15px; font-style: italic; color: var(--text-muted); margin-bottom: 25px; line-height: 1.8; }
.author { font-weight: 700; color: var(--text-main); font-size: 16px; border-top: 1px solid var(--border); padding-top: 15px; }

@keyframes scrollTestimonials { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 15px)); } }

/* FAQ Accordion */
.faq-container { text-align: left; margin: 40px auto; max-width: 800px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: 0.3s; }
.faq-question { padding: 20px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); }
.faq-question:hover { color: var(--accent); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 300px; }
.faq-item.active .faq-question { color: var(--accent); }
.faq-item.active .faq-question i { transform: rotate(45deg); }

/* Contact Form & Cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; text-align: left;}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: center; gap: 20px; padding: 30px; border-radius: 20px; text-decoration: none; color: white; transition: 0.3s; box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.1); }
.contact-card:hover { transform: translateY(-5px); }
.contact-card i { font-size: 40px; }
.tg-card { background: linear-gradient(135deg, #00c6ff, #0072ff); } 
.ig-card { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* Modals & Cart */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 1000; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--bg-card); border: 1px solid var(--border); width: 95%; max-width: 950px; border-radius: 24px; position: relative; padding: 40px; transform: scale(0.95); transition: 0.4s; max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: scale(1); }
.small-modal { max-width: 500px; text-align: center; }
.close-btn { position: absolute; top: 20px; right: 20px; background: var(--bg-main); border: 1px solid var(--border); width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--text-main); transition: 0.3s; display: flex; align-items: center; justify-content: center;}
.close-btn:hover { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 0 10px var(--accent);}
.modal-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.modal-img { background: rgba(0,0,0,0.2); border-radius: 16px; padding: 20px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border); }
.modal-img img { max-width: 100%; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8)); }
.modal-details h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.price-highlight { font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 15px; }
.description { font-size: 14px; color: var(--text-muted); margin-bottom: 25px; line-height: 1.6; }
.pricing-tiers-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.tier-tile { flex: 1 1 calc(33.333% - 10px); background: var(--bg-main); border: 2px solid var(--border); border-radius: 12px; padding: 12px 10px; text-align: center; transition: 0.3s; }
.tier-tile .qty { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.tier-tile .price { font-size: 16px; font-weight: 800; }
.tier-tile.active { border-color: var(--accent); background: rgba(155, 69, 255, 0.1); transform: scale(1.05); box-shadow: 0 0 15px rgba(122, 43, 226, 0.3); }
.tier-tile.active .price, .tier-tile.active .qty { color: var(--accent); }
.controls { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.flavor-select { flex: 1; padding: 14px; border: 2px solid var(--border); border-radius: 12px; background: var(--bg-main); color: var(--text-main); outline: none; cursor: pointer; }
.qty-wrapper { display: flex; align-items: center; gap: 10px; background: var(--bg-main); padding: 5px 15px; border-radius: 12px; border: 2px solid var(--border); }
.qty-wrapper input { width: 50px; border: none; background: transparent; color: var(--text-main); font-size: 20px; font-weight: 700; text-align: center; outline: none; }
.modal-footer { display: flex; justify-content: space-between; align-items: center; background: var(--bg-main); padding: 20px; border-radius: 16px; border: 1px solid var(--border); }
.current-price strong { color: var(--accent); font-size: 28px; display: block; line-height: 1.2;}
.btn-add-cart { background: var(--accent-gradient); color: #fff; border: none; padding: 15px 30px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(122, 43, 226, 0.4); }
.btn-add-cart:hover { transform: translateY(-2px); box-shadow: 0 5px 25px rgba(155, 69, 255, 0.6); }

/* Language Selection Modal */
.lang-btn-group { display: flex; gap: 15px; justify-content: center; margin-top: 20px; }
.lang-select-btn { flex: 1; padding: 20px; background: var(--bg-main); border: 2px solid var(--border); border-radius: 16px; color: var(--text-main); font-size: 18px; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lang-select-btn:hover { border-color: var(--accent); box-shadow: 0 0 20px rgba(155,69,255,0.3); transform: scale(1.05); }

/* Cart Sidebar */
.cart-sidebar { position: fixed; top: 0; right: -450px; width: 420px; max-width: 100%; height: 100%; background: var(--bg-card); backdrop-filter: blur(20px); border-left: 1px solid var(--border); box-shadow: -10px 0 30px rgba(0,0,0,0.5); transition: right 0.4s; z-index: 1001; display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header, .cart-footer { padding: 25px; background: var(--bg-main); border-bottom: 1px solid var(--border); }
.cart-footer { border-top: 1px solid var(--border); border-bottom: none; }
.cart-items { flex: 1; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 15px; }
.cart-item { background: var(--bg-main); padding: 15px; border-radius: 16px; border: 1px solid var(--border); }
.cart-item-top { display: flex; justify-content: space-between; margin-bottom:10px; }
.qty-edit { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 2px 5px; }
.qty-edit button { background: none; border: none; color: var(--text-main); cursor: pointer; padding: 2px 8px; font-weight:bold; }
.btn-remove { background: none; color: var(--text-muted); border: none; cursor: pointer; font-size: 18px;}
.btn-remove:hover { color: var(--accent); }
.btn-checkout { width: 100%; padding: 16px; border: none; border-radius: 16px; color: white; font-weight: 700; margin-bottom: 12px; cursor: pointer; display: flex; justify-content: center; gap: 10px; }
.btn-checkout.tg { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.btn-checkout.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
#ig-message-box { background: var(--bg-main); color: var(--text-main); border: 1px solid var(--border); width: 100%; height: 150px; margin: 15px 0; padding: 15px; border-radius: 12px; resize: none; font-size: 13px; }

/* POWIADOMIENIA (TOASTS) */
#toast-container { position: fixed; bottom: 30px; right: 30px; left: auto; display: flex; flex-direction: column; gap: 10px; z-index: 99999; }
.toast { background: var(--accent-gradient); color: #fff; padding: 15px 25px; border-radius: 12px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; animation: slideInRight 0.4s forwards, fadeOut 0.4s 2.6s forwards; box-shadow: 0 5px 20px rgba(122, 43, 226, 0.4);}
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

.strict-modal { z-index: 100000; background: rgba(0,0,0,0.95); backdrop-filter: blur(15px); }
.strict-modal .close-btn { display: none; }
.cookie-banner { position: fixed; bottom: -150px; left: 0; width: 100%; background: var(--bg-card); border-top: 1px solid var(--border); box-shadow: 0 -10px 40px rgba(0,0,0,0.5); z-index: 99999; transition: bottom 0.6s; backdrop-filter: blur(10px); }
.cookie-banner.active { bottom: 0; }
.cookie-content { max-width: 1400px; margin: 0 auto; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; gap: 30px; }

/* CHATBOT */
.chatbot-btn { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: var(--accent-gradient); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; cursor: pointer; box-shadow: var(--shadow-hover); z-index: 1000; transition: 0.3s; border: none; }
.chatbot-btn:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(155, 69, 255, 0.5); }
.chatbot-window { position: fixed; bottom: 100px; left: 30px; width: 320px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-hover); z-index: 1000; display: none; flex-direction: column; overflow: hidden; backdrop-filter: blur(15px); }
.chatbot-window.open { display: flex; animation: slideUpChat 0.3s forwards; }
@keyframes slideUpChat { from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:translateY(0); } }
.chat-header { background: var(--accent-gradient); color: #fff; padding: 15px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.chat-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 18px; transition: 0.2s;}
.chat-header button:hover { transform: scale(1.2); }
.chat-body { padding: 20px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; padding: 12px 15px; border-radius: 15px; font-size: 13px; line-height: 1.4; word-wrap: break-word;}
.chat-msg.bot { background: var(--bg-main); color: var(--text-main); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-area { display: flex; padding: 15px; border-top: 1px solid var(--border); background: var(--bg-main); }
.chat-input-area input { flex: 1; padding: 12px 15px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-main); outline: none; }
.chat-input-area button { background: var(--accent); color: #fff; border: none; width: 45px; height: 45px; border-radius: 50%; margin-left: 10px; cursor: pointer; display:flex; align-items:center; justify-content:center; font-size:16px;}

/* GLOBALNA STOPKA */
.global-footer { background: var(--bg-card); border-top: 1px solid var(--border); margin-top: 80px; padding: 60px 5% 30px; text-align: center; }
.footer-form-container { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.footer-form-container h2 { font-size: 32px; margin-bottom: 30px; color: var(--text-main); text-shadow: 0 0 10px rgba(155,69,255,0.3); }
.footer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; text-align: left; }
.footer-form input, .footer-form textarea { width: 100%; padding: 15px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; color: var(--text-main); outline: none; font-family: 'Poppins', sans-serif; transition: 0.3s;}
.footer-form input:focus, .footer-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 10px rgba(155,69,255,0.2); }
.footer-form input:nth-child(3) { grid-column: span 2; }
.footer-form textarea { grid-column: span 2; }
.footer-form button { grid-column: span 2; padding: 15px; background: var(--accent-gradient); color: white; border: none; border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s;}
.footer-form button:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(155,69,255,0.4);}

.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; align-items: center; }
.footer-socials span { font-weight: 600; color: var(--text-muted); text-transform: uppercase; font-size: 14px; letter-spacing: 1px;}
.footer-social-icon { width: 45px; height: 45px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-main); font-size: 20px; text-decoration: none; transition: 0.3s; }
.footer-social-icon:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-5px); box-shadow: 0 0 15px rgba(155, 69, 255, 0.4);}

.admin-secret-link { background: none; border: none; color: var(--text-muted); font-size: 12px; opacity: 0.5; cursor: pointer; margin-top: 15px; text-decoration: underline; transition: 0.3s; }
.admin-secret-link:hover { opacity: 1; color: var(--accent); }

/* Admin */
.admin-login-wrapper { display: flex; align-items: center; justify-content: center; min-height: 80vh; }
.admin-login-box { background: var(--bg-card); padding: 50px; border-radius: 20px; border: 1px solid var(--border); text-align: center; width: 400px; }
.admin-login-box input { width: 100%; padding: 15px; margin-bottom: 15px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-main); color: var(--text-main); outline: none; }
.admin-layout { display: flex; min-height: 100vh; background: var(--bg-main); color: var(--text-main); }
.admin-sidebar { width: 280px; background: var(--bg-card); border-right: 1px solid var(--border); padding: 30px 20px; display: flex; flex-direction: column; }
.admin-nav-menu button { background: transparent; border: 1px solid transparent; color: var(--text-muted); text-align: left; padding: 15px 20px; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 15px; margin-bottom:10px; transition: 0.3s;}
.admin-nav-menu button:hover, .admin-nav-menu button.active { background: var(--bg-main); color: var(--accent); border-color: var(--border); }
.admin-content { flex-grow: 1; padding: 50px; overflow-y: auto; background: var(--bg-main); }
.admin-section { display: none; animation: fadeIn 0.4s; }
.admin-section.active { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); padding: 30px; border-radius: 16px; box-shadow: var(--shadow-soft); }
.stat-card .number { font-size: 40px; font-weight: 800; color: var(--accent); }
.form-panel { background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid var(--border); max-width: 600px; display: flex; flex-direction: column; gap: 20px; }
.form-panel input, .form-panel textarea, .form-panel select { width: 100%; padding: 15px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; color: var(--text-main); outline: none; }

.admin-products-list-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }

/* =========================================================
   MEDIA QUERIES (RESPONSYWNOŚĆ NA TELEFONY I TABLETY)
========================================================= */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-header { flex-wrap: wrap; justify-content: center; gap: 15px; padding: 15px; }
    .logo { width: 100%; justify-content: center; margin-bottom: 5px; }
    .header-right { width: 100%; justify-content: center; order: 2; margin-bottom: 10px;}
    .main-nav { order: 3; width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; justify-content: center; display: flex; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px;}
    .main-nav a { margin: 0 10px; font-size: 13px; }

    .hero-content h1 { font-size: 28px; line-height: 1.2; }
    .page-title, .section-heading { font-size: 26px; margin-bottom: 20px;}
    .trust-section, .page-section, .global-footer { padding: 40px 5% 20px; margin-top: 30px;}
    
    .counter-container { width: 100%; min-width: unset; padding: 20px; margin-bottom: 30px;}
    .counter-number { font-size: 36px; }

    .modal-grid { grid-template-columns: 1fr; gap: 20px; }
    .modal-content { padding: 20px; width: 95%; max-height: 85vh; }
    .modal-img { height: 200px; padding: 10px; }
    .modal-img img { max-height: 100%; }
    .controls { flex-direction: column; align-items: stretch; }
    .flavor-select { width: 100%; }
    .qty-wrapper { justify-content: space-between; }
    
    .footer-form { grid-template-columns: 1fr; } 
    .footer-form textarea, .footer-form button, .footer-form input#contact-phone { grid-column: span 1 !important; }

    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 20px; }
    .admin-content { padding: 20px; }

    .chatbot-window { width: 90%; left: 5%; bottom: 85px; }
    .cart-sidebar { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; gap: 20px;}
    .trust-grid, .features-grid, .about-grid { grid-template-columns: 1fr; }
    .testi-card { width: 300px; padding: 20px; }
    .admin-login-box { width: 90%; padding: 30px 20px; }
    .filter-btn { padding: 10px 20px; font-size: 12px; }
    .hero-slider-area { min-height: 300px; height: 40vh; }
}
