@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #060606; 
    --bg-card: #0d0d10; 
    --bg-purple: #1e0b3b; 
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: #222222;
    --accent: #9B45FF; 
    --accent-dark: #7A2BE2;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { overflow-x: hidden; }
body { background-color: var(--bg-main); color: var(--text-main); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }

input, textarea, select { user-select: text !important; -webkit-user-select: text !important; font-size: 16px !important; }
button, .nav-link, .category-card { user-select: none; -webkit-user-select: none; }

.view { display: none; opacity: 0; animation: fadeIn 0.4s forwards; }
.view.active { display: block; }
@keyframes fadeIn { to { opacity: 1; } }

.global-sale-banner {
    background: linear-gradient(90deg, #ff0055, #8a2be2, #00c6ff); background-size: 200% 200%;
    animation: gradientShift 5s ease infinite; color: white; text-align: center;
    padding: 12px 20px; font-weight: 800; font-size: 14px; letter-spacing: 1px;
    z-index: 10000; position: relative; text-transform: uppercase;
}
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.header-wrapper { position: sticky; top: 20px; z-index: 1000; display: flex; justify-content: center; width: 100%; pointer-events: none; }
.main-header { pointer-events: auto; width: 90%; max-width: 1100px; background: rgba(13, 13, 16, 0.85); backdrop-filter: blur(15px); border: 1px solid #333; border-radius: 50px; display: flex; justify-content: space-between; align-items: center; padding: 12px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.logo { display: flex; align-items: center; font-size: 20px; font-weight: 800; cursor: pointer; color: #fff; }
.main-nav-links { display: flex; gap: 20px; }
.nav-link { color: #aaa; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.header-right { display: flex; gap: 15px; align-items: center; }
.lang-toggle-btn { background: var(--accent); color: #fff; border: none; border-radius: 20px; padding: 8px 15px; font-weight: 800; font-size: 12px; cursor: pointer; transition: 0.3s; }
.lang-toggle-btn:hover { background: var(--accent-dark); box-shadow: 0 0 15px rgba(155,69,255,0.5); }
.cart-toggle-btn { background: transparent; border: 1px solid var(--accent); color: var(--accent); border-radius: 20px; padding: 8px 20px; font-weight: 800; font-size: 12px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 8px; position: relative;}
.cart-toggle-btn:hover { background: rgba(155,69,255,0.1); }
.icon-badge { background: #fff; color: #000; border-radius: 50%; padding: 2px 6px; font-size: 10px; font-weight: bold; }

.hero-section { max-width: 1200px; margin: 60px auto 40px; display: flex; align-items: center; justify-content: space-between; padding: 40px 5%; background: radial-gradient(circle at left, rgba(138,43,226,0.15) 0%, transparent 50%); }
.hero-content-left { max-width: 500px; }
.hero-hashtag { color: var(--accent); font-weight: 900; font-size: 16px; margin-bottom: 10px; letter-spacing: 1px; }
.hero-content-left h1 { font-size: 46px; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.hero-content-left p { color: #aaa; font-size: 15px; margin-bottom: 30px; line-height: 1.6; }
.hero-features { display: flex; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-feature-item { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #fff; font-weight: 700; text-transform: uppercase; line-height: 1.3;}
.hero-feature-item i { color: var(--accent); font-size: 24px; filter: drop-shadow(0 0 8px var(--accent));}
.hero-actions { display: flex; gap: 15px; }
.btn-primary { background: var(--accent); color: #fff; border: none; border-radius: 30px; padding: 15px 35px; font-weight: 800; font-size: 14px; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-primary:hover { box-shadow: 0 0 20px rgba(155,69,255,0.5); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #333; border-radius: 30px; padding: 15px 35px; font-weight: 800; font-size: 14px; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-secondary:hover { border-color: #fff; }
.hero-content-right { flex: 1; display: flex; justify-content: flex-end; }
.hero-promo-img { max-width: 100%; border-radius: 20px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8)); }

.categories-section { max-width: 1200px; margin: 0 auto 60px; padding: 0 5%; text-align: center; }
.section-title { font-size: 28px; font-weight: 900; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { border-radius: 16px; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; cursor: pointer; transition: 0.3s; border: 1px solid #222; }
.category-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 20px rgba(155,69,255,0.2); }
.category-card i { font-size: 30px; color: #fff; }
.category-card h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; margin: 0; }

.catalog-section { max-width: 1200px; margin: 0 auto 60px; padding: 0 5%; text-align: center; }
.filter-btn { padding: 10px 25px; border-radius: 30px; border: 1px solid #333; background: #000; color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); }
.sort-select { padding: 10px 20px; border-radius: 30px; border: 1px solid #333; background: #000; color: #fff; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; cursor: pointer; outline: none; transition: 0.3s; }
.sort-select:focus { border-color: var(--accent); }

.products-grid-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin-top: 20px; text-align: left; align-items: stretch; }
.product-card-v2 { background: var(--bg-card); border-radius: 20px; overflow: hidden; border: 1px solid #1a1a1a; display: flex; flex-direction: column; transition: 0.4s; position: relative; height: 100%; }
.product-card-v2:hover { border-color: var(--accent); box-shadow: 0 15px 30px rgba(155,69,255,0.15); transform: translateY(-5px); }

.card-img-top { background: var(--bg-purple); height: 260px; display: flex; justify-content: center; align-items: center; padding: 20px; position: relative; border-bottom: 1px solid #1a1a1a; }
.card-img-top img { width: 100%; height: 200px; object-fit: contain; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.6)); transition: 0.4s; }
.product-card-v2:hover .card-img-top img { transform: scale(1.05); }

.card-bottom-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-brand { font-size: 10px; color: #666; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.card-title { font-size: 16px; font-weight: 900; color: #fff; margin: 0 0 15px 0; text-transform: uppercase; }
.card-price { font-size: 24px; font-weight: 900; color: var(--accent); margin-bottom: 15px; display: flex; align-items: baseline; gap: 5px;}
.card-specs { list-style: none; padding: 0; margin: 0 0 20px 0; color: #888; font-size: 11px; line-height: 1.8; }
.card-specs li i { color: var(--accent); margin-right: 5px; font-size: 10px; }

.btn-white-pill { background: #fff; color: #000; border: none; border-radius: 30px; padding: 12px 0; width: 100%; font-weight: 900; font-size: 13px; cursor: pointer; transition: 0.3s; text-transform: uppercase; margin-top: auto; }
.btn-white-pill:hover { background: var(--accent); color: #fff; box-shadow: 0 0 15px rgba(155,69,255,0.4); }

.bestseller-badge { position: absolute; top: 15px; left: 15px; background: #f1c40f; color: #000; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 800; z-index: 2; box-shadow: 0 0 10px rgba(241,196,15,0.5); text-transform: uppercase;}
.new-badge { position: absolute; top: 15px; right: 15px; background: #ff4757; color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 800; z-index: 2; box-shadow: 0 0 10px rgba(255,71,87,0.5); text-transform: uppercase;}

.testimonials-section { margin: 60px auto 20px auto; padding-top: 40px; border-top: 1px solid #1a1a1a; text-align: center; overflow: hidden; width: 100%; 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 40s linear infinite; width: max-content; padding-left: 30px; }
.testi-track:hover { animation-play-state: paused; }
.testi-card { white-space: normal; width: 350px; background: var(--bg-card); padding: 25px; border-radius: 16px; border: 1px solid #1a1a1a; text-align: left; flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-start; height: 100%; }
.testi-card .stars { color: var(--accent); margin-bottom: 10px; font-size: 14px; }
.testi-card h4 { margin: 0 0 10px 0; color: #fff; font-size: 16px; font-weight: 800; }
.testi-card p { margin: 0; color: #888; font-size: 13px; line-height: 1.6; font-style: italic; }
@keyframes scrollTestimonials { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 15px)); } }

.product-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; text-align: left;}
.product-page-img { background: var(--bg-purple); border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #1a1a1a; height: 500px; }
.product-page-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8)); }
.product-page-details h2 { font-size: 42px; font-weight: 900; margin-top: 0; text-transform: uppercase; margin-bottom: 30px; line-height: 1.1; }
.p-flavor-wrapper { margin-bottom: 20px; }
.p-flavor-wrapper label { display: block; font-size: 11px; font-weight: 800; color: #888; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.p-flavor-wrapper select { width: 100%; max-width: 320px; padding: 14px 18px; border-radius: 8px; border: 1px solid #333; background: #000; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; color: #fff; cursor: pointer; transition: 0.3s; }
.p-flavor-wrapper select:focus { outline: none; border-color: var(--accent); }
.p-buy-row { display: flex; gap: 15px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; background: #000; border: 1px solid #333; border-radius: 30px; padding: 5px 15px; height: 50px; }
.qty-selector button { background: none; border: none; font-size: 22px; font-weight: 600; cursor: pointer; color: var(--accent); padding: 0 10px; transition: 0.2s; }
.qty-selector button:hover { color: #fff; }
.qty-selector input { width: 40px; text-align: center; border: none; background: transparent; font-size: 18px; font-weight: 800; color: #fff; pointer-events: none;}
.p-price-section { margin-bottom: 30px; }
.p-main-price { font-size: 48px; font-weight: 900; color: var(--accent); margin-bottom: 15px; letter-spacing: -1px; }
.p-smart-cena h4 { font-size: 14px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.p-smart-cena ul { list-style: none; padding: 0; margin: 0; color: #888; font-size: 13px; line-height: 2; }
.p-description { color: #888; font-size: 14px; line-height: 1.8; margin-top: 20px;}
.back-btn { background: transparent; border: none; color: #888; cursor: pointer; font-size: 13px; font-weight: 800; font-family: 'Poppins', sans-serif; margin-bottom: 30px; display: flex; align-items: center; gap: 8px; text-transform: uppercase;}
.back-btn:hover { color: #fff; }

/* KOSZYK */
.cart-sidebar { position: fixed; top: 0; right: -100%; width: 420px; max-width: 100%; height: 100%; height: 100dvh; background: #0a0a0c; border-left: 1px solid #222; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1001; overflow: hidden; }
.cart-sidebar.open { right: 0; }
.cart-inner-container { display: flex; flex-direction: column; height: 100%; width: 100%; }
.cart-left { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.cart-right { background: #000; flex-shrink: 0; border-top: 1px solid #222; }

.cart-header { padding: 20px 25px; background: #000; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 20px; font-weight: 800; margin: 0; color: #fff;}
.close-btn { background: none; border: none; font-size: 22px; cursor: pointer; color: #888; padding: 5px; }
.close-btn:hover { color: #fff; }

.shipping-timer { background: rgba(155, 69, 255, 0.1); border-bottom: 1px solid #222; padding: 12px 20px; text-align: center; font-size: 13px; color: #fff; }
.cart-items { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 25px; display: flex; flex-direction: column; gap: 15px; }
.cart-item { background: #000; padding: 15px; border-radius: 16px; border: 1px solid #222; }
.checkout-form { padding: 25px; }
.cart-footer { padding: 25px; }

.cart-sidebar.fullscreen { width: 100vw; max-width: 100vw; background: var(--bg-main); border-left: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cart-sidebar.fullscreen .cart-inner-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1100px; margin: 0 auto; height: auto; padding: 50px 20px; align-items: start; }
.cart-sidebar.fullscreen .cart-left, .cart-sidebar.fullscreen .cart-right { overflow: visible; display: block; border: none; background: transparent; }
.cart-sidebar.fullscreen .cart-header { padding: 0 0 20px 0; border: none; background: transparent; justify-content: flex-start; }
.cart-sidebar.fullscreen .cart-header h2 { font-size: 36px; text-align: left; }
.cart-sidebar.fullscreen .close-btn { position: fixed; top: 20px; right: 20px; background: #111; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; z-index: 10; border: 1px solid #333; color: #fff; }
.cart-sidebar.fullscreen .shipping-timer { border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--accent); }
.cart-sidebar.fullscreen .cart-items { padding: 0; }
.cart-sidebar.fullscreen .cart-right { padding-top: 60px; }
.cart-sidebar.fullscreen .checkout-form { padding: 30px; background: #111; border: 1px solid var(--accent); border-radius: 16px; margin-bottom: 20px; display: block !important; }
.cart-sidebar.fullscreen .cart-footer { padding: 30px; background: #111; border: 1px solid #222; border-radius: 16px; }

.btn-remove { background: none; color: #555; border: none; cursor: pointer; font-size: 18px;}
.btn-remove:hover { color: #ff4757; }
.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); }

/* --- ŚLEDZENIE PRZESYŁEK --- */
.tracking-wrapper { max-width: 700px; margin: 0 auto; text-align: left; background: var(--bg-card); padding: 40px; border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.tracking-search-box { display: flex; gap: 15px; margin-bottom: 40px; }
.tracking-search-box input { flex: 1; padding: 15px 20px; border-radius: 12px; border: 1px solid #333; background: #000; color: #fff; font-family: 'Poppins', sans-serif; font-size: 16px; text-transform: uppercase;}
.tracking-search-box button { background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 0 30px; font-weight: 800; font-size: 14px; cursor: pointer; transition: 0.3s; text-transform: uppercase; }

.timeline { border-left: 2px solid #333; margin-left: 20px; padding-left: 25px; position: relative; }
.timeline-item { margin-bottom: 30px; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content:''; position:absolute; left:-32px; top:0; width:12px; height:12px; background:var(--accent); border-radius:50%; box-shadow: 0 0 10px var(--accent); }
.timeline-item.error::before { background:#ff4757; box-shadow: 0 0 15px #ff4757; }
.timeline-date { font-size:12px; color:#888; margin-bottom:5px; font-weight: 600; letter-spacing: 1px; }
.timeline-status { font-size:16px; color:#fff; font-weight:800; margin-bottom: 5px; }
.timeline-desc { font-size:13px; color:#aaa; line-height: 1.6; }
.timeline-error-box { background: rgba(255, 71, 87, 0.1); border: 1px solid #ff4757; padding: 20px; border-radius: 12px; margin-top: 15px; color: #ff4757; font-size: 14px; font-weight: 500; line-height: 1.6; }

.global-footer { background: #000; border-top: 1px solid #1a1a1a; margin-top: 80px; padding: 60px 5% 30px; text-align: center; }
.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px;}
.footer-social-icon { width: 45px; height: 45px; background: #111; border: 1px solid #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; transition: 0.3s; }
.footer-social-icon:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-5px); }

.faq-container-aura { text-align: left; margin: 40px auto; max-width: 800px; }
.faq-item { background: var(--bg-card); border: 1px solid #222; border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: 0.3s; cursor: pointer;}
.faq-question { padding: 20px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.faq-answer { padding: 0 20px; max-height: 0; opacity:0; transition: 0.3s ease; color: #888; font-size: 13px; line-height: 1.6; }
.faq-item.active { border-color: var(--accent); }
.faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 300px; opacity:1;}
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--accent);}

#toast-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 10px; z-index: 99999; }
.toast { background: var(--accent); 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;}
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); 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: #0d0d10; border: 1px solid #222; width: 95%; border-radius: 20px; position: relative; padding: 40px; transform: scale(0.95); transition: 0.4s; }
.modal-overlay.active .modal-content { transform: scale(1); }
.small-modal { max-width: 450px; text-align: center; }
.loader-overlay { position: fixed; inset: 0; background: #000; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.5s ease; pointer-events: none; }
.spinner { width: 50px; height: 50px; border: 4px solid #222; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .main-header { flex-direction: column; gap: 15px; border-radius: 20px; }
    .main-nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero-section { flex-direction: column; text-align: center; padding: 20px 5%; margin-top: 20px;}
    .hero-features { justify-content: center; flex-wrap: wrap;}
    .hero-actions { justify-content: center; }
    .hero-content-right { margin-top: 30px; }
    .categories-grid { grid-template-columns: 1fr; }
    .product-page-layout { grid-template-columns: 1fr; gap: 30px; }
    .product-page-img { height: 300px; }
    
    .cart-sidebar { width: 100%; right: -100%; }
    .cart-sidebar.fullscreen .cart-inner-container { grid-template-columns: 1fr; margin: 0 auto; padding: 15px 15px 40px 15px; gap: 20px; }
    .cart-sidebar.fullscreen .close-btn { top: 15px; right: 15px; }
    .cart-sidebar.fullscreen .cart-right { padding-top: 0; }
    .cart-sidebar.fullscreen .cart-header h2 { font-size: 26px; }
    .cart-sidebar.fullscreen .checkout-form { padding: 20px; }
    .cart-sidebar.fullscreen .cart-footer { padding: 20px; }
    
    .tracking-search-box { flex-direction: column; }
    .tracking-search-box button { padding: 15px; }
}
@media (max-width: 480px) { .hero-content-left h1 { font-size: 30px; } }
