*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{ background-image:url("../images/background-mobile.webp"); background-size:cover; background-position:center top; background-attachment:fixed; background-repeat:no-repeat; background-color:white; font-family:'Vazirmatn',sans-serif; min-height:100vh; overflow-x:hidden; padding-bottom:80px; } @media(min-width:768px){ body{ background-image:url("../images/background-desktop.webp"); } }

a{ text-decoration:none; color:inherit; }

button, input, textarea{ font-family:inherit; }

img{ display:block; max-width:100%; height:auto; }

.header{ position:fixed; top:0; right:0; width: 100%; display:flex; justify-content:space-between; align-items:center; direction:ltr; padding:18px clamp(16px,4vw,28px); background:rgba(5,5,5,.75); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-bottom:1px solid rgba(255,255,255,.08); transition:.3s; z-index:100; }

.search-overlay{ position:fixed; top:80px; left:0; right:0; bottom:0; display:flex; justify-content:center; align-items:flex-start; padding-top:20px; background:rgba(0,0,0,.45); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); opacity:0; visibility:hidden; pointer-events:none; transition:.3s; z-index:9999; }
.search-overlay.show{ opacity:1; visibility:visible; pointer-events:auto; }
.search-results{ width:min(650px,90%); max-height:70vh; overflow-y:auto; background:#111; border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:12px; display:flex; flex-direction:column; gap:10px; z-index:700; overflow-x:hidden; }
.search-item{ display:flex; align-items:center; gap:15px; padding:12px; border-radius:12px; cursor:pointer; transition:.25s; }
.search-item:hover{ background:rgba(255,255,255,.06); }
.search-item img{ width:60px; height:60px; object-fit:cover; border-radius:10px; }
.search-item-info{ display:flex; flex-direction:column; gap:6px; color:gold;}
.search-item-info h3{ color:#fff; font-size:1rem; }
.search-item-info span{ font-size:.85rem; }
.empty-search{ padding:30px; text-align:center; color:#999; font-size:1rem; }
.search-box{ transition:.3s; flex:1; position:relative; margin:0 15px; }
.search-box input{ width:100%; height:42px; border:none; outline:none; border-radius:30px; padding:0 18px 0 45px; font-size:15px; background:rgba(255,255,255,.12); color:#fff; border:1px solid transparent; backdrop-filter:blur(8px); }
.search-box input:focus{ border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.16); }
.search-box input::placeholder{ color:rgba(255,255,255,.6); }
.search-icon{ position:absolute; left:15px; top:50%; transform:translateY(-50%); color:rgba(255,255,255,.7); font-size:16px; pointer-events:none; }

.logo{ font-size:34px; font-weight:bold; letter-spacing:5px; color:white; }

.menu-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.45); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); opacity:0; visibility:hidden; pointer-events:none; transition:.3s; z-index:500; }
.menu-overlay.show{ opacity:1; visibility:visible; pointer-events:auto; }
.menu-btn{ background:transparent; transition:.3s; border:none; color:white; font-size:34px; cursor:pointer; position:relative; }
.menu-btn:hover{ transform:scale(1.08); }
.side-menu{ overflow-y:auto; -webkit-overflow-scrolling:touch; position:fixed; top:0; right:-320px; width:290px; height:100vh; background:rgba(5,5,5,.78); backdrop-filter:blur(30px); -webkit-backdrop-filter:blur(22px); border-left:1px solid rgba(255,255,255,.08); padding:100px 28px; transition:.35s ease; z-index:600; overscroll-behavior:contain; }
.side-menu.show{ right:0; }
.close-menu{ position:absolute; top:30px; left:30px; font-size:13px; cursor:pointer; }
.products-menu{ display:none; }
.products-menu.show{ display: flex; flex-direction: column; gap: 14px;}
.products-menu::before{ content:""; position:relative; top:-10px; left:0; width:100%; height:10px; background:linear-gradient(to bottom,transparent,rgba(0,0,0,0.5)); }
.side-nav{ display:flex; flex-direction:column; gap:22px; }
.side-nav a{ text-decoration:none; color:#d9d9d9; font-size:20px; transition:.3s; }
.side-nav a:hover{ color:white; }
.side-nav h3{ font-size:22px; margin-top:15px; color:white; }
.products-toggle{ width:100%; background:transparent; border:none; outline:none; box-shadow:none; color:white; font-size:20px; text-align:right; cursor:pointer; padding:12px 0; }
.products-toggle:focus,.products-toggle:active{ outline:none; background:transparent; }

.hero{ background-image:url("../images/hero-mobile.webp"); background-size:cover; background-position:center; background-repeat:no-repeat; background-attachment:scroll; position:relative; display:flex; justify-content:center; align-items:center; width:100%; height:100svh; overflow:hidden; padding-top:90px; padding-bottom:0; isolation:isolate; }
@media(min-width:768px){
.hero{ background-image:url("../images/hero-desktop.webp"); } }
.hero::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.55)); }
.hero-content{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; max-width:700px; padding:20px; }
.hero-title{ color:white; font-size:clamp(2rem,2.5vw,3.5rem); margin-bottom:15px; text-shadow:0 0 20px rgba(255,255,255,.08); }
.hero-subtitle{ color:#bbbbbb; font-size:1.1rem; line-height:1.9; margin-bottom:35px; max-width:500px; }
.hero-btn{ display:inline-flex; align-items:center; justify-content:center; padding:14px 34px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); backdrop-filter:blur(14px); color:#fff; font-size:16px; font-weight:500; transition:.3s; box-shadow:0 8px 30px rgba(0,0,0,.35); }
.hero-btn:hover{ background:rgba(255,255,255,.14); transform:translateY(-2px); }

.story{ position:relative; min-height:100svh; padding:90px 25px; display:flex; flex-direction:column; justify-content:center; align-items:center; overflow:hidden; isolation:isolate; background-image:url("../images/story-mobile.webp"); background-size:cover; background-position:center; background-repeat:no-repeat; }
@media(min-width:768px){ 
.story{ background-image:url("../images/story-desktop.webp"); } }
.story::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.65),rgba(0,0,0,.45)); z-index:0; }
.story>*{ position:relative; z-index:2; }
.story-text{ opacity:0; transform:translateY(15px); transition:.355s; font-size:clamp(1.3rem,3vw,1.8rem); line-height:2.1; letter-spacing:.5px; font-weight:500; color:#fff; text-align:center; max-width:620px; }
.story-text.show{ opacity:1; transform:translateY(0); }
.story-text::after{ content:"|"; display:inline-block; margin-right:3px; color:#c8a062; animation:blink .8s infinite; }
@keyframes blink{ 0%,50%{ opacity:1; } 51%,100%{ opacity:0; } }
.story-text.done::after{ display:none; }
.story-dot{ opacity:0; transform:translateY(10px); transition:.4s; font-size:32px; color:#c8a062; }
.story-dot.show{ opacity:1; transform:translateY(0); }
.story-title{ font-size:clamp(2rem,5vw,3rem); font-weight:700; color:#fff; text-align:center; margin-bottom:70px; }
.timeline{ gap:20px; width:100%; min-height:220px; display:flex; flex-direction:column; align-items:center; }

.product-section{ padding:80px 20px; position:relative; }
.product-grid{ display:flex; gap:16px; overflow-x:auto; padding:10px 40px 20px; scroll-padding:60px; align-items:stretch; scroll-behavior:smooth; padding-bottom:15px; -ms-overflow-style:none; scrollbar-width:none; }
.product-grid::-webkit-scrollbar{ display:none; }
.product-modal{ opacity:0; transition:.3s; display:flex; position:fixed; inset:0; visibility:hidden; pointer-events:none; color:white; justify-content:center; align-items:center; background:rgba(0,0,0,.8); z-index:800; }
.product-modal.show{ opacity:1; visibility:visible; pointer-events:auto; }
.product-title{ height:52px; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:15px; font-weight:700; color:#fff; -webkit-line-clamp:1; line-height:1.5; letter-spacing:.2px; }
.close-product{ position:absolute; top:18px; left:20px; font-size:28px; cursor:pointer; color:#fff; transition:.3s; }
.close-product:hover{ opacity:.7; transform:rotate(90deg); }
.product-modal-content{ display:flex; flex-direction:column; width:90%; max-width:380px; max-height:90vh; overflow-y:auto; padding:30px; border-radius:24px; background:rgba(20,20,20,.85); backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.08); position:relative; }
.product-modal-content img{ width:100%; aspect-ratio:1/1; object-fit:contain; border-radius:12px; margin-bottom:25px; }
.product-card{ flex:0 0 190px; display:flex; box-shadow:0 10px 30px rgba(0,0,0,.28); flex-direction:column; overflow:hidden; border-radius:18px; background:rgba(255,255,255,.04); min-height:unset; max-width:190px; width:190px; backdrop-filter:blur(16px); transition:transform .3s ease,box-shadow .3 ease,border-color .3 ease; }
@media (max-width:480px){
.product-card{ flex:0 0 165px; width:165px; max-width:165px; } }
.product-card:hover{ transform:translateY(-8px); border:1px solid rgba(255,255,255,.08); box-shadow:0 15px 35px rgba(0,0,0,.35); border-color:#c7a15a; }
.product-image{ transform:scale(1); width:100%; transition:transform .35s ease; aspect-ratio:1/0.82; object-fit:cover; padding:10px; }
.product-card:hover 
.product-image{ transform:scale(1.05); }
.product-unit{ white-space:nowrap; font-size:.82rem; color:#9f9f9f; }
.product-price{ margin:0; font-size:1.05rem; letter-spacing:.3px; font-weight:700; color:#d4b74d; }
.nicotine{ display:flex; align-items:center; gap:6px; margin-bottom:4px; margin-top:0px; flex-wrap:wrap; }
.nicotine-text{ font-size:.8rem; color:#bbb; }
.product-content{ gap:6px; display:flex; flex-direction:column; padding:14px; flex:1; }
.product-status{ align-self:flex-start; font-size:.82rem; padding:6px 14px; }
.status-available,
.status-unavailable,
.status-unknown{ display:inline-block; margin-bottom:12px; padding:8px 16px; border-radius:999px; }
.status-available{ background:rgba(0,255,100,.12); color:#63ff93; }
.status-unknown{ background:rgba(255,200,0,.12); color:#ffd66b; }
.status-unavailable{ background:rgba(255,0,0,.12); color:#ff7575; }
.dot{ width:9px; height:9px; border-radius:50%; border:1px solid #555; background:transparent; }
.dot.fill.green{ background:#49b675; border-color:#49b675; box-shadow:0 0 6px rgba(73,182,117,.4); }
.dot.fill.yellow{ background:#d4b74d; border-color:#d4b74d; box-shadow:0 0 6px rgba(212,183,77,.4); }
.dot.fill.orange{ background:#d17b32; border-color:#d17b32; box-shadow:0 0 6px rgba(209,123,50,.4); }
.section-title{ font-size:clamp(2rem,5vw,3rem); margin-bottom:45px; color:#fff; }
.add-cart-btn{ width:48px; height:48px; border:none; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; background:rgba(255,255,255,.08); backdrop-filter:blur(8px); color:#d4af37; transition:.25s; }
.add-cart-btn:hover{ transform:scale(1.08); background:#d4af37; color:#111; box-shadow:0 0 18px rgba(212,175,55,.4); }
.add-cart-btn:active{ transform:scale(.92); }
.add-cart-btn svg{ pointer-events:none; }
.modal-price{ margin:0; font-size:1.2rem; font-weight:700; color:#d4b74d; }
.modal-price-row{ display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:4px 0 8px; }

.scroll-left,
.scroll-right{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border:1px solid rgba(255,255,255,.08); border-radius:50px; background:rgba(255,255,255,.08); backdrop-filter:blur(16px); color:white; transition:opacity .3s,transform .3s,background .3s; font-size:20px; cursor:pointer; z-index:20; }
.scroll-left[style*="opacity"],
.scroll-right[style*="opacity"]{ pointer-events:auto; }
.scroll-left{ left:5px; }
.scroll-right{ right:5px; }
.scroll-left:hover,
.scroll-right:hover{ background:rgba(255,255,255,.15); transform:translateY(-50%) scale(1.08); }

.footer{ text-align:center; padding:20px 20px; border-top:1px solid rgba(255,255,255,.08); background:#080808; color:#bfbfbf; font-size:.95rem; }
.footer-address{ display:block; margin-top:18px; color:#9f9f9f; font-size:.9rem; transition:.3s; }
.footer-address:hover{ color:#fff; }

.order-btn{ display:inline-flex; cursor:pointer; align-items:center; justify-content:center; padding:14px 34px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); backdrop-filter:blur(14px); color:#fff; font-size:16px; font-weight:500; transition:.3s; box-shadow:0 8px 30px rgba(0,0,0,.35); }
.order-btn:hover{ background:rgba(255,255,255,.14); transform:translateY(-2px);}
.order-modal{ transform:scale(1); opacity:0; display:flex; visibility:hidden; pointer-events:none; transition:.3s; position:fixed; top:0; left:0; width:100%; height:100%; justify-content:center; align-items:center; background:rgba(0,0,0,.85); z-index:900; }
.order-modal.show{ opacity:1; visibility:visible; pointer-events:auto; }
.order-content{ width:90%; color:#fff; max-width:420px; background:rgba(18,18,18,.75); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.08); box-shadow:0 10px 40px rgba(0,0,0,.45); border-radius:24px; padding:35px; text-align:center; position:relative; }
.close-order{ position:absolute; top:18px; left:20px; cursor:pointer; font-size:28px; color:#fff; transition:.3s; }
.close-order:hover{ opacity:.7; transform:rotate(90deg); }
.order-content h2,
.order-content p,
.order-content span,
.order-content a{color:#fff; }
.address-title{ margin-top:28px; margin-bottom:12px; font-size:1rem; font-weight:600; color:#fff; }
.address-link{ display:block; padding:16px; border-radius:16px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); color:#d9d9d9; line-height:1.8; transition:.3s; }
.address-link:hover{ background:rgba(255,255,255,.1); transform:translateY(-2px); color:#fff; } 
@keyframes floatArrow{ 0%{ transform:translateY(0); opacity:.5; } 50% { transform:translateY(8px); opacity:.1; } 100%{ transform:translateY(0); opacity:.5; } }
.telegram{ background:#1b2738; }
.telegram:hover{ background:#22344c; }
.social-links{ display:flex; flex-direction:column; gap:18px; margin-top:24px; }
.social-links a{ display:flex; align-items:center; justify-content:center; text-decoration:none; color:white; border:1px solid rgba(255,255,255,.08); padding:16px 18px; margin:0; font-size:1rem; font-weight:500; border-radius:14px; transition:.3s; }
.social-links a:hover{ transform:translateY(-2px); background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.15); }
.phone{ background:#1d1d1d; }
.phone:hover{ background:#2f2f2f; }

.cart-floating{ transition:transform .3s,background .3s,border-color .3s; position:fixed; bottom:20px; left:20px; width:60px; height:60px; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.85); border:1px solid rgba(255,255,255,.08); backdrop-filter:blur(10px); font-size:28px; cursor:pointer; z-index:1000; }
.cart-floating:hover{ transform:scale(1.08); background:rgba(20,20,20,.9); border-color:rgba(255,255,255,.15); }
.cart-floating::before{ content:""; position:absolute; inset:0; border-radius:50%; border:2px solid rgba(255,255,255,.08); }
.cart-modal{ display:flex; position:fixed; inset:0; opacity:0; visibility:hidden; pointer-events:none; transition:.3s; background:rgba(0,0,0,.7); justify-content:center; align-items:center; z-index:1200; }
.cart-modal.show{ opacity:1; visibility:visible; pointer-events:auto; }
.close-cart{ position:absolute; top:18px; left:20px; cursor:pointer; font-size:28px; color:#fff; transition:.3s; }
.cart-items{ max-height:350px; overflow-y:auto; }
.cart-count{ position:absolute; top:-5px; right:-5px; width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; background:#c89b3c; color:#111; font-weight:700; }
.cart-content{ width:90%; opacity:1; transition:.3s; transform:scale(1); max-width:380px; padding:20px; border-radius:20px; background:rgba(18,18,18,.75); color:#fff; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.08); box-shadow:0 10px 40px rgba(0,0,0,.45); }
.cart-content h2,
.cart-content h3,
.cart-content p,
.cart-content span{ color:#fff; }
.cart-row{ display:flex; justify-content:space-between; align-items:center; gap:15px; padding:18px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.cart-controls{ display:flex; align-items:center; justify-content:center; gap:10px; flex-shrink:0; min-width:110px; }
.cart-controls button{ width:30px; height:30px; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.cart-controls button:hover{ background:rgba(255,255,255,.18); transform:scale(1.08); }
.cart-controls span{ min-width:22px; text-align:center; font-weight:700; font-size:15px; }
.cart-info{ display:flex; flex-direction:column; gap:6px; flex:1; min-width:0; }
.cart-info h3{ font-size:1rem; color:white; margin-bottom:4px; }
.cart-price{ font-size:.9rem; color:#d4af37; margin-top:6px; font-weight:700; }
.cart-total{ display:flex; justify-content:space-between; align-items:center; margin-top:20px; padding-top:15px; border-top:1px solid rgba(255,255,255,.08); font-size:1rem; color:#fff; }
#cart-total{ color:#d4b74d; font-weight:700; }
.copy-order-btn{ width:100%; margin-top:16px; padding:14px; border:none; border-radius:14px; background:#d4af37; color:#111; font-size:1rem; font-weight:700; cursor:pointer; transition:.3s; }
.copy-order-btn:hover{ background:#e1bc52; transform:translateY(-2px); }
.cart-contact-btn{ width:100%; margin-top:16px; padding:14px; border:none; border-radius:14px; background:white; color:black; font-size:1rem; font-weight:700; cursor:pointer; transition:.3s; }
.cart-contact-btn:hover{ background:#e1bc52; transform:translateY(-2px); }
.clear-cart-btn{ width:100%; margin-top:16px; padding:14px; border:none; border-radius:14px; background:black; color:white; font-size:1rem; font-weight:700; cursor:pointer; transition:.3s; }
.clear-cart-btn:hover{ background:#e1bc52; transform:translateY(-2px); }
.cart-contact-modal{ display:flex; position:fixed; inset:0; pointer-events:none; transform:scale(1); opacity:0; transition:.3s; justify-content:center; align-items:center; background:rgba(0,0,0,.8); z-index:1300; }
.cart-contact-modal.show{ visibility:visible; pointer-events:auto; opacity:1; }
.add-cart-btn:disabled{ opacity:.45; cursor:not-allowed; background:rgba(255,255,255,.04); color:#666; box-shadow:none; }
.add-cart-btn:disabled:hover{ transform:none; background:rgba(255,255,255,.04); color:#666; }
.empty-cart{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 20px; gap:12px; color:#d5d5d5; font-size:1rem; }
.empty-cart-icon{ font-size:52px; opacity:.7; }
.empty-cart h3{ font-size:1.1rem; color:white; }
.empty-cart p{ font-size:.9rem; color:#9f9f9f; line-height:1.8; }

.contact-btn{display:flex;align-items: center; justify-content: center; width: 100%; padding: 14px 18px; margin-top:14px; color:#fff; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); transition:.3s;}
.contact-btn:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); }

.toast{ padding:14px 18px; min-width:250px; border-radius:16px; background:rgba(18,18,18,.9); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.08); color:#fff; font-size:.95rem; transform:scale(.9); opacity:0; transition:.35s; box-shadow:0 10px 30px rgba(0,0,0,.4) }
.toast-container{ position:fixed; bottom:90px; left:20px; display:flex; flex-direction:column; gap:10px; z-index:9999; pointer-events:none; }
.toast.show{ transform:scale(1); opacity:1; }

.bottom-nav{ position:fixed; left:0; right:0; bottom:0; height:72px; display:flex; justify-content:space-around; align-items:center; background:rgba(10,10,10,.78); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border-top:1px solid rgba(255,255,255,.08); z-index:5000; }
.nav-btn{ display:flex; flex-direction:column; align-items:center; justify-content:center; gpa:4px; background:none; border:none; color:white; cursor:pointer; font-size:23px; transition:.25s;} 
.nav-btn span{ font-size:.75rem; }
.nav-btn:hover{ color:#d4fa37; transform:translateY(-2px); }

