/* ===== Centennial — پایه ===== */
:root{--red:#d9141f;--red-hi:#ff1f2e;--bg:#000;--panel:#16161a;--line:#2a2a30;--txt:#f2f2f2;--muted:#b4b4bc}
*{box-sizing:border-box}
body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--txt);font-family:'Vazirmatn',Tahoma,sans-serif;direction:rtl}
a{color:inherit;text-decoration:none}
a:hover{color:#ff4d5a}
img{max-width:100%}
input,select,button{font-family:inherit}
.wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.row{display:flex;align-items:center}
.between{justify-content:space-between}
.gap12{gap:12px}.wrapflex{flex-wrap:wrap}
.pt28{padding-top:28px}.pt40{padding-top:40px}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);color:#fff;border:1px solid rgba(255,255,255,.22);text-shadow:0 1px 2px rgba(0,0,0,.35);border-radius:10px;padding:12px 22px;font-weight:600;cursor:pointer;font-size:15px;box-shadow:0 4px 14px rgba(217,20,31,.45),inset 0 1px 0 rgba(255,255,255,.3);transition:transform .15s,box-shadow .15s,filter .15s}
.btn:hover{color:#fff;transform:translateY(-1px);filter:brightness(1.1);box-shadow:0 6px 22px rgba(255,31,46,.7),inset 0 1px 0 rgba(255,255,255,.35)}
.btn svg{width:20px;height:20px;flex:none}
.card{background:var(--panel);border:1px solid var(--line);border-radius:12px}
.ttl{font-size:20px;font-weight:800;margin:0 0 20px;display:flex;align-items:center;gap:10px}
.ttl:before{content:"";width:10px;height:22px;background:var(--red);transform:skewX(-20deg)}

/* ===== هدر ===== */
.topbar{background:linear-gradient(90deg,#1a0306,#000 25%,#000 75%,#1a0306);font-size:13px;color:var(--muted);padding:6px 0;border-bottom:1px solid rgba(255,31,46,.35)}
.tb{display:flex;align-items:center;gap:12px}
.tb a{display:flex;align-items:center;gap:7px}
.tb i{width:1px;height:14px;background:rgba(255,255,255,.3)}
.tb svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tb a:hover{color:#ff6571}
/* دکمه‌های حساب کاربری و ثبت‌نام */
.acct{gap:8px}
.tb-login,.tb-reg{display:inline-flex;align-items:center;gap:7px;padding:5px 15px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.5;transition:box-shadow .15s,border-color .15s,filter .15s}
.tb-login{color:#e4e4ea;border:1px solid #3a3a42;background:linear-gradient(180deg,#22222a,#0a0a0d);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.tb-login:hover{color:#fff;border-color:var(--red-hi);box-shadow:0 0 12px rgba(255,31,46,.55)}
.tb-reg{color:#fff;border:1px solid rgba(255,255,255,.25);background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);text-shadow:0 1px 2px rgba(0,0,0,.35);box-shadow:0 0 12px rgba(255,31,46,.55),inset 0 1px 0 rgba(255,255,255,.4)}
.tb-reg:hover{color:#fff;filter:brightness(1.12);box-shadow:0 0 18px rgba(255,31,46,.9),inset 0 1px 0 rgba(255,255,255,.4)}
.tb-reg svg{stroke-width:1.9}
.site-header{position:relative;border-bottom:2px solid var(--red-hi);box-shadow:0 6px 26px rgba(255,31,46,.4);
  background:radial-gradient(55% 140% at 88% 0%,rgba(217,20,31,.28),transparent 62%),radial-gradient(40% 120% at 4% 100%,rgba(217,20,31,.22),transparent 60%),linear-gradient(180deg,#15151a,#000)}
.head-main{display:flex;align-items:center;gap:24px;padding-top:16px;padding-bottom:14px}
.logo{height:76px;display:block;filter:drop-shadow(0 0 10px rgba(255,255,255,.12))}
.site-header{z-index:20}
/* --- نوار جستجو: متوازی‌الاضلاع نئونی، دکمه‌ی براق، پاک‌کن، میان‌بر «/» و پیشنهادهای پرطرفدار --- */
.search-wrap{position:relative;flex:1;min-width:0}
.search{--sk:-14deg;display:flex;align-items:stretch;overflow:hidden;margin:0 8px;border:2px solid var(--red-hi);border-radius:8px;transform:skewX(var(--sk));
  background:linear-gradient(180deg,#16161c,#050507);
  box-shadow:inset 0 0 0 3px #000,0 0 6px var(--red-hi),0 0 18px rgba(255,31,46,.45);transition:box-shadow .2s,border-color .2s}
.search:focus-within{border-color:#ff6571;box-shadow:inset 0 0 0 3px #000,0 0 8px #ff6571,0 0 26px rgba(255,31,46,.8),0 0 52px rgba(255,31,46,.35)}
.search input{flex:1;min-width:0;background:none;border:0;outline:0;color:#fff;padding:15px 14px;font-size:14px;transform:skewX(calc(var(--sk) * -1))}
.search input::placeholder{color:#8a8a94}
.search input::-webkit-search-cancel-button{display:none}
.search .s-btn{border-radius:0;border:0;box-shadow:none;padding:0 28px;font-size:15px}
.search .s-btn:hover{transform:none;box-shadow:inset 0 0 18px rgba(255,255,255,.25)}
.s-btn span{display:inline-flex;align-items:center;gap:8px;transform:skewX(calc(var(--sk) * -1))}
.s-clear{align-self:center;width:28px;height:28px;margin-inline-end:6px;border:0;border-radius:50%;background:#2a2a31;color:#fff;font-size:18px;line-height:1;cursor:pointer;transform:skewX(calc(var(--sk) * -1))}
.s-clear:hover{background:var(--red)}
.s-clear[hidden]{display:none}
.s-kbd{align-self:center;margin-inline-end:14px;padding:1px 9px;border:1px solid #3a3a42;border-radius:6px;background:#0b0b0e;color:#9a9aa4;font:600 12px/1.6 inherit;transform:skewX(calc(var(--sk) * -1))}
.search:focus-within .s-kbd,.search-wrap.has-text .s-kbd{display:none}
.s-pop{position:absolute;z-index:30;top:calc(100% + 12px);left:8px;right:8px;display:none;padding:16px 18px;border-radius:14px;border:1px solid #3a3a42;
  background:linear-gradient(180deg,#17171c,#08080b);box-shadow:0 16px 40px rgba(0,0,0,.75),0 0 18px rgba(255,31,46,.3)}
.search-wrap:focus-within .s-pop{display:block}
.search-wrap.has-text .s-pop{display:none}
.s-pop b{display:block;margin-bottom:10px;font-size:13px;color:var(--muted)}
.s-chips{display:flex;gap:8px;flex-wrap:wrap}
.s-chips a{padding:7px 15px;border-radius:999px;font-size:13px;border:1px solid #3a3a42;background:linear-gradient(180deg,#22222a,#0a0a0d);transition:border-color .15s,box-shadow .15s}
.s-chips a:hover{color:#fff;border-color:var(--red-hi);box-shadow:0 0 10px rgba(255,31,46,.55)}
.cart{display:flex;align-items:center;gap:12px;padding:14px 20px;font-size:14px;font-weight:600;white-space:nowrap;border-radius:12px;background:linear-gradient(180deg,#1f1f25,#08080a);border:1px solid #34343c;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:border-color .15s,box-shadow .15s}
.cart:hover{border-color:var(--red-hi);box-shadow:0 0 16px rgba(255,31,46,.55);color:#fff}
.cart-ic{position:relative;display:flex}
.cart-ic svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dot{position:absolute;top:-4px;left:-5px;width:10px;height:10px;border-radius:50%;background:var(--red-hi);box-shadow:0 0 8px var(--red-hi)}
.btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.navbar{position:relative;display:flex;align-items:center;gap:8px;padding:6px 10px;margin-bottom:14px;
  background:linear-gradient(180deg,#1f1f25,#0a0a0d);border:1px solid #31313a;border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px #000}
.navbar:after{content:"";position:absolute;left:22px;top:0;bottom:0;width:54px;pointer-events:none;
  background:linear-gradient(110deg,transparent 0 28%,#d9141f 28% 44%,transparent 44% 58%,#d9141f 58% 68%,transparent 68%);filter:drop-shadow(0 0 6px var(--red-hi))}
.navbar a{position:relative;isolation:isolate;padding:11px 24px;font-size:14px;font-weight:600;color:#e4e4ea;white-space:nowrap}
.navbar a:hover{color:#ff6571}
.navbar a.active{color:#fff}
.navbar a.active:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:8px;transform:skewX(-14deg);
  background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);box-shadow:0 0 16px rgba(255,31,46,.75),inset 0 1px 0 rgba(255,255,255,.45)}

/* ===== بنر اصلی ===== */
/* همه‌ی عکس‌های بنر باید نسبت 1920×634 (حدود ۳٫۰۳ : ۱) داشته باشند */
.hero{position:relative;display:grid;overflow:hidden;line-height:0;border-bottom:1px solid var(--line);touch-action:pan-y}
.slide{grid-area:1/1;position:relative;visibility:hidden;opacity:0}
.slide.is-active{visibility:visible;opacity:1;z-index:1}
.slide img{width:100%;aspect-ratio:1920/634;object-fit:cover;display:block}
.hbtn{position:absolute;left:80%;top:85%;width:16%;height:11%;display:flex;align-items:center;justify-content:center;background:#050505;border:2px solid var(--red-hi);border-radius:8px;color:#fff;font-weight:600;font-size:clamp(10px,1.45vw,18px);line-height:1;box-shadow:0 0 12px rgba(255,31,46,.6)}
.hbtn:hover{background:var(--red);color:#fff}

/* انیمیشن رفتن به بنر بعدی/قبلی: بنر جدید با یک «تیغه‌ی اریب» روی بنر قبلی باز می‌شود و نور قرمز لبه‌ی آن را همراهی می‌کند.
   بنر قبلی تا پایان انیمیشن زیرِ آن ثابت می‌ماند، پس هیچ‌وقت کناره‌ها سیاه نمی‌شوند. */
.slide{overflow:hidden}
.slide.in-next{z-index:2;animation:hwipe-next .85s cubic-bezier(.65,.05,.2,1) both}
.slide.in-prev{z-index:2;animation:hwipe-prev .85s cubic-bezier(.65,.05,.2,1) both}
.slide.in-next img,.slide.in-prev img{animation:hzoom .95s ease-out both}
@keyframes hwipe-next{from{clip-path:polygon(-30% 0,-10% 0,-30% 100%,-30% 100%)}to{clip-path:polygon(-30% 0,130% 0,110% 100%,-30% 100%)}}
@keyframes hwipe-prev{from{clip-path:polygon(150% 0,130% 0,130% 100%,130% 100%)}to{clip-path:polygon(-10% 0,130% 0,130% 100%,-30% 100%)}}
@keyframes hzoom{from{transform:scale(1.08)}to{transform:none}}
.hsweep{position:absolute;z-index:3;top:-10%;bottom:-10%;left:-31%;width:22%;pointer-events:none;opacity:0;mix-blend-mode:screen;filter:blur(3px);
  background:linear-gradient(90deg,transparent,rgba(255,31,46,.35) 25%,rgba(255,110,120,.95) 50%,rgba(255,31,46,.35) 75%,transparent);transform:skewX(-20deg)}
.hero.moving-next .hsweep,.hero.moving-prev .hsweep{animation:hsweep .85s cubic-bezier(.65,.05,.2,1) both}
.hero.moving-prev .hsweep{animation-direction:reverse}
@keyframes hsweep{0%{left:-31%;opacity:0}12%{opacity:1}88%{opacity:1}100%{left:109%;opacity:0}}

.harrow{position:absolute;z-index:4;top:50%;margin-top:-22px;width:44px;height:44px;border-radius:50%;border:1px solid #3a3a42;background:rgba(0,0,0,.65);color:#fff;font-size:26px;line-height:1;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.harrow:hover{border-color:var(--red-hi);box-shadow:0 0 14px rgba(255,31,46,.7)}
.hprev{right:12px}.hnext{left:12px}
.hdots{position:absolute;z-index:4;bottom:12px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:8px}
.hdots button{position:relative;overflow:hidden;width:12px;height:12px;padding:0;border:0;border-radius:6px;background:#666;cursor:pointer;transition:width .3s,background .3s}
.hdots button.is-active{width:40px;background:#3a3a42}
.hdots button.is-active:after{content:"";position:absolute;inset:0;background:var(--red-hi);box-shadow:0 0 8px var(--red-hi);transform-origin:right center;animation:hfill 6s linear both}
.hero:hover .hdots button.is-active:after{animation-play-state:paused}
@keyframes hfill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.hdots button.is-active:after{animation:none}.slide[class*="in-"],.slide[class*="in-"] img{animation:none}}

/* ===== فیلتر متوازی‌الاضلاع نئونی ===== */
@property --a{syntax:'<angle>';initial-value:0deg;inherits:false}
.neon{--sk:-20deg;position:relative;margin:0 30px;background:#1d1d22;border:2px solid var(--red-hi);padding:22px 40px;transform:skewX(var(--sk));
  box-shadow:inset 0 0 0 5px #000,0 0 6px var(--red-hi),0 0 18px rgba(255,31,46,.7),0 0 40px rgba(255,31,46,.4);animation:neonpulse 2.6s ease-in-out infinite alternate}
/* نور نئونی که دور کادر می‌چرخد */
.neon:before{content:"";position:absolute;inset:-3px;padding:4px;pointer-events:none;
  background:conic-gradient(from var(--a),transparent 0 8%,rgba(255,31,46,.9) 14%,#fff 17%,rgba(255,31,46,.9) 20%,transparent 28% 58%,rgba(255,31,46,.9) 64%,#fff 67%,rgba(255,31,46,.9) 70%,transparent 78%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  filter:drop-shadow(0 0 5px #ff1f2e) drop-shadow(0 0 10px #ff1f2e);animation:neonspin 4s linear infinite}
@keyframes neonspin{to{--a:360deg}}
@keyframes neonpulse{from{box-shadow:inset 0 0 0 5px #000,0 0 5px var(--red-hi),0 0 14px rgba(255,31,46,.55),0 0 30px rgba(255,31,46,.3)}to{box-shadow:inset 0 0 0 5px #000,0 0 8px var(--red-hi),0 0 24px rgba(255,31,46,.85),0 0 52px rgba(255,31,46,.5)}}
.neon-in{display:flex;gap:14px;flex-wrap:wrap;transform:skewX(calc(var(--sk) * -1))}
.neon select{flex:1 1 140px;padding:12px;background:#000;color:#fff;border:1px solid var(--line);border-radius:8px}
.neon select:disabled{opacity:.6}
.neon .btn{flex:1 1 160px;text-align:center}

/* ===== برندها ===== */
.chip{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 26px;font-weight:600;flex:1 1 120px;text-align:center;display:flex;align-items:center;justify-content:center;min-height:56px}
.chip img{max-height:36px;max-width:100%;width:auto;opacity:.8;transition:opacity .2s,filter .2s}
.chip:hover img{opacity:1;filter:drop-shadow(0 0 6px rgba(255,31,46,.7))}
.chip:hover{border-color:var(--red)}

/* ===== دسته‌بندی ===== */

/* ===== دسته‌بندی ===== */
.cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cat {
    position: relative;
    display: block;
    height: 158px;
    overflow: hidden;
    border: 1px solid #34343c;
    border-radius: 14px;
    background: #080808;
    transition: border-color .2s, box-shadow .2s;
}

/* تصویر تمام فضای کارت را پوشش می‌دهد */
.cat .cimg {
    position: absolute;
    inset: 0;
    height: 100%;
    background: var(--img, none) center / cover no-repeat;
    filter: none;
    opacity: 1;
}

/* عنوان روی تصویر */
.catlabel {
    position: absolute;
    right: 10px;
    bottom: 10px;
    min-width: 64%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, .88);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    z-index: 2;
}

.catlabel:after {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-left: 2px solid var(--red-hi);
    border-bottom: 2px solid var(--red-hi);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 4px var(--red-hi));
}

.cat:hover {
    border-color: var(--red-hi);
    box-shadow: 0 0 18px rgba(255, 31, 46, .45);
}


/* ===== محصولات ===== */
.prods{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.prod{background:#f3f3f4;color:#111;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.prod .img{height:150px;background:#ececee;display:flex;align-items:center;justify-content:center}
.prod .img img{width:100%;height:100%;object-fit:contain}
.pbody{padding:14px}
.pr{color:#c40f1a;font-weight:800;margin:6px 0 12px}
.add{width:100%;background:linear-gradient(180deg,#2a2a31,#101013);color:#fff;border:1px solid #3a3a42;border-radius:10px;padding:11px;font-weight:600;cursor:pointer;transition:all .15s}
.add:hover{background:linear-gradient(180deg,#ff3340,#c4101b);border-color:var(--red-hi);box-shadow:0 4px 16px rgba(255,31,46,.55)}

/* ===== نوار اعتماد (نئونی) ===== */
.trust{position:relative;overflow:hidden;margin-top:50px;padding:28px 0;
  background:linear-gradient(90deg,rgba(130,10,20,.4),#000 28%,#000 72%,rgba(130,10,20,.3));
  border-top:2px solid var(--red-hi);border-bottom:2px solid var(--red-hi);
  box-shadow:0 -4px 22px rgba(255,31,46,.45),0 4px 22px rgba(255,31,46,.45),inset 0 0 50px rgba(255,31,46,.1)}
.trust:before{content:"";position:absolute;left:0;top:0;bottom:0;width:110px;pointer-events:none;
  background:repeating-linear-gradient(120deg,rgba(255,31,46,.9) 0 8px,transparent 8px 20px);
  -webkit-mask-image:linear-gradient(90deg,#000,transparent);mask-image:linear-gradient(90deg,#000,transparent);opacity:.7}
.trust-grid{position:relative;display:grid;grid-template-columns:repeat(3,1fr)}
.ti{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;padding:6px 12px}
.ti:not(:last-child):after{content:"";position:absolute;left:0;top:6%;bottom:6%;width:1px;background:rgba(255,255,255,.28);transform:skewX(-20deg)}
.ti svg{width:44px;height:44px;flex:none;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(255,31,46,.8))}
.ti b{display:block;font-size:17px}
.ti span{display:block;color:var(--muted);font-size:13px;margin-top:2px}

/* ===== فوتر ===== */
.site-footer{background:#000;margin-top:40px;border-top:1px solid var(--red)}
.foot-cols{align-items:flex-start;gap:40px;flex-wrap:wrap;padding-top:36px;padding-bottom:28px}
.fc{flex:1 1 140px}.fc-wide{flex:2 1 260px}
.fc p{color:var(--muted);font-size:14px}
.f a{display:block;color:var(--muted);padding:5px 0}
.fc .logo{height:60px}
.newsletter{display:flex}
.newsletter input{flex:1;padding:12px;border:0;border-radius:0 8px 8px 0;background:#1b1b20;color:#fff}
.newsletter .btn{border-radius:8px 0 0 8px;box-shadow:none}
.copy{text-align:center;color:#8a8a94;font-size:13px;padding:14px;border-top:1px solid #1b1b20}

/* ===== موبایل ===== */
@media(max-width:860px){
  .head-main{flex-wrap:wrap;gap:14px}.logo-link{flex:1}.logo{height:58px}.search-wrap{order:3;flex-basis:100%}
  .search{--sk:-8deg}.s-kbd{display:none}.search .s-btn{padding:0 18px}
  .navbar{overflow-x:auto;gap:4px;scrollbar-width:none}.navbar:after{display:none}
  .topbar{font-size:12px}.tb{gap:8px}
  .tb-login,.tb-reg{padding:4px 11px;font-size:12px}
  .cats{grid-template-columns:repeat(2,1fr)}
  .neon{--sk:-12deg;margin:0 24px;padding:20px 32px}
  .trust-grid{grid-template-columns:1fr;gap:18px}
  .ti:not(:last-child):after{display:none}
}
@media(max-width:560px){
  .wrap{padding:0 14px}
  .neon{--sk:-8deg;margin:0 26px;padding:18px 26px}
  .neon select,.neon .btn{flex:1 1 100%}
  .neon:before{animation-duration:5s}
}
@media(prefers-reduced-motion:reduce){.neon,.neon:before{animation:none}}

/* ===== صفحه‌ی محصولات ===== */
.pagehead{padding-top:24px}
.crumbs{font-size:13px;color:#9a9aa4;display:flex;gap:8px;flex-wrap:wrap}
.crumbs span{opacity:.5}
.headline{margin-top:14px}
.headline h1{margin:0;font-size:28px;font-weight:800}
.headline small{font-size:14px;color:var(--muted);font-weight:400;margin-inline-start:8px}
.sort{display:flex;gap:6px;flex-wrap:wrap;padding:5px;background:linear-gradient(180deg,#1f1f25,#0a0a0d);border:1px solid #31313a;border-radius:12px}
.sort a{position:relative;isolation:isolate;padding:9px 18px;font-size:14px;font-weight:600;color:#e4e4ea;white-space:nowrap}
.sort a.on{color:#fff}
.sort a.on:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:8px;transform:skewX(-14deg);background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);box-shadow:0 0 14px rgba(255,31,46,.7),inset 0 1px 0 rgba(255,255,255,.45)}
.lay{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:start;padding-top:22px}
.filters>summary{display:none;list-style:none;text-align:center;margin-bottom:12px}
.filters .grp{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:16px}
.filters .grp.hot{border-color:var(--red-hi);box-shadow:0 0 14px rgba(255,31,46,.35),inset 0 0 0 3px #000}
.filters .ttl{font-size:16px;margin-bottom:12px}
.filters .ttl:before{width:8px;height:18px}
.filters select,.filters input[type=text]{width:100%;padding:11px;margin-bottom:10px;background:#000;color:#fff;border:1px solid var(--line);border-radius:8px}
.filters input[type=text]:last-child{margin-bottom:0}
.ck{display:flex;align-items:center;gap:10px;padding:7px 0;color:#d4d4da;font-size:14px;cursor:pointer}
.ck input{width:18px;height:18px;accent-color:var(--red)}
.ck span{flex:1}
.ck em{font-style:normal;color:#80808a;font-size:12px}
.btn.block{display:flex;width:100%}
.reset{display:block;text-align:center;margin-top:12px;font-size:13px;color:var(--muted)}
.prods.three{grid-template-columns:repeat(3,1fr)}
.pt{font-weight:600}
.pc{color:#666;font-size:12px;margin-top:2px}
.prod .img{position:relative;height:170px}
.badge{position:absolute;top:10px;right:10px;font-style:normal;font-size:12px;font-weight:600;padding:4px 10px;border-radius:6px;background:#111;color:#fff}
.soldout .img img{opacity:.45}
.add:disabled{opacity:.55;cursor:not-allowed;background:#2a2a31;box-shadow:none;border-color:#3a3a42}
.empty{grid-column:1/-1;text-align:center;padding:60px 20px;background:var(--panel);border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;gap:16px;align-items:center}
.pg{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.pg a,.pg .dots{min-width:42px;height:42px;padding:0 14px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-weight:600}
.pg .dots{border:0;background:none}
.pg a.on{background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);border-color:var(--red-hi);box-shadow:0 0 14px rgba(255,31,46,.65);color:#fff}
.pg a:hover:not(.on){border-color:var(--red-hi)}
@media(max-width:860px){
  .lay{grid-template-columns:1fr}
  .filters>summary{display:block}
  .prods.three{grid-template-columns:repeat(2,1fr)}
  .headline h1{font-size:22px}
  .sort{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
}
@media(max-width:420px){.prods.three{gap:10px}.prod .img{height:130px}.pbody{padding:10px}}

/* ===== کارت محصول: تخفیف ===== */
.off{position:absolute;top:10px;left:10px;font-style:normal;font-size:12px;font-weight:700;padding:5px 10px;border-radius:6px;color:#fff;
  background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);box-shadow:0 2px 8px rgba(217,20,31,.5)}
.pt{display:block;color:#111}
.pt:hover{color:var(--red)}
.old{color:#8a8a92;text-decoration:line-through;font-size:12px;margin-top:6px}
.old+.pr{margin-top:2px}

/* ===== جزئیات محصول ===== */
.pstrip{border-top:2px solid var(--red-hi);border-bottom:1px solid #3a0a10;box-shadow:0 0 20px rgba(255,31,46,.3);
  background:linear-gradient(270deg,#000 0 34%,rgba(0,0,0,.55) 60%,transparent 90%),url('../img/strip.jpg') left center/auto 100% no-repeat,#000}
.pstrip .wrap{display:flex;justify-content:flex-start}
.pstrip-t{display:flex;align-items:center;gap:14px;padding:30px 0}
.pstrip-t strong{font-size:26px;font-weight:800}
.pstrip-t i{width:30px;height:38px;background:repeating-linear-gradient(115deg,var(--red-hi) 0 7px,transparent 7px 14px);filter:drop-shadow(0 0 6px var(--red-hi))}
.pd{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;padding-top:20px}
.pinfo h1{margin:0 0 12px;font-size:34px;font-weight:800;line-height:1.35}
.rate{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}
.stars{display:inline-flex;gap:3px}
.stars svg{width:22px;height:22px;fill:#3a3a42}
.stars svg.on{fill:#ffc21a;filter:drop-shadow(0 0 4px rgba(255,194,26,.5))}
.stars.sm svg{width:16px;height:16px}
.short{font-size:17px;line-height:2;color:#e6e6ec;margin:16px 0}
.pinfo hr{border:0;border-top:1px solid var(--line);margin:18px 0}
.prices{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap}
.pnew{font-size:36px;font-weight:800;color:#ff2230;text-shadow:0 0 18px rgba(255,31,46,.45)}
.pnew small{font-size:18px;font-weight:600}
.pold{font-size:20px;color:#8a8a92;text-decoration:line-through}
.stock{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:7px 16px;border-radius:8px;font-weight:600;font-size:14px}
.stock svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.stock.ok{background:linear-gradient(180deg,#26b45f,#13863f);color:#fff;box-shadow:0 0 12px rgba(38,180,95,.35)}
.stock.no{background:#2a2a31;color:#b4b4bc}
.buy{display:flex;gap:12px;align-items:stretch;margin-top:22px}
.qty{display:flex;align-items:center;background:#0b0b0e;border:1px solid #34343c;border-radius:12px;overflow:hidden}
.qty button{width:40px;border:0;background:none;color:#fff;font-size:20px;cursor:pointer}
.qty button:hover{color:var(--red-hi)}
.qty input{width:44px;text-align:center;background:none;border:0;color:#fff;font-size:16px;font-family:inherit}
.addbtn{flex:1;font-size:17px;padding:14px 24px;border-radius:12px}
.addbtn:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.6)}
.heart{width:56px;border-radius:12px;background:#0b0b0e;border:2px solid var(--red-hi);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 0 12px rgba(255,31,46,.35)}
.heart svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round}
.heart[aria-pressed=true] svg{fill:var(--red-hi);stroke:var(--red-hi)}
.ptrust{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;border:1px solid #31313a;border-radius:14px;background:linear-gradient(180deg,#14141a,#050507);padding:18px 6px}
.ptrust>div{position:relative;text-align:center;padding:0 8px;font-size:13px}
.ptrust>div:not(:last-child):after{content:"";position:absolute;left:0;top:8%;bottom:8%;width:1px;background:rgba(255,255,255,.2);transform:skewX(-20deg)}
.ptrust svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin:0 auto 8px;display:block;filter:drop-shadow(0 0 5px rgba(255,31,46,.7))}
.ptrust b,.ptrust span{display:block}
.ptrust span{color:var(--muted);font-size:12px}
/* گالری */
.gmain{position:relative;background:#fff;border-radius:16px;height:350px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px #000,0 0 24px rgba(255,31,46,.18)}
.gmain img{max-width:100%;max-height:100%;object-fit:contain;padding:14px}
.gmain .off{top:14px;left:14px;font-size:13px}
.zoom{position:absolute;bottom:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(0,0,0,.72);cursor:pointer;display:flex;align-items:center;justify-content:center}
.zoom svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.gthumbs{display:flex;align-items:center;gap:10px;margin-top:14px}
.gtrack{flex:1;display:flex;gap:10px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}
.gt{flex:0 0 calc(25% - 8px);height:76px;border:2px solid transparent;border-radius:10px;background:#fff;padding:4px;cursor:pointer}
.gt img{width:100%;height:100%;object-fit:contain}
.gt.on{border-color:var(--red-hi);box-shadow:0 0 10px rgba(255,31,46,.6)}
.garrow,.carrow{width:40px;height:40px;flex:none;border-radius:50%;border:1px solid #3a3a42;background:#0b0b0e;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.garrow:hover,.carrow:hover{border-color:var(--red-hi);box-shadow:0 0 10px rgba(255,31,46,.6)}
.zdlg{border:0;padding:0;background:#fff;border-radius:14px;max-width:min(92vw,900px)}
.zdlg::backdrop{background:rgba(0,0,0,.82)}
.zdlg img{display:block;max-width:100%;max-height:86vh;margin:auto}
/* تب‌ها */
.tabs{margin-top:44px}
.tabbar{display:flex;gap:6px;padding:8px 8px 0;border-radius:14px 14px 0 0;background:linear-gradient(180deg,#1b1b21,#0a0a0d);border:1px solid #31313a;border-bottom:0;overflow-x:auto;scrollbar-width:none}
.tabbar button{position:relative;isolation:isolate;border:0;background:none;color:#d4d4da;font-family:inherit;font-weight:600;font-size:15px;padding:13px 26px;cursor:pointer;white-space:nowrap}
.tabbar button[aria-selected=true]{color:#fff}
.tabbar button[aria-selected=true]:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#ff5460 0%,#e3182a 48%,#b50e1a 52%,#d41624 100%);box-shadow:0 0 14px rgba(255,31,46,.6)}
.tpanel{min-height:130px;padding:26px;background:linear-gradient(180deg,#111115,#06060a);border:1px solid #31313a;border-radius:0 0 14px 14px;line-height:2.1;color:#dcdce2}
.tpanel.desc{display:flex;padding:0;overflow:hidden;background:linear-gradient(270deg,#0a0a0d 0 55%,rgba(10,10,13,.75) 75%,transparent),url('../img/desc-bg.jpg') left center/auto 100% no-repeat,#06060a}
.tpanel.desc[hidden]{display:none}
.desc-t{max-width:62%;padding:26px}
.spec{width:100%;border-collapse:collapse}
.spec th,.spec td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:right}
.spec th{width:34%;color:var(--muted);font-weight:600}
.rev{padding:14px 0;border-bottom:1px solid var(--line)}
.rev b{margin-inline-end:12px}
.rev p{margin:6px 0 0}
/* محصولات مشابه */
.car{position:relative;display:flex;align-items:center;gap:10px}
.cartrack{flex:1;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:6px 2px 10px}
.cartrack .prod{flex:0 0 240px;scroll-snap-align:start}
@media(max-width:860px){
  .pd{grid-template-columns:1fr}
  .gal{order:-1}
  .pinfo h1{font-size:26px}
  .pnew{font-size:30px}
  .gmain{height:290px}
  .desc-t{max-width:100%}
  .tpanel.desc{background:linear-gradient(0deg,#0a0a0d 0 45%,rgba(10,10,13,.85)),url('../img/desc-bg.jpg') center top/cover no-repeat,#06060a}
  .pstrip-t strong{font-size:20px}
  .cartrack .prod{flex-basis:200px}
  .carrow{display:none}
}
@media(max-width:480px){.buy{flex-wrap:wrap}.addbtn{flex:1 1 100%;order:3}.qty{flex:1}.ptrust{padding:14px 2px}.ptrust svg{width:30px;height:30px}.tabbar button{padding:12px 16px;font-size:14px}}

/* ===== سبد خرید ===== */
.linkbtn{background:none;border:0;color:var(--muted);font-family:inherit;font-size:14px;cursor:pointer;text-decoration:underline}
.linkbtn:hover{color:#ff4d5a}
.empty.big{padding:70px 20px;margin-top:20px}
.empty.big svg{width:64px;height:64px;fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(255,31,46,.7))}
.cartpg{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:start;padding-top:20px}
.citems{display:flex;flex-direction:column;gap:14px}
.citem{display:grid;grid-template-columns:96px 1fr auto 150px 40px;gap:16px;align-items:center;padding:14px;background:linear-gradient(180deg,#16161a,#0a0a0d);border:1px solid #31313a;border-radius:14px}
.citem.off{opacity:.7}
.cimgb{display:block;width:96px;height:80px;background:#ececee;border-radius:10px;overflow:hidden}
.cimgb img{width:100%;height:100%;object-fit:contain}
.ctitle{font-weight:700}
.cmeta{color:var(--muted);font-size:12px;margin-top:3px}
.cunit{margin-top:8px;font-size:14px;color:#e4e4ea}
.cunit s{color:#8a8a92;margin-inline-end:6px}
.cqty{display:flex;align-items:center;background:#000;border:1px solid #34343c;border-radius:10px;overflow:hidden}
.cqty button{width:36px;height:38px;border:0;background:none;color:#fff;font-size:18px;cursor:pointer}
.cqty button:hover:not(:disabled){color:var(--red-hi)}
.cqty button:disabled{opacity:.35;cursor:not-allowed}
.cqty output{min-width:34px;text-align:center;font-weight:600}
.ctotal{font-weight:800;color:#ff2230;text-align:left;font-size:17px}
.ctotal small{font-size:12px;font-weight:600}
.cdel{width:38px;height:38px;border-radius:10px;border:1px solid #34343c;background:#000;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cdel svg{width:20px;height:20px;fill:none;stroke:#e4e4ea;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cdel:hover{border-color:var(--red-hi);box-shadow:0 0 10px rgba(255,31,46,.6)}
.csum{position:sticky;top:16px;padding:22px;border:1px solid var(--red-hi);border-radius:16px;background:linear-gradient(180deg,#16161a,#050507);box-shadow:0 0 18px rgba(255,31,46,.35),inset 0 0 0 3px #000}
.csum dl{margin:0 0 16px}
.csum dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.csum dt{color:var(--muted)}
.csum dd{margin:0;font-weight:600}
.csum .disc dd{color:#3ddc84}
.csum .grand{border-bottom:0;font-size:16px;padding-top:14px}
.csum .grand dt{color:#fff;font-weight:700}
.csum .grand dd{color:#ff2230;font-size:20px;font-weight:800;text-shadow:0 0 14px rgba(255,31,46,.45)}
.csum .grand small{font-size:12px}
.warn{background:#2a1a0a;border:1px solid #6a4a1a;color:#ffc27a;border-radius:8px;padding:10px;font-size:13px;margin:0 0 14px}
.csafe{list-style:none;margin:16px 0 0;padding:0;color:var(--muted);font-size:13px;display:grid;gap:6px}
.csafe li:before{content:"✓";color:var(--red-hi);margin-inline-end:8px}
/* اعلان کوتاه */
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);opacity:0;pointer-events:none;z-index:50;
  padding:12px 22px;border-radius:12px;background:#0b0b0e;border:1px solid var(--red-hi);box-shadow:0 0 18px rgba(255,31,46,.55);font-weight:600;transition:all .25s}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.err{border-color:#ffb020;box-shadow:0 0 18px rgba(255,176,32,.45)}
@media(max-width:860px){
  .cartpg{grid-template-columns:1fr}
  .csum{position:static}
  .citem{grid-template-columns:80px 1fr 40px;grid-template-areas:"img info del" "qty qty total"}
  .citem .cimgb{grid-area:img;width:80px;height:70px}
  .citem .cinfo{grid-area:info}
  .citem form:last-child{grid-area:del}
  .citem .cqty{grid-area:qty;justify-self:start}
  .citem .ctotal{grid-area:total;text-align:left}
}

/* ===== شبکه‌های اجتماعی فوتر ===== */
.foot-social{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding-top:22px;padding-bottom:22px;border-top:1px solid #1b1b20}
.fs-title{font-weight:700;color:#e4e4ea;font-size:14px}
.foot-social ul{list-style:none;margin:0;padding:0;display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.soc{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;border-radius:999px;font-size:13px;font-weight:600;color:#e4e4ea;border:1px solid #3a3a42;
  background:linear-gradient(180deg,#22222a,#0a0a0d);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:border-color .15s,box-shadow .15s,transform .15s}
.soc svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(255,31,46,.6))}
.soc:hover{color:#fff;border-color:var(--red-hi);box-shadow:0 0 14px rgba(255,31,46,.65);transform:translateY(-2px)}
@media(max-width:560px){.foot-social{flex-direction:column;gap:12px}.foot-social ul{display:grid;grid-template-columns:1fr 1fr;width:100%}.soc{justify-content:center}}

/* ===== نسخه‌های محصول (وارداتی / اصلی شرکتی ...) ===== */
.vsel{margin:18px 0 6px}
.vlabel{display:block;margin-bottom:10px;font-size:14px;font-weight:700}
.vlist{display:flex;gap:10px;flex-wrap:wrap}
.vopt{position:relative;cursor:pointer}
.vopt input{position:absolute;opacity:0;width:1px;height:1px}
.vbox{display:flex;flex-direction:column;gap:3px;min-width:160px;padding:12px 18px;border-radius:12px;border:1px solid #3a3a42;background:linear-gradient(180deg,#1b1b21,#0a0a0d);transition:border-color .15s,box-shadow .15s,background .15s}
.vbox b{font-size:15px}
.vbox small{font-size:13px;color:var(--muted)}
.vbox em{font-style:normal;font-size:11px;font-weight:700;color:#ffc27a}
.vopt:hover .vbox{border-color:#6a6a72}
.vopt input:checked+.vbox{border-color:var(--red-hi);background:linear-gradient(180deg,#2a0a0e,#0a0a0d);box-shadow:0 0 0 1px var(--red-hi),0 0 16px rgba(255,31,46,.55)}
.vopt input:checked+.vbox small{color:#ff8a94}
.vopt input:focus-visible+.vbox{outline:2px solid #fff;outline-offset:2px}
.vopt.out .vbox{opacity:.6}
.vnote{min-height:1em;margin:8px 0 0;font-size:12px;color:var(--muted)}
.pnew.flash{animation:pflash .45s ease-out}
@keyframes pflash{from{transform:scale(1.07);text-shadow:0 0 30px rgba(255,31,46,.95)}to{transform:none}}
.pfrom{margin-top:8px;font-size:12px;color:#555}
.pr.inl{display:inline;margin:0;font-size:15px}
.vtag{display:inline-block;margin:4px 0 10px;padding:2px 9px;border-radius:6px;background:#111;color:#fff;font-size:11px;font-weight:700}
a.add.pick{display:block;text-align:center}
.cvar{display:inline-block;margin-top:4px;padding:2px 10px;border-radius:7px;border:1px solid rgba(255,31,46,.6);background:rgba(255,31,46,.12);color:#ff8a94;font-size:12px;font-weight:700}
@media(prefers-reduced-motion:reduce){.pnew.flash{animation:none}}

/* دسترس‌پذیری: لینک پرش به محتوا و متن فقط‌برای‌صفحه‌خوان */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;right:12px;top:-60px;z-index:100;padding:10px 18px;border-radius:0 0 10px 10px;background:var(--red);color:#fff;font-weight:700;transition:top .15s}
.skip:focus{top:0;color:#fff}
main:focus{outline:none}

/* ===== Product Reviews ===== */

.review-list {
    margin-bottom: 35px;
}

.review-heading {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 12px;
}

.review-form-wrap {
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #303039;
    border-radius: 16px;
    background: linear-gradient(145deg, #17171c, #09090c);
}

.review-subtitle {
    color: #9999a5;
    font-size: 13px;
    line-height: 2;
    margin: 0 0 22px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.review-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-field label {
    color: #eee;
    font-size: 14px;
    font-weight: 700;
}

.review-field textarea {
    width: 100%;
    min-height: 140px;
    padding: 15px;
    resize: vertical;
    color: #fff;
    background: #0b0b0f;
    border: 1px solid #35353e;
    border-radius: 11px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    line-height: 2;
    transition: border-color .2s, box-shadow .2s;
}

.review-field textarea::placeholder {
    color: #666671;
}

.review-field textarea:focus {
    border-color: #e51d2a;
    box-shadow: 0 0 0 3px rgba(229, 29, 42, .12);
}

.review-submit {
    align-self: flex-start;
    min-width: 155px;
    padding: 12px 25px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #f12735, #c81020);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.review-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(229, 29, 42, .25);
}

.review-login {
    padding: 20px;
    border: 1px solid #303039;
    border-radius: 12px;
    background: #101014;
}

.review-login p {
    margin: 0 0 15px;
    color: #bbb;
    font-size: 13px;
}

@media (max-width: 600px) {
    .review-form-wrap {
        padding: 17px;
    }

    .review-submit {
        width: 100%;
    }
}
