/* همراه ایران — استایل اصلی (دسکتاپ؛ طراحی فیگما در عرض ۱۶۴۰ با محتوای ۱۴۴۴) */

@font-face { font-family: 'YekanBakh'; src: url(../fonts/YekanBakh-Light.woff) format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url(../fonts/YekanBakh-Regular.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url(../fonts/YekanBakh-Medium.woff) format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url(../fonts/YekanBakh-Bold.woff) format('woff'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url(../fonts/YekanBakh-Heavy.woff) format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url(../fonts/YekanBakh-Fat.woff) format('woff'); font-weight: 900; font-display: swap; }

:root {
  --text: #2d2d2d;
  --navy: #3d3e85;
  --indigo: #3e4095;
  --cyan: #00afef;
  --sky: #1ab7f1;
  --grad: linear-gradient(90deg, #3e4095 0%, #00afef 100%);
  --grad-r: linear-gradient(270deg, #3e4095 0%, #00afef 100%);
  --soft: #fafafc;
  --lilac: #f6f5fb;
  --ice: #d1f1fc;
  --dark: #000921;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'YekanBakh', Tahoma, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
  overflow-x: hidden;
}
/* تراز دوطرفه فقط با فاصله بین کلمات؛ جلوگیری از جدا شدن حروف فارسی در بعضی مرورگرها */
body * { text-justify: inter-word; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
input { font: inherit; }
.d-flex{
  display: flex;
}
.align-items-center{
  align-items: center;
} 
.gap-2{
  gap: 16px;
}
.gap-4{
  gap: 24px;
}
.wrap { max-width: 1476px; margin-inline: auto; padding-inline: 16px; }
.section { margin-top: 100px; }
.mega-menu{
  align-items: center;
}
.mega-menu > .menu-title{
  padding-bottom: 0 !important;
}
.main-categories{
  padding: 0 !important;
}
.mega-menu .ts-advanced-menu:first-of-type{
  margin-left: 30px !important;
}
.mega-menu .ts-advanced-menu:first-of-type > a {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 14px 34px; justify-content: center;
  border-radius: 15px !important; color: #fff;
  background: linear-gradient(253deg, #3e4095 36%, #00afef 107%);
  font-weight: 600; font-size: 16px !important;
  color: #fff !important;
}
.mega-wrapper{
  top: 61px !important;
}
.sub-menu,.main-categories{
  border-top: 1px solid #eee;
}
.mega-menu > a{
  font-size: 1.1rem !important;
}

/* جعبه آیکون آبی با گوشه تیز بالا-راست */
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 47px; height: 47px; flex-shrink: 0;
  background: var(--sky); color: #fff;
  border-radius: 22px 0 22px 22px;
}
.icon-box--sm { width: 43px; height: 43px; }

/* =========================== هدر =========================== */
.header-sticky { display:flow-root; background:#fff; }
.header-sticky.is-fixed { position:fixed; inset-inline:0; top:var(--header-admin-offset, 0px); z-index:1000; padding-bottom:12px; box-shadow:0 6px 24px rgba(0,9,33,.08); animation:header-stick-in .25s ease-out; }
.header-sticky .header-main { transition:margin-top .3s ease; }
.header-sticky.is-fixed.is-banner-hidden .header-main { margin-top:0; }
.header-sticky.is-fixed.is-banner-hidden { padding-top:15px; }
@keyframes header-stick-in {
  from { opacity:0; top:calc(var(--header-admin-offset, 0px) - 12px); }
  to { opacity:1; top:var(--header-admin-offset, 0px); }
}
@media(prefers-reduced-motion:reduce) { .header-sticky.is-fixed { animation:none; } .header-sticky .header-main { transition:none; } }
.topbar { display: block; height: 54px; overflow: hidden; background: #3e4095; }
.topbar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.header-main {
  display: flex; align-items: center;
  margin-top: 48px; height: 57px;
}
.header-logo { display: block; line-height: 0; flex-shrink: 0; }
.header-search {
  position: relative;
  width: 457px; height: 57px; margin-right: 32px;
}
.header-search input {
  width: 100%; height: 100%;
  border: 0; outline: 0; border-radius: 15px;
  background: #fafafa;
  padding: 0 19px 0 60px;
  font-size: 16px; color: var(--text);
}
.header-search input::placeholder { color: rgba(45,45,45,.5); }
.header-search button { position: absolute; left: 21px; top: 50%; translate: 0 -50%; line-height: 0; color: var(--text); }

.header-tools { display: flex; align-items: center; margin-right: auto; }
.header-icon { color: var(--navy); line-height: 0; margin-left: 29px; transition: opacity .2s; }
.header-icon:hover { color: var(--navy); opacity: .75; }
.header-cart {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 57px; height: 57px; margin-left: 30px;
  border-radius: 15px; background: var(--cyan); color: #fff;
  box-shadow: -5px -2px 41.8px rgba(0,175,239,.2);
}
.header-cart:hover { color: #fff; }
.header-cart-wrap { position: relative; }
.header-mini-cart {
  position: absolute; top: 100%; left: 0; z-index: 1100;
  width: min(360px, calc(100vw - 32px)); padding-top: 12px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.header-cart-wrap.is-open .header-mini-cart { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.header-mini-cart .widget_shopping_cart_content { padding: 16px; border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.ts-mini-cart__heading { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 12px; }
.ts-mini-cart__heading span { background: var(--navy); color: #fff; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 50%; text-align: center; }
.ts-mini-cart__items { margin: 0; padding: 0; list-style: none; max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain; }
.ts-mini-cart__item { padding: 12px 0; border-bottom: 1px solid #e4e4ef; }
.ts-mini-cart__product { display: flex; align-items: flex-start; gap: 12px; }
.ts-mini-cart__image { flex: 0 0 80px; }
.ts-mini-cart__image img { width: 80px; height: 80px; object-fit: contain; border-radius: 6px; }
.ts-mini-cart__info { flex: 1; min-width: 0; }
.ts-mini-cart__name { display: block; font-size: 13px; font-weight: 700; line-height: 1.8; }
.ts-mini-cart__info dl { margin: 6px 0 0; font-size: 11px; color: #4b9271; }
.ts-mini-cart__info dt, .ts-mini-cart__info dd { display: inline; margin: 0 0 0 4px; }
.ts-mini-cart__info dd p { display: inline; margin: 0; }
.ts-mini-cart__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ts-mini-cart__price { font-size: 13px; }
.ts-mini-cart__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
.ts-mini-cart__total { display: grid; gap: 4px; font-size: 13px; }
.ts-mini-cart__total strong { font-size: 17px; }
.ts-mini-cart__view { padding: 10px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ts-mini-cart__view:hover { color: #fff; filter: brightness(1.15); }
.ts-mini-cart__empty { padding: 12px 0; margin: 0; text-align: center; font-size: 14px; }
.header-cart__count {
  position: absolute; top: 0; left: -10px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--text); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 21px; text-align: center;
}
.header-login {
  display: flex; align-items: center; gap: 9px;
  height: 57px; padding: 0 26px 0 15px;
  border-radius: 15px; background: var(--lilac);
  font-weight: 600; font-size: 16px; white-space: nowrap;
}
.header-login__user { color: var(--text); }
.header-login__arrow { color: #25314c; }

.header-nav { display: flex; align-items: stretch; gap: 10px; height: 54px; margin-top: 27px;}
.header-nav .mega-menu{
  width: 100%;
}

.header-nav { position: relative; z-index: 20; }
.nav-cats-wrap { display: flex; }
.mega {
  position: absolute; top: calc(100% + 12px); right: 0; left: 0;
  padding: 30px; border-radius: 20px; background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .2s, translate .2s, visibility .2s;
}
.nav-cats-wrap.is-open .mega { opacity: 1; visibility: visible; translate: 0 0; }
@media (hover: hover) {
  .nav-cats-wrap:hover .mega { opacity: 1; visibility: visible; translate: 0 0; }
  .nav-cats-wrap:hover::after { content: ''; position: absolute; top: 100%; right: 0; left: 0; height: 14px; }
}
.mega__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 24px 16px; }
.mega__grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; text-align: center; transition: color .2s; }
.mega__grid img { width: 100px; height: 100px; transition: transform .25s; }
.mega__grid a:hover { color: var(--cyan); }
.mega__grid a:hover img { transform: translateY(-4px); }
.nav-menu {
  flex: 1; display: flex; align-items: center; gap: 40px;
  padding-right: 20px; border-radius: 15px; background: var(--lilac);
}
.ts-simple-menu-link { display: flex; align-items: center; gap: 10px;  white-space: nowrap; transition: color .2s;font-weight: 400 !important; }
.ts-simple-menu-link::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #d9d9d9; transition: background .2s; }
.ts-simple-menu-link:hover { color: var(--cyan); }
.ts-simple-menu-link:hover::before { background: var(--cyan); }
.nav-sale {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  width: 102px; padding: 0 10px 0 14px;
  border-radius: 15px; background: rgba(0,175,239,.1); color: var(--cyan);
  font-weight: 900; font-size: 12.87px; line-height: .83;
}
.nav-sale:hover { color: var(--cyan); }
.nav-phone {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 54px; border-radius: 15px; background: var(--navy); color: #fff;
}
.nav-phone:hover { color: #fff; }
@media(max-width:992px){
  .mega-menu,.nav-sale,.nav-phone{
    display: none !important;
  }
}

/* =========================== دکمه‌ها =========================== */
/* دکمه خرید: قرص سفید + بخش رنگی با فلش */
.btn-buy {
  --btn-c: var(--cyan);
  display: inline-flex; align-items: stretch;
  height: 43px; width: 110px; border-radius: 12px;
  background: var(--btn-c);
  font-size: 16px; color: var(--text);
}
.btn-buy b { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 400; background: #fff; border-radius: 12px; }
.btn-buy > span { width: 33px; display: flex; align-items: center; justify-content: center; color: #fff; }
.btn-buy:hover { color: var(--text); }

.btn-more {
  display: inline-flex; align-items: center; gap: 12px;
  height: 57px; padding: 0 25px 0 26px;
  border-radius: 29px 29px 0 29px;
  background: var(--sky); color: #fff;
  font-weight: 600; font-size: 20px; line-height: 1.17; white-space: nowrap;
  transition: background .2s;
}
.btn-more:hover { color: #fff; background: #0aa6e2; }

.slider-nav {
  display: flex; align-items: center; gap: 23px;
  height: 57px; padding: 0 28px 0 29px;
  border-radius: 29px; background: var(--soft); color: #292d32;
}
.slider-nav button { line-height: 0; transition: color .2s; }
.slider-nav button:hover { color: var(--cyan); }
.slider-nav .swiper-button-disabled { opacity: .35; cursor: default; }
.slider-nav .swiper-button-lock { display: inline-block; opacity: .35; cursor: default; }
.slider-nav__prev { order: -1; }
.slider-nav__prev svg { rotate: 180deg; }

.sec-head { display: flex; align-items: center; justify-content: space-between; height: 57px; margin-bottom: 50px; }
.sec-title { display: flex; align-items: center; gap: 17px; font-weight: 800; font-size: 30px; line-height: 1.17; }
.sec-head__tools { display: flex; align-items: center; gap: 17px; }

.more-link { display: inline-flex; align-items: center; gap: 13px; font-size: 10px; }
.more-link i { order: 2; display: flex; align-items: center; justify-content: center; width: 21px; height: 21px; border-radius: 6px; background: #e0e0e0; color: var(--text); }

/* =========================== اسلایدر اصلی =========================== */
.hero { margin-top: 50px; overflow: hidden; }
.hero-slider { max-width: 1444px; margin-inline: auto; overflow: visible; }
.hero-slider .swiper-slide { width: 100%; transition: opacity .4s, filter .4s; }
.hero-slider .swiper-slide:not(.swiper-slide-active) { opacity: .2; filter: blur(16px); }
/* هر اسلاید یک تصویر کامل (متن و دکمه جزو تصویر) با لینک؛ شکاف‌ها برای تصاویر مستطیلی هم اعمال می‌شود */
.hero-slide { position: relative; display: block; border-radius: 30px; overflow: hidden; }
.hero-slide picture { display: block; }
.hero-slide img { display: block; width: 100%; height: auto; aspect-ratio: 1443 / 434; object-fit: cover; }
/* منحنی دو طرف بنر (محل فلش‌ها) با ::before و ::after سفید (هم‌رنگ پس‌زمینه) روی عکس کشیده می‌شود؛ عکس بنر یک مستطیل ساده است */
.hero-slide { --notch-w: clamp(24px, 2.6vw, 42px); --notch-h: clamp(96px, 10.4vw, 170px); }
.hero-slide::before, .hero-slide::after {
  content: ''; position: absolute; z-index: 1; top: 50%;
  width: calc(var(--notch-w) + 1px); height: var(--notch-h); translate: 0 -50%;
  background: no-repeat center / 100% 100%; pointer-events: none;
}
.hero-slide::before {
  left: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 43 170' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1C1 38 43 48 43 85C43 122 1 132 1 170H0Z' fill='%23fff'/%3E%3C/svg%3E");
}
.hero-slide::after {
  right: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 43 170' preserveAspectRatio='none'%3E%3Cpath d='M43 0H42C42 38 0 48 0 85C0 122 42 132 42 170H43Z' fill='%23fff'/%3E%3C/svg%3E");
}
.hero-nav {
  position: absolute; top: 50%; z-index: 5; translate: 0 -50%;
  width: 34px; height: 60px; display: flex; align-items: center; justify-content: center;
  color: #25314c; transition: color .2s;
}
.hero-nav svg { width: 26px; height: 26px; }
@media (max-width: 1499.98px) { .hero-slider { margin-inline: 24px; } }
.hero-nav:hover { color: var(--cyan); }
.hero-nav--next { left: 0; }
.hero-nav--prev { right: 0; }
.hero-nav--prev svg { rotate: 180deg; }

/* =========================== دسته‌بندی‌ها =========================== */
.cats { margin-top: 80px; }
.cats-slider { overflow: hidden; padding-top: 8px; margin-top: -8px; }
.cat-item { display: flex; flex-direction: column; align-items: center; }
.cat-item img { display: block; width: 186px; height: 186px; transition: transform .3s; }
.cat-item:hover img { transform: translateY(-6px); }
.cat-item strong { margin-top: 19px; font-weight: 700; font-size: 15px; line-height: 23px; }
.cat-item .more-link { margin-top: 6px; }

/* =========================== پیشنهاد شگفت‌انگیز =========================== */
.offer { margin-top: 81px; }
.offer-box { position: relative; height: 733px; }
.offer-box::before {
  content: ''; position: absolute; top: 0; left: 29px; width: 1415px; height: 733px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1415 733'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233e4095'/%3E%3Cstop offset='1' stop-color='%2300afef'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M40 0H1080Q1091 0 1101 6L1144 30Q1154 36 1166 36H1375Q1415 36 1415 76V657Q1415 697 1375 697H1166Q1154 697 1144 703L1101 727Q1091 733 1080 733H40Q0 733 0 693V40Q0 0 40 0Z' fill='url(%23g)'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.offer-box::after {
  content: ''; position: absolute; top: 72px; left: 93px; width: 1072px; height: 584px;
  border-radius: 40px; background: #6496c9; box-shadow: 0 4px 39.6px rgba(0,0,0,.1);
}
.offer-card {
  position: absolute; z-index: 2; top: 26px; left: 1px; width: 1148px; height: 674px;
  padding: 38px 41px 37px 42px;
  border-radius: 40px; background: #fff; box-shadow: 0 4px 39.6px rgba(0,0,0,.1);
}
/* لایه میانی پشت کارت سفید */
.offer-card::before {
  content: ''; position: absolute; z-index: -1; top: 81px; left: 108px; width: 1072px; height: 512px;
  border-radius: 40px; background: #3072b7; box-shadow: 0 4px 39.6px rgba(0,0,0,.1);
}
.offer-card::after { content: ''; position: absolute; inset: 0; border-radius: 40px; background: #fff; z-index: -1; }
.offer-card__head { display: flex; align-items: center; justify-content: space-between; height: 63px; margin-bottom: 22px; }
.offer-card__head .btn-more { order: 2; }

.countdown { display: flex; align-items: center; gap: 7px; }
.countdown div {
  position: relative; width: 53px; height: 63px; border-radius: 15px;
  background: rgba(249,115,22,.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.17;
}
.countdown b { font-weight: 700; font-size: 22px; color: #e4701e; }
.countdown span { font-weight: 600; font-size: 12px; margin-top: -1px; }
.countdown i { font-style: normal; font-weight: 900; font-size: 22px; color: #e4701e; }

.offer-slider { overflow: hidden; margin: -10px -8px -40px; padding: 10px 8px 40px; }

.offer-side {
  position: absolute; z-index: 2; top: 134px; right: 12px; width: 252px;
  display: flex; flex-direction: column; align-items: center; color: #fff;
}
.offer-side__badge {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #f97316; box-shadow: 0 -13px 21px rgba(249,115,22,.25);
}
.offer-side h2 { margin-top: 12px; text-align: center; font-weight: 400; font-size: 34px; line-height: 1.17; }
.offer-side h2 b { display: block; font-weight: 900; font-size: 46px; margin-bottom: 12px; }
.offer-side img { display: block; width: 252px; height: 209px; margin-top: 27px; object-fit: contain; background: radial-gradient(closest-side, rgba(255,255,255,.5), rgba(255,255,255,0)); }
/* طبق فیگما: دکمه «بعدی» (فلش به چپ) سمت چپ، «قبلی» سمت راست؛ دکمه غیرفعال کم‌رنگ */
.offer-side__nav { display: flex; flex-direction: row-reverse; align-items: center; gap: 63px; margin-top: 26px; }
.offer-nav { position: relative; width: 42px; height: 42px; line-height: 0; color: #fff; }
.offer-nav::before { content: ''; position: absolute; top: 5px; width: 32px; height: 32px; border-radius: 50%; background: rgba(217,217,217,.11); }
.offer-nav::after { content: ''; position: absolute; top: 20px; width: 18px; height: 2px; background: rgba(255,255,255,.3); }
.offer-nav svg { position: relative; }
.offer-nav { transition: opacity .2s; }
.offer-nav--next::before { left: -5px; }
.offer-nav--next::after { left: 22px; }
.offer-nav--prev svg { rotate: 180deg; }
.offer-nav--prev::before { right: -5px; }
.offer-nav--prev::after { right: 22px; }
.offer-nav.swiper-button-disabled { opacity: .45; cursor: default; }

/* =========================== کارت محصول =========================== */
.p-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 22px 24px 22px;
  margin-bottom: 11px;
}
.p-card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 23px; background: var(--soft); }
.p-card::before {
  content: ''; position: absolute; z-index: -2; left: 9px; right: 9px; top: 29px; bottom: -11px;
  border-radius: 23px; background: var(--grad);
  transition: bottom .25s;
}
.p-card:hover::before { bottom: -15px; }
.p-card__media { position: relative; border-radius: 20px; background: #fff; overflow: hidden; aspect-ratio: 297 / 300; }
.p-card__media > a { display: block; height: 100%; }
.p-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.p-card:hover .p-card__media img { transform: scale(1.04); }
.p-card__fav, .p-card__cmp {
  position: absolute; top: 21px; z-index: 1;
  width: 43px; height: 45px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 30px rgba(255,255,255,.27);
  transition: transform .2s;
}
.p-card__fav { right: 24px; background: #fdf1f2; color: #e45858; }
.p-card__cmp { left: 22px; background: #e9f9f2; color: #4b9271; }
.p-card__fav:hover, .p-card__cmp:hover { transform: scale(1.08); }
.p-card__fav.active { background: #e45858; color: #fff; }
.p-card__cmp.active { background: #4b9271; color: #fff; }
.ts-notifications {
  inset: auto; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible;
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 100000; display: grid; gap: 10px;
  width: min(420px, calc(100% - 32px)); pointer-events: none;
}
.ts-notifications::backdrop { background: transparent; pointer-events: none; }
.ts-notifications--bottom-left {
  top: auto; bottom: 120px; left: 16px; transform: none;
}
.ts-notice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 14px ; border-radius: 14px; background: #fff;
  border-right: 4px solid #32936f; color: #22694f;
  box-shadow: 0 8px 32px rgba(0,0,0,.16); font-size: 14px; line-height: 1.8;
  pointer-events: auto; animation: ts-notice-in .2s ease-out both;
}
.ts-notice--error { border-color: #e45858; color: #b43535; }
.ts-notice { --notice-x: 0px; --notice-y: -24px; }
.ts-notice--from-bottom { --notice-y: 24px; }
.ts-notice--from-left { --notice-x: -40px; --notice-y: 0px; }
.ts-notice--from-right { --notice-x: 40px; --notice-y: 0px; }
.ts-notice__text { min-width: 0; overflow-wrap: anywhere; }
.ts-notice__text a { color: inherit; text-decoration: underline; }
.ts-notice__text .ts-notice__action {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 30px 0 0; padding: 7px 12px 5px ; border-radius: 8px;
  background: #32936f; color: #fff; text-decoration: none; font-weight: 700;
  font-size: 11px;
}
.ts-notice__text .ts-notice__action:hover { background: #22694f; }
.ts-notice__text p { margin: 0; }
.ts-notice__close {
  flex-shrink: 0; border: 0; background: transparent; color: inherit;
  font: inherit; font-size: 24px; line-height: 1; padding: 4px; cursor: pointer;
}
.ts-notice.is-closing { animation: ts-notice-out .2s ease-in both; }
.admin-bar .ts-notifications--top { top: 56px; }
@keyframes ts-notice-in { from { opacity: 0; transform: translate(var(--notice-x), var(--notice-y)); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes ts-notice-out { from { opacity: 1; transform: translate(0, 0); } to { opacity: 0; transform: translate(var(--notice-x), var(--notice-y)); } }
@media (prefers-reduced-motion: reduce) { .ts-notice, .ts-notice.is-closing { animation: none; } }
@media (max-width: 782px) { .admin-bar .ts-notifications--top { top: 70px; } }
.wishlist-icon, .compare-icon { position: relative; }
.wishlist-count, .compare-count {
  position: absolute; top: -5px; right: -5px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 50%; background: #e45858; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; pointer-events: none;
}
/* عنوان‌ها همیشه جای دو خط را می‌گیرند تا کارت‌ها با عنوان کوتاه و بلند هم‌تراز بمانند */
.p-card__title {
  font-weight: 700; font-size: 20px; line-height: 31px; margin-top: 10px;
  min-height: 62px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.p-card__title a:hover { color: var(--cyan); }
.p-card__brand { font-size: 12px; line-height: 22px; margin-top: 4px; }
.p-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  height: 81px; margin-top: 12px; padding: 0 15px;
  border-radius: 18px; background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
  box-shadow: 0 4px 23px rgba(0,0,0,.02);
}
.p-card__price { display: flex; flex-direction: column; align-items: flex-start; }
.p-card__price del { font-weight: 600; font-size: 12px; line-height: 19px; color: rgba(45,45,45,.21); text-decoration: line-through; }
.p-card__price b { font-weight: 800; font-size: 22px; line-height: 30px; color: var(--cyan); }
.p-card__price span { font-size: 12px; line-height: 16px; }
.p-card__cart {
  display: flex; align-items: center; justify-content: center;
  width: 49px; height: 54px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
  transition: filter .2s;
  flex-shrink: 0;
}
.p-card__cart:hover { filter: brightness(1.12); }

/* کارت پیشنهاد (کمی کوچک‌تر + نوار تخفیف) */
.p-card--offer { padding: 21px 23px 20px; }
.p-card--offer .p-card__media { border-radius: 19px; aspect-ratio: 279 / 282; }
.p-card--offer .p-card__fav, .p-card--offer .p-card__cmp { top: 20px; width: 40px; height: 42px; border-radius: 14px; }
.p-card--offer .p-card__fav { right: 23px; }
.p-card--offer .p-card__cmp { left: 21px; }
.p-card--offer .p-card__title { margin-top: 11px; line-height: 29px; min-height: 58px; }
.p-card--offer .p-card__foot { height: 76px; margin-top: 11px; padding: 0 16px 0 14px; border-radius: 17px; }
.p-card--offer .p-card__cart { width: 46px; height: 50px; }
.p-card__deal {
  align-self: center; display: flex; align-items: center; justify-content: space-between;
  width: 177px; height: 31px; padding: 0 13px 0 14px;
  border-radius: 0 0 15px 15px; background: var(--grad); color: #fff;
}
.p-card__deal b { font-weight: 700; font-size: 15px; }
.p-card__deal span { font-weight: 600; font-size: 12px; }

.products-slider, .blog-slider { overflow: hidden; margin: -10px -8px -30px; padding: 10px 8px 30px; }

/* =========================== برندها =========================== */
.brands-slider { overflow: hidden; margin: -20px -10px -60px; padding: 20px 10px 60px; }
/* کارت برند: لایه آبی (::before) پشت کارت و فقط در هاور، به‌صورت دو لبه باریک در دو طرف دیده می‌شود */
.brand-item { position: relative; display: block; padding: 0 7px; }
.brand-item::before {
  content: ''; position: absolute; top: 12px; bottom: 12px; left: 0; right: 0;
  border-radius: 25px; background: var(--sky);
  opacity: 0; transition: opacity .3s;
}
.brand-item__card {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 129px; border-radius: 25px;
  /* پس‌زمینه همیشه مات (روی صفحه سفید همان ظاهر فیگما) تا لایه آبی پشت کارت هیچ‌وقت از زیرش دیده نشود */
  background: #fff linear-gradient(180deg, #fafafc 0%, #fff 100%);
  transition: box-shadow .3s;
}
.brand-item img { width: 141px; height: 34px; object-fit: contain; }
.brand-item:hover::before { opacity: 1; }
.brand-item:hover .brand-item__card { box-shadow: 0 10px 28px rgba(0,0,0,.06); }

/* =========================== بنرهای تبلیغاتی =========================== */
.banners-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: block; border-radius: 30px; overflow: hidden; height: 291px; }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.03); }
.promo__text { position: absolute; top: 72px; right: 70px; }
.promo__text h3 { font-weight: 800; font-size: 32px; line-height: 1.38; color: #fff; margin-bottom: 16px; }
.promo__text em { font-style: normal; }
.promo--dark em { color: #f04e23; }
.promo--dark .btn-buy { --btn-c: #f04e23; }
.promo--orange em { color: #040707; }
.promo--orange .btn-buy { --btn-c: #040707; }

/* =========================== درباره و خبرنامه =========================== */
.about-row { display: flex; align-items: center; justify-content: space-between; height: 496px; }
.about-text { width: 347px; }
.about-text > img { display: block; }
.about-text h2 { margin-top: 24px; font-weight: 800; font-size: 28px; line-height: 1.54; }
.about-text h2 em { font-style: normal; color: #21b7ef; }
.about-text p { margin-top: 25px; font-size: 15px; line-height: 27px; text-align: justify; }
.about-link {
  display: flex; align-items: center; justify-content: space-between;
  height: 67px; margin-top: 25px; padding: 0 22px;
  border-radius: 20px; background: var(--ice); font-size: 16px;
  transition: background .2s;
}
.about-link:hover { background: #bfeafb; }
.about-link svg { color: #25314c; }
.about-gfx { width: 657px; line-height: 0; }
.newsletter {
  width: 375px; padding: 33px 22px 41px;
  border-radius: 30px; background: rgba(209,241,252,.5);
}
.newsletter .sec-title { gap: 15px; padding-right: 0; }
.newsletter__lead { margin-top: 16px; font-weight: 700; font-size: 15px; line-height: 31px; }
.newsletter__lead b { font-weight: 800; font-size: 20px; }
.newsletter__form input {
  display: block; width: 100%; height: 59px !important; margin-top: 15px !important;
  border: 0; outline: 0; border-radius: 15px !important; background: #fff;
  padding: 0 28px !important; font-weight: 600; font-size: 15px;
  border: none !important;
}
.newsletter__form input::placeholder { color: rgba(45,45,45,.49); }
.newsletter__form input.button {
  display: block;height: 59px !important; margin-top: 5px !important;
  border-radius: 15px !important; background: var(--grad) !important; color: #fff !important;
  font-weight: 700 !important; font-size: 18px;
  transition: filter .2s;
  width: 100% !important;
  border: none !important;
}
.newsletter__form .gform_footer{
  width: 100% !important;
}
.newsletter__form .gform_footer{
  margin-top: 5px !important;
}
.gform_validation_errors{
  display: none !important;
}
.newsletter__form button:hover { filter: brightness(1.1); }
.newsletter__follow { margin-top: 29px; text-align: center; font-weight: 700; font-size: 15px; line-height: 31px; color: rgba(45,45,45,.4); }
.social { display: flex; justify-content: center; gap: 22px; margin-top: 9px; }
.social a { line-height: 0; color: var(--text); opacity: .4; transition: opacity .2s, color .2s; }
.social a:hover { opacity: 1; color: var(--cyan); }

/* =========================== سوالات متداول =========================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: 25px; background: linear-gradient(180deg, #fafafc 0%, rgba(250,250,252,.01) 100%); padding: 34px 33px 34px 34px; }
.faq-item summary {
  display: flex; align-items: center; gap: 22px;
  list-style: none; cursor: pointer;
  font-weight: 700; font-size: 17px; line-height: 31px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-item__star { color: var(--navy); }
.faq-item__arrow { color: #292d32; transition: rotate .25s; }
.faq-item.is-open .faq-item__arrow { rotate: -90deg; }
/* باکس پاسخ کمی پهن‌تر از عنوان (طبق فیگما) با حاشیه منفی، تا پدینگ کارت در باز/بسته ثابت بماند */
.faq-item__body {
  overflow: hidden; box-sizing: border-box;
  margin: 16px -9px -9px -8px; padding: 18px 20px;
  border-radius: 13px; background: #daf1fa;
  font-size: 12px; line-height: 24px; text-align: justify;
}

/* =========================== مقالات =========================== */
.post-card__media { position: relative; display: block; height: 261px; border-radius: 30px; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__author {
  position: absolute; right: 17px; bottom: 19px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 85px; height: 67px; border-radius: 16px; background: #fff;
  font-weight: 600; font-size: 12px; line-height: 14px; color: var(--text);
}
.post-card h3 { margin-top: 25px; font-weight: 700; font-size: 20px; line-height: 30px; }
.post-card h3 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 60px; }
.post-card h3 a:hover { color: var(--cyan); }
.post-card h3::after { content: ''; display: block; width: 92px; height: 3px; margin-top: 25px; background: var(--sky); }
.post-card p {
  margin-top: 25px; font-size: 15px; line-height: 27px; color: rgba(45,45,45,.5);
  text-align: right;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 54px;
}
/* نوار اطلاعات مقاله: آیتم‌ها و نقطه‌های جداکننده در کل عرض پخش می‌شوند (طبق فیگما) */
.post-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; margin-top: 25px; padding: 0 20px 0 19px;
  border-radius: 8px; background: var(--soft);
  font-size: 15px;
}
.post-card__meta li { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.post-card__meta li.sep { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #d9d9d9; }
.post-card__meta svg { flex-shrink: 0; color: var(--sky); }
.post-card__meta-eye svg { width: 20px; height: 18px; }
/* =========================== متن سئو =========================== */
.seo-box { position: relative; padding: 46px 48px 37px 49px; border-radius: 30px; background: var(--ice); }
.seo-box__text { margin-top: 30px; max-height: 175px; overflow: hidden; font-size: 15px; line-height: 35px; text-align: justify; transition: max-height .5s; }
.seo-box__text p + p { margin-top: 12px; }
.seo-box::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 60px; height: 150px; pointer-events: none;
  background: linear-gradient(0deg, #d1f1fc 0%, rgba(209,241,252,0) 100%); transition: opacity .3s;
}
.seo-box.is-open::after { opacity: 0; }
.seo-box__more { display: flex; align-items: center; gap: 12px; margin: 0 auto; position: relative; z-index: 1; font-weight: 600; font-size: 20px; line-height: 23px; }
.seo-box__more svg { rotate: -90deg; transition: rotate .25s; }
.seo-box.is-open .seo-box__more svg { rotate: 90deg; }

/* =========================== فوتر =========================== */
.site-footer {
  position: relative; overflow: hidden;
  margin-top: 115px; padding-top: 106px;
  background: var(--dark); color: #fff;
}
.site-footer a:hover { color: var(--sky); }
/* شکاف بالای فوتر + دکمه بازگشت به بالا */
.footer-top {
  position: absolute; top: 0; left: 50%; z-index: 2; translate: -50% 0;
  width: 164px; height: 39px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 1px;
  color: #25314c;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 164 39'%3E%3Cpath d='M0 0C13.3 0 26.2 4.66 36.43 13.16l8.73 7.26c21.12 17.55 51.75 17.55 72.86 0l8.73-7.26C136.99 4.66 149.88 0 163.19 0Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat top / 100% 100%;
}
.site-footer .footer-top:hover { color: var(--cyan); }
.footer-top svg { rotate: 90deg; }
.footer-glow { position: absolute; width: 1400px; height: 1400px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(26,183,241,.15), rgba(26,183,241,0)); }
.footer-glow--l { left: -430px; top: -150px; }
.footer-glow--r { right: -720px; top: -120px; }
.site-footer .wrap { position: relative; z-index: 1; }

.footer-main { display: flex; gap: 61px; }
.footer-about { width: 460px; flex-shrink: 0; }
.footer-about img { display: block; }
.footer-about p { margin-top: 27px; font-size: 13px; line-height: 29.6px; text-align: justify; }
.footer-links { width: 124px; flex-shrink: 0; }
.footer-links h3 { font-weight: 600; font-size: 18px; line-height: 32px; }
.footer-links ul { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; }
.footer-links a { display: flex; align-items: center; gap: 18px; font-size: 15px; line-height: 27px; }
.footer-links a::before { content: ''; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid rgba(217,217,217,.5); flex-shrink: 0; transition: border-color .2s; }
.footer-links a:hover::before { border-color: var(--sky); }
.footer-news { width: 369px; flex-shrink: 0; margin-right: auto; }
.footer-news__head { display: flex; align-items: center; gap: 15px; }
.footer-news__head h3 { font-weight: 800; font-size: 30px; line-height: 1.17; }
.footer-news p { margin-top: 35px; font-size: 12px; line-height: 15.1px; text-align: justify; }
.footer-news__form {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; margin-top: 36px; padding: 0 22px 0 9px;
  border-radius: 20px; background: rgba(246,245,251,.12);
}
.footer-news__form{
  position: relative;
}
.footer-news__form .gfield_description{
  position: absolute;
  bottom: -30px;
}
.footer-news__form > div{
  width: 100%;
}
.footer-news__form  form{
  display: flex;
  gap: 10px;
}
.footer-news__form .gform-footer{
  margin: 0 !important;
  flex-shrink: 0;
}
.footer-news__form .gform_body{
  width: 100% !important;
}
.footer-news__form .ginput_container_email input{
  background: transparent !important;
  border: none !important;
  box-shadow: 0 !important;
  outline: none !important;
}
input:focus,textarea:focus,button:focus{
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.footer-news__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff !important; font-weight: 600; font-size: 15px; }
.footer-news__form input::placeholder { color: rgba(255,255,255,.49); }
.footer-news__form .gform-footer input {
  width: 104px; height: 39px; border-radius: 13px !important; background: var(--grad); color: #fff !important;
  font-weight: 700; font-size: 12px; transition: filter .2s;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.footer-news__form button:hover { filter: brightness(1.12); }

.footer-contacts {
  display: flex; justify-content: space-between;
  margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.2);
}
.footer-contacts li { display: flex; align-items: center; gap: 15px; }
.footer-contacts li > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contacts .chip {
  height: 18px; padding: 0 7px; border-radius: 6px; background: var(--sky);
  font-weight: 600; font-size: 12px; line-height: 18px; white-space: nowrap;
}
.footer-contacts strong, .footer-contacts a { margin-top: 9px; font-weight: 800; font-size: 20px; line-height: 20px; white-space: nowrap; }
.footer-contacts strong { font-weight: 600; font-size: 15px; }
.footer-contacts strong b { font-weight: 800; font-size: 20px; }
.footer-contacts .en { font-family: 'YekanBakh', sans-serif; }

.footer-bottom {
  display: flex; gap: 59px; align-items: flex-start;
  margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.2);
}
.footer-bottom__main { flex: 1; }
.footer-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.footer-badges { display: flex; align-items: center; justify-content: space-evenly; gap: 20px; height: 122px; padding: 16px 26px; border-radius: 20px; background: #fff; overflow: hidden; line-height: 0; }
.footer-badge { display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; height: 100%; }
.footer-badges img { display: block; width: 100%; max-width: 90px; height: 100%; max-height: 90px; object-fit: contain; }
.footer-map { position: relative; display: block; height: 122px; border-radius: 20px; overflow: hidden; background: #fff; }
.footer-map img { width: 100%; height: 100%; object-fit: cover; }
.footer-map .icon-box { position: absolute; top: 38px; left: 50%; margin-left: -23.5px; color: #fff; }
.footer-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 34px; font-weight: 600; font-size: 15px; line-height: 30px; }
.footer-copy__credit { display: flex; align-items: center; justify-content: space-between; }
.footer-support {
  position: relative; overflow: hidden; order: 2;
  width: 224px; height: 241px; flex-shrink: 0; padding: 35px;
  border-radius: 25px 25px 0 0;
  background: linear-gradient(180deg, rgba(250,250,252,.28) 0%, rgba(250,250,252,.05) 50%, rgba(250,250,252,0) 77%);
}
.footer-support::before, .footer-support::after { content: ''; position: absolute; border-radius: 50%; border: 21px solid rgba(255,255,255,.04); }
.footer-support::before { width: 328px; height: 328px; left: -186px; top: 105px; }
.footer-support::after { width: 268px; height: 268px; left: 132px; top: -98px; }
.footer-support p { position: relative; font-weight: 900; font-size: 17px; line-height: 33px; }
.footer-support a { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-weight: 800; font-size: 23px; line-height: 45px; }
.footer-support a svg { color: var(--sky); }
.footer-support small { font-weight: 300; font-size: 23px; }

/* =========================== بنر عنوان صفحه =========================== */
.page-banner { margin-top: 40px; }
.page-banner__box {
  height: 225px; padding-top: 44px; border-radius: 20px; color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(250deg, #3e4095 15%, #2b7fd6 70%, #00afef 130%);
}
.page-banner__icon {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 32px;
  background: rgba(255,255,255,.19); backdrop-filter: blur(4px);
}
.page-banner h1 { margin-top: 20px; font-weight: 900; font-size: 31px; line-height: 20px; }
.page-banner p { margin-top: 20px; font-size: 16px; line-height: 20px; }
.page-banner .crumbs { justify-content: center; flex-wrap: wrap; margin-top: 20px; color: #fff; font-size: 16px; line-height: 20px; }
.page-banner .crumbs a { color: rgba(255,255,255,.8); }
.page-banner .crumbs a:hover { color: #fff; }
.page-banner .crumbs svg { color: #fff; opacity: .8; }
.page-banner .crumbs--rank-math .rank-math-breadcrumb p { justify-content: center; margin: 0; font-size: inherit; line-height: inherit; }

/* =========================== فروشگاه =========================== */
.shop { margin-top: 50px; }
.shop-layout { display: grid; grid-template-columns: 346px 1fr; gap: 20px; align-items: start; }
.shop-layout.shop-layout--no-sidebar { grid-template-columns: minmax(0, 1fr); }
.shop-side { display: flex; flex-direction: column; gap: 20px; }
.shop-side__clear { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; border: 1px solid var(--navy); border-radius: 14px; color: var(--navy); font-weight: 700; transition: background .2s, color .2s; }
.shop-side__clear:hover { background: var(--navy); color: #fff; }
.filter-box { padding: 30px 20px; border-radius: 20px; background: #f8f8f8; }
.filter-box__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; line-height: 24px; }
.filter-box__title svg { color: var(--navy); }
.filter-search { position: relative; margin-top: 20px; }
.filter-search input {
  width: 100%; height: 53px; border: 0; outline: 0; border-radius: 10px; background: #fff;
  padding: 0 16px 0 52px; font-size: 14px;
}
.filter-search input::placeholder { color: rgba(45,45,45,.4); }
.filter-search button { position: absolute; left: 16px; top: 50%; translate: 0 -50%; line-height: 0; color: var(--navy); }
.filter-tree { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 10px; }
.filter-row {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; cursor: pointer;
  font-weight: 600; font-size: 15px; line-height: 30px; color: #161616; text-align: right;
}
.filter-row > span { flex: 1; }
.filter-row__dot { color: var(--navy); }
.filter-row__arr { color: #25314c; transition: rotate .25s; }
.filter-group.is-open > .filter-row .filter-row__arr { rotate: -90deg; }
.filter-sub { display: none; flex-direction: column; gap: 7px; margin: 15px 0 5px; }
.filter-group.is-open > .filter-sub { display: flex; }
.filter-sub__item { display: flex; align-items: center; height: 24px; cursor: pointer; font-weight: 600; font-size: 12px; color: rgba(22,22,22,.5); }
.filter-sub__item span { flex: 1; }
.filter-sub__item svg { opacity: .2; color: #25314c; }
.filter-sub__item input, .filter-colors input { position: absolute; opacity: 0; pointer-events: none; }
.filter-sub__item:has(input:checked) { color: var(--cyan); }
/* سطح دوم باز/بسته‌شونده و سطح سوم (چک‌باکس) */
button.filter-sub__item { width: 100%; text-align: right; }
.filter-group--sub > .filter-sub__item:hover,
.filter-group--sub.is-open > .filter-sub__item { color: var(--text); }
.filter-group--sub.is-open > .filter-sub__item .filter-row__arr { rotate: -90deg; opacity: .5; }
.filter-sub--l3 { gap: 9px; margin: 10px 14px 8px 0; padding-right: 12px; border-right: 1px dashed rgba(61,62,133,.18); }
.filter-check { position: relative; display: flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 500; font-size: 12px; line-height: 20px; color: rgba(22,22,22,.7); }
.filter-check input { position: absolute; opacity: 0; pointer-events: none; }
.filter-check i { width: 16px; height: 16px; flex-shrink: 0; border-radius: 5px; border: 1.5px solid #cfd0dd; background: #fff; transition: background .2s, border-color .2s; }
.filter-check:hover i { border-color: var(--navy); }
.filter-check input:checked + i { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.filter-check input:checked ~ span { color: var(--navy); font-weight: 700; }
.filter-check input:focus-visible + i { outline: 2px solid var(--sky); outline-offset: 2px; }
.filter-colors { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.filter-colors i {
  width: 19px; height: 19px; border-radius: 11px; border: 1px solid rgba(158,158,158,.2); flex-shrink: 0;
  background: radial-gradient(circle, var(--c) 0 6px, transparent 6.5px);
}
.filter-colors label:has(input:checked) i { border-color: var(--navy); }
.filter-colors label:has(input:checked) span { color: var(--navy); }

.price-range { position: relative; height: 12px; margin-top: 30px; }
.price-range__track { position: absolute; top: 4px; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(196,205,223,.45); }
.price-range__fill { position: absolute; top: 0; bottom: 0; background: var(--navy); border-radius: 4px; }
.price-range input {
  position: absolute; inset: 0; width: 100%; height: 12px; margin: 0; pointer-events: none;
  -webkit-appearance: none; appearance: none; background: none; direction: ltr;
}
.price-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); cursor: pointer; }
.price-range input::-moz-range-thumb { pointer-events: auto; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); cursor: pointer; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.price-input { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 13px 0 15px; border-radius: 15px; background: #fff; font-weight: 600; font-size: 12px; line-height: 24px; color: #161616; }
.price-input span { flex: 1; }
.price-input b { font-weight: 600; }
.price-input i { display: flex; flex-direction: column; line-height: 0; color: var(--navy); }
.price-input i button { line-height: 0; color: var(--navy); border-radius: 4px; transition: background .15s, color .15s; }
.price-input i button:hover { background: #e6f7fe; color: var(--cyan); }
.price-input i button:active { transform: scale(.9); }
.price-input i button:disabled { opacity: .3; cursor: default; background: none; }
.filter-toggle {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 75px; padding: 0 25px; border-radius: 19px; background: #f8f8f8; cursor: pointer;
  font-weight: 700; font-size: 18px;
}
.filter-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.filter-toggle span { position: relative; width: 39px; height: 21px; border-radius: 37px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.filter-toggle span::after { content: ''; position: absolute; top: 4px; left: 5px; width: 13px; height: 13px; border-radius: 50%; background: #c4c4d4; transition: left .2s, background .2s; }
.filter-toggle input:checked + span::after { left: 21px; background: var(--navy); }

.sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 81px; padding: 0 25px 0 23px; border-radius: 20px; background: #e6f7fe;
}
.sort-bar__opts { display: flex; align-items: center; gap: 25px; }
.sort-bar__opts strong { display: flex; align-items: center; gap: 12px; margin-left: 7px; font-weight: 700; font-size: 18px; }
.sort-bar__opts strong svg, .sort-bar__count svg { color: var(--cyan); }
.sort-bar__opts a { font-weight: 600; font-size: 15px; color: rgba(45,45,45,.5); transition: color .2s; }
.sort-bar__opts a:hover { color: var(--text); }
.sort-bar__opts a.is-active { font-weight: 800; color: var(--cyan); }
.sort-bar__count { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--cyan); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 20px; margin-top: 20px; transition: opacity .2s ease, filter .2s ease; }
@media (min-width: 992px) {
  .shop-layout--no-sidebar .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.shop-grid.is-filter-loading { opacity: .45; filter: grayscale(.45); pointer-events: none; }
/* مشاهده بیشتر (ایجکس) */
.load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.load-more__btn {
  display: inline-flex; align-items: center; gap: 12px; height: 57px; padding: 0 34px;
  border-radius: 29px 29px 0 29px; background: var(--sky); color: #fff;
  font-weight: 600; font-size: 18px; transition: background .2s, opacity .2s;
}
.load-more__btn:hover { background: #0aa6e2; }
.load-more__btn svg { rotate: -90deg; }
.load-more__spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.load-more.is-loading .load-more__btn { pointer-events: none; opacity: .85; }
.load-more.is-loading .load-more__spin { display: block; }
.load-more.is-loading .load-more__btn svg { display: none; }
.load-more__info { font-size: 13px; color: rgba(45,45,45,.5); }
.load-more.is-done .load-more__btn { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.shop-grid > .is-new { animation: card-in .45s ease-out both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f8f8f8; font-weight: 700; font-size: 15px; }
.pager a:hover { color: var(--cyan); }
.pager a.is-active { background: var(--navy); color: #fff; }
.pager__prev svg { rotate: 180deg; }
.seo--shop { margin-top: 80px; }
.seo--shop .seo-box { padding: 0; background: transparent; border-radius: 0; }
.seo--shop .seo-box__text { max-height: 220px; margin-top: 20px; text-align: right; line-height: 2; }
.seo--shop .seo-box__text h2, .seo--shop .seo-box__text h3 { font-weight: 800; margin-block: 18px 10px; }
.seo--shop .seo-box__text img { max-width: 100%; height: auto; }
.seo--shop .seo-box::after { display: none; }
.seo--shop .seo-box__more { margin: 18px 0 0; font-size: 14px; }
.seo-box__more[hidden] { display: none; }

/* =========================== صفحه محصول =========================== */
.product-top { margin-top: 40px; }
.product-top__row { display: grid; grid-template-columns: 468px 1fr 346px; column-gap: 20px; align-items: start; }
.pd-buy { margin-right: 32px; }

.pd-gallery { padding-right: 17px; }
.pd-tools { position: relative; display: flex; gap: 27px; z-index: 15;}
.pd-tools__btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 50px; height: 52px; border-radius: 14px; background: #fff; color: var(--text);
  box-shadow: 0 4px 30px rgba(0,0,0,.06); transition: color .2s;
}
.pd-tools__btn:hover { color: var(--cyan); }
.pd-tools__btn.is-active, .pd-tools__btn.active { background: var(--navy); color: #fff; }
.pd-tools__tip {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  height: 33px; padding: 0 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 61px rgba(0,0,0,.1);
  display: flex; align-items: center; white-space: nowrap;
  font-weight: 500; font-size: 11px; color: rgba(45,45,45,.72);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.pd-tools__btn:hover .pd-tools__tip,
.pd-tools__btn:focus-visible .pd-tools__tip {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.pd-main { position: relative; width: 437px; margin-top: 26px; }
.pd-slider { overflow: hidden; }
.pd-slider img { display: block; width: 437px; height: 434px; object-fit: contain; }
.pd-main__zoom, .pd-main__nav button {
  width: 33px; height: 33px; border-radius: 10px; background: #fff; line-height: 0;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.pd-main__zoom { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: var(--cyan); }
.pd-main__nav { position: absolute; right: 12px; bottom: 10px; z-index: 2; display: flex; gap: 8px; }
.pd-main__nav button { color: var(--text); }
/* فلش‌ها طبق فیگما: دکمه راست (قبلی) به راست، دکمه چپ (بعدی) به چپ */
.pd-main__next svg { rotate: 180deg; }
.pd-main .swiper-button-disabled { opacity: .4; cursor: default; }
.pd-slider img { cursor: zoom-in; }
.pd-main__zoom { transition: transform .2s; }
.pd-main__zoom:hover { transform: scale(1.08); }
.pd-thumb--more { cursor: pointer; transition: background .2s; }
.pd-thumb--more:hover { background: #f1f1f8; }

/* انتخاب سایز */
.pd-sizes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.pd-size {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 36px; min-width: 102px; padding: 0 14px;
  border: 1px solid rgba(234,234,234,.76); border-radius: 10px; background: #fff; cursor: pointer;
  font-weight: 600; font-size: 12px; transition: border-color .2s, color .2s;
}
.pd-size input { position: absolute; opacity: 0; pointer-events: none; }
.pd-size:hover { border-color: rgba(61,62,133,.4); }
.pd-size:has(input:checked) { border-color: var(--navy); color: var(--navy); }
.pd-size.is-disabled { cursor: not-allowed; color: #b5b5b5; text-decoration: line-through; background: #fafafa; }

/* =========================== پاپ‌آپ ثبت نظر =========================== */
body.is-locked { overflow: hidden; }
.hm-modal {
  width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0;
  border: 0; border-radius: 25px; background: #fff; color: var(--text); overflow: auto;
  box-shadow: 0 30px 90px rgba(0,9,33,.25);
}
.hm-modal::backdrop { background: rgba(0,9,33,.55); backdrop-filter: blur(3px); }
.hm-modal[open] { animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.hm-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 26px 30px 0; }
.hm-modal__head h2 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; }
.hm-modal__head h2 svg { color: var(--sky); }
.hm-modal__close { width: 40px; height: 40px; border-radius: 12px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; color: var(--text); transition: background .2s; }
.hm-modal__close:hover { background: #eeeef6; }
.review-form__product { display: flex; align-items: center; gap: 14px; margin: 20px 30px 0; padding: 12px 14px; border-radius: 15px; background: #e6f7fe; }
.review-form__product img { width: 64px; height: 64px; border-radius: 12px; background: #fff; object-fit: contain; }
.review-form__product small { display: block; font-size: 12px; color: rgba(45,45,45,.6); }
.review-form__product b { font-weight: 700; font-size: 14px; line-height: 22px; }
.review-form__body { padding: 22px 30px 6px; display: flex; flex-direction: column; gap: 18px; }
.rate-field { border: 0; margin: 0; padding: 0; }
.rate-field legend, .field > span { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; float: none; width: auto; }
.rate-field em, .field em { color: #e45858; font-style: normal; }
.field small { font-weight: 400; color: rgba(45,45,45,.5); }
/* ترتیب DOM ستاره‌ها 5 تا 1 و چیدمان چپ‌به‌راست؛ پس ستاره 1 سمت راست است و هاور/انتخاب از راست پر می‌شود */
.rate-input { display: flex; justify-content: flex-end; align-items: center; gap: 6px; direction: ltr; }
.rate-input input { position: absolute; opacity: 0; pointer-events: none; }
.rate-input label { color: #e2e2ea; cursor: pointer; line-height: 0; transition: color .15s, transform .15s; }
.rate-input label:hover { transform: scale(1.12); }
.rate-input label:hover, .rate-input label:hover ~ label,
.rate-input input:checked ~ label { color: #ffb800; }
.rate-input input:focus-visible + label { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.rate-input__label { order: 99; margin-left: 12px; direction: rtl; font-weight: 700; font-size: 13px; color: rgba(45,45,45,.6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea {
  display: block; width: 100%; border: 1px solid #ececf1; outline: 0; border-radius: 14px; background: #fafafc;
  padding: 0 16px; font-size: 14px; color: var(--text); transition: border-color .2s, background .2s;
}
.field input { height: 52px; }
.field textarea { padding: 14px 16px; line-height: 26px; resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--sky); background: #fff; }
.field-error { display: none; margin-top: 6px; font-size: 12px; color: #e45858; }
.is-invalid .field-error, .field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e45858; }
.check { position: relative; display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; border: 1.5px solid #cfd0dd; transition: background .2s, border-color .2s; }
.check input:checked + span { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--navy); }
.review-form__done { padding: 40px 30px 20px; text-align: center; }
.review-form__done span { display: inline-flex; color: #4b9271; }
.review-form__done b { display: block; margin-top: 10px; font-weight: 800; font-size: 20px; }
.review-form__done p { margin-top: 8px; font-size: 14px; color: rgba(45,45,45,.6); }
.hm-modal__foot { display: flex; justify-content: flex-start; gap: 12px; padding: 18px 30px 28px; }
.hm-modal__submit { 
  height: 52px !important;
  padding: 0 34px !important;
  border-radius: 14px !important;
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: filter .2s !important;
 }
.hm-modal__submit:hover { filter: brightness(1.15); }
.hm-modal__cancel { height: 52px; padding: 0 24px; border-radius: 14px; background: #f8f8f8; font-weight: 600; font-size: 15px; }
.hm-modal__cancel:hover { background: #eeeef6; }
#review-modal .ts-review-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-bottom: 15px;}
#review-modal .ts-review-form > * { grid-column: 1 / -1; margin: 0; }
#review-modal .ts-review-form .comment-form-author, #review-modal .ts-review-form .comment-form-email { grid-column: auto; order: 1; }
#review-modal .comment-form-comment { order: 2; }
#review-modal .comment-form-cookies-consent { order: 3; }
#review-modal .ts-review-form .hm-modal__foot { order: 4; padding: 0; margin-top: 6px; }
#review-modal .ts-review-form label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
#review-modal .ts-review-form input[type="text"], #review-modal .ts-review-form input[type="email"],
#review-modal .ts-review-form textarea, #review-modal .ts-review-form select {
  width: 100%; padding: 12px 16px; border: 1px solid #e9e9f1; border-radius: 15px;
  background: #fafafd; font: inherit; font-size: 14px;
}
#review-modal .ts-review-form textarea { min-height: 150px; resize: vertical; }
#review-modal .ts-review-form .required { color: #e45858; }
#review-modal .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
#review-modal .comment-form-cookies-consent label { margin: 0; font-size: 12px; font-weight: 400; }
#review-modal .comment-form-rating { display: flex; align-items: end; gap: 16px; }
#review-modal .comment-form-rating label { margin: 0; flex-shrink: 0; }
#review-modal .comment-form-rating .stars { gap: 6px; margin: 0; }
#review-modal .comment-form-rating .stars a { position: relative; display: inline-block; width: 30px; height: 30px; font-size: 0; }
#review-modal .comment-form-rating .stars a::before { content: '★'; position: absolute; inset: 0; font-size: 30px; line-height: 1; color: #e1e1e9; }
#review-modal .comment-form-rating .stars:hover a::before,
#review-modal .comment-form-rating .stars.selected a::before { color: #ffb800; }
#review-modal .comment-form-rating .stars a:hover ~ a::before,
#review-modal .comment-form-rating .stars.selected a.active ~ a::before { color: #e1e1e9; }
@media (max-width: 575px) {
  #review-modal .ts-review-form { grid-template-columns: minmax(0, 1fr); }
}

/* =========================== لایت‌باکس گالری =========================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column;
  background: #000; color: #fff;
  animation: lb-in .2s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__top { position: relative; display: flex; align-items: center; justify-content: center; height: 70px; flex-shrink: 0; }
.lightbox__count { height: 38px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; display: flex; align-items: center; font-weight: 600; font-size: 14px; direction: ltr; }
.lightbox__close { position: absolute; left: 22px; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.1); }
.lightbox__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 20px 90px; touch-action: pan-y; }
.lightbox__figure { margin: 0; height: 100%; max-width: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__figure img {
  max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; background: #fff; user-select: none; -webkit-user-drag: none;
  transition: opacity .2s, transform .25s; cursor: zoom-in;
}
.lightbox__figure img.is-loading { opacity: 0; }
.lightbox__figure.is-zoomed { overflow: auto; cursor: zoom-out; }
.lightbox__figure.is-zoomed img { transform: scale(1.8); cursor: zoom-out; }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .2s;
}
.lightbox__nav:hover { transform: scale(1.08); }
.lightbox__nav--prev { right: 28px; }
.lightbox__nav--prev svg { rotate: 180deg; }
.lightbox__nav--next { left: 28px; }
.lightbox__bar { display: flex; align-items: center; gap: 14px; height: 100px; padding: 0 16px 14px; flex-shrink: 0; }
.lightbox__thumbs { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; padding-bottom: 4px; }
.lightbox__thumbs button { flex-shrink: 0; width: 70px; height: 70px; border-radius: 8px; overflow: hidden; background: #fff; border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--sky); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__all { flex-shrink: 0; width: 70px; height: 70px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; font-weight: 600; font-size: 11px; transition: background .2s; }
.lightbox__all:hover, .lightbox.is-grid .lightbox__all { background: rgba(255,255,255,.12); }
.lightbox__grid { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 40px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; align-content: start; }
.lightbox__grid[hidden] { display: none; }
/* مربع با padding-bottom تا ردیف‌ها در هیچ عرضی فشرده نشوند و عکس‌ها روی هم نیفتند */
.lightbox__grid button { position: relative; display: block; width: 100%; height: 0; padding: 0 0 100%; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid transparent; transition: transform .2s, border-color .2s; }
.lightbox__grid button:hover { transform: translateY(-3px); border-color: var(--sky); }
.lightbox__grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lightbox.is-grid .lightbox__stage { display: none; }
/* تصاویر کوچک: لیست قابل اسکرول + دکمه ثابت «+N عکس» */
.pd-thumbs { display: flex; gap: 11px; margin-top: 21px; width: 437px; }
.pd-thumbs__list {
  flex: 1; min-width: 0; display: flex; gap: 11px;
  overflow-x: auto; overscroll-behavior: contain; scroll-snap-type: x proximity; scrollbar-width: none;
}
.pd-thumbs__list::-webkit-scrollbar { display: none; }
.pd-thumbs__list .pd-thumb { scroll-snap-align: start; }
.pd-thumb { flex: 0 0 101px; width: 101px; height: 100px; border-radius: 9px; background: #fff; overflow: hidden; border: 1px solid transparent; transition: border-color .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.is-active { border-color: rgba(61,62,133,.35); }
.pd-thumb--more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; font-weight: 700; font-size: 12px; color: var(--text); }
.pd-thumb--more svg { color: #292d32; }

.crumbs { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 12px; line-height: 19px; }
.crumbs a { color: rgba(45,45,45,.2); transition: color .2s; }
.crumbs a:hover { color: var(--cyan); }
.crumbs svg { color: var(--cyan); opacity: .2; }
.crumbs--rank-math .rank-math-breadcrumb p { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0; }
.pd-title { margin-top: 25px; font-weight: 700; font-size: 25px; line-height: 39px; }
.pd-en { margin-top: 5px; font-size: 15px; color: #cdcdcd; direction: ltr; text-align: right; }
.pd-meta { display: flex; gap: 70px; margin-top: 15px; height: 45px; align-items: center; padding: 0 11px 0 37px; border-radius: 10px; background: #fff; font-weight: 600; font-size: 12px; color: #686868; }
.pd-meta li { display: flex; align-items: center; gap: 8px; }
.pd-meta svg { color: var(--navy); }
.pd-block { margin-top: 25px; }
.pd-block__head { display: flex; align-items: center; justify-content: space-between; }
.pd-block__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 22px; }
.pd-block__title svg { color: var(--navy); }
.pd-more { display: flex; align-items: center; font-weight: 700; font-size: 11px; color: var(--navy); }
.pd-more svg { rotate: 90deg; color: var(--navy); }
.pd-more:hover { color: var(--cyan); }
.pd-colors { display: flex; gap: 12px; margin-top: 10px; }
.pd-color {
  position: relative; display: flex; align-items: center; gap: 6px; height: 36px; min-width: 102px; padding: 0 8px 0 21px;
  border: 1px solid rgba(234,234,234,.76); border-radius: 10px; background: #fff; cursor: pointer;
  font-weight: 600; font-size: 12px; transition: border-color .2s;
}
.pd-color input { position: absolute; opacity: 0; pointer-events: none; }
.pd-color i { order: -1; width: 20px; height: 20px; border-radius: 10px; border: 1px solid rgba(153,153,153,.33); background: radial-gradient(circle, var(--c) 0 7px, transparent 7.5px); }
.pd-color:has(input:checked) { border-color: var(--navy); }
.pd-color.is-disabled { cursor: not-allowed; color: #b5b5b5; text-decoration: line-through; background: #fafafa; }
.pd-color.is-disabled i { opacity: .4; }
[data-product-old-price][hidden], [data-product-current-price][hidden] { display: none; }
.pd-add[hidden] { display: none; }
.pd-buy__quantity { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pd-buy__quantity button:last-of-type{
  padding-top: 5px !important;
}
.pd-buy__cart-link { font-size: 11px; color: var(--navy); }
.pd-buy__cart-link[hidden] { display: none; }
.pd-color:has(input:focus-visible), .pd-size:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 3px; }
.pd-attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.pd-attrs li { height: 58px; padding: 9px 10px; border-radius: 10px; background: #fff; display: flex; flex-direction: column; }
.pd-attrs span { font-size: 10px; line-height: 20px; color: rgba(38,38,38,.5); }
.pd-attrs b { font-weight: 700; font-size: 12px; line-height: 20px; color: #262626; }
.pd-notice { display: flex; align-items: center; gap: 17px; margin-top: 25px; padding: 12px 16px 12px 11px; min-height: 60px; border-radius: 10px; background: rgba(61,62,133,.15); }
.pd-notice > span { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; flex-shrink: 0; border-radius: 10px; background: #fff; color: var(--navy); }
.pd-notice p { font-weight: 600; font-size: 12px; line-height: 18px; color: #262626; }
.pd-tags-wrap { margin-top: 64px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-tags a { height: 34px; padding: 0 13px; min-width: 77px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; box-shadow: 0 2px 12px rgba(0,0,0,.03); }
.pd-tags a:hover { color: var(--cyan); }

.pd-buy__hint { display: flex; align-items: center; gap: 11px; height: 55px; padding: 0 22px; border-radius: 15px; background: #fff; box-shadow: 0 0 62px rgba(0,0,0,.05); font-weight: 600; font-size: 12px; }
.pd-buy__hint[hidden] { display: none; }
.pd-buy__hint b{
  flex-grow: 1;
}
.pd-buy__hint svg { color: var(--navy); }
.pd-buy__box { margin-top: 10px; padding: 15px 14px 16px; border-radius: 15px; background: #fff; box-shadow: 0 0 62px rgba(0,0,0,.05); }
.pd-snapp { display: flex; align-items: center; justify-content: space-between; height: 67px; padding: 0 18px; border-radius: 10px; background: var(--cyan); color: #fff; }
.pd-snapp:hover { color: #fff; }
.pd-snapp span { display: flex; flex-direction: column; }
.pd-snapp b { font-weight: 800; font-size: 15px; line-height: 29px; }
.pd-snapp small { margin-top: -4px; font-weight: 300; font-size: 11px; line-height: 22px; }
.pd-perks { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.pd-perks li { display: flex; align-items: center; justify-content: space-between; height: 51px; padding: 0 13px 0 22px; border-radius: 10px; background: #e6f7fe; }
.pd-perks strong { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; }
.pd-perks svg { color: var(--cyan); }
.pd-perks span { font-size: 11px; }
.pd-buy__row { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.pd-perks + .pd-buy__row { margin-top: 30px; }
.qty { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 9px; border-radius: 9px; background: #f8f8f8; }
.qty button { width: 26px; height: 26px; border-radius: 8px; background: #d8d8e7; color: var(--navy); font-size: 16px; line-height: 1; }
.qty button[data-qty-minus] { background: #ececf1; color: #b8b8c8; }
.qty input { width: 14px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 13px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-buy__old { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.pd-buy__old del { font-weight: 700; font-size: 19px; color: #b5b5b5; }
.pd-buy__old span { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 23px; border-radius: 12px; background: var(--cyan); color: #fff; font-weight: 700; font-size: 14px; }
.pd-stock { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 10px; color: #e45858; }
.pd-buy__price { font-weight: 700; font-size: 17px; }
.pd-buy__price b { font-weight: 700; font-size: 28px; margin-left: 6px; }
.pd-add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 57px; margin-top: 5px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; transition: filter .2s; }
.pd-add:hover { filter: brightness(1.15); }
[data-cart-product][aria-busy="true"] { cursor: wait; }
[data-cart-product][aria-busy="true"] svg { display: none; }
[data-cart-product][aria-busy="true"]::after {
  content: ''; display: inline-block; flex-shrink: 0;
  width: 18px; height: 18px; border: 2px solid currentColor;
  border-left-color: transparent; border-radius: 50%;
  animation: ts-cart-spin .7s linear infinite;
}
[data-cart-quantity], [data-mini-cart-key] { position: relative; }
[data-cart-quantity][aria-busy="true"] input, [data-mini-cart-key][aria-busy="true"] input { opacity: 0; }
[data-cart-quantity][aria-busy="true"]::after, [data-mini-cart-key][aria-busy="true"]::after {
  content: '•••'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); color: var(--navy);
  font-size: 14px; letter-spacing: 2px; line-height: 1;
  pointer-events: none; animation: ts-cart-dots .8s ease-in-out infinite alternate;
}
@keyframes ts-cart-spin { to { transform: rotate(360deg); } }
@keyframes ts-cart-dots { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  [data-cart-product][aria-busy="true"]::after,
  [data-mini-cart-key][aria-busy="true"]::after,
  [data-cart-quantity][aria-busy="true"]::after { animation: none; }
}

.pd-features {
  display: flex; align-items: center; justify-content: space-between;
  height: 104px; margin-top: 49px; padding: 0 42px; border-radius: 20px; background: #e6f7fe;
}
.pd-features li { display: flex; align-items: center; gap: 13px; }
.pd-features li + li::before { content: ''; width: 1px; height: 45px; margin-left: 47px; background: rgba(0,175,239,.2); order: -1; }
.pd-features li > span { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 21px; background: #fff; color: var(--cyan); }
.pd-features div { display: flex; flex-direction: column; gap: 3px; line-height: 19px; color: #262626; }
.pd-features b { font-weight: 700; font-size: 17px; }
.pd-features small { font-size: 14px; opacity: .5; }

.pd-tabs { display: grid; grid-template-columns: 266px 266px 266px 266px 1fr; gap: 18px; margin-top: 40px; }
.pd-tabs a { display: flex; align-items: center; justify-content: center; gap: 17px; height: 68px; border-radius: 15px; background: #f8f8f8; font-weight: 600; font-size: 19px; color: #262626; transition: background .2s, color .2s; }
.pd-tabs svg { color: var(--navy); }
.pd-tabs a:hover { background: #eeeef6; color: #262626; }
.pd-tabs a.is-active { background: var(--navy); color: #fff; }
.pd-tabs a.is-active svg { color: #fff; }

.pd-section { margin-top: 80px; scroll-margin-top: 20px; }
#pd-about { margin-top: 77px; }
.pd-head { display: flex; align-items: center; gap: 15px; font-weight: 800; font-size: 25px; line-height: 39px;margin-bottom: 15px; }
.pd-head svg { color: var(--navy); }
.pd-head-row { display: flex; align-items: center; justify-content: space-between; min-height: 57px; }
.pd-about { display: grid; grid-template-columns: 1fr 590px; gap: 20px; align-items: start; }
.pd-about__text p { margin-top: 20px; font-size: 15px; line-height: 34.5px; text-align: justify; }
.pd-subhead { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 700; font-size: 20px; line-height: 31px; }
.pd-subhead svg { color: var(--cyan); }
.pd-keys { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.pd-keys li { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 15px; line-height: 23px; }
.pd-keys li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; flex-shrink: 0; }
.pd-about__img { width: 590px; height: 475px; border-radius: 20px; object-fit: cover; }
.pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 20px; margin-top: 20px; }
.pd-specs li { display: grid; grid-template-columns: 98px 1fr; align-items: center; column-gap: 50px; height: 80px; padding: 0 17px 0 31px; border-radius: 20px; background: var(--lilac); font-weight: 600; font-size: 15px; }
.pd-specs span { display: flex; align-items: center; gap: 15px; }
.pd-specs i { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 21px; background: #fff; color: var(--navy); }
.pd-specs b { font-weight: 600; }
.btn-more--lg { height: 67px; }
.btn-more--lg svg { order: -1; }
.reviews { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.review { display: flex; flex-direction: column; gap: 20px; padding: 35px 39px; border-radius: 20px; background: #f8f8f8; }
.review--reply { padding: 31px 30px; background: #fff; }
.review > .children { display: flex; flex-direction: column; gap: 20px; }
.review .review__star--empty { color: #e1e1e9; }
.review__head { display: flex; align-items: center; justify-content: space-between; }
.review__user { display: flex; align-items: center; gap: 24px; }
.review__user img { width: 61px; height: 61px; border-radius: 20px; object-fit: cover; }
.review__user div { display: flex; flex-direction: column; gap: 14px; }
.review__user b { font-weight: 700; font-size: 18px; line-height: 19px; }
.review__user span { display: flex; align-items: center; gap: 5px; font-size: 12px; line-height: 16px; }
.review__user span svg { color: var(--navy); }
.stars { display: flex; gap: 10px; color: #ffb800; }
.review p { font-size: 15px; line-height: 34.5px; text-align: justify; }
.pd-section.faq .faq-grid { margin-top: 50px; }

/* =========================== عمومی: متن فقط برای صفحه‌خوان / زیرعنوان سربرگ =========================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sec-head--sub { height: auto; min-height: 57px; }
.sec-sub { margin-top: 8px; margin-right: 60px; font-weight: 500; font-size: 14px; color: rgba(45,45,45,.6); }
.page-contact .nav-menu a[href="contact.html"],
.page-about .nav-menu a[href="about.html"] { color: var(--cyan); }
.page-contact .nav-menu a[href="contact.html"]::before,
.page-about .nav-menu a[href="about.html"]::before { background: var(--cyan); }

/* =========================== بنر عنوان صفحات داخلی =========================== */
.page-hero { margin-top: 40px; }
.page-hero__box {
  position: relative; overflow: hidden;
  min-height: 260px; padding: 48px 98px;
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 20px; color: #fff;
  background: linear-gradient(250deg, #3e4095 10%, #2b7fd6 65%, #00afef 120%);
}
/* نقش‌مایه‌های محو پس‌زمینه */
.page-hero__box::before, .page-hero__box::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero__box::before { width: 420px; height: 420px; left: -120px; top: -180px; background: radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,0)); }
.page-hero__box::after { width: 260px; height: 260px; left: 22%; bottom: -170px; border: 40px solid rgba(255,255,255,.06); }
.page-hero__crumbs { position: relative; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: rgba(255,255,255,.75); }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero h1 { position: relative; margin-top: 12px; font-weight: 900; font-size: 42px; line-height: 1.25; }
.page-hero p { position: relative; max-width: 700px; margin-top: 12px; font-weight: 500; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.85); }

/* =========================== تماس با ما =========================== */
.contact-cards { margin-top: 60px; }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { padding: 28px; border-radius: 20px; background: var(--lilac); transition: transform .25s, box-shadow .25s, background .25s; }
.info-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 40px rgba(61,62,133,.1); }
.info-card h2 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; line-height: 1.3; }
.info-card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--cyan); box-shadow: 0 4px 14px rgba(0,175,239,.12); }
.info-card__main { display: block; margin-top: 16px; font-weight: 700; font-size: 16px; line-height: 1.6; text-align: right; }
a.info-card__main:hover { color: var(--cyan); }
.info-card p { margin-top: 6px; font-weight: 500; font-size: 14px; color: rgba(45,45,45,.6); }

.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.contact-form-wrap { padding: 29px; border-radius: 20px; background: #fff; box-shadow: 0 0 24px rgba(0,0,0,.06); }
.contact-form__head h2 { display: flex; align-items: center; gap: 15px; font-weight: 700; font-size: 20px; color: #252525; }
.contact-form__head h2 span { display: flex; align-items: center; justify-content: center; width: 41px; height: 35px; border-radius: 12px; background: var(--grad); color: #fff; }
.contact-form__head p { margin-top: 10px; font-weight: 500; font-size: 15px; line-height: 1.8; color: rgba(37,37,37,.75); }
.contact-form { margin-top: 28px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 16px; }
.cf-field { position: relative; display: block; }
.cf-field--full { grid-column: 1 / -1; }
.cf-field > svg { position: absolute; right: 18px; top: 20px; color: var(--navy); pointer-events: none; }
.cf-field input, .cf-field select, .cf-field textarea {
  display: block; width: 100%; height: 64px; padding: 0 52px 0 18px;
  border: 1.5px solid transparent; outline: 0; border-radius: 10px; background: #f5f7f8;
  font-weight: 500; font-size: 15px; color: #252525; transition: border-color .2s, background .2s;
}
.cf-field textarea { height: 104px; padding-top: 20px; line-height: 1.7; resize: vertical; }
.cf-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #f5f7f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 7l-5 5 5 5' fill='none' stroke='%232d2d2d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left 16px center / 22px; }
.cf-field select:invalid { color: #6b6f78; }
.cf-field ::placeholder { color: #6b6f78; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--sky); background-color: #fff; }
.cf-error { display: none; margin-top: 6px; font-style: normal; font-size: 12px; color: #e45858; }
.cf-field.is-invalid .cf-error { display: block; }
.cf-field.is-invalid input, .cf-field.is-invalid select, .cf-field.is-invalid textarea { border-color: #e45858; }
.cf-secure { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: rgba(45,45,45,.6); }
.cf-secure svg { color: #4b9271; }
.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 17px;
  width: 100%; height: 64px; margin-top: 16px; border-radius: 10px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 18px; transition: filter .2s;
}
.cf-submit:hover { filter: brightness(1.1); }
.cf-done { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: #e9f9f2; color: #2f6b50; }
.cf-done[hidden] { display: none; }
.cf-done b { display: block; font-weight: 700; font-size: 15px; }
.cf-done span { font-size: 13px; }

.contact-map { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 24px rgba(0,0,0,.06); }
.contact-map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-map__card {
  position: absolute; top: 24px; right: 25px; width: 320px; max-width: calc(100% - 40px);
  padding: 30px 25px; border-radius: 18px; background: rgba(37,37,37,.94); color: #fff;
  backdrop-filter: blur(6px); box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.contact-map__card h3 { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.contact-map__card h3 svg { color: var(--sky); }
.contact-map__card p { margin-top: 10px; font-weight: 500; font-size: 15px; line-height: 1.7; }
.contact-map__time { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); }
.contact-map__btn { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 18px; border-radius: 10px; background: var(--grad); font-weight: 700; font-size: 15px; transition: filter .2s; }
.contact-map__btn, .contact-map__btn:hover { color: #fff; }
.contact-map__btn:hover { filter: brightness(1.12); }

.social-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.social-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; border-radius: 20px; background: var(--lilac); transition: transform .25s, box-shadow .25s; }
.social-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.07); }
.social-card__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; }
.social-card b { margin-top: 16px; font-weight: 800; font-size: 15px; }
.social-card small { margin-top: 4px; font-size: 13px; color: rgba(45,45,45,.5); }
.social-card__btn { margin-top: 16px; padding: 7px 20px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; transition: filter .2s; }
.social-card__btn:hover { color: #fff; filter: brightness(1.12); }
.page-contact .faq-item { border: 1px solid rgba(0,0,0,.05); }

/* =========================== درباره ما =========================== */
.about-split { padding: 50px 0; }
.page-hero + .about-split { margin-top: 30px; }
.about-split--tint { background: rgba(209,241,252,.5); padding: 80px 0; margin-top: 50px; }
.about-split__row { display: grid; grid-template-columns: 1fr 680px; gap: 60px; align-items: center; }
.about-split__row--rev { grid-template-columns: 680px 1fr; }
.about-split__row--rev .about-split__text { order: 2; }
.about-kicker { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #e6f7fe; color: var(--cyan); font-weight: 700; font-size: 13px; }
.about-split__text h2 { margin-top: 14px; font-weight: 900; font-size: 32px; line-height: 1.35; }
.about-split__text p { margin-top: 20px; font-size: 16px; line-height: 1.95; color: rgba(45,45,45,.85); text-align: justify; }
.about-highlight { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-radius: 15px; background: var(--lilac); color: var(--indigo) !important; font-weight: 700; font-size: 15px !important; line-height: 1.6 !important; text-align: right !important; }
.about-highlight svg { flex-shrink: 0; color: var(--cyan); }
.about-split__img { width: 100%; height: auto; aspect-ratio: 680 / 450; object-fit: cover; border-radius: 30px; box-shadow: 0 0 24px rgba(0,0,0,.05); }
.about-split__row--rev .about-split__img { aspect-ratio: 680 / 420; }
.value-badges { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 24px; }
.value-badges li { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--cyan); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; }
.value-badges svg { color: var(--cyan); }

.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strategy { padding: 28px; border-radius: 20px; background: var(--lilac); transition: transform .25s, background .25s, box-shadow .25s; }
.strategy:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 40px rgba(61,62,133,.08); }
.strategy__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--cyan); box-shadow: 0 4px 14px rgba(0,175,239,.12); }
.strategy h3 { margin-top: 16px; font-weight: 800; font-size: 18px; line-height: 1.5; }
.strategy p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: rgba(45,45,45,.65); }

.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.leader { display: flex; align-items: center; gap: 28px; padding: 32px; border: 1px solid #e5e7eb; border-radius: 24px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.leader img { width: 220px; height: 220px; flex-shrink: 0; border-radius: 22px; object-fit: cover; background: #eff6ff; }
.leader h3 { font-weight: 700; font-size: 22px; color: #111827; }
.leader span { display: block; margin-top: 10px; font-weight: 600; font-size: 15px; color: #6b7280; }
.leader em { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; font-style: normal; font-weight: 600; font-size: 13px; color: #6b7280; }
.leader em svg { color: var(--cyan); }

.team-slider { overflow: hidden; margin: -10px -8px 0; padding: 10px 8px 0; }
.team-card { position: relative; isolation: isolate; padding: 22px 24px 26px; margin-bottom: 11px; text-align: center; }
.team-card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 23px; background: var(--soft); }
.team-card::before { content: ''; position: absolute; z-index: -2; left: 9px; right: 9px; top: 29px; bottom: -11px; border-radius: 23px; background: var(--grad); }
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 297 / 220; object-fit: cover; border-radius: 18px; background: #eff6ff; transition: transform .35s; }
.team-card:hover img { transform: scale(1.03); }
.team-card h3 { margin-top: 16px; font-weight: 800; font-size: 18px; }
.team-card span { display: block; margin-top: 4px; font-weight: 600; font-size: 14px; color: var(--sky); }
.team-dots { position: static; display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.team-dots .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; background: #d9d9d9; opacity: 1; transition: width .25s, background .25s; border-radius: 10px; }
.team-dots .swiper-pagination-bullet-active { width: 28px; background: var(--sky); }

/* =========================== موبایل/تبلت: هدر و منوی کشویی =========================== */
.nav-toggle, .nav-drawer-head, .nav-backdrop { display: none; }
@media (max-width: 1199.98px) {
  .wrap { padding-inline: 24px; }
  .header-search { width: auto; flex: 1; margin-inline: 24px; }
  .header-icon { margin-left: 16px; }
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 15px; }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .social-cards { grid-template-columns: repeat(3, 1fr); }
  .strategy-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split__row, .about-split__row--rev { grid-template-columns: 1fr 1fr; gap: 40px; }
  .leader { flex-direction: column; text-align: center; }
  .leader img { width: 180px; height: 180px; }
  .footer-main { flex-wrap: wrap; gap: 40px; }
  .footer-about { width: 100%; }
  .footer-news { margin-right: 0; }
  .footer-contacts { flex-wrap: wrap; gap: 24px 40px; justify-content: flex-start; }
}
@media (max-width: 991.98px) {
  .topbar { height: 40px; }
  .header-main { flex-wrap: wrap; height: auto; margin-top: 16px; gap: 12px 0; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: 12px; border-radius: 14px; background: var(--lilac); color: var(--text); }
  .header-logo img { width: 150px; height: auto; }
  .header-search { order: 5; flex: 0 0 100%; width: 100%; height: 50px; margin: 0; }
  .header-icon { display: none; }
  .header-cart { width: 46px; height: 46px; margin-left: 10px; border-radius: 14px; }
  .header-login { height: 46px; padding: 0 14px; border-radius: 14px; }
  .header-login__text, .header-login__arrow { display: none; }

  /* منوی اصلی به صورت کشو از سمت راست */
  .header-nav {
    position: fixed; z-index: 1100; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
    flex-direction: column; align-items: stretch; gap: 14px; height: auto; margin: 0; padding: 18px;
    background: #fff; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.12);
    transform: translateX(105%); transition: transform .3s ease; visibility: hidden;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .header-nav { transform: translateX(0); visibility: visible; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #eee; }
  .nav-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lilac); }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(0,9,33,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-cats-wrap { flex-direction: column; }
  .nav-cats { width: 100%; height: 50px; }
  .mega { position: static; display: none; margin-top: 10px; padding: 12px; box-shadow: none; background: #fff; border: 1px solid #eee; opacity: 1; visibility: visible; translate: none; }
  .nav-cats-wrap.is-open .mega { display: block; }
  .nav-cats-wrap:hover .mega { opacity: 1; }
  .nav-cats-wrap:hover::after { display: none; }
  .mega__grid { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
  .mega__grid img { width: 64px; height: 64px; }
  .mega__grid a { font-size: 11px; }
  .nav-menu { flex: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px; }
  .nav-menu a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.05); }
  .nav-menu li:last-child a { border-bottom: 0; }
  .nav-sale, .nav-phone { width: 100%; height: 52px; justify-content: center; }

  /* فوتر */
  .footer-links { width: calc(33.33% - 27px); }
  .footer-news { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 30px; }
  .footer-support { order: 0; width: 100%; height: auto; border-radius: 25px; }
  .footer-bottom__main { width: 100%; }
  .footer-boxes, .footer-copy { grid-template-columns: 1fr; gap: 16px; }
  .footer-copy { padding-bottom: 30px; text-align: center; }
  .footer-copy__credit { justify-content: center; gap: 16px; }

  /* صفحات داخلی */
  .page-hero__box { min-height: 0; padding: 36px 32px; }
  .page-hero h1 { font-size: 32px; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-map { order: -1; min-height: 360px; }
  .about-split__row, .about-split__row--rev { grid-template-columns: 1fr; gap: 28px; }
  .about-split__row .about-split__img { order: -1; }
  .about-split__row--rev .about-split__text { order: 0; }
  .leader-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sec-title { font-size: 24px; gap: 12px; }
  .sec-sub { margin-right: 55px; }
}
@media (max-width: 767.98px) {
  .wrap { padding-inline: 16px; }
  .topbar { height: 32px; }
  .section { margin-top: 64px; }
  .page-hero { margin-top: 24px; }
  .page-hero__box { padding: 28px 22px; border-radius: 18px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }
  .contact-cards { margin-top: 32px; }
  .info-cards { gap: 12px; }
  .info-card { padding: 18px 16px; }
  .info-card h2 { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
  .info-card__icon { width: 40px; height: 40px; }
  .info-card__main { margin-top: 10px; font-size: 14px; }
  .info-card p { font-size: 12px; }
  .contact-form-wrap { padding: 20px 16px; }
  .cf-grid { grid-template-columns: 1fr; }
  .cf-field input, .cf-field select { height: 56px; }
  .cf-field > svg { top: 17px; }
  .cf-submit { height: 56px; font-size: 16px; }
  /* موبایل: نقشه بالا و کارت نشانی زیر آن (روی نقشه را نمی‌پوشاند) */
  .contact-map { min-height: 0; display: flex; flex-direction: column; background: #252525; }
  .contact-map > img { position: relative; height: 220px; }
  .contact-map__card { position: relative; top: auto; right: auto; width: auto; max-width: none; padding: 20px 18px; border-radius: 0; box-shadow: none; background: #252525; backdrop-filter: none; }
  .contact-map__card p { font-size: 13px; }
  .social-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .social-card { padding: 18px 12px; }
  .social-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .social-card__icon { width: 54px; height: 54px; }
  .social-card small { font-size: 12px; word-break: break-all; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 22px 18px; }
  .faq-item summary { gap: 12px; font-size: 15px; line-height: 1.7; }
  .faq-item__body { margin-inline: -4px; }
  .about-split { padding: 32px 0; }
  .about-split--tint { padding: 48px 0; }
  .about-split__text h2 { font-size: 24px; }
  .about-split__text p { font-size: 15px; }
  .about-split__img { border-radius: 20px; }
  .strategy-grid { grid-template-columns: 1fr; gap: 14px; }
  .strategy { padding: 22px; }
  .leader-grid { grid-template-columns: 1fr; }
  .leader { padding: 24px; }
  .sec-head { flex-wrap: wrap; height: auto; gap: 16px; margin-bottom: 28px; }
  .sec-title { font-size: 20px; }
  .sec-sub { margin-right: 0; font-size: 13px; }
  .slider-nav { height: 46px; padding: 0 20px; }
  .footer-main { gap: 28px; }
  .footer-links { width: calc(50% - 14px); }
  .footer-news__form { flex-wrap: nowrap; }
  .footer-contacts li { width: 100%; }
}
@media (max-width: 575.98px) {
  .topbar { height: 28px; }
  .header-logo img { width: 128px; }
  .footer-glow { display: none; }
}

/* ================================================================
   ریسپانسیو صفحه اصلی، فروشگاه، محصول + نوار پایین موبایل
   (موبایل طبق فیگمای ۴۳۰px؛ تبلت چیدمان واسط)
   ================================================================ */

/* پایه (همه عرض‌ها) */
.sort-bar__toggle { display: flex; align-items: center; gap: 12px; margin-left: 7px; font-weight: 700; font-size: 18px; cursor: default; }
.sort-bar__toggle > svg:first-child { color: var(--cyan); }
.sort-bar__caret { display: none; }
.sort-bar__list { display: flex; align-items: center; gap: 25px; }
.shop-mfilter, .bottom-nav { display: none; }
.seo-box__img { display: block; width: 100%; height: auto; aspect-ratio: 1347 / 277; object-fit: cover; margin-top: 20px; border-radius: 21px; }

/* ---------- تبلت بزرگ ---------- */
@media (max-width: 1199.98px) {
  /* پیشنهاد شگفت‌انگیز: از چیدمان مطلق به ستونی */
  .offer-box { height: auto; padding: 28px 24px 24px; border-radius: 30px; background: linear-gradient(200deg, #3e4095 0%, #00afef 100%); }
  .offer-box::before, .offer-box::after, .offer-card::before { display: none; }
  .offer-side { position: static; width: auto; flex-direction: row; justify-content: center; gap: 16px; margin-bottom: 22px; }
  .offer-side h2 { margin: 0; }
  .offer-side h2 b { display: inline; margin: 0 0 0 8px; }
  .offer-side img { display: none; }
  .offer-side__nav { margin: 0 auto 0 0; }
  .offer-card { position: static; width: auto; height: auto; padding: 24px; }

  .about-row { height: auto; flex-wrap: wrap; gap: 30px; }
  .about-text, .newsletter { width: calc(50% - 15px); }
  .about-gfx { order: 3; width: 100%; max-width: 657px; margin: 0 auto; }
  .promo__text { top: 40px; right: 40px; }
  .promo__text h3 { font-size: 26px; }

  .shop-layout { grid-template-columns: 290px 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .sort-bar__list { gap: 16px; }
  .sort-bar__toggle { font-size: 16px; }

  .product-top__row { grid-template-columns: 440px 1fr; }
  .pd-buy { grid-column: 1 / -1; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .pd-buy__box { margin-top: 0; }
  .pd-features { overflow-x: auto; justify-content: flex-start; gap: 30px; scrollbar-width: none; }
  .pd-features::-webkit-scrollbar { display: none; }
  .pd-features li { flex-shrink: 0; }
  .pd-features li + li::before { margin-left: 30px; }
  .pd-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .pd-tabs a { flex: 0 0 auto; padding: 0 28px; }
  .pd-about { grid-template-columns: 1fr; }
  .pd-about__img { width: 100%; height: auto; aspect-ratio: 590 / 475; }
}

/* ---------- تبلت ---------- */
@media (max-width: 991.98px) {
  .about-text, .newsletter { width: 100%; }

  /* فروشگاه: فیلترها پشت دکمه */
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .shop-mfilter {
    display: flex; align-items: center; justify-content: space-between;
    height: 55px; padding: 0 17px; border-radius: 15px; background: #f8f8f8;
  }
  .shop-mfilter__toggle { display: flex; align-items: center; gap: 10px; flex: 1; height: 100%; font-weight: 700; font-size: 15px; text-align: right; }
  .shop-mfilter__toggle svg { color: var(--navy); }
  .shop-mfilter__back, .shop-layout.is-filtering .shop-mfilter__open { display: none; }
  .shop-layout.is-filtering .shop-mfilter__back { display: block; }
  .shop-mfilter__clear { line-height: 0; color: #274988; }
  .shop-mfilter__clear:hover { color: #e45858; }
  .shop-side { display: none; }
  .shop-layout.is-filtering .shop-side { display: flex; }
  .shop-layout.is-filtering .shop-main { display: none; }

  /* مرتب‌سازی به صورت کشویی */
  .sort-bar { height: 40px; padding: 0; border-radius: 0; background: none; }
  .sort-bar__opts { position: relative; }
  .sort-bar__toggle {
    height: 40px; margin: 0; padding: 0 14px; gap: 8px; border-radius: 8px; background: #e6f7fe;
    font-size: 12px; cursor: pointer;
  }
  .sort-bar__toggle > svg:first-child { width: 20px; height: 20px; }
  .sort-bar__caret { display: block; margin-right: 6px; transition: rotate .2s; }
  .sort-bar__opts.is-open .sort-bar__caret { rotate: 180deg; }
  .sort-bar__list {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; min-width: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px;
    border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity .2s, translate .2s, visibility .2s;
  }
  .sort-bar__opts.is-open .sort-bar__list { opacity: 1; visibility: visible; translate: 0 0; }
  .sort-bar__list a { padding: 10px 12px; border-radius: 8px; font-size: 13px; }
  .sort-bar__list a:hover { background: #f5f7f8; }
  .sort-bar__count { font-size: 12px; gap: 7px; }
  .sort-bar__count svg { width: 19px; height: 19px; }

  /* محصول: یک ستون با ترتیب موبایل فیگما */
  .product-top__row { display: flex; flex-direction: column; }
  .product-top__row .pd-info > *, .product-top__row .pd-buy > * { min-width: 0; max-width: 100%; }
  .pd-info, .pd-buy { display: contents; }
  .crumbs { order: 1; }
  .pd-title { order: 2; }
  .pd-en { order: 3; }
  .pd-gallery { order: 4; }
  .pd-buy__hint { order: 5; }
  .pd-info__box { order: 6; }
  .pd-buy__box { order: 7; }
  .pd-tags-wrap { order: 8; }
  .pd-gallery {
    display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "main thumbs" "tools tools";
    gap: 20px 15px; width: 100%; min-width: 0; max-width: 600px; margin: 20px auto 0; padding: 0;
  }
  .pd-main { grid-area: main; width: auto; min-width: 0; margin: 0; }
  .pd-slider img { width: 100%; height: auto; aspect-ratio: 309 / 316; }
  /* ستون عمودی هم‌قد تصویر اصلی (contain:size تا تعداد عکس‌ها ارتفاع ردیف را زیاد نکند) */
  .pd-thumbs { grid-area: thumbs; flex-direction: column; width: auto; margin: 0; gap: 8px; contain: size; align-self: stretch; }
  .pd-thumbs__list { flex-direction: column; gap: 8px; min-height: 0; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y proximity; }
  .pd-thumb { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; }
  .pd-thumb--more { border-radius: 8px; font-size: 9px; }
  .pd-thumb--more svg { width: 20px; height: 20px; }
  .pd-tools { grid-area: tools; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .pd-tools .pd-tools__btn { width: 100%; max-width: 52px; justify-self: center; }
  .pd-tools__tip { display: none; }
  .pd-buy__hint { margin-top: 20px; border-radius: 10px; }
  .pd-info__box { margin-top: 20px; padding: 16px 14px; border-radius: 10px; background: #fafafa; }
  .pd-info__box > .pd-block:first-of-type, .pd-meta + .pd-block { margin-top: 20px; }
  .pd-buy__box { width: 100%; margin-top: 20px; padding: 0; background: none; box-shadow: none; }
  .pd-tags-wrap { margin-top: 20px; }
  .pd-tabs { display: none; }
  .pd-features { margin-top: 40px; }
  .pd-section, #pd-about { margin-top: 50px; }
  .pd-specs { grid-template-columns: 1fr; }
}

/* ---------- موبایل (فیگمای ۴۳۰) ---------- */
@media (max-width: 767.98px) {
  body { padding-bottom: 76px; }
  .section { margin-top: 50px; }

  /* نوار بالا: تصویر مخصوص موبایل */
  .topbar { height: auto; }
  .topbar img { height: auto; aspect-ratio: 430 / 41; object-fit: cover; }

  /* هدر موبایل: همبرگر راست، لوگو وسط، ورود چپ */
  .header-main { margin-top: 15px; flex-wrap: wrap; }
  .nav-toggle { width: 45px; height: 45px; margin: 0; border-radius: 10px; background: linear-gradient(210deg, #3e4095, #00afef); color: #fff; }
  .header-logo { flex: 1; display: flex; justify-content: center; }
  .header-logo img { width: 132px; }
  .header-search { display: none; }
  body.search-open .header-search { display: block; order: 5; flex: 0 0 100%; height: 48px; margin-top: 12px; }
  .header-tools { margin-right: 0; }
  .header-cart { display: none; }
  .header-login { width: 45px; height: 45px; padding: 0; justify-content: center; border-radius: 11px; }

  /* نوار ناوبری پایین */
  .bottom-nav {
    position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0;
    display: flex; align-items: stretch; justify-content: space-around;
    height: calc(64px + env(safe-area-inset-bottom)); padding: 8px 8px env(safe-area-inset-bottom);
    background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -6px 24px rgba(0,9,33,.08);
  }
  .bottom-nav__item {
    position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: var(--text); font-weight: 600; font-size: 10px; line-height: 15px;
  }
  .bottom-nav__item.is-active { color: var(--cyan); font-weight: 700; }
  .bottom-nav__item.is-active::after { content: ''; position: absolute; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--cyan); }
  .bottom-nav__count {
    position: absolute; top: 2px; left: calc(50% - 18px); min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; background: var(--cyan); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
  }

  /* هیرو */
  .hero { margin-top: 20px; }
  .hero-slider { margin-inline: 16px; }
  .hero-slide { border-radius: 14px; --notch-w: 20px; --notch-h: 76px; }
  .hero-slide img { aspect-ratio: 398 / 172; }
  .hero-nav { width: 16px; height: 30px; }
  .hero-nav svg { width: 15px; height: 15px; }
  .hero-slider .swiper-slide:not(.swiper-slide-active) { opacity: 0; }

  /* دسته‌بندی‌ها */
  .cats { margin-top: 20px; }
  .cats-slider { margin-inline: -16px; padding-inline: 16px; }
  .cats-slider .swiper-slide { width: 99px; }
  .cat-item img { width: 99px; height: 99px; }
  .cat-item strong { margin-top: 7px; font-size: 12px; line-height: 19px; }
  .cat-item .more-link { margin-top: 3px; gap: 7px; }
  .more-link i { width: 11px; height: 11px; border-radius: 3px; }
  .more-link i svg { width: 5px; height: 5px; }

  /* سربرگ بخش‌ها */
  .sec-head { flex-wrap: nowrap; height: auto; margin-bottom: 30px; gap: 12px; }
  .sec-title { gap: 15px; font-size: 20px; line-height: 1.17; }
  .icon-box--sm { width: 33px; height: 33px; border-radius: 17px 0 17px 17px; }
  .icon-box--sm svg { width: 33px; height: 33px; }
  .icon-box--sm svg[width="18"], .icon-box--sm svg[width="24"] { width: 16px; height: 16px; }
  .slider-nav { display: none; }
  .btn-more { height: 38px; padding: 0 18px; gap: 8px; border-radius: 20px 20px 0 20px; font-size: 12px; }
  .btn-more svg { width: 11px; height: 11px; }

  /* کارت محصول در اسلایدرها (۲۵۳px) */
  .products-slider, .offer-slider, .blog-slider, .cats-slider, .brands-slider { margin-inline: -16px; padding-inline: 16px; }
  .products-slider .swiper-slide, .offer-slider .swiper-slide { width: 253px; }
  .p-card { padding: 16px 18px; margin-bottom: 9px; }
  .p-card::before { left: 7px; right: 7px; top: 22px; bottom: -9px; border-radius: 18px; }
  .p-card::after { border-radius: 18px; }
  .p-card__media { border-radius: 15px; }
  .p-card__fav, .p-card__cmp { top: 15px; width: 32px; height: 34px; border-radius: 11px; }
  .p-card__fav { right: 16px; } .p-card__cmp { left: 15px; }
  .p-card__fav svg { width: 14px; height: 14px; } .p-card__cmp svg { width: 18px; height: 18px; }
  .p-card__title, .p-card--offer .p-card__title { margin-top: 9px; font-size: 18px; line-height: 23px; min-height: 46px; }
  .p-card__brand { margin-top: 3px; line-height: 16px; }
  .p-card__foot, .p-card--offer .p-card__foot { height: 59px; margin-top: 9px; padding: 0 12px 0 11px; border-radius: 13px; }
  .p-card__cart, .p-card--offer .p-card__cart { width: 36px; height: 39px; border-radius: 10px; }
  .p-card__cart svg { width: 18px; height: 18px; }
  .p-card__price b { font-size: 18px; line-height: 24px; }
  .p-card__price del, .p-card__price span { font-size: 10px; line-height: 14px; }
  .p-card--offer { padding: 16px 18px; }
  .p-card__deal { width: 138px; height: 24px; padding: 0 9px; border-radius: 0 0 12px 12px; }
  .p-card__deal b { font-size: 12px; } .p-card__deal span { font-size: 10px; }

  /* پیشنهاد شگفت‌انگیز موبایل */
  .offer { margin-top: 49px; }
  .offer .wrap { padding-inline: 16px; }
  .offer-box { padding: 25px 12px 19px; border-radius: 20px; background: linear-gradient(180deg, #3e4095 0%, #00afef 100%); }
  .offer-side { flex-direction: column; gap: 0; margin-bottom: 22px; }
  .offer-side__badge, .offer-side__nav { display: none; }
  .offer-side h2 { font-size: 22px; line-height: 1.17; }
  .offer-side h2 b { display: block; margin: 0 0 8px; font-size: 30px; }
  .offer-card { padding: 19px 0 26px; border-radius: 15px; box-shadow: none; }
  .offer-card__head { justify-content: center; height: auto; margin-bottom: 18px; }
  .offer-card__head .btn-more { display: none; }
  .countdown { gap: 5px; }
  .countdown div { width: 39px; height: 47px; border-radius: 11px; }
  .countdown b { font-size: 17px; }
  .countdown span { font-size: 9px; }
  .countdown i { font-size: 17px; }
  .offer-slider { margin: 0; padding: 0 12px 12px; }

  /* برندها */
  .brands-slider .swiper-slide { width: 121px; }
  .brand-item { padding: 0; }
  .brand-item::before { top: 8px; bottom: 8px; left: -4px; right: -4px; }
  .brand-item__card { height: 70px; border-radius: 14px; }
  .brand-item img { width: 77px; height: 22px; }

  /* بنرهای دوتایی */
  .banners-row { grid-template-columns: 1fr; gap: 15px; }
  .promo { height: 169px; border-radius: 21px; }
  .promo__text { top: 35px; right: 35px; }
  .promo__text h3 { font-size: 20px; margin-bottom: 15px; }
  .btn-buy { width: 70px; height: 28px; border-radius: 8px; font-size: 12px; }
  .btn-buy b { border-radius: 8px; }
  .btn-buy > span { width: 21px; }
  .btn-buy > span svg { width: 14px; height: 14px; }

  /* درباره + خبرنامه */
  .about-row { flex-direction: column; flex-wrap: nowrap; gap: 15px; }
  .about-text { text-align: center; }
  .about-text > img { width: 156px; height: auto; margin: 0 auto; }
  .about-text h2 { margin-top: 27px; font-size: 24px; white-space: nowrap; }
  .about-text h2 br { display: none; }
  .about-text p { margin-top: 13px; font-size: 12px; line-height: 21px; text-align: justify; text-align-last: right; }
  .about-link { height: 46px; margin-top: 13px; border-radius: 10px; font-size: 12px; }
  .about-link svg { width: 23px; height: 23px; }
  .about-gfx { order: 0; }
  .newsletter { padding: 33px 19px 41px 16px; border-radius: 20px; }
  .newsletter .sec-title { gap: 15px; }
  .newsletter__lead { margin-top: 8px; font-weight: 400; font-size: 12px; line-height: 19px; }
  .newsletter__lead b { font-size: 12px; }
  .newsletter__form input { height: 47px; border-radius: 10px; font-size: 12px; }
  .newsletter__form button { height: 46px; border-radius: 12px; font-size: 15px; }

  /* سوالات متداول: یک ستون */
  .faq-grid { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .faq-col { display: contents; }
  .faq-item, .faq-item.is-open { padding: 20px 13px; border-radius: 10px; }
  .faq-item__star { display: none; }
  .faq-item summary { gap: 22px; font-size: 12px; line-height: 19px; }
  .faq-item__arrow { width: 13px; height: 13px; }
  .faq-item__body { margin: 20px 0 0; padding: 18px 20px; border-radius: 5px; font-size: 10px; line-height: 17px; }

  /* مقالات */
  .blog-slider .swiper-slide { width: 294px; }
  .post-card__media { height: 164px; border-radius: 12px; }
  .post-card__author { right: 11px; bottom: 12px; width: 58px; height: 42px; gap: 3px; border-radius: 5px; font-size: 8px; line-height: 9px; }
  .post-card__author svg { width: 16px; height: 16px; }
  .post-card h3 { margin-top: 16px; font-size: 14px; line-height: 17px; }
  .post-card h3 a { min-height: 34px; }
  .post-card h3::after { width: 58px; height: 2px; margin-top: 16px; }
  .post-card p { margin-top: 16px; font-size: 10px; line-height: 18px; min-height: 36px; }
  .post-card__meta { height: 34px; margin-top: 16px; padding: 0 12px 0 13px; border-radius: 5px; font-size: 8px; }
  .post-card__meta li { gap: 7px; }
  .post-card__meta svg { width: 11px; height: 11px; }
  .post-card__meta li.sep { width: 4px; height: 4px; flex-basis: 4px; }
  .post-card__meta-eye svg { width: 11px; height: 11px; }
  

  /* متن سئو */
  .seo-box { padding: 30px 23px 20px; border-radius: 20px; background: #bbd7e0; }
  .seo-box .sec-title { gap: 14px; font-size: 15px; }
  .seo-box__text { margin-top: 10px; max-height: 290px; font-size: 12px; line-height: 24px; }
  .seo-box::after { bottom: 44px; height: 110px; background: linear-gradient(0deg, #bbd7e0 0%, rgba(187,215,224,0) 100%); }
  .seo-box__img { aspect-ratio: 351 / 115; margin-top: 15px; }
  .seo-box__more { font-size: 15px; }

  /* فوتر موبایل */
  .site-footer { margin-top: 70px; padding-top: 40px; }
  .footer-main { gap: 40px 0; }
  .footer-about { text-align: center; }
  .footer-about img { width: 188px; height: auto; margin: 0 auto; }
  .footer-about p { margin-top: 20px; font-size: 12px; line-height: 24px; text-align: justify; text-align-last: right; }
  .footer-links { width: calc(33.33% - 1px); }
  .footer-links h3 { font-size: 14px; line-height: 25px; }
  .footer-links ul { margin-top: 16px; gap: 16px; }
  .footer-links a { gap: 15px; font-size: 12px; line-height: 21px; }
  .footer-links a::before { width: 15px; height: 15px; }
  .footer-news__head h3 { font-size: 20px; }
  .footer-news p { margin-top: 6px; font-size: 12px; line-height: 23px; }
  
  .footer-news__form { height: 52px; margin-top: 6px; padding: 0 22px 0 10px; border-radius: 10px; }
  .footer-news__form button { width: 85px; height: 32px; border-radius: 8px; }
  /* ترتیب فیگما: آدرس + همراه / واتساپ + اینستاگرام + ثابت */
  .footer-contacts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 8px; margin-top: 40px; padding-top: 20px; }
  .footer-contacts li { width: auto; gap: 6px; align-items: flex-start; grid-column: span 2; }
  .footer-contacts li:nth-child(1), .footer-contacts li:nth-child(3) { grid-column: span 3; }
  .footer-contacts li:nth-child(3) { order: -1; }
  .footer-contacts li:nth-child(1) { order: -2; }
  .footer-contacts li:nth-child(2) { order: 1; }
  .footer-contacts .icon-box { width: 30px; height: 30px; border-radius: 15px 0 15px 15px; }
  .footer-contacts .icon-box svg { width: 20px; height: 20px; }
  .footer-contacts .chip { height: 11px; padding: 0 4px; border-radius: 4px; font-size: 8px; line-height: 11px; }
  .footer-contacts strong, .footer-contacts a { margin-top: 6px; font-size: 13px; line-height: 13px; }
  .footer-contacts strong { font-size: 10px; white-space: normal; }
  .footer-contacts strong b { font-size: 13px; }
  .footer-bottom { margin-top: 20px; padding-top: 20px; gap: 10px; }
  .footer-boxes { gap: 10px; }
  .footer-badges, .footer-map { height: 86px; border-radius: 15px; }
  .footer-badges { gap: 8px; padding: 10px 8px; }
  .footer-map .icon-box { top: 20px; }
  .footer-support { height: 87px; padding: 0 24px 0 26px; flex-direction: row; display: flex; align-items: center; justify-content: space-between; border-radius: 15px; order: 2; }
  .footer-support p { font-size: 15px; line-height: 23px; }
  .footer-support a { margin: 0; font-size: 17px; line-height: 34px; gap: 10px; }
  .footer-support a svg { width: 22px; height: 22px; }
  .footer-support small { font-size: 17px; }
  .footer-copy { margin-top: 16px; font-size: 12px; line-height: 22px; }

  /* فروشگاه موبایل */
  .page-banner { margin-top: 30px; }
  .page-banner__box { height: 136px; padding-top: 20px; border-radius: 15px; background: linear-gradient(90deg, #2c5fb4 0%, #1d95dc 100%); }
  .shop-grid .p-card::before { display: none; }
  .page-banner__icon { width: 35px; height: 35px; border-radius: 22px; }
  .page-banner__icon svg { width: 20px; height: 20px; }
  .page-banner h1 { margin-top: 14px; font-size: 20px; line-height: 14px; }
  .page-banner p { margin-top: 14px; font-size: 12px; line-height: 14px; }
  .page-banner .crumbs { margin-top: 14px; font-size: 12px; line-height: 16px; }
  .shop { margin-top: 16px; }
  .shop-main { display: flex; flex-direction: column; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 1px 16px; margin-top: 20px; }
  .shop-grid .p-card { padding: 12px 14px; margin-bottom: 9px; }
  .shop-grid .p-card__media { border-radius: 11px; aspect-ratio: 164 / 166; }
  .shop-grid .p-card__fav, .shop-grid .p-card__cmp { top: 10px; width: 26px; height: 28px; border-radius: 9px; }
  .shop-grid .p-card__fav { right: 10px; } .shop-grid .p-card__cmp { left: 10px; }
  .shop-grid .p-card__fav svg { width: 12px; height: 12px; } .shop-grid .p-card__cmp svg { width: 15px; height: 15px; }
  .shop-grid .p-card__title { margin-top: 4px; font-size: 14px; line-height: 17px; min-height: 34px; }
  .shop-grid .p-card__brand { margin-top: 2px; font-size: 8px; line-height: 12px; }
  .shop-grid .p-card__foot { height: 45px; margin-top: 7px; padding: 0 8px; border-radius: 10px; }
  .shop-grid .p-card__cart { width: 27px; height: 30px; border-radius: 8px; }
  .shop-grid .p-card__cart svg { width: 14px; height: 14px; }
  .shop-grid .p-card__price b { font-size: 12px; line-height: 19px; }
  .shop-grid .p-card__price span { font-size: 8px; line-height: 10px; }
  .filter-box { padding: 16px 20px 20px; }
  .filter-toggle { font-size: 15px; }
  .load-more { margin-top: 24px; }
  .load-more__btn { height: 48px; padding: 0 24px; font-size: 15px; }

  /* محصول موبایل */
  .product-top { margin-top: 30px; }
  .crumbs { gap: 9px; font-size: 10px; line-height: 16px; }
  .pd-title { margin-top: 10px; font-size: 20px; line-height: 31px; }
  .pd-en { font-size: 12px; }
  .pd-gallery { grid-template-columns: minmax(0, 1fr) 62px; }
  .pd-tools__btn { width: 52px; height: 52px; border-radius: 13px; }
  .pd-buy__hint { height: 55px; padding: 0 21px; box-shadow: none; }
  .pd-meta { height: auto; min-height: 37px; margin-top: 0; padding: 8px 11px; gap: 8px 20px; flex-wrap: wrap; border-radius: 8px; font-size: 10px; }
  .pd-meta svg { width: 14px; height: 14px; }
  .pd-colors, .pd-sizes { flex-wrap: wrap; }
  .pd-color, .pd-size { min-width: 0; flex: 1 1 96px; }
  .pd-attrs { gap: 17px; }
  .pd-notice { flex-direction: column; align-items: flex-start; gap: 13px; padding: 13px; background: #dfdfea; }
  .pd-notice p { font-size: 11px; line-height: 17px; }
  .pd-tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .pd-tags a { flex: 0 0 auto; }
  .pd-perks li { padding: 0 13px 0 22px; }
  .pd-perks strong { font-size: 12px; }
  .pd-perks span { font-size: 12px; }

  /* قیمت و افزودن به سبد: نوار چسبان پایین (طبق قاب فیگمای موبایل) */
  .page-product { padding-bottom: 176px; }
  .page-product .bottom-nav { display: none; }
  .pd-buy__purchase {
    position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    border-radius: 15px 15px 0 0; background: #fff; box-shadow: 0 -10px 34px rgba(0,9,33,.12);
  }
  .pd-perks + .pd-buy__purchase .pd-buy__row:first-child, .pd-buy__purchase .pd-buy__row:first-child { margin-top: 0; }
  .pd-buy__old del { font-size: 15px; }
  .pd-buy__old span { font-size: 13px; }
  .pd-buy__price b { font-size: 25px; }
  .pd-buy__price { font-size: 15px; }

  .pd-features { height: 64px; margin-top: 40px; padding: 0 33px; gap: 20px; border-radius: 16px; margin-inline: -16px; border-radius: 0; }
  .pd-features li { gap: 10px; }
  .pd-features li + li::before { height: 35px; margin-left: 20px; }
  .pd-features li > span { width: 34px; height: 34px; border-radius: 17px; }
  .pd-features li > span svg { width: 20px; height: 20px; }
  .pd-features b { font-size: 13px; line-height: 15px; }
  .pd-features small { font-size: 11px; line-height: 15px; }
  .pd-features div { gap: 2px; }

  .pd-head { gap: 15px; font-size: 20px; line-height: 31px; }
  .pd-head svg { width: 20px; height: 20px; }
  .pd-about__text p { margin-top: 10px; font-size: 12px; line-height: 27px; }
  .pd-subhead { margin-top: 20px; font-size: 15px; line-height: 23px; }
  .pd-keys { gap: 10px; }
  .pd-keys li { gap: 10px; font-size: 12px; line-height: 19px; }
  .pd-about__img { border-radius: 20px; aspect-ratio: 398 / 282; }
  .pd-specs { gap: 10px; }
  .pd-specs li { height: auto; min-height: 51px; padding: 8px 11px 8px 17px; grid-template-columns: auto 1fr; column-gap: 20px; border-radius: 10px; font-size: 12px; }
  .pd-specs span { gap: 5px; }
  .pd-specs i { width: 23px; height: 23px; }
  .pd-specs i svg { width: 13px; height: 13px; }
  .pd-specs b { font-size: 10px; }
  .btn-more--lg { height: 39px; padding: 0 17px 0 18px; font-size: 15px; }
  .btn-more--lg svg { width: 16px; height: 16px; }
  .reviews { margin-top: 20px; gap: 15px; }
  .review { gap: 15px; padding: 20px; border-radius: 15px; }
  .review--reply { padding: 16px; }
  .review__user { gap: 20px; }
  .review__user img { width: 50px; height: 50px; border-radius: 16px; }
  .review__user div { gap: 11px; }
  .review__user b { font-size: 15px; line-height: 16px; }
  .review__user span { font-size: 10px; }
  .stars { gap: 9px; }
  .stars svg { width: 15px; height: 15px; }
  .review p { font-size: 12px; line-height: 27px; text-align: justify; text-align-last: right; }
  .pd-about__text p { text-align: justify; text-align-last: right; }
  .pd-head-row { min-height: 39px; }
  .pd-section.faq .faq-grid { margin-top: 20px; }

  /* لایت‌باکس: نمای همه عکس‌ها دو ستونه */
  .lightbox__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 16px 20px; }
}

@media (max-width: 400px) {
  .review__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-contacts { grid-template-columns: repeat(2, 1fr); }
  .footer-contacts li, .footer-contacts li:nth-child(1), .footer-contacts li:nth-child(3) { grid-column: auto; }
}


/* بخش‌ها */
.acc-main { min-width: 0; }
.acc-panel { display: flex; flex-direction: column; gap: 20px; }
.acc-panel[hidden] { display: none; }
.acc-panel.is-active { animation: acc-in .3s ease-out; }
@keyframes acc-in { from { opacity: 0; transform: translateY(10px); } }
.acc-head { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.acc-head h1 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; }
.acc-head h1 svg { color: var(--sky); }
.acc-head .order-status { margin-right: auto; }
.acc-back { width: 44px; height: 44px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: background .2s; }
.acc-back:hover { background: #eeeef6; color: var(--navy); }
.acc-note { margin-top: -8px; font-size: 14px; color: rgba(45,45,45,.6); }
.acc-card { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #efeff5; }
.acc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.acc-card__head h2 { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.acc-card__head h2 svg { color: var(--sky); }
.acc-card__head--sub { margin-top: 10px; padding-top: 22px; border-top: 1px dashed #e3e3ec; flex-wrap: wrap; }
.acc-card__head--sub small { font-size: 13px; color: rgba(45,45,45,.55); }
.acc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--cyan); white-space: nowrap; transition: color .2s; }
.acc-link:hover { color: var(--navy); }
.acc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acc-address { margin: 0; font-style: normal; font-size: 14px; line-height: 28px; color: rgba(45,45,45,.75); }
.acc-address b { display: block; font-weight: 700; font-size: 15px; color: var(--text); }
.acc-dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.acc-dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.acc-dl dt { font-weight: 400; color: rgba(45,45,45,.6); }
.acc-dl dd { margin: 0; font-weight: 700; }

/* دکمه‌ها */
.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 13px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, opacity .2s; }
.acc-btn--primary { background: var(--navy); color: #fff; }
.acc-btn--primary:hover { background: #33347a; color: #fff; box-shadow: 0 10px 24px rgba(61,62,133,.25); }
.acc-btn--soft { background: #e6f7fe; color: #0a8fcb; }
.acc-btn--soft:hover { background: #d1f1fc; color: #0a8fcb; }
.acc-btn--ghost { background: var(--soft); color: var(--text); }
.acc-btn--ghost:hover { background: #eeeef6; color: var(--text); }
.acc-btn--white { background: #fff; color: var(--navy); }
.acc-btn--white:hover { color: var(--cyan); }
.acc-btn--block { width: 100%; height: 52px; font-size: 16px; }

/* پیشخوان */
.acc-hello { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: 20px; background: var(--grad); color: #fff; }
.acc-hello h1 { font-weight: 800; font-size: 24px; }
.acc-hello p { margin-top: 8px; font-size: 14px; line-height: 1.8; opacity: .9; }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.acc-stats a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 20px; background: var(--soft); transition: background .2s, transform .2s; }
.acc-stats a:hover { background: var(--lilac); transform: translateY(-3px); }
.acc-stats__ic { width: 46px; height: 46px; border-radius: 23px 0 23px 23px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.acc-stats__ic--amber { background: #fff4e0; color: #c77700; }
.acc-stats__ic--blue { background: #e6f7fe; color: #0a8fcb; }
.acc-stats__ic--green { background: #e9f9f2; color: #2f8a63; }
.acc-stats__ic--red { background: #fdf1f2; color: #d64550; }
.acc-stats b { font-weight: 900; font-size: 26px; line-height: 1; }
.acc-stats small { font-size: 13px; color: rgba(45,45,45,.65); }

/* سفارش‌ها */
.acc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 16px; background: var(--soft); }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs button { flex-shrink: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 14px; color: rgba(45,45,45,.7); transition: background .2s, color .2s; }
.acc-tabs button b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ececf3; font-weight: 700; font-size: 11px; line-height: 22px; text-align: center; color: var(--text); }
.acc-tabs button:hover { color: var(--text); }
.acc-tabs button.is-active { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(61,62,133,.08); }
.acc-tabs button.is-active b { background: var(--cyan); color: #fff; }
.acc-orders { display: flex; flex-direction: column; gap: 14px; }
.order-card { border-radius: 18px; border: 1px solid #efeff5; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.order-card[hidden] { display: none; }
.order-card:hover { border-color: #dcdcec; box-shadow: 0 10px 30px rgba(0,9,33,.05); }
.order-card__head { display: flex; align-items: center; gap: 20px; padding: 14px 18px; background: var(--soft); }
.order-card__meta { display: flex; align-items: center; gap: 34px; margin-right: auto; }
.order-card__meta li { display: flex; flex-direction: column; gap: 3px; }
.order-card__meta small { font-size: 11px; color: rgba(45,45,45,.55); }
.order-card__meta b { font-weight: 700; font-size: 14px; white-space: nowrap; }
.order-card__meta i, .order-items i, .order-totals i, .wish-item i { font-style: normal; font-weight: 400; font-size: 11px; color: rgba(45,45,45,.6); }
.order-card__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.order-card__items { display: flex; align-items: center; gap: 8px; min-width: 0; }
.order-card__items img, .order-card__more { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; border: 1px solid #efeff5; background: #fff; object-fit: contain; }
.order-card__more { display: flex; align-items: center; justify-content: center; background: var(--soft); font-weight: 700; font-size: 14px; color: rgba(45,45,45,.6); }
.order-card__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* وضعیت سفارش؛ پسوند کلاس = وضعیت ووکامرس */
.order-status { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.order-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.order-status--pending, .order-status--on-hold { background: #fff4e0; color: #c77700; }
.order-status--processing { background: #e6f7fe; color: #0a8fcb; }
.order-status--completed { background: #e9f9f2; color: #2f8a63; }
.order-status--cancelled, .order-status--failed, .order-status--refunded { background: #fdf1f2; color: #d64550; }
.acc-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 50px 20px; border-radius: 20px; background: var(--soft); text-align: center; }
.acc-empty[hidden] { display: none; }
.acc-empty > span { width: 76px; height: 76px; border-radius: 38px 0 38px 38px; background: #e6f7fe; color: var(--sky); display: flex; align-items: center; justify-content: center; }
.acc-empty b { font-weight: 700; font-size: 16px; }

/* جزئیات سفارش */
.order-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 24px 12px; border-radius: 20px; background: var(--soft); list-style: none; counter-reset: none; }
.order-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.order-steps li::before { content: ''; position: absolute; top: 21px; right: calc(-50% + 26px); left: calc(50% + 26px); height: 3px; border-radius: 2px; background: #e3e3ec; }
.order-steps li:first-child::before { display: none; }
.order-steps li > span { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #e3e3ec; color: rgba(45,45,45,.4); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.order-steps b { font-weight: 700; font-size: 14px; color: rgba(45,45,45,.55); }
.order-steps small { font-size: 12px; color: rgba(45,45,45,.5); }
.order-steps li.is-done::before, .order-steps li.is-current::before { background: var(--cyan); }
.order-steps li.is-done > span { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.order-steps li.is-current > span { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px rgba(0,175,239,.14); }
.order-steps li.is-done b, .order-steps li.is-current b { color: var(--text); }
.order-items { display: flex; flex-direction: column; }
.order-items li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f1f1f6; }
.order-items li:first-child { padding-top: 0; }
.order-items img { width: 72px; height: 72px; border-radius: 12px; border: 1px solid #efeff5; object-fit: contain; }
.order-items a { display: block; font-weight: 700; font-size: 14px; line-height: 24px; }
.order-items a:hover { color: var(--cyan); }
.order-items small { display: block; margin-top: 4px; font-size: 12px; color: rgba(45,45,45,.55); }
.order-items__qty { height: 30px; padding: 0 12px; border-radius: 9px; background: var(--soft); font-size: 12px; line-height: 30px; white-space: nowrap; }
.order-items li > b { min-width: 130px; text-align: left; font-weight: 800; font-size: 15px; white-space: nowrap; }
.order-totals { margin: 18px auto 0 0; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.order-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.order-totals dt { font-weight: 400; color: rgba(45,45,45,.65); }
.order-totals dd { margin: 0; font-weight: 700; }
.order-totals dd.is-off { color: #d64550; }
.order-totals__sum { margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: #e6f7fe; }
.order-totals__sum dt { font-weight: 700; color: var(--text); }
.order-totals__sum dd { font-weight: 900; font-size: 18px; color: var(--navy); }
.order-notes { display: flex; flex-direction: column; gap: 10px; }
.order-notes li { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13px; line-height: 24px; }
.order-notes small { display: block; font-size: 11px; color: rgba(45,45,45,.5); }

/* علاقه‌مندی‌ها */
.wish-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wish-grid[hidden] { display: none; }
.wish-item { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 18px; background: var(--soft); transition: opacity .25s, transform .25s; }
.wish-item.is-removing { opacity: 0; transform: scale(.94); }
.wish-item__del { position: absolute; z-index: 1; top: 20px; left: 20px; width: 34px; height: 34px; border-radius: 10px; background: #fdf1f2; color: #d64550; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.wish-item__del:hover { background: #d64550; color: #fff; }
.wish-item__img { display: block; border-radius: 14px; background: #fff; overflow: hidden; }
.wish-item__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.wish-item.is-out .wish-item__img img { opacity: .5; filter: grayscale(1); }
.wish-item__title { margin-top: 12px; font-weight: 700; font-size: 14px; line-height: 24px; min-height: 48px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wish-item__title:hover { color: var(--cyan); }
.wish-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #fff; }
.wish-item__foot b { font-weight: 800; font-size: 15px; color: var(--cyan); white-space: nowrap; }
.wish-item__foot b.wish-item__out { color: rgba(45,45,45,.5); font-size: 13px; }
.wish-item__add { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.wish-item__add:hover { color: #fff; opacity: .9; }

/* فرم‌ها */
.acc-form { display: flex; flex-direction: column; gap: 18px; }
.acc-form[hidden] { display: none; }
.acc-form .acc-card__head { margin-bottom: 0; }
.field select {
  display: block; width: 100%; height: 52px; border: 1px solid #ececf1; outline: 0; border-radius: 14px; padding: 0 16px 0 40px;
  font: inherit; font-size: 14px; color: var(--text); appearance: none; cursor: pointer; transition: border-color .2s, background-color .2s;
  background: #fafafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232d2d2d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 12px center / 20px no-repeat;
}
.field select:focus { border-color: var(--sky); background-color: #fff; }
.field input[dir="ltr"] { text-align: left; }
.field small.field-error { color: #e45858; }
.pass-field { position: relative; display: block; margin: 0; }
.field > .pass-field { margin-bottom: 0; font-weight: 400; }
.pass-field input { padding-left: 48px; }
.pass-field button { position: absolute; left: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(45,45,45,.5); transition: color .2s; }
.pass-field button:hover, .pass-field button.is-on { color: var(--cyan); }
.acc-form__foot { display: flex; justify-content: flex-end; }
.acc-toast { position: fixed; z-index: 1200; bottom: 30px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: #1f7a55; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px rgba(0,9,33,.25); animation: acc-in .25s ease-out; }
.acc-toast[hidden] { display: none; }

/* ورود / ثبت‌نام */
.auth { margin-top: 50px; }
.auth-box { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin-inline: auto; border-radius: 25px; overflow: hidden; background: #fff; box-shadow: 0 0 40px rgba(0,9,33,.08); }
.auth-art { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 50px 44px; background: linear-gradient(200deg, #3e4095 0%, #1a7fd0 60%, #00afef 100%); color: #fff; }
.auth-art h2 { font-weight: 800; font-size: 26px; line-height: 1.5; }
.auth-art ul { display: flex; flex-direction: column; gap: 16px; }
.auth-art li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.auth-art li svg { width: 40px; height: 40px; padding: 9px; border-radius: 20px 0 20px 20px; background: rgba(255,255,255,.16); }
.auth-main { padding: 36px 40px 40px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--soft); }
.auth-tabs button { height: 46px; border-radius: 12px; font-weight: 700; font-size: 15px; color: rgba(45,45,45,.6); transition: background .2s, color .2s; }
.auth-tabs button.is-active { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(61,62,133,.08); }
.auth-form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.auth-form[hidden] { display: none; }
.auth-form h1 { font-weight: 800; font-size: 22px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-switch { text-align: center; font-size: 14px; color: rgba(45,45,45,.65); }
.auth-switch button { font-weight: 700; color: var(--cyan); }
.check.is-invalid span { border-color: #e45858; }

@media (max-width: 1199.98px) {
  .acc-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 20px; }
  .acc-stats { grid-template-columns: repeat(2, 1fr); }
  .wish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-card__meta { gap: 20px; }
}
@media (max-width: 991.98px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); }
  .acc-side { position: static; min-width: 0; }
  .acc-help { display: none; }
  /* منو به صورت نوار افقی اسکرولی */
  .acc-nav { flex-direction: row; gap: 6px; padding: 6px; border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-nav__item { flex-shrink: 0; height: 44px; padding: 0 14px; gap: 8px; border-radius: 12px; font-size: 13px; }
  .acc-nav__item svg { width: 18px; height: 18px; }
  .acc-nav__item--out { margin-top: 0; }
  .auth-art { padding: 36px 28px; }
  .auth-main { padding: 28px 24px 32px; }
}
@media (max-width: 767.98px) {
  .account { margin-top: 24px; }
  .acc-layout { margin-top: 16px; }
  .acc-panel { gap: 16px; }
  .acc-hello { flex-direction: column; align-items: flex-start; padding: 20px; }
  .acc-hello h1, .acc-head h1 { font-size: 19px; }
  .acc-head h1 svg { width: 22px; height: 22px; }
  .acc-stats { gap: 10px; }
  .acc-stats a { padding: 14px; border-radius: 16px; }
  .acc-stats b { font-size: 22px; }
  .acc-card { padding: 16px; border-radius: 16px; }
  .acc-card__head h2 { font-size: 15px; }
  .acc-two { grid-template-columns: 1fr; gap: 16px; }
  .order-card__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .order-card__meta { margin-right: 0; width: 100%; justify-content: space-between; gap: 10px; }
  .order-card__body { flex-direction: column; align-items: stretch; }
  .order-card__items img, .order-card__more { width: 54px; height: 54px; }
  .order-card__actions { justify-content: stretch; }
  .order-card__actions .acc-btn, .order-card__body > .acc-btn { flex: 1; padding: 0 12px; }
  /* مراحل سفارش عمودی */
  .order-steps { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .order-steps li { flex-direction: row; align-items: center; gap: 12px; text-align: right; }
  .order-steps li::before { top: auto; bottom: calc(100% - 1px); right: 21px; left: auto; width: 3px; height: 20px; }
  .order-steps li > span { margin-bottom: 0; flex-shrink: 0; }
  .order-steps small { margin-right: auto; }
  .order-items li { grid-template-columns: 60px minmax(0, 1fr); gap: 10px 12px; }
  .order-items img { width: 60px; height: 60px; grid-row: span 2; }
  .order-items li > div { grid-column: 2; }
  .order-items__qty { grid-column: 2; justify-self: start; }
  .order-items li > b { grid-column: 1 / -1; min-width: 0; }
  .order-totals { max-width: none; }
  .wish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wish-item { padding: 9px; border-radius: 14px; }
  .wish-item__del { top: 15px; left: 15px; }
  .wish-item__title { font-size: 12px; line-height: 20px; min-height: 40px; }
  .wish-item__foot b { font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .acc-form__foot .acc-btn { width: 100%; height: 50px; }
  .acc-toast { bottom: 90px; }
  .auth { margin-top: 24px; }
  .auth-box { grid-template-columns: 1fr; border-radius: 20px; }
  .auth-art { display: none; }
  .auth-main { padding: 20px 16px 26px; }
}

/* =========================== سبد خرید / تسویه حساب / تکمیل سفارش =========================== */
.buy { margin-top: 40px; }
.buy-steps { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.buy-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.buy-steps li > a { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.buy-steps li::before { content: ''; position: absolute; top: 24px; right: calc(-50% + 32px); left: calc(50% + 32px); height: 3px; border-radius: 2px; background: #e3e3ec; }
.buy-steps li:first-child::before { display: none; }
.buy-steps span { position: relative; width: 50px; height: 50px; border-radius: 25px 0 25px 25px; background: var(--soft); color: rgba(45,45,45,.4); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.buy-steps b { font-weight: 700; font-size: 14px; color: rgba(45,45,45,.5); }
.buy-steps li.is-done::before, .buy-steps li.is-current::before { background: var(--cyan); }
.buy-steps li.is-done span { background: #e6f7fe; color: var(--cyan); }
.buy-steps li.is-current span { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(0,175,239,.3); }
.buy-steps li.is-done b, .buy-steps li.is-current b { color: var(--text); }
.buy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; margin-top: 36px; }
.buy-layout[hidden] { display: none; }
.buy-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.buy-side { position: sticky; top: 20px; }
.buy-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.buy-title svg { color: var(--sky); }
.buy-title small { font-weight: 500; font-size: 13px; color: rgba(45,45,45,.55); }
.buy-clear { color: #d64550; }
.buy-clear:hover { color: #b53440; }

/* ردیف‌های سبد */
.cart-items { display: flex; flex-direction: column; }
.cart-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 170px 40px; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid #f1f1f6; transition: opacity .25s, transform .25s; }
.cart-item:first-child { border-top: 0; padding-top: 0; }
.cart-item:last-child { padding-bottom: 0; }
.cart-item.is-removing { opacity: 0; transform: translateX(-20px); }
.cart-item__img { display: block; border-radius: 14px; border: 1px solid #efeff5; background: #fff; overflow: hidden; }
.cart-item__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.cart-item__title { display: block; font-weight: 700; font-size: 15px; line-height: 26px; }
.cart-item__title:hover { color: var(--cyan); }
.cart-item__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: rgba(45,45,45,.65); }
.cart-item__meta li { display: flex; align-items: center; gap: 6px; }
.cart-item__meta dl { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.cart-item__meta dt, .cart-item__meta dd { display: inline; margin: 0; }
.cart-item__meta dd { margin-left: 12px; }
.cart-item__meta dd p { display: inline; }
.cart-item__meta svg { color: var(--navy); }
.cart-item__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cart-item__price del { font-size: 13px; color: #b5b5b5; }
.cart-item__price del[hidden] { display: none; }
.cart-item__price b { font-weight: 800; font-size: 17px; white-space: nowrap; }
.cart-item__price i, .pick__price i, .thanks__meta i { font-style: normal; font-weight: 400; font-size: 11px; color: rgba(45,45,45,.6); }
.cart-item__del { width: 40px; height: 40px; border-radius: 12px; background: #fdf1f2; color: #d64550; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.cart-item__del:hover { background: #d64550; color: #fff; }
.buy-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.buy-perks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #e6f7fe; }
.buy-perks svg { color: var(--navy); }
.buy-perks span { display: flex; flex-direction: column; gap: 2px; }
.buy-perks b { font-weight: 700; font-size: 14px; }
.buy-perks small { font-size: 12px; color: rgba(45,45,45,.6); }

/* خلاصه سفارش */
.buy-summary { display: flex; flex-direction: column; gap: 16px; }
.buy-summary .acc-card__head { margin-bottom: 0; }
.buy-summary .buy-totals { width: 100%; min-width: 0; margin: 0; max-width: none; }
.coupon { display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 16px 0 6px; border-radius: 14px; border: 1px dashed #cfd0dd; background: var(--soft); transition: border-color .2s; }
.coupon:focus-within { border-color: var(--sky); }
.coupon input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 14px; text-align: right; }
.coupon input::placeholder { color: rgba(45,45,45,.5); }
.coupon button { flex-shrink: 0; height: 42px; padding: 0 18px; border-radius: 11px; background: var(--sky); color: #fff; font-weight: 700; font-size: 13px; transition: background .2s; }
.coupon button:hover { background: #0aa6e2; }
.buy-coupons { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-coupons li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 9px; background: #e6f7fe; color: var(--navy); font-size: 12px; }
.buy-coupons button { font-size: 19px; line-height: 1; color: #d64550; }
.buy.is-loading .buy-layout, .buy.is-loading .buy-empty { opacity: .5; pointer-events: none; }
.coupon__msg { margin-top: -8px; font-size: 12px; color: #2f8a63; }
.coupon__msg.is-error { color: #d64550; }
.coupon__msg[hidden] { display: none; }
.buy-back { align-self: center; font-weight: 600; font-size: 13px; color: rgba(45,45,45,.6); }
.buy-back:hover { color: var(--cyan); }
.buy-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: rgba(45,45,45,.6); }
.buy-secure svg { color: #2f8a63; }
.buy-empty { margin-top: 36px; }
.buy-empty p { margin-top: -8px; font-size: 14px; color: rgba(45,45,45,.6); }
.mini-items { display: flex; flex-direction: column; gap: 12px; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.mini-items li { display: flex; align-items: center; gap: 12px; }
.mini-items img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; border: 1px solid #efeff5; object-fit: contain; }
.mini-items span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mini-items b { font-weight: 600; font-size: 13px; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-items small { font-size: 11px; color: rgba(45,45,45,.55); }
.mini-items strong { font-weight: 800; font-size: 13px; white-space: nowrap; }
.check .check__text { width: auto; height: auto; flex: 1; border: 0; border-radius: 0; background: none; line-height: 22px; }
.check .check__text a { font-weight: 700; color: var(--cyan); }
.field.is-invalid select { border-color: #e45858; }

/* انتخاب روش ارسال / پرداخت */
.pick-list { display: flex; flex-direction: column; gap: 10px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__box { display: flex; align-items: center; gap: 14px; padding: 14px 46px 14px 16px; border-radius: 16px; border: 1.5px solid #ececf1; background: #fff; transition: border-color .2s, background .2s; }
.pick__box::before { content: ''; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #cfd0dd; background: #fff; transition: border-color .2s, border-width .2s; }
.pick:hover .pick__box { border-color: #d5d6e6; }
.pick input:checked + .pick__box { border-color: var(--cyan); background: #f4fbff; }
.pick input:checked + .pick__box::before { border: 6px solid var(--cyan); }
.pick input:focus-visible + .pick__box { outline: 2px solid var(--sky); outline-offset: 2px; }
.pick__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 23px 0 23px 23px; background: #e6f7fe; color: var(--navy); display: flex; align-items: center; justify-content: center; }
.pick__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pick__text b { font-weight: 700; font-size: 15px; }
.pick__text small { font-size: 12px; line-height: 20px; color: rgba(45,45,45,.6); }
.pick__price { font-weight: 800; font-size: 15px; white-space: nowrap; }
.pick__price--free { color: #2f8a63; }

/* تکمیل سفارش */
.thanks { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 860px; margin: 36px auto 0; padding: 44px 30px; border-radius: 25px; background: var(--soft); text-align: center; }
.thanks__ic { width: 88px; height: 88px; border-radius: 44px 0 44px 44px; background: #e9f9f2; color: #2f8a63; display: flex; align-items: center; justify-content: center; }
.thanks h1 { font-weight: 800; font-size: 26px; }
.thanks p { max-width: 560px; font-size: 15px; line-height: 1.9; color: rgba(45,45,45,.7); }
.thanks__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.thanks__meta li { display: flex; flex-direction: column; gap: 5px; min-width: 140px; padding: 14px 18px; border-radius: 16px; background: #fff; }
.thanks__meta small { font-size: 12px; color: rgba(45,45,45,.55); }
.thanks__meta b { font-weight: 800; font-size: 15px; white-space: nowrap; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

@media (max-width: 1199.98px) {
  .buy-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cart-item { grid-template-columns: 90px minmax(0, 1fr) auto 40px; }
  .cart-item__img { grid-row: 1 / 3; align-self: start; }
  .cart-item__price { grid-column: 2; grid-row: 2; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 10px; }
  .cart-item .qty { grid-row: 2; grid-column: 3 / 5; justify-self: end; }
  .cart-item__del { grid-row: 1; grid-column: 4; }
  .cart-item__info { grid-column: 2 / 4; }
  .buy-perks { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 991.98px) {
  .buy-layout { grid-template-columns: minmax(0, 1fr); }
  .buy-side { position: static; }
  .buy-perks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .buy { margin-top: 24px; }
  .buy-steps span { width: 42px; height: 42px; border-radius: 21px 0 21px 21px; }
  .buy-steps span svg { width: 18px; height: 18px; }
  .buy-steps li::before { top: 20px; right: calc(-50% + 26px); left: calc(50% + 26px); }
  .buy-steps b { font-size: 11px; line-height: 17px; }
  .buy-layout { margin-top: 24px; gap: 16px; }
  .buy-main { gap: 16px; }
  .buy-title { font-size: 17px; }
  .cart-item { grid-template-columns: 76px minmax(0, 1fr) 36px; gap: 12px; padding: 16px 0; }
  .cart-item__img { grid-row: 1; }
  .cart-item__info { grid-column: 2; }
  .cart-item__title { font-size: 13px; line-height: 22px; }
  .cart-item__del { grid-column: 3; width: 36px; height: 36px; align-self: start; }
  .cart-item .qty { grid-row: 2; grid-column: 1 / 3; justify-self: start; }
  .cart-item__price { grid-row: 2; grid-column: 2 / -1; flex-direction: column; align-items: flex-end; gap: 0; }
  .cart-item__price b { font-size: 15px; }
  .buy-perks { grid-template-columns: 1fr; }
  .pick__box { flex-wrap: wrap; padding: 12px 42px 12px 12px; gap: 10px 12px; }
  .pick__ic { width: 40px; height: 40px; }
  .pick__text b { font-size: 14px; }
  .pick__price { width: 100%; padding-right: 52px; font-size: 14px; }
  .thanks { margin-top: 24px; padding: 30px 16px; border-radius: 20px; }
  .thanks h1 { font-size: 20px; }
  .thanks p { font-size: 13px; }
  .thanks__meta { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .thanks__meta li { min-width: 0; padding: 12px; }
  .thanks__meta b { font-size: 13px; white-space: normal; }
  .thanks__actions { width: 100%; }
  .thanks__actions .acc-btn { flex: 1; }
}



/* =========================== حساب کاربری (My Account ووکامرس) =========================== */
.account { margin-top: 40px; }
.acc-crumbs svg { color: var(--cyan); }
.acc-crumbs a { color: rgba(45,45,45,.5); }
.acc-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 24px; }

/* ستون کناری */
.acc-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.acc-user { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; background: var(--grad); color: #fff; }
.acc-user__avatar { flex-shrink: 0; width: 56px; height: 56px; border-radius: 28px 0 28px 28px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.acc-user__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.acc-user__info strong { font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-user__info span { font-size: 13px; opacity: .85; text-align: right; }
.acc-user__edit { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.acc-user__edit:hover { background: rgba(255,255,255,.32); color: #fff; }
.acc-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 20px; background: var(--soft); }
.acc-nav__item { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border-radius: 14px; font-weight: 600; font-size: 15px; color: var(--text); transition: background .2s, color .2s; }
.acc-nav__item svg { color: var(--navy); transition: color .2s; }
.acc-nav__item span { flex: 1; }
.acc-nav__item b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--cyan); color: #fff; font-weight: 700; font-size: 12px; line-height: 24px; text-align: center; }
.acc-nav__item:hover { background: #fff; color: var(--text); }
.acc-nav__item.is-active { background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(61,62,133,.08); }
.acc-nav__item.is-active svg { color: var(--cyan); }
.acc-nav__item--out { margin-top: 6px; color: #d64550; }
.acc-nav__item--out svg { color: #d64550; }
.acc-nav__item--out:hover { background: #fdf1f2; color: #d64550; }
.acc-help { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #e6f7fe; }
.acc-help > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.acc-help b { font-weight: 700; font-size: 14px; }
.acc-help small { font-weight: 800; font-size: 16px; color: var(--navy); text-align: right; }

/* بخش‌ها */
.acc-main { min-width: 0; }
.acc-panel { display: flex; flex-direction: column; gap: 20px; }
.acc-panel[hidden] { display: none; }
.acc-panel.is-active { animation: acc-in .3s ease-out; }
@keyframes acc-in { from { opacity: 0; transform: translateY(10px); } }
.acc-head { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.acc-head h1 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; }
.acc-head h1 svg { color: var(--sky); }
.acc-head .order-status { margin-right: auto; }
.acc-back { width: 44px; height: 44px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: background .2s; }
.acc-back:hover { background: #eeeef6; color: var(--navy); }
.acc-note { margin-top: -8px; font-size: 14px; color: rgba(45,45,45,.6); }
.acc-card { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #efeff5; }
.acc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.acc-card__head h2 { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.acc-card__head h2 svg { color: var(--sky); }
.acc-card__head--sub { margin-top: 10px; padding-top: 22px; border-top: 1px dashed #e3e3ec; flex-wrap: wrap; }
.acc-card__head--sub small { font-size: 13px; color: rgba(45,45,45,.55); }
.acc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--cyan); white-space: nowrap; transition: color .2s; }
.acc-link:hover { color: var(--navy); }
.acc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acc-address { margin: 0; font-style: normal; font-size: 14px; line-height: 28px; color: rgba(45,45,45,.75); }
.acc-address b { display: block; font-weight: 700; font-size: 15px; color: var(--text); }
.acc-dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.acc-dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.acc-dl dt { font-weight: 400; color: rgba(45,45,45,.6); }
.acc-dl dd { margin: 0; font-weight: 700; }

/* دکمه‌ها */
.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 13px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, opacity .2s; }
.acc-btn--primary { background: var(--navy); color: #fff; }
.acc-btn--primary:hover { background: #33347a; color: #fff; box-shadow: 0 10px 24px rgba(61,62,133,.25); }
.acc-btn--soft { background: #e6f7fe; color: #0a8fcb; }
.acc-btn--soft:hover { background: #d1f1fc; color: #0a8fcb; }
.acc-btn--ghost { background: var(--soft); color: var(--text); }
.acc-btn--ghost:hover { background: #eeeef6; color: var(--text); }
.acc-btn--white { background: #fff; color: var(--navy); }
.acc-btn--white:hover { color: var(--cyan); }
.acc-btn--block { width: 100%; height: 52px; font-size: 16px; }

/* پیشخوان */
.acc-hello { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: 20px; background: var(--grad); color: #fff; }
.acc-hello h1 { font-weight: 800; font-size: 24px; }
.acc-hello p { margin-top: 8px; font-size: 14px; line-height: 1.8; opacity: .9; }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.acc-stats a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 20px; background: var(--soft); transition: background .2s, transform .2s; }
.acc-stats a:hover { background: var(--lilac); transform: translateY(-3px); }
.acc-stats__ic { width: 46px; height: 46px; border-radius: 23px 0 23px 23px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.acc-stats__ic--amber { background: #fff4e0; color: #c77700; }
.acc-stats__ic--blue { background: #e6f7fe; color: #0a8fcb; }
.acc-stats__ic--green { background: #e9f9f2; color: #2f8a63; }
.acc-stats__ic--red { background: #fdf1f2; color: #d64550; }
.acc-stats b { font-weight: 900; font-size: 26px; line-height: 1; }
.acc-stats small { font-size: 13px; color: rgba(45,45,45,.65); }

/* سفارش‌ها */
.acc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 16px; background: var(--soft); }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs button { flex-shrink: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 14px; color: rgba(45,45,45,.7); transition: background .2s, color .2s; }
.acc-tabs button b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ececf3; font-weight: 700; font-size: 11px; line-height: 22px; text-align: center; color: var(--text); }
.acc-tabs button:hover { color: var(--text); }
.acc-tabs button.is-active { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(61,62,133,.08); }
.acc-tabs button.is-active b { background: var(--cyan); color: #fff; }
.acc-orders { display: flex; flex-direction: column; gap: 14px; }
.order-card { border-radius: 18px; border: 1px solid #efeff5; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.order-card[hidden] { display: none; }
.order-card:hover { border-color: #dcdcec; box-shadow: 0 10px 30px rgba(0,9,33,.05); }
.order-card__head { display: flex; align-items: center; gap: 20px; padding: 14px 18px; background: var(--soft); }
.order-card__meta { display: flex; align-items: center; gap: 34px; margin-right: auto; }
.order-card__meta li { display: flex; flex-direction: column; gap: 3px; }
.order-card__meta small { font-size: 11px; color: rgba(45,45,45,.55); }
.order-card__meta b { font-weight: 700; font-size: 14px; white-space: nowrap; }
.order-card__meta i, .order-items i, .order-totals i, .wish-item i { font-style: normal; font-weight: 400; font-size: 11px; color: rgba(45,45,45,.6); }
.order-card__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.order-card__items { display: flex; align-items: center; gap: 8px; min-width: 0; }
.order-card__items img, .order-card__more { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; border: 1px solid #efeff5; background: #fff; object-fit: contain; }
.order-card__more { display: flex; align-items: center; justify-content: center; background: var(--soft); font-weight: 700; font-size: 14px; color: rgba(45,45,45,.6); }
.order-card__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* وضعیت سفارش؛ پسوند کلاس = وضعیت ووکامرس */
.order-status { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.order-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.order-status--pending, .order-status--on-hold { background: #fff4e0; color: #c77700; }
.order-status--processing { background: #e6f7fe; color: #0a8fcb; }
.order-status--completed { background: #e9f9f2; color: #2f8a63; }
.order-status--cancelled, .order-status--failed, .order-status--refunded { background: #fdf1f2; color: #d64550; }
.acc-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 50px 20px; border-radius: 20px; background: var(--soft); text-align: center; }
.acc-empty[hidden] { display: none; }
.acc-empty > span { width: 76px; height: 76px; border-radius: 38px 0 38px 38px; background: #e6f7fe; color: var(--sky); display: flex; align-items: center; justify-content: center; }
.acc-empty b { font-weight: 700; font-size: 16px; }

/* جزئیات سفارش */
.order-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 24px 12px; border-radius: 20px; background: var(--soft); list-style: none; counter-reset: none; }
.order-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.order-steps li::before { content: ''; position: absolute; top: 21px; right: calc(-50% + 26px); left: calc(50% + 26px); height: 3px; border-radius: 2px; background: #e3e3ec; }
.order-steps li:first-child::before { display: none; }
.order-steps li > span { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #e3e3ec; color: rgba(45,45,45,.4); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.order-steps b { font-weight: 700; font-size: 14px; color: rgba(45,45,45,.55); }
.order-steps small { font-size: 12px; color: rgba(45,45,45,.5); }
.order-steps li.is-done::before, .order-steps li.is-current::before { background: var(--cyan); }
.order-steps li.is-done > span { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.order-steps li.is-current > span { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px rgba(0,175,239,.14); }
.order-steps li.is-done b, .order-steps li.is-current b { color: var(--text); }
.order-items { display: flex; flex-direction: column; }
.order-items li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f1f1f6; }
.order-items li:first-child { padding-top: 0; }
.order-items img { width: 72px; height: 72px; border-radius: 12px; border: 1px solid #efeff5; object-fit: contain; }
.order-items a { display: block; font-weight: 700; font-size: 14px; line-height: 24px; }
.order-items a:hover { color: var(--cyan); }
.order-items small { display: block; margin-top: 4px; font-size: 12px; color: rgba(45,45,45,.55); }
.order-items__qty { height: 30px; padding: 0 12px; border-radius: 9px; background: var(--soft); font-size: 12px; line-height: 30px; white-space: nowrap; }
.order-items li > b { min-width: 130px; text-align: left; font-weight: 800; font-size: 15px; white-space: nowrap; }
.order-totals { margin: 18px auto 0 0; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.order-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.order-totals dt { font-weight: 400; color: rgba(45,45,45,.65); }
.order-totals dd { margin: 0; font-weight: 700; }
.order-totals dd.is-off { color: #d64550; }
.order-totals__sum { margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: #e6f7fe; }
.order-totals__sum dt { font-weight: 700; color: var(--text); }
.order-totals__sum dd { font-weight: 900; font-size: 18px; color: var(--navy); }
.order-notes { display: flex; flex-direction: column; gap: 10px; }
.order-notes li { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13px; line-height: 24px; }
.order-notes small { display: block; font-size: 11px; color: rgba(45,45,45,.5); }

/* علاقه‌مندی‌ها */
.wish-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wish-grid[hidden] { display: none; }
.wish-item { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 18px; background: var(--soft); transition: opacity .25s, transform .25s; }
.wish-item.is-removing { opacity: 0; transform: scale(.94); }
.wish-item__del { position: absolute; z-index: 1; top: 20px; left: 20px; width: 34px; height: 34px; border-radius: 10px; background: #fdf1f2; color: #d64550; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.wish-item__del:hover { background: #d64550; color: #fff; }
.wish-item__img { display: block; border-radius: 14px; background: #fff; overflow: hidden; }
.wish-item__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.wish-item.is-out .wish-item__img img { opacity: .5; filter: grayscale(1); }
.wish-item__title { margin-top: 12px; font-weight: 700; font-size: 14px; line-height: 24px; min-height: 48px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wish-item__title:hover { color: var(--cyan); }
.wish-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #fff; }
.wish-item__foot b { font-weight: 800; font-size: 15px; color: var(--cyan); white-space: nowrap; }
.wish-item__foot b.wish-item__out { color: rgba(45,45,45,.5); font-size: 13px; }
.wish-item__add { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.wish-item__add:hover { color: #fff; opacity: .9; }

/* فرم‌ها */
.acc-form { display: flex; flex-direction: column; gap: 18px; }
.acc-form[hidden] { display: none; }
.acc-form .acc-card__head { margin-bottom: 0; }
.field select {
  display: block; width: 100%; height: 52px; border: 1px solid #ececf1; outline: 0; border-radius: 14px; padding: 0 16px 0 40px;
  font: inherit; font-size: 14px; color: var(--text); appearance: none; cursor: pointer; transition: border-color .2s, background-color .2s;
  background: #fafafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232d2d2d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 12px center / 20px no-repeat;
}
.field select:focus { border-color: var(--sky); background-color: #fff; }
.field input[dir="ltr"] { text-align: left; }
.field small.field-error { color: #e45858; }
.pass-field { position: relative; display: block; margin: 0; }
.field > .pass-field { margin-bottom: 0; font-weight: 400; }
.pass-field input { padding-left: 48px; }
.pass-field button { position: absolute; left: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(45,45,45,.5); transition: color .2s; }
.pass-field button:hover, .pass-field button.is-on { color: var(--cyan); }
.acc-form__foot { display: flex; justify-content: flex-end; }
.acc-toast { position: fixed; z-index: 1200; bottom: 30px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: #1f7a55; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px rgba(0,9,33,.25); animation: acc-in .25s ease-out; }
.acc-toast[hidden] { display: none; }

/* ورود / ثبت‌نام */
.auth { margin-top: 50px; }
.auth-box { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin-inline: auto; border-radius: 25px; overflow: hidden; background: #fff; box-shadow: 0 0 40px rgba(0,9,33,.08); }
.auth-art { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 50px 44px; background: linear-gradient(200deg, #3e4095 0%, #1a7fd0 60%, #00afef 100%); color: #fff; }
.auth-art h2 { font-weight: 800; font-size: 26px; line-height: 1.5; }
.auth-art ul { display: flex; flex-direction: column; gap: 16px; }
.auth-art li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.auth-art li svg { width: 40px; height: 40px; padding: 9px; border-radius: 20px 0 20px 20px; background: rgba(255,255,255,.16); }
.auth-main { padding: 36px 40px 40px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--soft); }
.auth-tabs button { height: 46px; border-radius: 12px; font-weight: 700; font-size: 15px; color: rgba(45,45,45,.6); transition: background .2s, color .2s; }
.auth-tabs button.is-active { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(61,62,133,.08); }
.auth-form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.auth-form[hidden] { display: none; }
.auth-form h1 { font-weight: 800; font-size: 22px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-switch { text-align: center; font-size: 14px; color: rgba(45,45,45,.65); }
.auth-switch button { font-weight: 700; color: var(--cyan); }
.check.is-invalid span { border-color: #e45858; }

@media (max-width: 1199.98px) {
  .acc-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 20px; }
  .acc-stats { grid-template-columns: repeat(2, 1fr); }
  .wish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-card__meta { gap: 20px; }
}
@media (max-width: 991.98px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); }
  .acc-side { position: static; min-width: 0; }
  .acc-help { display: none; }
  /* منو به صورت نوار افقی اسکرولی */
  .acc-nav { flex-direction: row; gap: 6px; padding: 6px; border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-nav__item { flex-shrink: 0; height: 44px; padding: 0 14px; gap: 8px; border-radius: 12px; font-size: 13px; }
  .acc-nav__item svg { width: 18px; height: 18px; }
  .acc-nav__item--out { margin-top: 0; }
  .auth-art { padding: 36px 28px; }
  .auth-main { padding: 28px 24px 32px; }
}
section.page,div.page{
  margin-top: 40px;
}

/* Preserve the selected indicator against the global button:focus border reset. */
.ts-mobile-menu .ts-mobile-main-tabs > .ts-mobile-main-tab {
  border-bottom: 3px solid transparent !important;
}
.ts-mobile-menu .ts-mobile-main-tabs > .ts-mobile-main-tab[aria-selected="true"] {
  border-bottom: 3px solid var(--navy, #3d3e85) !important;
}

.questions-page-title{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.questions-page-content{
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
.questions-page-content img{
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin: 10px 0;
}
.questions-page{
  margin: 20px 0;
  border-radius: 20px;
  background-color: #fff;
 box-shadow: 0 4px 30px rgba(0, 0, 0, .06);
 padding: 20px;
}