/* نارون — سبک صفحه‌ها مطابق ۲۱ طرح تأییدشده (سرمه‌ای، فیروزه‌ای، سفید، خاکستری روشن) */
:root { --mint: #E4F6F4; --mint-2: #D3F0EC; --card-line: #E6E9EF; --green: #1E9E5A; --red: #E0453A; --r2: 16px; }
.icon-btn.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--card-line); background: #fff; }
.icon-btn.round svg { width: 22px; height: 22px; }
.icon-btn .badge { top: -2px; left: -2px; background: var(--teal); }
.grow { flex: 1; }
.green { color: var(--green) !important; }
.red { color: var(--red) !important; }
.gold { color: var(--gold); }
em { color: var(--coral); font-style: normal; }
.btn.navy { background: var(--navy); }
.btn.big { min-height: 54px; font-size: 1.05rem; border-radius: 14px; }
.btn.soft { background: var(--mint); color: var(--navy); }
.btn svg { width: 20px; height: 20px; }

/* ---------- سربرگ برند ---------- */
.bhead { padding: 8px var(--pad) 6px; background: #fff; position: relative; }
.bhead.deco { overflow: clip; padding-top: 14px; }
.bhead.deco::before, .bhead.deco::after { content: ""; position: absolute; top: -46px; width: 96px; height: 80px; border-radius: 0 0 60% 40%; z-index: 0; }
.bhead.deco::before { right: -46px; background: linear-gradient(160deg, var(--teal), #7FD9CF); opacity: .85; transform: rotate(-18deg); }
.bhead.deco::after { left: -44px; background: var(--navy); opacity: .9; transform: rotate(20deg); border-radius: 0 0 40% 60%; }
.bhead > * { position: relative; z-index: 1; }
.bhead-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; }
.bh-side { display: flex; gap: 8px; min-width: 44px; }
.bh-side.end { justify-content: flex-end; }
.bh-logo { display: flex; align-items: center; gap: 6px; }
.bh-logo img { width: 40px; height: auto; }
.bh-logo span { font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1; }
.bh-logo.sm img { width: 30px; } .bh-logo.sm span { font-size: 1.15rem; }
.bh-logo.col { flex-direction: column; gap: 2px; } .bh-logo.col img { width: 48px; }
.bhead.centered { display: flex; flex-direction: column; align-items: center; }
.bhead.centered .bhead-row { width: 100%; }
.bh-mid { display: flex; flex-direction: column; align-items: center; }
.bh-mid h1 { margin: 0; font-size: 1.1rem; color: var(--navy); }
.bh-title { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; }
.bh-title > svg, .bh-ic svg { width: 32px; height: 32px; color: var(--teal); flex: none; }
.bh-title h1, .bh-title h2 { margin: 0; font-size: 1.45rem; font-weight: 900; color: var(--navy); line-height: 1.3; }
.bh-title p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.bh-title.center { justify-content: center; position: relative; }
.bh-title.center .icon-btn { position: absolute; right: 0; }
.bh-title.spread { justify-content: space-between; width: 100%; }
.bh-title.sm h2 { font-size: 1.2rem; }
.center-title { text-align: center; margin: 10px 0 6px; }
.center-title h1 { margin: 0; font-size: 1.6rem; font-weight: 900; color: var(--navy); }
.center-title p { margin: 4px 0 0; color: var(--muted); }
.center-title.lined h1 { display: flex; align-items: center; gap: 14px; justify-content: center; }
.center-title.lined h1::before, .center-title.lined h1::after { content: ""; width: 44px; height: 2px; background: var(--teal); }
.navy-title { margin: 6px var(--pad) 10px; background: var(--navy); color: #fff; border-radius: 16px; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.navy-title::before { content: ""; position: absolute; left: -30px; top: -10px; width: 120px; height: 90px; background: var(--teal); border-radius: 0 0 100% 0; transform: rotate(-25deg); }
.navy-title h1 { margin: 0; font-size: 1.4rem; position: relative; }
.navy-title svg { position: absolute; right: 18px; width: 30px; height: 30px; }
.sec-title { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.sec-title svg { width: 26px; height: 26px; color: var(--teal); }
.sub-title { display: flex; align-items: center; gap: 6px; font-size: 1rem; color: var(--navy); margin: 14px 0 8px; }
.sub-title svg { width: 22px; height: 22px; color: var(--teal); }
.sub-title small { color: var(--muted); font-weight: 400; }

/* ---------- جست‌وجو ---------- */
.search.big { height: 54px; border-radius: 16px; margin-top: 6px; }
.search.outline { background: #fff; border: 1.5px solid #D9DDE5; height: 48px; border-radius: 14px; }
.search.sm { height: 42px; border-radius: 10px; }
.search.mini { flex: 1; height: 42px; border-radius: 12px; font-size: .82rem; overflow: hidden; }
.search.mini .ph-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-bar2 { display: flex; align-items: center; gap: 10px; padding: 6px var(--pad) 4px; }
.search-bar2 form { flex: 1; display: flex; align-items: center; background: var(--bg-soft); border-radius: 28px; overflow: hidden; height: 54px; }
.sb-go { width: 64px; align-self: stretch; background: var(--teal); color: #fff; display: grid; place-items: center; border-radius: 28px 0 0 28px; order: -1; }
[dir=rtl] .sb-go { order: 2; border-radius: 28px 0 0 28px; }
.sb-go svg { width: 26px; height: 26px; }
.search-bar2 input { flex: 1; border: 0 !important; background: transparent !important; font-size: 1.05rem; padding: 0 16px !important; min-height: 0 !important; box-shadow: none !important; }
.sb-clear { width: 30px; height: 30px; margin: 0 8px; border-radius: 50%; background: #D5D9E0; color: #4E5566; display: grid; place-items: center; }
.sb-clear svg { width: 16px; height: 16px; }
.hchip { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-soft); border-radius: 12px; padding: 0 6px 0 12px; min-height: 44px; }
.hchip a { padding: 0 6px; }
.hchip button { width: 32px; height: 32px; display: grid; place-items: center; color: #4E5566; }
.hchip svg { width: 18px; height: 18px; }
.chip.mint { background: var(--mint); border-color: transparent; color: var(--navy); }
.chip.mint svg { color: var(--teal); }
.chip.dis { color: var(--muted); background: var(--bg-soft); border-color: transparent; }
.sugg-cards { gap: 10px; }
.scard { position: relative; flex: 0 0 calc((100% - 20px) / 2.4); border: 1px solid var(--card-line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-size: .82rem; }
.sc-img { position: relative; display: block; aspect-ratio: 1.15; background: #F4F5F8; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-img .off { position: absolute; bottom: 8px; right: 8px; background: var(--coral); color: #fff; border-radius: 8px; padding: 0 6px; font-weight: 700; font-size: .72rem; }
.fav.sm { position: absolute; top: 6px; left: 6px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.fav.sm svg { width: 18px; height: 18px; }
.fav.sm[aria-pressed="true"] svg { fill: var(--coral); color: var(--coral); }
.scard > a b { display: block; padding: 6px 8px 0; line-height: 1.5; height: 3em; overflow: hidden; }
.scard small { padding: 0 8px; }
.sc-foot { display: flex; align-items: flex-end; justify-content: space-between; padding: 6px 8px 8px; margin-top: auto; }
.sc-foot del { display: block; color: #9AA0AC; font-size: .72rem; }
.cart-btn { width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.cart-btn svg { width: 20px; height: 20px; }
.tile-row { gap: 8px; }
.mini-tile { flex: 0 0 auto; min-width: 96px; min-height: 64px; border: 1px solid var(--card-line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 12px; font-size: .82rem; background: #fff; }
.mini-tile svg { width: 24px; height: 24px; color: var(--teal); }
.mini-tile.more { background: var(--mint); color: var(--teal); font-weight: 700; flex-direction: row; }

/* ---------- دسته‌بندی ---------- */
.seg { display: flex; gap: 8px; justify-content: center; margin: 12px 0 4px; flex-wrap: wrap; }
.seg a { min-height: 40px; padding: 6px 22px; border-radius: 20px; background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.seg a.on { background: var(--teal); color: #fff; }
.cat-cards { list-style: none; margin: 0; padding: 10px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-cards a { display: flex; align-items: center; gap: 6px; background: #F1F6F7; border-radius: 16px; padding: 8px 8px 8px 6px; min-height: 104px; }
.cc-img { flex: 0 0 42%; aspect-ratio: 1.1; border-radius: 12px; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-txt b { color: var(--navy); font-size: 1rem; line-height: 1.35; }
.cc-txt small { color: var(--muted); font-size: .74rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-chev { width: 20px; height: 20px; color: var(--teal); flex: none; }
.navy-band, .mint-band { display: flex; align-items: center; gap: 12px; margin: 8px var(--pad); border-radius: 14px; padding: 12px 16px; min-height: 58px; }
.navy-band { background: var(--navy); color: #fff; }
.navy-band b, .mint-band b { font-size: 1.05rem; white-space: nowrap; }
.navy-band span, .mint-band span { flex: 1; font-size: .82rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navy-band i, .mint-band i { width: 52px; height: 36px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.mint-band { background: var(--mint); color: var(--navy); }
.mint-band .pct { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; opacity: 1; }
.crumb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 6px var(--pad); padding: 8px 12px; background: var(--bg-soft); border-radius: 12px; font-size: .82rem; }
.crumb-bar svg { width: 15px; height: 15px; color: var(--muted); }
.crumb-bar a { display: inline-flex; align-items: center; gap: 4px; }
.sub-cards { list-style: none; margin: 0; padding: 6px var(--pad); display: grid; gap: 8px; }
.sub-cards a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 14px; }
.sub-cards b { color: var(--navy); }
.sub-cards small { grid-row: 2; color: var(--muted); font-size: .78rem; }
.sub-cards svg { grid-row: 1 / 3; grid-column: 2; width: 18px; height: 18px; color: var(--teal); }

/* ---------- فهرست ---------- */
.subchips { gap: 8px; padding-top: 6px; }
.subchip { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px 14px; border-radius: 14px; background: var(--bg-soft); font-size: .82rem; line-height: 1.35; max-width: 140px; }
.subchip.on { background: var(--navy); color: #fff; }
.subchip svg { width: 26px; height: 26px; flex: none; }
.list-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px var(--pad); }
.bar-label { font-size: .85rem; color: var(--muted); }
.list-bar .chip.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.sort-select { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--card-line); border-radius: 12px; padding: 0 10px; min-height: 42px; background: #fff; }
.sort-select svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.sort-select select { border: 0 !important; min-height: 38px !important; padding: 0 !important; background: transparent !important; font-size: .85rem !important; box-shadow: none !important; width: auto !important; }
.sort-select.mint { background: var(--mint); border-color: transparent; }
.sort-select.mint svg { color: var(--teal); }
.list-bar .tool-btn { border-color: var(--teal); color: var(--teal); background: #fff; min-height: 42px; border-radius: 12px; }
.card-brand { display: block; margin-top: 8px; font-weight: 900; font-size: .85rem; letter-spacing: .5px; color: var(--ink); }
.card.g h3 { margin-top: 2px; white-space: normal; height: 3.2em; line-height: 1.6; }
.card .rate small { margin-inline-start: 2px; }
.fab-filter { position: fixed; z-index: 18; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); left: max(16px, calc(50% - 224px)); width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(25, 179, 166, .35); }
.fab-filter svg { width: 28px; height: 28px; }
.fab-filter .badge { top: -2px; left: auto; right: -2px; background: var(--teal); border: 2px solid #fff; }

/* ---------- پنل فیلتر ---------- */
.fsheet { padding: 0; display: flex; flex-direction: column; max-height: 92vh; overflow: hidden; border-radius: 20px 20px 0 0; }
.fs-head { display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; padding: 10px 14px; min-height: 64px; }
.fs-head h2 { margin: 0; font-size: 1.25rem; }
.fs-head .icon-btn { color: #fff; }
.fs-reset { color: #fff; display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; min-height: 44px; }
.fs-reset svg { width: 20px; height: 20px; }
.fs-body { overflow-y: auto; padding: 8px var(--pad) 12px; flex: 1; }
.fs-sec { border: 1px solid var(--card-line); border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.fs-sec.flat { border: 0; padding: 6px 0; }
.fs-sec h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 1rem; color: var(--navy); }
.fs-sec h3 svg { width: 22px; height: 22px; color: var(--teal); }
.range { position: relative; height: 34px; margin: 6px 14px 10px; }
.range::before { content: ""; position: absolute; inset-inline: 0; top: 14px; height: 6px; border-radius: 3px; background: linear-gradient(to left, #E3E6EB var(--a), var(--teal) var(--a), var(--teal) var(--b), #E3E6EB var(--b)); }
.range input { position: absolute; inset: 0; width: 100%; margin: 0; background: transparent !important; box-shadow: none !important; pointer-events: none; -webkit-appearance: none; appearance: none; direction: rtl; min-height: 0 !important; height: 34px; border: 0 !important; padding: 0 !important; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.range input::-moz-range-thumb { pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); cursor: pointer; }
.range input::-webkit-slider-runnable-track { background: transparent; }
.range-inputs { display: flex; align-items: flex-end; gap: 8px; }
.range-inputs label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); }
.range-inputs b { padding-bottom: 12px; color: var(--muted); }
.money-in { display: flex; align-items: center; border: 1.5px solid #D9DDE5; border-radius: 10px; padding: 0 10px; }
.money-in input { border: 0 !important; min-height: 44px !important; padding: 0 !important; font-weight: 700; box-shadow: none !important; }
.money-in em { color: var(--muted); font-size: .8rem; }
.check-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 220px; overflow-y: auto; }
.check-list label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.check-list input { width: 24px; height: 24px; accent-color: var(--teal); }
.check-list small { color: var(--muted); }
.fs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fs-toggle { display: flex; align-items: center; gap: 8px; border: 1px solid var(--card-line); border-radius: 14px; padding: 10px 12px; min-height: 58px; position: relative; cursor: pointer; font-weight: 700; color: var(--navy); }
.fs-toggle > svg { width: 24px; height: 24px; color: var(--teal); flex: none; }
.fs-toggle span { flex: 1; font-size: .9rem; }
.fs-toggle input, .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fs-toggle i, .switch i { flex: none; width: 50px; height: 30px; border-radius: 15px; background: #D5D9E0; position: relative; transition: .2s; }
.fs-toggle i::after, .switch i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: .2s; }
.fs-toggle input:checked + i, .switch input:checked + i { background: var(--teal); }
.fs-toggle input:checked + i::after, .switch input:checked + i::after { right: 23px; }
.fs-toggle input:focus-visible + i, .switch input:focus-visible + i { outline: 2px solid var(--teal); outline-offset: 2px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .88rem; }
.radio-row input { width: 22px; height: 22px; accent-color: var(--teal); }
.fs-acc { border: 1px solid var(--card-line); border-radius: 14px; margin: 10px 0; padding: 0 14px; }
.fs-acc summary { display: flex; align-items: center; gap: 8px; min-height: 56px; list-style: none; font-weight: 700; color: var(--navy); cursor: pointer; }
.fs-acc summary::-webkit-details-marker { display: none; }
.fs-acc summary svg:first-child { width: 22px; height: 22px; color: var(--teal); }
.fs-acc summary svg:last-child { margin-inline-start: auto; width: 20px; height: 20px; }
.fs-acc[open] summary svg:last-child { transform: rotate(180deg); }
.fs-acc > *:not(summary) { margin-bottom: 12px; }
.fs-foot { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.fs-foot .btn { margin: 0; min-height: 54px; border-radius: 14px; font-size: 1.05rem; }

/* ---------- برندها ---------- */
.brand-tabs { gap: 8px; padding: 10px var(--pad); }
.brand-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border-radius: 24px; background: var(--bg-soft); font-weight: 600; }
.brand-tabs button.on { background: var(--teal); color: #fff; }
.brand-tabs svg { width: 20px; height: 20px; }
.brand-hero { position: relative; margin: 6px var(--pad); }
.brand-hero .hscroll { padding: 0; gap: 0; border-radius: 16px; scroll-padding-inline: 0; }
.bh-slide { flex: 0 0 100%; display: flex; align-items: center; background: linear-gradient(120deg, #1B3270, #14295A 60%); color: #fff; border-radius: 16px; overflow: hidden; min-height: 150px; }
.bh-slide > div { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.bh-slide b.en { font-size: 1.6rem; letter-spacing: 3px; }
.bh-slide span { font-size: .85rem; opacity: .9; }
.bh-slide .cta { opacity: 1; margin-top: 6px; }
.bh-slide img { width: 42%; align-self: stretch; object-fit: cover; }
.g-dots.static { position: static; margin-top: 10px; justify-content: center; display: flex; gap: 6px; }
.g-dots.static i { width: 9px; height: 9px; border-radius: 50%; background: #D5D9E0; }
.g-dots.static i.on { background: var(--teal); }
.brand-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px var(--pad); }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 92px; border: 1px solid var(--card-line); border-radius: 14px; padding: 8px; text-align: center; background: #fff; }
.brand-tile .bt-en { font-size: 1.05rem; font-weight: 900; color: var(--navy); letter-spacing: .5px; direction: ltr; word-break: break-word; line-height: 1.2; }
.brand-tile span { font-size: .85rem; color: var(--ink); }
.brand-tile.sm { flex: 0 0 auto; min-width: 104px; min-height: 76px; }
.letters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 4px var(--pad); padding: 8px 10px; background: var(--bg-soft); border-radius: 14px; font-size: .85rem; }
.letters button { min-width: 34px; height: 34px; border-radius: 10px; background: #fff; font-size: .85rem; }
.letters button.on { background: var(--teal); color: #fff; padding: 0 10px; }
.fav-brands { gap: 8px; padding: 4px 0; }

/* ---------- صفحهٔ محصول ---------- */
.pd-head { padding-bottom: 0; }
.fav-big[aria-pressed="true"] { color: var(--coral); }
.fav-big[aria-pressed="true"] svg { fill: var(--coral); }
.gallery2 { position: relative; margin: 6px var(--pad) 0; border-radius: 18px; overflow: hidden; background: #F4F5F8; }
.gallery2 .g-track { padding: 0; gap: 0; scroll-padding-inline: 0; }
.gallery2 .g-item { flex: 0 0 100%; aspect-ratio: 1 / .9; display: grid; place-items: center; background: #F4F5F8; }
.gallery2 img, .gallery2 video { width: 100%; height: 100%; object-fit: contain; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.g-nav.prev { right: 10px; } .g-nav.next { left: 10px; }
.g-nav svg { width: 20px; height: 20px; }
.g-bottom { position: absolute; bottom: 10px; inset-inline: 0; display: flex; justify-content: center; align-items: center; gap: 12px; }
.g-count { background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 2px 12px; font-size: .78rem; }
.g-dots2 { display: flex; gap: 5px; direction: ltr; }
.g-dots2 i { width: 7px; height: 7px; border-radius: 50%; background: rgba(20, 41, 90, .2); }
.g-dots2 i.on { background: var(--teal); }
.thumbs2 { gap: 8px; padding: 10px var(--pad) 4px; }
.thumbs2 button { flex: 0 0 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #F4F5F8; }
.thumbs2 button.on { border-color: var(--teal); }
.thumbs2 img { width: 100%; height: 100%; object-fit: cover; }
.pd-name { margin: 2px 0 6px; font-size: 1.35rem; font-weight: 900; color: var(--ink); line-height: 1.5; }
.pd-short { margin: 0 0 8px; color: #4E5566; }
.rate-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--mint); color: var(--navy); font-weight: 800; padding: 2px 10px; border-radius: 10px; }
.rate-pill svg, .rate-num svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); stroke-width: 1; }
.pd-meta .link { margin-inline-start: auto; }
.axis-values .swatch + .swatch { margin-inline-start: 4px; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 14px 0 6px; }
.pd-price b { font-size: 1.6rem; color: var(--navy); font-weight: 900; }
.pd-price b small { font-size: .95rem; font-weight: 600; }
.pd-price del { color: #9AA0AC; }
.off-badge { background: var(--coral); color: #fff; border-radius: 10px; padding: 2px 12px; font-weight: 800; font-size: .85rem; }
.off-badge.sm { font-size: .72rem; padding: 0 8px; align-self: flex-start; }
.seller-ship { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--card-line); border-radius: 14px; margin-top: 12px; }
.ss-cell { display: flex; align-items: center; gap: 8px; padding: 10px 12px; text-align: right; min-height: 64px; }
.ss-cell + .ss-cell { border-inline-start: 1px solid var(--card-line); }
.ss-cell > svg:first-child, .ss-logo { width: 34px; height: 34px; flex: none; color: var(--green); }
.ss-cell span { flex: 1; display: flex; flex-direction: column; font-size: .85rem; min-width: 0; }
.ss-cell small { color: var(--muted); font-size: .74rem; }
.ss-cell > svg:last-child { width: 16px; height: 16px; color: var(--muted); flex: none; }
.acc2 { border: 1px solid var(--card-line); border-radius: 14px; margin-top: 10px; padding: 0 14px; }
.acc2 summary { display: flex; align-items: center; gap: 8px; min-height: 56px; list-style: none; cursor: pointer; }
.acc2 summary::-webkit-details-marker { display: none; }
.acc2 summary > svg:first-child { width: 22px; height: 22px; color: var(--navy); flex: none; }
.acc2 summary b { color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acc2 summary b:only-of-type { flex: 1; white-space: normal; }
.acc2 summary span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.acc2 .chev { width: 20px; height: 20px; flex: none; }
.acc2[open] .chev { transform: rotate(180deg); }
.rev-preview { margin-top: 16px; border: 1px solid var(--card-line); border-radius: 16px; padding: 12px 14px; }
.rp-card { display: flex; gap: 10px; }
.rp-body { flex: 1; }
.rp-who { display: flex; align-items: center; gap: 8px; }
.rp-who > svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); }
.rp-who div { flex: 1; display: flex; flex-direction: column; }
.rate-num { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; }
.rp-body p { font-size: .88rem; line-height: 1.8; margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp-imgs { display: flex; gap: 6px; }
.rp-imgs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.buybar .btn svg { width: 22px; height: 22px; }

/* ---------- نظرات ---------- */
.rv-prod { display: flex; align-items: center; gap: 12px; margin: 6px var(--pad); }
.rv-prod img { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: #F4F5F8; }
.rv-prod b { display: block; font-size: 1.05rem; }
.rv-sum { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; margin: 8px var(--pad); padding: 14px; border: 1px solid var(--card-line); border-radius: 16px; align-items: center; }
.rv-avg { display: flex; flex-direction: column; align-items: center; gap: 4px; border-inline-end: 1px solid var(--card-line); }
.rv-avg > b { font-size: 2.6rem; font-weight: 900; color: var(--navy); line-height: 1; }
.rv-avg small { color: var(--muted); }
.stars5 { display: inline-flex; gap: 1px; direction: ltr; }
.stars5 i svg { width: 18px; height: 18px; color: #D5D9E0; fill: #D5D9E0; stroke-width: 1; }
.stars5 i.on svg { color: var(--gold); fill: var(--gold); }
.stars5 i { position: relative; display: inline-flex; }
.stars5 i.half svg + svg { position: absolute; inset: 0; color: var(--gold); fill: var(--gold); clip-path: inset(0 50% 0 0); }
.rv-dist div { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 8px; font-size: .78rem; padding: 2px 0; }
.rv-dist i { height: 8px; border-radius: 4px; background: #E8EBF0; overflow: hidden; }
.rv-dist i b { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; margin: 10px var(--pad); background: var(--bg-soft); border-radius: 14px; }
.seg2 button { min-height: 50px; border-radius: 14px; font-weight: 700; }
.seg2 button.on { background: var(--teal); color: #fff; }
.rv-card, .qa-card { margin: 10px var(--pad); padding: 14px; border: 1px solid var(--card-line); border-radius: 16px; font-size: .9rem; }
.rv-head { display: flex; align-items: flex-start; gap: 10px; }
.rv-head > div { flex: 1; }
.avatar.sm { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--navy); flex: none; }
.buyer { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 8px; background: var(--mint); color: #0E7F75; font-size: .72rem; font-weight: 700; border-radius: 10px; padding: 1px 8px; }
.buyer svg { width: 13px; height: 13px; }
.rv-rate { display: flex; align-items: center; gap: 4px; }
.bought { display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 2px; background: var(--bg-soft); border-radius: 10px; padding: 2px 10px; font-size: .78rem; }
.bought svg { width: 14px; height: 14px; }
.rv-card p { line-height: 1.9; margin: 8px 0; }
.rv-extra { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.pc { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 6px; }
.pc p { margin: 0; padding: 8px 10px; border-radius: 10px; font-size: .82rem; display: flex; gap: 6px; align-items: flex-start; }
.pc .pro { background: #E8F7EE; } .pc .pro b { color: var(--green); } .pc .pro svg { color: var(--green); }
.pc .con { background: #FDECEA; } .pc .con b { color: var(--red); } .pc .con svg { color: var(--red); }
.pc svg { width: 18px; height: 18px; flex: none; }
.rev-imgs img { width: 86px; height: 86px; }
.rv-vote { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--card-line); margin-top: 10px; padding-top: 10px; font-size: .82rem; color: var(--muted); }
.rv-vote span { flex: 1; }
.vote { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--card-line); border-radius: 10px; padding: 4px 12px; min-height: 38px; font-size: .82rem; }
.vote[data-h="1"] { color: var(--teal); border-color: var(--teal); }
.vote.on { background: var(--mint); }
.vote svg { width: 18px; height: 18px; }
.qa-card p { margin: 0; }
.qa-card b svg { width: 18px; height: 18px; vertical-align: -4px; margin-inline-end: 4px; }
.qa-ans { margin-top: 10px; background: var(--mint); border-radius: 12px; padding: 10px 12px; }
.qa-ans p { margin: 4px 0; }
.sticky-row { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); background: #fff; }

/* ---------- علاقه‌مندی ---------- */
.wl-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 4px var(--pad) 8px; }
.wl-head h1 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.6rem; color: var(--navy); }
.wl-head h1 svg { width: 30px; height: 30px; color: var(--teal); }
.wl-head p { margin: 2px 0 0; }
.wl-head .btn.on { background: var(--navy); color: #fff; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--pad); }
.wl-card { position: relative; border: 1px solid var(--card-line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: #fff; }
.wl-heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; color: #E8336D; z-index: 1; }
.wl-heart svg { fill: #E8336D; }
.manage .wl-heart { color: var(--red); background: #FDECEA; border-radius: 50%; }
.manage .wl-heart svg { fill: none; }
.wl-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 3px; border-radius: 10px; padding: 1px 8px; font-size: .72rem; font-weight: 700; z-index: 1; }
.wl-badge svg { width: 14px; height: 14px; }
.wl-badge.grey { background: #EEF0F3; color: #4E5566; }
.wl-badge.mint { background: var(--mint); color: #0E7F75; }
.wl-alert { position: absolute; top: 60px; left: 6px; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--navy); font-size: .62rem; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; z-index: 1; }
.wl-alert svg { width: 20px; height: 20px; color: var(--teal); }
.wl-img { width: 100%; aspect-ratio: 1.15; display: grid; place-items: center; margin-top: 18px; }
.wl-img img { max-width: 92%; max-height: 100%; object-fit: contain; }
.wl-name { font-size: .88rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em; }
.wl-old { display: flex; gap: 6px; align-items: center; font-size: .72rem; }
.wl-old del { color: #9AA0AC; }
.off-yellow { background: #FFF1C2; color: #8A5A00; border-radius: 8px; padding: 0 6px; font-weight: 700; }
.wl-price { font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.wl-price.teal { color: var(--teal); }
.wl-card .btn { margin-top: auto; }

/* ---------- سبد ---------- */
.cart-title { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad) 6px; }
.cart-title h1 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.6rem; color: var(--navy); }
.cart-title h1 svg { width: 32px; height: 32px; }
.count-pill { background: var(--bg-soft); border-radius: 12px; padding: 4px 14px; font-size: .9rem; }
.count-pill:empty { display: none; }
.ship-h2 { display: flex; align-items: center; gap: 6px; margin: 10px var(--pad) 0; font-size: .95rem; color: var(--navy); }
.ship-h2 svg { width: 20px; height: 20px; }
.cart-list { list-style: none; margin: 0; padding: 4px var(--pad); display: flex; flex-direction: column; gap: 10px; }
.cart-card { display: flex; gap: 12px; border: 1px solid var(--card-line); border-radius: 16px; padding: 12px; background: #fff; box-shadow: var(--shadow); }
.cart-card.na { opacity: .7; }
.cc-pic { flex: 0 0 110px; height: 120px; border-radius: 12px; overflow: hidden; background: #F4F5F8; display: grid; place-items: center; }
.cc-pic img { width: 100%; height: 100%; object-fit: contain; }
.cc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.cc-top { display: flex; gap: 8px; align-items: flex-start; }
.cc-top a { flex: 1; } .cc-top b { line-height: 1.6; }
.cc-acts { display: flex; gap: 6px; flex: none; }
.sq-btn { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--card-line); display: grid; place-items: center; background: #fff; color: var(--ink); flex: none; }
.sq-btn.red { color: var(--red); }
.sq-btn svg { width: 20px; height: 20px; }
.cc-body small svg { width: 15px; height: 15px; vertical-align: -3px; }
.var-select { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--card-line); border-radius: 24px; padding: 0 12px; min-height: 40px; align-self: flex-start; }
.var-select i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.var-select select { border: 0 !important; min-height: 36px !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; font-size: .85rem !important; width: auto !important; }
.var-select > svg { width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.stepper2 { display: inline-flex; align-items: center; background: var(--mint); border-radius: 12px; height: 42px; }
.stepper2 button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal); }
.stepper2 button:disabled { color: #B5C9C6; }
.stepper2 span { min-width: 40px; height: 34px; display: grid; place-items: center; background: #fff; border-radius: 8px; font-weight: 700; }
.cc-price { display: flex; flex-direction: column; align-items: flex-end; }
.cc-price del { color: #9AA0AC; font-size: .78rem; }
.cc-price b { font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.ship-banner { display: flex; gap: 12px; align-items: center; margin: 12px var(--pad); padding: 14px; background: var(--mint); border-radius: 14px; font-size: .88rem; line-height: 1.8; }
.ship-banner svg { width: 34px; height: 34px; color: var(--teal); flex: none; }
.coupon-row { display: flex; gap: 10px; margin: 8px var(--pad); }
.coupon-row label { flex: 1; display: flex; align-items: center; gap: 8px; border: 1.5px solid #D9DDE5; border-radius: 14px; padding: 0 12px; }
.coupon-row label svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.coupon-row input { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.coupon-row .btn { margin: 0; min-height: 54px; padding: 0 24px; border-radius: 14px; }
.sum-box { margin: 12px var(--pad); padding: 12px 16px; border: 1px solid var(--card-line); border-radius: 16px; }
.sum-row.green span:last-child { color: var(--green); }
.sum-row.total.mint, .sum-box .total { background: var(--mint); margin: 8px -8px 0; padding: 12px 10px; border-radius: 12px; border-top: 0; font-size: 1.05rem; }

/* ---------- خرید ---------- */
.steps3 { list-style: none; display: flex; margin: 4px 0 6px; padding: 8px var(--pad); }
.steps3 li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; font-size: .85rem; color: var(--muted); }
.steps3 li::before { content: ""; position: absolute; top: 24px; left: 50%; width: 100%; height: 3px; background: #E3E6EB; z-index: 0; }
.steps3 li:first-child::before { display: none; }
.steps3 li.done::before, .steps3 li.on::before { background: var(--teal); }
.steps3 i { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #EEF0F3; color: #6B7280; font-style: normal; }
.steps3 i svg { width: 24px; height: 24px; }
.steps3 .done i { background: var(--teal); color: #fff; }
.steps3 .on i { background: #fff; border: 3px solid var(--teal); color: var(--teal); }
.steps3 .on, .steps3 .done { color: var(--navy); font-weight: 700; }
.steps3 .on span { color: var(--teal); }
.addr-sel { position: relative; border: 1.5px solid var(--card-line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.addr-sel.on { border-color: var(--teal); background: #F6FCFB; }
.as-row { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; line-height: 1.7; }
.as-row > svg { width: 22px; height: 22px; color: var(--navy); flex: none; margin-top: 2px; }
.as-badge { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; background: var(--mint); color: #0E7F75; border-radius: 14px; padding: 2px 12px; font-size: .78rem; font-weight: 700; }
.as-badge svg { width: 16px; height: 16px; }
.as-edit { align-self: flex-end; }
.other-addr { margin: 8px 0; }
.other-addr summary { list-style: none; cursor: pointer; color: var(--teal); font-weight: 700; display: flex; align-items: center; gap: 4px; min-height: 40px; }
.other-addr summary svg { width: 18px; height: 18px; }
.addr-pick { display: flex; flex-direction: column; text-align: right; width: 100%; border: 1px solid var(--card-line); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; font-size: .85rem; }
#newAddr { margin-top: 10px; }
.map-box { position: relative; margin-top: 10px; height: 130px; border-radius: 14px; overflow: hidden; border: 1px solid var(--card-line);
  background: linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px) 0 0/34px 34px, linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px) 0 0/34px 34px, #E9ECEF; }
.map-box.pick { height: 150px; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px 14px; font-size: .8rem; color: #4E5566; }
.map-ph svg { width: 34px; height: 34px; color: var(--teal); }
.map-live { position: absolute; inset: 0; }
.map-link { position: absolute; bottom: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; min-height: 40px; }
.map-link svg { width: 18px; height: 18px; }
.ship-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ship-opt { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r t c" "r d c"; align-items: center; gap: 2px 10px; border: 1.5px solid var(--card-line); border-radius: 16px; padding: 12px 14px; cursor: pointer; }
.ship-opt.on, .ship-opt:has(input:checked) { border-color: var(--teal); background: #F6FCFB; }
.ship-opt input { grid-area: r; width: 26px; height: 26px; accent-color: var(--teal); }
.ship-opt > div { grid-area: t; }
.ship-opt > div small { display: block; color: var(--muted); font-size: .8rem; }
.so-date { grid-area: d; display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #4E5566; }
.so-date svg { width: 18px; height: 18px; }
.so-cost { grid-area: c; color: var(--teal); white-space: nowrap; }
.order-sum { border: 1px solid var(--card-line); border-radius: 16px; margin-top: 12px; padding: 0 14px; }
.order-sum summary { display: flex; align-items: center; gap: 10px; min-height: 64px; list-style: none; cursor: pointer; }
.order-sum summary::-webkit-details-marker { display: none; }
.order-sum summary > svg:first-child { width: 26px; height: 26px; }
.order-sum summary div { flex: 1; display: flex; flex-direction: column; }
.order-sum summary div small { color: var(--muted); }
.order-sum summary > svg:last-child { width: 20px; height: 20px; }
.mini-ship { padding-bottom: 8px; font-size: .88rem; }
.box2 { margin: 10px var(--pad); padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 16px; background: #fff; }
.box2.row-between { display: flex; }
.box2 h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 1rem; color: var(--navy); }
.box2 h3 svg { width: 22px; height: 22px; }
.box2 p { margin: 4px 0; line-height: 1.8; }
.pad .box2 { margin-inline: 0; }
.addr-mini { display: flex; gap: 10px; align-items: center; background: var(--mint); border-radius: 12px; padding: 10px 12px; }
.addr-mini div { flex: 1; display: flex; flex-direction: column; font-size: .88rem; }
.addr-mini small { color: var(--muted); }
.pay-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--card-line); }
.pay-item:first-of-type { border-top: 0; }
.pay-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #F4F5F8; }
.pay-item > div { flex: 1; display: flex; flex-direction: column; font-size: .88rem; }
.pi-p { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.pay-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--card-line); border-radius: 14px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.pay-opt.on, .pay-opt:has(input:checked) { border-color: var(--teal); background: #F6FCFB; }
.pay-opt.dis { opacity: .55; cursor: not-allowed; }
.pay-opt input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }
.pay-opt div { flex: 1; display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.pay-opt > svg { width: 34px; height: 34px; color: var(--navy); flex: none; }
.coupon-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.coupon-box h3 { margin: 0; flex: 1; }
.coupon-box .inline-form { flex-basis: 100%; }
.coupon-ok { display: inline-flex; align-items: center; gap: 6px; background: #E8F7EE; color: var(--green); border-radius: 12px; padding: 4px 12px; font-size: .85rem; }
.coupon-ok svg { width: 16px; height: 16px; }
.terms-box { display: flex; align-items: center; gap: 10px; margin: 10px var(--pad); padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 14px; font-size: .9rem; }
.pad .terms-box { margin-inline: 0; }
.terms-box input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }
.terms-box a { color: var(--teal); text-decoration: underline; }
.terms-box.sm { border: 0; padding: 4px 0; font-size: .82rem; }
.secure-note { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px 14px; background: var(--bg-soft); border-radius: 14px; font-size: .82rem; line-height: 1.7; }
.secure-note svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.addr-form .ic-in { display: flex; align-items: center; border: 1.5px solid #D9DDE5; border-radius: 12px; padding: 0 10px; background: #fff; }
.addr-form .ic-in svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.addr-form .ic-in input { border: 0 !important; box-shadow: none !important; }
.addr-form .ic-in:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.three { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.map-field b { display: flex; align-items: center; gap: 6px; color: var(--navy); }
.map-field b svg { width: 20px; height: 20px; }

/* ---------- ورود ---------- */
.login2 { padding: 10px var(--pad) 30px; }
.login2 .auth-logo { width: 96px; margin: 6px auto 0; display: block; }
.lcard { position: relative; border: 1px solid var(--card-line); border-radius: 20px; padding: 16px; margin-top: 14px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: opacity .2s; }
.lcard.dim { opacity: .55; }
.lstep { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--navy); font-weight: 800; border-radius: 14px; padding: 6px 14px; }
.lstep svg { width: 22px; height: 22px; }
.lcard p { margin: 10px 0; }
.phone-in { display: flex; align-items: stretch; border: 1.5px solid #D9DDE5; border-radius: 14px; overflow: hidden; height: 58px; margin-bottom: 12px; }
.phone-in input { flex: 1; border: 0 !important; box-shadow: none !important; font-size: 1.1rem !important; }
.phone-in span { display: grid; place-items: center; padding: 0 16px; background: var(--mint); font-weight: 800; direction: ltr; border-inline-start: 1.5px solid #D9DDE5; order: 2; }
.lillu { height: 80px; margin: 10px -16px -16px; background: radial-gradient(ellipse at bottom, var(--mint) 60%, transparent 61%); display: flex; justify-content: center; align-items: flex-end; }
.lillu img { width: 64px; margin-bottom: 8px; }
.lcard.done .lillu { display: none; }
.masked { display: flex; align-items: center; justify-content: space-between; background: var(--bg-soft); border-radius: 14px; padding: 10px 14px; margin: 8px 0 12px; font-weight: 700; }
.otp5 { display: flex; gap: 10px; justify-content: center; margin: 8px 0; }
.otp5 input { width: 54px !important; height: 62px; text-align: center; font-size: 1.5rem !important; font-weight: 800; border-radius: 14px !important; padding: 0 !important; }
.resend { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.resend .link { color: var(--muted); }
.resend .link:not(:disabled) { color: var(--teal); }

/* ---------- حساب من ---------- */
.profile2 { display: flex; align-items: center; gap: 16px; margin: 4px var(--pad) 0; padding: 16px; border-radius: 18px; background: var(--bg-soft); }
.profile2 b { display: block; font-size: 1.3rem; color: var(--navy); }
.profile2 span[dir] { color: #4E5566; }
.avatar.lg { position: relative; width: 84px; height: 84px; border-radius: 50%; background: #CFE9E6; color: var(--navy); display: grid; place-items: center; flex: none; border: 3px solid #fff; }
.avatar.lg > svg { width: 40px; height: 40px; }
.avatar.lg i { position: absolute; bottom: -2px; left: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; border: 2px solid #fff; }
.avatar.lg i svg { width: 15px; height: 15px; }
.member-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px var(--pad) 0; padding: 16px; border-radius: 18px; background: var(--navy); color: #fff; overflow: hidden; }
.member-card::after { content: ""; position: absolute; bottom: -24px; left: -10px; right: -10px; height: 40px; background: var(--teal); border-radius: 50% 50% 0 0; opacity: .9; transform: rotate(-3deg); }
.mc-tier, .mc-pts { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.mc-tier svg { width: 34px; height: 34px; color: var(--gold); }
.mc-tier b, .mc-pts b { display: block; font-size: 1.1rem; }
.mc-tier small, .mc-pts small { opacity: .85; font-size: .78rem; }
.mc-pts { border-inline-start: 1px solid rgba(255, 255, 255, .25); padding-inline-start: 14px; }
.mc-pts > svg:first-child { width: 30px; height: 30px; color: var(--gold); fill: var(--gold); }
.mc-pts > svg:last-child { width: 20px; height: 20px; }
.order-stat { margin: 12px var(--pad); padding: 14px; border: 1px solid var(--card-line); border-radius: 18px; }
.order-stat h2 { margin: 0 0 12px; font-size: 1.1rem; color: var(--navy); }
.order-stat > div { display: grid; grid-template-columns: repeat(4, 1fr); }
.order-stat a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .8rem; }
.order-stat a + a { border-inline-start: 1px solid var(--card-line); }
.os-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.os-ic svg { width: 30px; height: 30px; }
.os-n { min-width: 48px; border-radius: 12px; background: var(--bg-soft); padding: 2px 10px; font-weight: 700; }
.menu2 { list-style: none; margin: 12px var(--pad); padding: 4px 14px; border: 1px solid var(--card-line); border-radius: 18px; }
.menu2 li + li { border-top: 1px solid var(--card-line); }
.menu2 a, .menu2 button, .menu2 .mi { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; font-size: 1rem; text-align: right; }
.menu2 a > span:nth-child(2), .menu2 button > span, .menu2 .mi > span:last-child { flex: 1; }
.mi-ic { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--navy); display: grid; place-items: center; flex: none; }
.mi-ic svg { width: 22px; height: 22px; }
.mi-ic.dotted::after { content: ""; position: absolute; top: -2px; left: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.menu2 .chev { width: 20px; height: 20px; color: var(--ink); }
.menu2 button > svg:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint); }
.menu2 small { white-space: nowrap; }
.seller-banner { display: flex; align-items: center; gap: 12px; margin: 12px var(--pad); padding: 16px; border-radius: 18px; background: linear-gradient(90deg, #F2FBFA, var(--mint)); }
.seller-banner div { flex: 1; display: flex; flex-direction: column; }
.seller-banner b { font-size: 1.15rem; color: var(--navy); }
.seller-banner small { color: #4E5566; font-size: .8rem; }
.seller-banner .btn { margin: 0; white-space: nowrap; }
.auth-cta { padding: 20px var(--pad); text-align: center; }

/* ---------- سفارش‌ها ---------- */
.pill-tabs { gap: 8px; padding: 10px var(--pad); }
.pill-tabs a, .pill-tabs button { flex: none; min-height: 44px; padding: 0 22px; border-radius: 22px; background: var(--bg-soft); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.pill-tabs .on { background: var(--navy); color: #fff; }
.pill-tabs svg { width: 20px; height: 20px; }
.order-cards { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; flex-direction: column; gap: 12px; }
.oc { border: 1px solid var(--card-line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.oc-head { display: flex; justify-content: space-between; gap: 8px; }
.oc-head b, .oc-head small { display: flex; align-items: center; gap: 6px; }
.oc-head b svg, .oc-head small svg { width: 20px; height: 20px; color: var(--muted); }
.oc-head b { font-size: 1.05rem; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 18px; padding: 4px 14px; font-weight: 700; font-size: .85rem; white-space: nowrap; align-self: flex-start; background: #E4F4FA; color: #0E6A80; }
.st-pill svg { width: 20px; height: 20px; }
.st-pill.ok { background: #E8F7EE; color: var(--green); }
.st-pill.bad { background: #FDECEA; color: var(--red); }
.st-pill.warn { background: #FFF4D6; color: #8A5A00; }
.st-pill.ship { background: #DDF5EA; color: #0F7A4A; }
.st-pill.muted { background: #EEF0F3; color: var(--muted); }
.st-pill.sm { font-size: .75rem; padding: 2px 10px; }
.st-pill.sm svg { width: 15px; height: 15px; }
.oc-mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; }
.thumbs3 { display: flex; gap: 8px; }
.thumbs3 img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: #F4F5F8; }
.oc-sum { display: flex; flex-direction: column; border-inline-start: 1px solid var(--card-line); padding-inline-start: 12px; }
.oc-sum b { font-size: 1.1rem; white-space: nowrap; }
.oc-acts { display: flex; gap: 10px; }
.oc-acts .btn { flex: 1; margin: 0; min-height: 46px; border-radius: 12px; }
.oc-acts .btn.ghost { border-color: var(--navy); }
.od-top { margin-top: 4px; }
.od-no { display: flex; align-items: center; gap: 10px; }
.od-no > svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--bg-soft); }
.od-no div { display: flex; flex-direction: column; }
.od-no b { font-size: 1.15rem; }
.track-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; margin: 10px var(--pad); padding: 14px; border: 1px solid var(--card-line); border-radius: 18px; }
.vtl { list-style: none; margin: 0; padding: 0 22px 0 0; position: relative; }
.vtl::before { content: ""; position: absolute; right: 9px; top: 10px; bottom: 10px; width: 3px; background: #E3E6EB; }
.vtl li { position: relative; display: flex; flex-direction: column; padding: 4px 8px 10px 0; font-size: .85rem; }
.vtl li::before { content: ""; position: absolute; right: -22px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2.5px solid #C9CDD5; box-sizing: border-box; }
.vtl li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--green); }
.vtl li.cur { background: var(--mint); border-radius: 12px; padding-inline-end: 8px; }
.vtl li.cur::before { border-color: var(--teal); background: radial-gradient(circle, var(--navy) 35%, #fff 38%); border-width: 3px; }
.vtl li small { color: var(--muted); font-size: .72rem; }
.tc-ill { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.tc-ill > svg { width: 88px; height: 88px; padding: 18px; border-radius: 50%; background: var(--mint); color: var(--navy); }
.tc-ill b { font-size: 1rem; line-height: 1.6; }
.trk-row { display: flex; align-items: center; gap: 10px; margin: 10px var(--pad); padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 16px; }
.trk-row div { flex: 1; display: flex; flex-direction: column; }
.trk-row b { font-size: 1.2rem; letter-spacing: 1px; }
.trk-row .btn { margin: 0; }
.return-banner { display: flex; gap: 12px; align-items: center; margin: 10px var(--pad); padding: 14px; background: #FFF8E6; border: 1px solid #F6E3B4; border-radius: 16px; }
.return-banner > svg { width: 38px; height: 38px; color: #C88A12; flex: none; }
.return-banner div { display: flex; flex-direction: column; }
.return-banner b { color: #8A5A00; }
.return-banner small { font-size: .8rem; line-height: 1.7; }
.od-ship + .od-ship { border-top: 6px solid var(--bg-soft); padding-top: 6px; }
.hsteps { list-style: none; display: flex; margin: 4px 0; padding: 8px var(--pad); }
.hsteps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: .8rem; color: var(--muted); }
.hsteps li::before { content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 3px; background: #E3E6EB; }
.hsteps li:first-child::before { display: none; }
.hsteps i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid #C9CDD5; }
.hsteps .cur i { border-color: var(--teal); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 14px var(--teal); }
.hsteps .cur span { color: var(--teal); font-weight: 800; }
.hsteps .done i { background: var(--teal); border-color: var(--teal); }
.hsteps.sm { padding: 6px 0; }
.ret-pick { display: flex; align-items: center; gap: 10px; border: 1px solid var(--card-line); border-radius: 14px; padding: 10px; margin-bottom: 10px; }
.ret-pick input[type=checkbox] { width: 26px; height: 26px; accent-color: var(--teal); flex: none; }
.ret-pick img { width: 80px; height: 80px; object-fit: contain; border-radius: 12px; background: #F4F5F8; }
.ret-pick > span:not(.qty-sel) { flex: 1; display: flex; flex-direction: column; }
.qty-sel { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .78rem; }
.qty-sel select { width: 78px; min-height: 40px !important; }
.ta-count { position: relative; }
.ta-count small { position: absolute; bottom: 8px; left: 12px; color: var(--muted); }
.photo-slots { display: flex; gap: 10px; justify-content: center; }
.slot { flex: 0 1 110px; height: 100px; border: 2px dashed #C9CDD5; border-radius: 14px; display: grid; place-items: center; cursor: pointer; background-size: cover; background-position: center; }
.slot span { display: flex; flex-direction: column; align-items: center; font-size: .8rem; color: #4E5566; }
.slot span svg { width: 28px; height: 28px; color: var(--teal); }
.slot.has span { display: none; }
.slot.has { border-style: solid; border-color: var(--teal); }
.slot:focus-within { outline: 2px solid var(--teal); }

/* ---------- نشانی‌ها ---------- */
.addr-card { margin: 10px var(--pad); padding: 14px; border: 1.5px solid var(--card-line); border-radius: 18px; }
.addr-card.on { border-color: var(--teal); border-width: 2px; }
.ac-head { display: flex; align-items: center; gap: 10px; }
.ac-head b { font-size: 1.1rem; }
.ac-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--navy); display: grid; place-items: center; }
.ac-ic svg { width: 26px; height: 26px; }
.ac-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; font-size: .9rem; line-height: 1.7; }
.ac-line svg { width: 18px; height: 18px; flex: none; }
.ac-acts { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--card-line); margin-top: 8px; padding-top: 10px; flex-wrap: wrap; }
.ac-acts .chip { margin-inline-end: auto; }

/* ---------- پیام‌ها ---------- */
.day-sep { display: flex; align-items: center; gap: 10px; margin: 14px var(--pad) 6px; font-size: .95rem; color: var(--navy); }
.day-sep::after { content: ""; flex: 1; height: 1px; background: var(--card-line); }
.ncard { display: flex; gap: 10px; margin: 8px var(--pad); padding: 12px; border: 1px solid var(--card-line); border-radius: 16px; }
.ncard.unread { background: #F2FAFA; border-color: #CFEDE9; }
.nc-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }
.nc-ic svg { width: 28px; height: 28px; }
.nc-body { flex: 1; min-width: 0; }
.nc-body b { display: block; }
.nc-body p { margin: 4px 0 0; font-size: .85rem; color: #4E5566; line-height: 1.7; }
.nc-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.nc-side small { display: inline-flex; align-items: center; gap: 4px; }
.nc-side small svg { width: 16px; height: 16px; }
.udot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.nc-side .btn { margin: 0; white-space: nowrap; }

/* ---------- امتیازها ---------- */
.club-hero { position: relative; margin: 10px var(--pad); padding: 18px; border-radius: 20px; background: radial-gradient(circle at 10% 20%, #23407F, var(--navy) 60%); color: #fff; overflow: hidden; }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ch-top > i { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .2); }
.ch-pts { display: flex; align-items: center; gap: 10px; }
.ch-pts > svg { width: 46px; height: 46px; color: var(--gold); }
.ch-pts b { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1.1; }
.ch-tier { display: flex; flex-direction: column; align-items: flex-start; }
.ch-tier b { display: flex; align-items: center; gap: 6px; font-size: 1.2rem; color: var(--gold); }
.ch-tier b svg { width: 26px; height: 26px; fill: var(--gold); }
.ch-tier span { font-size: .82rem; opacity: .85; }
.ch-prog { margin-top: 16px; font-size: .85rem; position: relative; }
.ch-prog .bar { height: 12px; border-radius: 6px; background: #8E9AB8; overflow: hidden; margin: 8px 0 0 44px; }
.ch-prog .bar b { display: block; height: 100%; background: var(--teal); border-radius: 6px; }
.ch-prog .pct { position: absolute; left: 0; bottom: -2px; font-weight: 800; }
.club-hero.wallet .ch-pts b { font-size: 2rem; }
.earn { margin: 10px var(--pad); padding: 12px; border-radius: 18px; background: var(--bg-soft); }
.earn .sec-title { margin-top: 2px; }
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.earn-grid > div { background: #fff; border-radius: 14px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.earn-grid span svg { width: 34px; height: 34px; color: var(--teal); }
.earn-grid b { color: var(--navy); font-size: .92rem; }
.earn-grid small { color: #4E5566; font-size: .74rem; line-height: 1.6; }
.ref-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; background: #fff; border-radius: 12px; padding: 8px 10px; font-size: .85rem; }
.ref-box .btn { margin: 0; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--card-line); border-radius: 16px; overflow: hidden; margin-bottom: 10px; }
.tk-val { background: var(--teal); color: #fff; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 16px; min-width: 96px;
  -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) 0 0/100% 14px; mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) 0 0/100% 14px; }
.tk-val b { font-size: 1.7rem; font-weight: 900; line-height: 1.1; }
.tk-info { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; }
.tk-info span { display: flex; align-items: center; gap: 6px; }
.tk-info svg { width: 18px; height: 18px; }
.tk-code { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-inline-end: 12px; border-inline-start: 1px solid var(--card-line); padding-inline-start: 12px; }
.tk-code b { background: var(--bg-soft); border-radius: 10px; padding: 4px 12px; letter-spacing: .5px; }
.tk-code .btn { margin: 0; color: var(--teal); border-color: var(--teal); }
.ledger { padding: 4px 14px; }
.lg-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; min-height: 52px; border-top: 1px solid var(--card-line); font-size: .9rem; }
.lg-row:first-child { border-top: 0; }
.lg-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.lg-ic svg { width: 20px; height: 20px; }
.lg-row > b:last-child { font-size: 1.05rem; direction: ltr; }

/* ---------- تنظیمات ---------- */
.set-card { display: block; width: calc(100% - 2 * var(--pad)); margin: 10px var(--pad); padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 16px; text-align: right; background: #fff; }
.set-card h2 { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; font-size: 1.05rem; color: var(--navy); }
.set-card h2 svg { width: 24px; height: 24px; }
.set-card.prof { display: flex; align-items: center; gap: 12px; background: #F2FAFA; }
.set-card.prof > div { flex: 1; }
.set-card.prof p { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-size: .9rem; }
.set-card.prof p svg, .set-card.prof .link svg { width: 18px; height: 18px; }
.set-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; border-top: 1px solid var(--card-line); font-size: .95rem; text-align: right; position: relative; }
.set-card h2 + .set-row { border-top: 0; }
.set-row > svg:first-child { width: 22px; height: 22px; color: var(--navy); flex: none; }
.set-row > span:nth-child(2) { flex: 1; }
.set-row .chev { width: 18px; height: 18px; }
.switch { position: relative; display: inline-flex; }
.tagv { background: var(--mint); border-radius: 12px; padding: 2px 14px; font-size: .82rem; }
.set-card.clear { display: flex; align-items: center; gap: 10px; border-color: var(--teal); min-height: 58px; }
.set-card.clear span { flex: 1; font-weight: 700; }
.set-card.clear svg { width: 24px; height: 24px; }
.set-card.logout { display: flex; align-items: center; gap: 10px; background: #FDECEA; border-color: #F6C9C3; color: var(--red); font-weight: 800; min-height: 58px; }
.set-card.logout svg { width: 24px; height: 24px; }

/* ---------- پشتیبانی ---------- */
.support-hero { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 4px var(--pad); padding: 18px; border-radius: 20px; background: var(--navy); color: #fff; overflow: hidden; }
.support-hero::before { content: ""; position: absolute; left: -40px; top: -20px; width: 140px; height: 120px; background: var(--teal); border-radius: 0 0 100% 0; transform: rotate(-20deg); opacity: .9; }
.support-hero h1 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.4rem; }
.support-hero h1 svg { width: 30px; height: 30px; }
.support-hero p { margin: 6px 0 0; opacity: .9; }
.sh-ill { position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); flex: none; }
.sh-ill svg { width: 38px; height: 38px; color: var(--teal); }
.quick4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px var(--pad); }
.quick4 a, .quick4 button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--mint); color: var(--navy); font-size: .82rem; text-align: center; }
.quick4 svg:first-child { width: 30px; height: 30px; }
.quick4 svg:last-child { width: 14px; height: 14px; }
.faq-item { border: 1px solid var(--card-line); border-radius: 12px; margin-bottom: 8px; padding: 0 12px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; list-style: none; cursor: pointer; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin: 0 0 12px; color: #4E5566; line-height: 1.9; font-size: .9rem; }
.req-list { padding: 4px 14px; }
.req-list a { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px; min-height: 64px; border-top: 1px solid var(--card-line); }
.req-list a:first-child { border-top: 0; }
.req-list a div { display: flex; flex-direction: column; }
.req-list a > svg { width: 18px; height: 18px; }
.mint-border { border-color: var(--teal); }
.attach { cursor: pointer; }
.hours { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--mint); }
.hours > svg { width: 38px; height: 38px; color: var(--teal); flex: none; }
.hours div { display: flex; flex-direction: column; }
.hours b { color: var(--navy); }

@media (max-width: 360px) {
  .cat-cards { grid-template-columns: 1fr; }
  .earn-grid { grid-template-columns: 1fr; }
  .quick4 { grid-template-columns: 1fr 1fr; }
  .track-card { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr 1fr; }
  .ticket { grid-template-columns: auto 1fr; }
  .tk-code { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; border: 0; border-top: 1px solid var(--card-line); padding: 8px 12px; }
  .cc-pic { flex-basis: 80px; height: 90px; }
  .otp5 input { width: 46px !important; height: 54px; }
  .brand-grid3 { grid-template-columns: 1fr 1fr; }
  .order-stat a { font-size: .7rem; }
  .os-ic { width: 46px; height: 46px; }
  .seller-ship { grid-template-columns: 1fr; }
  .bhead .search.mini { display: none; }
  .club-hero { padding: 14px; }
  .ch-top { gap: 8px; }
  .ch-pts > svg { width: 34px; height: 34px; }
  .ch-pts b { font-size: 1.7rem; }
  .ch-tier b { font-size: 1rem; }
  .ss-cell + .ss-cell { border-inline-start: 0; border-top: 1px solid var(--card-line); }
}

/* ---------- ظاهر تیره ---------- */
[data-theme=dark] { --ink: #E8ECF4; --muted: #9AA6BD; --line: #26314F; --card-line: #2A3557; --bg-soft: #1B2442; --mint: #12343A; --teal-soft: #12343A; --white: #0E1526; color-scheme: dark; }
[data-theme=dark] body, [data-theme=dark] html { background: #0E1526; }
[data-theme=dark] .bhead, [data-theme=dark] .tabbar, [data-theme=dark] .card, [data-theme=dark] .box2, [data-theme=dark] .cart-card, [data-theme=dark] .oc, [data-theme=dark] .set-card,
[data-theme=dark] .wl-card, [data-theme=dark] .scard, [data-theme=dark] .sheet, [data-theme=dark] .fs-foot, [data-theme=dark] .buybar, [data-theme=dark] .phead, [data-theme=dark] .icon-btn.round,
[data-theme=dark] .lcard, [data-theme=dark] .brand-tile, [data-theme=dark] .mini-tile, [data-theme=dark] .sq-btn, [data-theme=dark] .btn.ghost, [data-theme=dark] .sort-select, [data-theme=dark] .addr-pick,
[data-theme=dark] input, [data-theme=dark] select, [data-theme=dark] textarea, [data-theme=dark] .search.outline, [data-theme=dark] .chip, [data-theme=dark] .sticky-row { background: #131C34 !important; color: var(--ink); }
[data-theme=dark] .bh-logo span, [data-theme=dark] h1, [data-theme=dark] h2, [data-theme=dark] h3, [data-theme=dark] .card .price, [data-theme=dark] .sec-title, [data-theme=dark] .cc-txt b { color: #F2F5FA !important; }
[data-theme=dark] .cat-cards a, [data-theme=dark] .profile2, [data-theme=dark] .set-card.prof { background: #172040; }
[data-theme=dark] .tab.active { background: var(--mint); }
.ac-line.nowrap { flex-wrap: nowrap; align-items: flex-start; } .ac-line.nowrap svg { margin-top: 4px; }
.od-top .row-between { flex-wrap: wrap; gap: 8px; } .od-no b { font-size: 1.02rem; direction: ltr; }
[data-theme=dark] .brand span, [data-theme=dark] .pd-price b, [data-theme=dark] .rate-pill, [data-theme=dark] .lstep, [data-theme=dark] .price, [data-theme=dark] .wl-price,
[data-theme=dark] .cc-price b, [data-theme=dark] .sum-row, [data-theme=dark] .bt-en, [data-theme=dark] .rv-avg > b, [data-theme=dark] .acc2 summary b, [data-theme=dark] .bh-mid h1,
[data-theme=dark] .profile2 b, [data-theme=dark] .order-stat h2, [data-theme=dark] .set-card h2, [data-theme=dark] .fs-sec h3, [data-theme=dark] .fs-acc summary, [data-theme=dark] .seg2 button:not(.on),
[data-theme=dark] .sub-cards b, [data-theme=dark] .mi-ic, [data-theme=dark] .ac-ic, [data-theme=dark] .addr-mini b, [data-theme=dark] .ship-opt b, [data-theme=dark] .earn-grid b { color: #EAF0F8 !important; }
[data-theme=dark] .hero h1, [data-theme=dark] .hero h2, [data-theme=dark] .hero h3 { color: var(--navy) !important; }
[data-theme=dark] .earn-grid > div, [data-theme=dark] .ref-box, [data-theme=dark] .sum-box, [data-theme=dark] .rv-card, [data-theme=dark] .qa-card, [data-theme=dark] .addr-card, [data-theme=dark] .ncard { background: #131C34; }
[data-theme=dark] .buybar b, [data-theme=dark] .buybar strong, [data-theme=dark] #buybar b { color: #EAF0F8 !important; }

/* ================= کارت کالا — مطابق «مشخصات طراحی کامپوننت کارت کالا» ================= */
:root { --buy: #14A06B; --buy-d: #0F8A5B; --hot: #E5483D; --skel: #ECEFF3; }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: 8px 8px 10px; box-shadow: 0 2px 10px rgba(20, 41, 90, .05); min-width: 0; }
.card .c-media { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: #F6F7F9; overflow: hidden; }
.card .c-media .img { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; display: block; }
.card .c-media .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.card .fav { position: absolute; z-index: 3; top: 6px; left: 6px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); color: #4B5263; display: grid; place-items: center; }
.card .fav svg { width: 20px; height: 20px; }
.card .fav::before { content: ""; position: absolute; inset: -4px; } /* ناحیهٔ لمس ۴۴ پیکسل */
.card .fav[aria-pressed="true"], .c-fav2[aria-pressed="true"] { color: var(--hot); }
.card .fav[aria-pressed="true"] svg, .c-fav2[aria-pressed="true"] svg { fill: var(--hot); }
.card .off { position: absolute; z-index: 2; top: 8px; right: 8px; background: var(--hot); color: #fff; font-size: .72rem; font-weight: 800; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(229, 72, 61, .3); }
.c-timer { position: absolute; z-index: 2; bottom: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; background: var(--buy-d); color: #fff; border-radius: 999px; padding: 4px 9px; font-size: .74rem; font-weight: 800; direction: ltr; }
.c-timer svg { width: 14px; height: 14px; }
.c-oos { position: absolute; z-index: 2; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(75, 82, 99, .88); color: #fff; border-radius: 999px; padding: 4px 14px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.card.oos .c-media .img img { opacity: .45; filter: grayscale(1); }
.card .card-brand { display: block; margin: 10px 0 0; font-weight: 900; font-size: .8rem; letter-spacing: .3px; color: var(--ink); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .card-title h3, .card.g h3 { margin: 2px 0 4px; font-size: .84rem; font-weight: 600; line-height: 1.6; height: 3.2em; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--ink); }
.card .meta { min-height: 20px; font-size: .76rem; }
.card .rate { margin: 0; font-size: .76rem; color: #4E5566; gap: 3px; }
.card .rate svg { width: 14px; height: 14px; }
.c-colors { display: flex; gap: 6px; margin: 6px 0 2px; }
.c-colors i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.c-low, .c-ship { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; font-size: .74rem; font-weight: 700; }
.c-low { color: var(--hot); } .c-ship { color: var(--buy); }
.c-low svg, .c-ship svg { width: 16px; height: 16px; flex: none; }
.card .prices { display: flex; flex-direction: column; margin-top: 6px; min-height: 2.6em; justify-content: flex-end; }
.card del { color: #9AA0AC; font-size: .74rem; min-height: 0; white-space: nowrap; }
.card .price { color: var(--navy); font-weight: 900; font-size: .98rem; white-space: nowrap; }
.card .price small { font-size: .74rem; font-weight: 700; margin: 0; }
.card .price.hot { color: var(--hot); }
.c-act { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.c-act > button { min-height: 44px; border-radius: 12px; font-weight: 800; font-size: .88rem; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.c-act svg { width: 20px; height: 20px; }
.c-fav2 { width: 44px; flex: none; border: 1.5px solid var(--card-line); background: #fff; color: #4B5263; }
.c-add, .c-addw { flex: 1; background: var(--buy); color: #fff; }
.c-add svg { width: 24px; height: 24px; stroke-width: 2.4; }
.c-add:active, .c-addw:active { background: var(--buy-d); }
.c-out { flex: 1; border: 1.5px solid var(--buy); color: var(--buy); background: #fff; }
.c-step { flex: 1; display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--buy); border-radius: 12px; min-height: 44px; overflow: hidden; }
.c-step button { width: 44px; height: 42px; display: grid; place-items: center; color: var(--buy); }
.c-step button:disabled { color: #B9C2BE; }
.c-step b { font-size: 1.05rem; color: var(--ink); }
.c-step svg { width: 20px; height: 20px; }
/* ردیف افقی صفحهٔ اصلی: کارت فشرده */
.cards .hscroll .card.cmp, .card.cmp { flex: 0 0 158px; max-width: 158px; padding: 8px 8px 10px; }
.card.cmp .card-title h3 { font-size: .8rem; }
.c-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.c-foot .prices { margin: 0; min-height: 0; }
.c-foot .price { font-size: .9rem; }
.card.cmp .add { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--buy); color: #fff; display: grid; place-items: center; flex: none; }
.card.cmp .add svg { width: 22px; height: 22px; stroke-width: 2.4; }
.c-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--navy); color: #fff; font-size: .7rem; font-style: normal; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.c-qty[hidden] { display: none; }
/* در حال بارگذاری */
.c-skel { pointer-events: none; }
.c-skel > i { display: block; height: 12px; border-radius: 6px; margin-top: 10px; }
.c-skel .c-act i { flex: 1; height: 44px; border-radius: 12px; margin: 0; }
.c-skel .c-act i:first-child { flex: 0 0 44px; }
/* علاقه‌مندی */
.wl-tag { position: absolute; z-index: 2; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 3px; border-radius: 999px; padding: 4px 8px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.wl-tag svg { width: 14px; height: 14px; }
.wl-tag.ok { background: #DDF5EA; color: #0F7A4A; }
.wl-tag.down { background: #FDE5E2; color: var(--hot); }
.wl-check { position: absolute; z-index: 3; top: 4px; left: 4px; width: 44px; height: 44px; display: grid; place-items: center; }
.wl-check input { width: 24px; height: 24px; accent-color: var(--buy); }
.wl-act { flex-wrap: wrap; }
.wl-act .c-alert { flex: 1 1 40%; border: 1.5px solid var(--card-line); background: #fff; color: #4E5566; font-size: .76rem; padding: 0 6px; }
.wl-act .c-alert.on { border-color: var(--buy); color: var(--buy); background: #EEF9F4; }
.wl-act .c-addw { flex: 1 1 52%; font-size: .78rem; padding: 0 6px; }
.wl-act .c-addw svg, .wl-act .c-alert svg { width: 16px; height: 16px; }
.wl-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 var(--pad) 8px; padding: 8px 12px; background: var(--bg-soft); border-radius: 12px; font-size: .88rem; }
.wl-bar .btn { margin: 0; }
.grid.wl2 { padding: 10px var(--pad); }
@media (max-width: 360px) {
  .grid { gap: 8px; }
  .card { padding: 6px 6px 8px; }
  .card .price { font-size: .88rem; }
  .card .off { font-size: .66rem; padding: 4px 7px; }
  .c-act { gap: 6px; }
  .c-fav2 { width: 40px; }
  .c-act > button { font-size: .8rem; }
  .wl-act .c-alert, .wl-act .c-addw { flex-basis: 100%; }
}
[data-theme=dark] .card { background: #131C34 !important; border-color: #26314F; box-shadow: none; }
[data-theme=dark] .card .c-media { background: #1B2442; }
[data-theme=dark] .card .fav { background: rgba(19, 28, 52, .9); color: #C9D1E3; }
[data-theme=dark] .c-fav2, [data-theme=dark] .c-out, [data-theme=dark] .wl-act .c-alert { background: #131C34; border-color: #2A3557; color: #C9D1E3; }
[data-theme=dark] .c-out, [data-theme=dark] .c-step { border-color: var(--buy); color: #4FD39C; }
[data-theme=dark] .card .card-brand, [data-theme=dark] .card h3, [data-theme=dark] .c-step b { color: #EAF0F8 !important; }
[data-theme=dark] .card .price.hot { color: #FF7A6E !important; }
[data-theme=dark] .c-qty { border-color: #131C34; }
/* علاقه‌مندی: برچسب و دو دکمه کنار هم در کارت باریک */
.card.wl .wl-tag { top: 8px; right: 6px; max-width: calc(100% - 52px); overflow: hidden; text-overflow: ellipsis; font-size: .64rem; padding: 3px 7px; }
.card.wl .wl-tag svg { width: 12px; height: 12px; }
.card.wl .fav { width: 34px; height: 34px; }
.wl-act { flex-wrap: nowrap; gap: 6px; }
.wl-act .c-alert, .wl-act .c-addw { flex: 1 1 0; min-width: 0; white-space: nowrap; font-size: .7rem; gap: 3px; padding: 0 4px; }
.wl-act .c-addw { flex-grow: 1.25; }
@media (max-width: 360px) { .wl-act { flex-wrap: wrap; } .wl-act .c-alert, .wl-act .c-addw { flex-basis: 100%; font-size: .78rem; } }
/* بنر تصویر کامل (متن و دکمه داخل تصویر) */
.slide.full { aspect-ratio: 3 / 2 !important; padding: 0; background: #EEF1F5; }
.slide.full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ================= صفحهٔ دسته‌بندی — طرح ۱۴ کارت با تصویر اختصاصی ================= */
.cats-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px var(--pad) 6px; }
.cats-head .bh-logo img { width: 40px; }
.cats-head .bh-logo span { font-size: 1.45rem; }
.cats-head h1 { margin: 0 0 8px; font-size: 1.55rem; font-weight: 900; color: var(--navy); }
.search.cats-search { width: 100%; height: 50px; border-radius: 16px; background: #EEF8F6; border: 1.5px solid #BFE6E0; }
.search.cats-search:focus-within { border-color: var(--teal); }
.cat-tiles { list-style: none; margin: 0; padding: 10px var(--pad) 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-tiles a { display: flex; flex-direction: column; align-items: center; background: #E6F2EF; border-radius: 18px; overflow: hidden; padding-bottom: 10px; min-height: 44px; }
.cat-tiles a:active { transform: scale(.98); }
.ct-img { display: block; width: 100%; aspect-ratio: 3.15 / 1; }
.ct-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-tiles b { margin-top: 4px; padding: 0 8px; font-size: .98rem; font-weight: 900; color: var(--navy); text-align: center; line-height: 1.5; }
.ct-empty { grid-column: 1 / -1; text-align: center; }
.nb2 { min-height: 56px; }
.navy-band.nb2 > svg { width: 26px; height: 26px; flex: none; }
.nb2 b { flex: 1; }
.nb2 i { width: 64px; }
@media (max-width: 360px) { .cat-tiles { gap: 8px; } .cat-tiles b { font-size: .86rem; } }
[data-theme=dark] .cat-tiles a { background: #E6F2EF; }
[data-theme=dark] .cat-tiles b { color: var(--navy) !important; }
.cats .cat .ph { background: #E6F2EF; }
/* بنر کوچک: متن بالا، تصویر پایین‌چپ بدون هم‌پوشانی با متن */
.mini-banner { min-height: 150px; }
.mini-banner span { max-width: 100%; line-height: 1.6; }
.mini-banner img { width: 52%; height: auto; aspect-ratio: 1.15 / 1; max-height: 52%; border-top-right-radius: 14px; -webkit-mask: linear-gradient(to left, transparent 0, #000 22%); mask: linear-gradient(to left, transparent 0, #000 22%); }
/* دسته‌های محبوب: کادر مربع یکسان، زمینهٔ یک‌رنگ، تصویر کامل وسط‌چین، عنوان‌ها روی یک خط پایه */
.cats .hscroll { align-items: flex-start; }
.cats .cat { flex: 0 0 76px; min-width: 76px; max-width: 76px; }
.cats .cat .ph { aspect-ratio: 1 / 1; border-radius: 16px; background: #E6F2EF; overflow: hidden; }
.cats .cat img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cats .cat span { margin-top: 8px; height: 1.5em; line-height: 1.5em; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ================= سبد خالی ================= */
.ec { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px var(--pad) 24px; animation: ecIn .45s ease both; }
.ec-art { width: min(100%, 340px); }
.ec-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ec h2 { margin: 10px 0 6px; font-size: 1.45rem; font-weight: 900; color: var(--navy); }
.ec > p { margin: 0 0 18px; color: #5A6172; }
.ec-go { width: min(100%, 320px); margin: 0; gap: 10px; }
.ec-go svg { width: 22px; height: 22px; transform: scaleX(-1); }
[dir=rtl] .ec-go svg { transform: none; }
.ec-wish { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 22px; min-height: 44px; padding: 0 12px; color: #3C4456; font-weight: 700; }
.ec-wish svg { width: 22px; height: 22px; }
.ec-quick { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; background: #EAF6F3; border-radius: 18px; padding: 12px 4px; }
.ec-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 64px; justify-content: center; color: var(--navy); font-weight: 700; font-size: .9rem; }
.ec-quick a + a { border-inline-start: 1.5px solid #CFE7E1; }
.ec-quick svg { width: 30px; height: 30px; color: var(--navy); }
.ec-tag { display: flex; align-items: center; gap: 8px; width: 100%; margin: 18px 0 0 !important; color: #5A6172 !important; font-size: .9rem; }
.ec-tag::before, .ec-tag::after { content: ""; flex: 1; height: 1.5px; background: #CFE7E1; }
.ec-tag svg { width: 18px; height: 18px; flex: none; }
/* جلوه: برگ طلایی آرام پایین می‌افتد و سبد ملایم تکان می‌خورد */
.ec-leaf { animation: ecLeaf 5.5s ease-in-out infinite; transform-box: view-box; }
.ec-cart { transform-box: fill-box; transform-origin: 50% 100%; animation: ecCart 5.5s ease-in-out infinite; }
@keyframes ecLeaf {
  0% { transform: translate(176px, 40px) rotate(-20deg); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translate(196px, 74px) rotate(25deg); }
  75% { transform: translate(214px, 110px) rotate(-10deg); opacity: 1; }
  90%, 100% { transform: translate(222px, 128px) rotate(8deg); opacity: 0; }
}
@keyframes ecCart { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-2.5deg); } 82% { transform: rotate(2deg); } 88% { transform: rotate(-1deg); } }
@keyframes ecIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ec-swap > * { animation: ecIn .35s ease both; }
@media (prefers-reduced-motion: reduce) {
  .ec, .ec-leaf, .ec-cart, .ec-swap > * { animation: none; }
  .ec-leaf { transform: translate(214px, 110px) rotate(-10deg); }
}
[data-theme=dark] .ec-quick { background: #16233F; }
[data-theme=dark] .ec-quick svg, [data-theme=dark] .ec-quick a { color: #EAF0F8; }
[data-theme=dark] .ec-wish { color: #C9D1E3; }
.ec-art svg { stroke: none; fill: none; }
.ec-go svg { transform: none !important; }

/* ---------------------------------------------------------------- حساب من (مهمان) — طرح جدید */
.ag-hero { display: grid; grid-template-columns: 1fr minmax(0, 44%); align-items: center; gap: 4px 8px; margin: 6px var(--pad) 18px; padding: 18px 16px 16px; border-radius: 22px;
  background: linear-gradient(115deg, #D4F3EC 0%, #E3F7F2 45%, #EEFAF8 100%); box-shadow: 0 10px 24px -14px rgba(16, 120, 110, .35); }
.ag-txt h2 { margin: 0; font-size: 1.3rem; font-weight: 900; color: var(--navy); line-height: 1.5; }
.ag-swash { display: block; width: 74px; height: 9px; margin: 4px 0 8px; border-top: 3px solid #F5B536; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(-4deg); }
.ag-txt p { margin: 0; color: #4E5566; font-size: .88rem; line-height: 1.9; }
.ag-art { width: 100%; height: auto; max-width: 150px; justify-self: center; }
.ag-login { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 8px; border-radius: 16px; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.ag-login:active { filter: brightness(.94); }
.ag-feat { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 calc(var(--pad) - 4px) 18px; }
.ag-feat a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2px 6px; color: inherit; text-decoration: none; min-width: 0; }
.ag-feat a + a { border-inline-start: 1px solid var(--card-line); }
.ag-fimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 66px; margin-bottom: 6px; }
.ag-fimg img { max-width: 92px; max-height: 64px; width: auto; height: auto; }
.ag-feat b { font-size: .92rem; font-weight: 800; color: var(--navy); }
.ag-feat small { margin-top: 2px; font-size: .74rem; line-height: 1.7; color: var(--muted); }
.ag-h { display: flex; align-items: center; gap: 8px; margin: 0 var(--pad) 10px; font-size: 1.12rem; font-weight: 900; color: var(--navy); }
.ag-h::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: #F5B536; }
.ag-list { list-style: none; margin: 0 var(--pad) 18px; padding: 0; display: grid; gap: 10px; }
.ag-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; border: 1px solid var(--card-line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 2px 8px -6px rgba(20, 30, 60, .25); }
.ag-tile { flex: 0 0 auto; width: 74px; height: 54px; border-radius: 12px; object-fit: cover; }
.ag-st { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ag-st b { font-size: .98rem; font-weight: 800; color: var(--navy); }
.ag-st small { font-size: .78rem; color: var(--muted); line-height: 1.7; }
.ag-list .chev { width: 22px; height: 22px; color: var(--teal); flex: 0 0 auto; }
.ag-seller { display: flex; align-items: center; gap: 6px; margin: 0 var(--pad) 18px; padding: 14px 14px 14px 8px; border-radius: 22px; overflow: hidden; text-decoration: none;
  background: radial-gradient(120% 140% at 0% 100%, #2A4A80 0%, #1C335E 55%, #182C52 100%); color: #fff; }
.ag-stx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ag-stx b { font-size: 1.12rem; font-weight: 900; line-height: 1.5; }
.ag-stx .ag-swash { margin: 2px 0 4px; width: 60px; }
.ag-stx small { font-size: .8rem; color: #DCE4F2; line-height: 1.7; }
.ag-sbtn { margin-top: 10px; padding: 9px 22px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.ag-seller img { flex: 0 0 auto; width: 40%; max-width: 150px; height: auto; }
@media (max-width: 340px) { .ag-txt h2 { font-size: 1.12rem; } .ag-feat small { font-size: .7rem; } .ag-tile { width: 62px; height: 46px; } }
[data-theme=dark] .ag-hero { background: linear-gradient(115deg, #12343A, #16303F); }
[data-theme=dark] .ag-txt h2, [data-theme=dark] .ag-feat b, [data-theme=dark] .ag-h, [data-theme=dark] .ag-st b { color: #EAF0F8; }
[data-theme=dark] .ag-txt p { color: #C9D1E3; }
[data-theme=dark] .ag-list a { background: #16203A; }
[data-theme=dark] .ag-fimg { background: #EAF4F2; border-radius: 14px; width: 84%; }

/* ---------------------------------------------------------------- صفحهٔ دسته (طرح پوشاک مردانه) */
.cl-title { display: flex; align-items: center; gap: 10px; margin: 10px var(--pad) 2px; font-size: 1.45rem; font-weight: 900; color: var(--navy); }
.cl-title svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.cl-hero { position: relative; display: block; margin: 10px var(--pad) 10px; border-radius: 20px; overflow: hidden; aspect-ratio: 938 / 288; text-decoration: none; }
.cl-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-hero.img { aspect-ratio: auto; } .cl-hero.img img { position: static; height: auto; }
.cl-hero-t { position: absolute; inset-block: 0; inset-inline-start: 0; width: 44%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-inline-start: 16px; }
.cl-hero-t b { font-size: clamp(1.05rem, 5.6vw, 1.55rem); font-weight: 900; line-height: 1.35; color: var(--navy); }
.cl-hero-t .ag-swash { width: 54%; margin: 4px 0 8px; border-top-color: var(--teal); }
.cl-cta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 800; font-size: .82rem; white-space: nowrap; }
.cl-cta svg { width: 16px; height: 16px; }
.cl-tiles { list-style: none; margin: 0 var(--pad) 10px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl-tiles a { position: relative; display: block; aspect-ratio: 2.08 / 1; border-radius: 16px; overflow: hidden; background: #E9E5DF; }
.cl-tiles li:nth-child(n+3) a { aspect-ratio: 2.36 / 1; }
.cl-tiles img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-pill { position: absolute; inset-inline-start: 8px; bottom: 8px; max-width: calc(100% - 16px); display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--navy); font-weight: 800; font-size: .78rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); white-space: nowrap; }
.cl-pill svg { width: 14px; height: 14px; flex: none; }
.cl-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 var(--pad) 14px; }
.cl-styles a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 16px; background: #E4F4F1; color: var(--navy); font-weight: 800; text-decoration: none; }
.cl-styles svg { width: 24px; height: 24px; color: var(--teal); }
.cl-h { display: flex; align-items: center; gap: 8px; margin: 4px var(--pad) 10px; font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.cl-h::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--teal); }
.cl-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 var(--pad) 16px; }
.cl-brands.scroll { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cl-brands.scroll .wm { flex: 0 0 31%; }
.wm { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 6px; border: 1px solid var(--card-line); border-radius: 14px; background: #fff;
  color: var(--navy); font-family: system-ui, "Segoe UI", Arial, sans-serif; font-weight: 800; font-size: .95rem; letter-spacing: .02em; direction: ltr; text-align: center; text-decoration: none; box-shadow: 0 2px 6px -4px rgba(20, 30, 60, .3); }
.cl-subhead { display: flex; align-items: center; justify-content: space-between; margin: 6px var(--pad) 10px; }
.cl-subhead h2 { margin: 0; font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.cl-subhead a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--teal); }
.cl-subhead svg { width: 24px; height: 24px; }
.cl-subs { list-style: none; margin: 0 var(--pad) 14px; padding: 0; display: grid; gap: 8px; }
.cl-subs a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 5px; padding-inline-end: 12px; border: 1px solid var(--card-line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 2px 8px -6px rgba(20, 30, 60, .25); }
.cl-subs img, .cl-noimg { flex: 0 0 auto; width: 34%; max-width: 148px; aspect-ratio: 2.3 / 1; border-radius: 12px; object-fit: cover; background: #DDF3EE; }
.cl-noimg { display: grid; place-items: center; color: var(--teal); }
.cl-noimg svg { width: 30px; height: 30px; }
.cl-st { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl-st b { font-size: 1rem; font-weight: 800; color: var(--navy); }
.cl-st small { color: var(--muted); font-size: .78rem; }
.cl-subs .chev { width: 22px; height: 22px; color: var(--teal); flex: none; }
.cl-size { display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--pad)); margin: 0 var(--pad) 18px; min-height: 56px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.cl-size span { flex: 1; text-align: center; }
.cl-size svg:last-child { width: 34px; height: 34px; color: #fff; }
.cl-size svg:first-child { width: 22px; height: 22px; color: #7FE0D3; }
.sg-tbl { width: 100%; }

/* ---------------------------------------------------------------- فهرست: عنوان، کارت تمام‌عرض، دسته‌های مرتبط */
.ls-title { display: flex; align-items: center; gap: 8px; margin: 6px var(--pad) 2px; font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.ls-title svg { width: 26px; height: 26px; color: var(--teal); }
.ls-title em { font-style: normal; color: var(--teal); }
.list-bar .sort-select { flex: 1 1 58%; min-height: 46px; border-radius: 14px; }
.list-bar .sort-select select { flex: 1; font-weight: 700; }
.list-bar .tool-btn { flex: 1 1 34%; justify-content: center; min-height: 46px; border-radius: 14px; font-weight: 800; }
.grid.one { grid-template-columns: 1fr; }
.card.wide { display: grid; grid-template-columns: 48% 1fr; gap: 12px; align-items: stretch; padding: 10px; }
.card.wide .c-media { margin: 0; height: 100%; min-height: 170px; aspect-ratio: auto; }
.card.wide .w-info { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.card.wide .card-brand { font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
.card.wide .card-title h3 { font-size: 1.02rem; -webkit-line-clamp: 3; }
.card.wide hr { width: 100%; border: 0; border-top: 1px solid var(--card-line); margin: 8px 0; }
.w-colors { display: flex; gap: 8px; margin-bottom: 8px; }
.w-colors i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 2px #fff; }
.card.wide .prices { margin-top: auto; }
.card.wide .price { font-size: 1.12rem; }
.card.wide .c-act { margin-top: 10px; }
.c-out.c-pick { width: 100%; justify-content: center; gap: 4px; background: var(--teal); color: #fff; border-color: var(--teal); font-weight: 800; border-radius: 999px; min-height: 44px; }
.c-out.c-pick svg { width: 16px; height: 16px; }
.ls-h { margin: 18px var(--pad) 10px; font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.ls-rel { gap: 8px; padding-bottom: 4px; }
.ls-rel a { flex: 0 0 31%; min-width: 104px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #EEF0F3; color: var(--navy); text-decoration: none; }
.ls-rel img, .ls-noimg { width: 100%; aspect-ratio: 1.75 / 1; object-fit: cover; display: grid; place-items: center; background: #DDF3EE; color: var(--teal); }
.ls-noimg svg { width: 28px; height: 28px; }
.ls-rel span:last-child { padding: 7px 6px; text-align: center; font-weight: 800; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px var(--pad) 18px; min-height: 50px; border: 1.5px solid var(--teal); border-radius: 16px; color: var(--teal); font-weight: 800; text-decoration: none; }
.ls-all svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- فیلتر (طرح جدید) */
.fsheet.v3 .fs-body { padding-top: 0; }
.fs-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 calc(-1 * var(--pad)) 4px; padding: 10px var(--pad); background: #E4F4F1; }
.fs-sel > span { font-size: .85rem; font-weight: 700; color: var(--navy); margin-inline-end: 4px; }
.fs-sel .chip { background: #CDEDE7; min-height: 34px; }
.fs-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.fs-h h3 { margin: 0 !important; flex: none; }
.fs-h .search.sm { flex: 1; max-width: 62%; min-height: 40px; }
.check-list.b3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; max-height: none; }
.check-list.b3 label { gap: 8px; font-size: .9rem; direction: ltr; justify-content: flex-end; flex-direction: row-reverse; }
.check-list.b3 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-list.b3 input { width: 22px; height: 22px; flex: none; }
.fs-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 700; font-size: .85rem; min-height: 40px; cursor: pointer; }
.fs-link svg { width: 18px; height: 18px; }
.sz-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sz { position: relative; }
.sz input, .swc input, .rt-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sz span { display: grid; place-items: center; min-width: 52px; min-height: 44px; padding: 0 12px; border: 1.5px solid #D9DDE5; border-radius: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.sz input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.sz input:focus-visible + span, .swc input:focus-visible + i, .rt-row input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.sw-row { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.swc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 54px; cursor: pointer; font-size: .82rem; }
.swc i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); }
.swc i svg { width: 20px; height: 20px; color: #fff; stroke-width: 3; opacity: 0; filter: drop-shadow(0 0 1px rgba(0,0,0,.5)); }
.swc input:checked + i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--teal); }
.swc input:checked + i svg { opacity: 1; }
.swc input:checked ~ span { font-weight: 800; color: var(--navy); }
.fs-flags { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px 6px; }
.fs-flags .fs-toggle { border: 0; border-radius: 0; padding: 8px; min-height: 56px; }
.fs-flags .fs-toggle + .fs-toggle { border-inline-start: 1px solid var(--card-line); }
.fs-flags .fs-toggle span { font-size: .84rem; font-weight: 700; color: var(--navy); }
.fs-flags .fs-toggle i { width: 46px; height: 28px; } .fs-flags .fs-toggle i::after { width: 22px; height: 22px; }
.fs-flags .fs-toggle input:checked + i::after { right: 21px; }
.rt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rt-row label { position: relative; }
.rt-row span { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; border: 1.5px solid #D9DDE5; border-radius: 999px; font-size: .86rem; font-weight: 700; cursor: pointer; }
.rt-row span svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); stroke-width: 1; }
.rt-row input:checked + span { background: #E4F4F1; border-color: var(--teal); color: var(--navy); }
@media (max-width: 350px) { .check-list.b3 { grid-template-columns: 1fr 1fr; } .fs-flags { grid-template-columns: 1fr; } .fs-flags .fs-toggle + .fs-toggle { border-inline-start: 0; border-top: 1px solid var(--card-line); } .rt-row span { font-size: .78rem; } }
[data-theme=dark] .cl-title, [data-theme=dark] .cl-h, [data-theme=dark] .cl-subhead h2, [data-theme=dark] .cl-st b, [data-theme=dark] .ls-title, [data-theme=dark] .ls-h, [data-theme=dark] .cl-styles a, [data-theme=dark] .fs-sel > span, [data-theme=dark] .fs-flags .fs-toggle span { color: #EAF0F8; }
[data-theme=dark] .cl-subs a, [data-theme=dark] .wm { background: #16203A; color: #EAF0F8; }
[data-theme=dark] .cl-styles a, [data-theme=dark] .fs-sel, [data-theme=dark] .rt-row input:checked + span { background: #12343A; }
[data-theme=dark] .ls-rel a { background: #16203A; color: #EAF0F8; }
[data-theme=dark] .cl-hero-t b { color: var(--navy); }
.card.wide .card-title { min-height: 0; }
.card.wide .meta { margin-top: 4px; }
.fab-filter[hidden] { display: none; }
.card.wide .card-title h3 { min-height: 0; height: auto; }
.fsheet.v3 .fs-foot { grid-template-columns: 1.7fr 1fr; }
.fsheet.v3 .fs-foot .btn { white-space: nowrap; padding-inline: 10px; }
@media (max-width: 360px) { .cl-hero { aspect-ratio: 2.5 / 1; } .cl-hero img { object-position: left center; } .cl-hero-t { width: 48%; padding-inline-start: 12px; } .cl-hero-t b { font-size: 1rem; } .cl-cta { padding: 5px 10px; font-size: .75rem; } .fsheet.v3 .fs-foot .btn { font-size: .95rem; } }
/* عنوان تنوع‌های چندمحوری (رنگ / حافظه / رم) در سبد: کادر از عرض کارت بیرون نزند */
.var-select { max-width: 100%; min-width: 0; }
.var-select select { min-width: 0; max-width: 100%; flex: 1 1 auto; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: .82rem; }
.var-full { display: block; margin: 2px 0 6px; font-size: .8rem; line-height: 1.7; color: var(--ink); }

/* ---------------------------------------------------------------- صفحهٔ برندها (طرح جدید) */
.letters2 { gap: 6px; padding: 2px var(--pad) 10px; direction: rtl; }
.letters2 button { flex: none; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; border: 0; background: #EEF0F3; color: var(--navy); font-weight: 700; font-family: system-ui, "Segoe UI", Arial, sans-serif; cursor: pointer; }
.letters2 button.on { background: var(--teal); color: #fff; }
#bhs { display: grid; gap: 10px; padding: 0 var(--pad) 6px; }
#bhs[hidden] { display: none; }
.brand-ban { position: relative; display: flex; align-items: stretch; min-height: 112px; aspect-ratio: 3.55 / 1; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--navy);
  background: linear-gradient(110deg, var(--bb) 40%, color-mix(in srgb, var(--bb) 82%, #6FD3C6)); }
.brand-ban.dark { color: #fff; background: linear-gradient(250deg, var(--bb) 45%, color-mix(in srgb, var(--bb) 78%, #1BB3A1)); }
.brand-ban img { position: absolute; inset-block: 0; inset-inline-end: 0; height: 100%; width: auto; max-width: 52%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(to right, #000 72%, transparent); mask-image: linear-gradient(to right, #000 72%, transparent); }
.bb-t { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; width: 56%; padding: 10px 16px; }
.bb-en { font-family: system-ui, "Segoe UI", Arial, sans-serif; font-weight: 900; font-size: clamp(1.15rem, 6vw, 1.6rem); letter-spacing: .14em; text-transform: uppercase; direction: ltr; line-height: 1.2; }
.bb-t > span:not(.bb-cta) { font-size: clamp(.8rem, 3.8vw, .98rem); font-weight: 700; }
.bb-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 800; font-size: .8rem; white-space: nowrap; }
.bb-cta svg { width: 16px; height: 16px; }
.lined-h { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px var(--pad) 2px; font-size: 1.2rem; font-weight: 900; color: var(--navy); }
.lined-h::before, .lined-h::after { content: ""; width: 44px; height: 2px; background: var(--teal); }
.brand-tile .bt-en { font-family: system-ui, "Segoe UI", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; font-size: .98rem; }
.brand-tile { box-shadow: 0 2px 8px -6px rgba(20, 30, 60, .3); }
@media (max-width: 350px) { .bb-t { width: 60%; padding: 8px 12px; } .brand-ban img { max-width: 48%; } .bb-cta { padding: 5px 10px; font-size: .74rem; } }
[data-theme=dark] .letters2 button:not(.on) { background: #16203A; color: #EAF0F8; }
[data-theme=dark] .lined-h { color: #EAF0F8; }
.brand-ban { min-height: 0; aspect-ratio: auto; height: clamp(104px, 30vw, 136px); width: 100%; min-width: 0; }

/* ---------------------------------------------------------------- علاقه‌مندی خالی (طرح تأییدشده) */
.wl-head.is-empty { justify-content: center; }
.wl-head.is-empty #manage, .wl-head.is-empty #wlCount { display: none; }
.wl-head.is-empty h1 { font-size: 1.6rem; }
#wlSort[hidden] { display: none; }
.we { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--pad) 24px; }
.we.ec-in { animation: ecIn .45s ease both; }
.we-art { position: relative; width: min(100%, 340px); aspect-ratio: 320 / 240; margin: 4px auto 6px; }
.we-deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.we-glow { position: absolute; left: 14%; right: 14%; bottom: 2%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(32, 184, 166, .34), rgba(32, 184, 166, .1) 65%, transparent); }
.we-float { position: absolute; left: 13%; right: 9%; top: 6%; animation: weFloat 4.2s ease-in-out infinite; }
.we-beat { position: relative; animation: weBeat 4.2s ease-in-out infinite; transform-origin: 45% 60%; }
.we-heart, .we-branch { display: block; width: 100%; height: auto; }
.we-branch { position: absolute; inset: 0; transform-origin: 44% 97%; animation: weSway 3.6s ease-in-out infinite; }
.we-shine { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 130% 0; animation: weShine 6s ease-in-out infinite; }
.we-tw path { transform-box: fill-box; transform-origin: center; animation: weTw 2.8s ease-in-out infinite; }
.we-tw .d2 { animation-delay: .9s; } .we-tw .d3 { animation-delay: 1.8s; }
.we-mini path { animation: weMini 4.5s ease-in-out infinite; } .we-mini .d2 { animation-delay: 1.5s; }
.we h2 { margin: 6px 0 6px; font-size: 1.4rem; font-weight: 900; color: var(--navy); }
.we > p { margin: 0 0 18px; color: #5A6172; font-size: .92rem; }
.we-deals { display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; color: var(--navy); font-weight: 800; text-decoration: none; }
.we-tip { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: #EAF8F5; text-align: start; }
.we-tip div { flex: 1; display: flex; flex-direction: column; gap: 2px; padding-inline-end: 14px; border-inline-end: 1.5px solid #9FD9CF; }
.we-tip b { font-size: 1rem; font-weight: 900; color: var(--navy); }
.we-tip span { font-size: .84rem; color: #5A6172; line-height: 1.8; }
.we-tip img { width: 58px; height: auto; flex: none; transform-origin: 50% 8%; animation: weBell 5s ease-in-out infinite; }
@keyframes weFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes weBeat { 0%, 60%, 100% { transform: scale(1); } 66% { transform: scale(1.035); } 72% { transform: scale(1); } 78% { transform: scale(1.022); } 84% { transform: scale(1); } }
@keyframes weSway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg); } }
@keyframes weShine { 0%, 55% { background-position: 130% 0; } 85%, 100% { background-position: -30% 0; } }
@keyframes weTw { 0%, 100% { transform: scale(.7); opacity: .55; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes weMini { 0%, 100% { transform: translateY(0); opacity: .85; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes weBell { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(10deg); } 88% { transform: rotate(-8deg); } 92% { transform: rotate(5deg); } 96% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .we-float, .we-beat, .we-branch, .we-shine, .we-tw path, .we-mini path, .we-tip img, .we.ec-in { animation: none !important; } }
[data-theme=dark] .we h2, [data-theme=dark] .we-deals, [data-theme=dark] .we-tip b { color: #EAF0F8; }
[data-theme=dark] .we > p, [data-theme=dark] .we-tip span { color: #C9D1E3; }
[data-theme=dark] .we-tip { background: #12343A; }
[data-theme=dark] .we-mini { fill: #0E1526; }
.we-deco { stroke: none; }

/* ---------------------------------------------------------------- ورود دومرحله‌ای (طرح تأییدشده) */
.lg { padding: 6px var(--pad) 28px; max-width: 520px; margin: 0 auto; }
.lg-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lg-step[hidden] { display: none; }
.lg-step.lg-in { animation: ecIn .35s ease both; }
.lg-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; width: 100%; min-height: 64px; }
.lg-top .icon-btn { color: var(--navy); } .lg-top .icon-btn svg { width: 28px; height: 28px; }
.lg-brand { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.lg-brand img { width: 64px; height: auto; }
.lg-brand b { margin-top: -2px; font-size: 1.35rem; font-weight: 900; color: var(--navy); }
.lg-help { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--teal); font-weight: 800; font-size: .88rem; text-decoration: none; }
.lg-help svg { width: 22px; height: 22px; }
.lg-step > .lg-top + .lg-h { margin-top: 30px; }
.lg-h { margin: 6px 0 4px; font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.lg-sub { margin: 0 0 6px; color: #5A6172; font-size: .95rem; }
.lg-art { width: min(82%, 330px); height: auto; margin: 4px auto 2px; }
.lg-art.sm { width: min(70%, 280px); margin-top: 26px; }
.lg-pill { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; margin: 6px 0 10px; }
.lg-pill span { padding: 5px 16px; border-radius: 999px; background: #E4F4F1; color: var(--navy); font-weight: 800; font-size: .88rem; }
.lg-pill em { font-style: normal; color: var(--teal); }
.lg-pill::before, .lg-pill::after { content: ""; width: 56px; height: 2px; background: #9FD9CF; border-radius: 2px; }
.lg-pill.gold::before, .lg-pill.gold::after { background: #F2B84B; width: 40px; }
.lg form { width: 100%; text-align: start; }
.lg-label { display: block; margin: 4px 4px 8px; font-weight: 800; color: var(--navy); }
.lg-phone { height: 58px; border-radius: 16px; margin-bottom: 6px; }
.lg-phone input { font-size: 1.15rem !important; letter-spacing: .04em; }
.lg-btn { margin-top: 8px; border-radius: 16px; min-height: 56px; font-size: 1.1rem; }
.lg-btn:disabled { background: #BFE6DF; color: #4E8F86; opacity: 1; }
.lg-terms { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 4px; font-size: .92rem; }
.lg-terms input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }
.lg-terms a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lg-safe { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 4px; padding: 8px 16px; border-radius: 999px; background: #EEF5F3; color: #4E5566; font-size: .84rem; }
.lg-safe svg { width: 20px; height: 20px; color: #E0A526; flex: none; }
.lg-guest { margin-top: 10px; min-height: 44px; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
.lg-num { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 12px 0 10px; padding: 12px 16px; border-radius: 18px; background: #EEF7F5; }
.lg-num b { font-size: 1.15rem; font-weight: 900; color: var(--navy); letter-spacing: .04em; }
.lg-num .link { display: inline-flex; align-items: center; gap: 6px; padding-inline-start: 12px; border-inline-start: 1.5px solid #C9D1DC; color: var(--teal); font-weight: 800; }
.lg-num .link svg { width: 18px; height: 18px; }
.lg .otp5 { gap: 10px; margin: 6px 0; }
.lg .otp5 input { flex: 1 1 0; width: auto !important; max-width: 64px; height: 64px; border: 1.5px solid #DADFE7 !important; box-shadow: 0 2px 8px -6px rgba(20, 30, 60, .3); background: #fff; color: var(--navy); }
.lg .otp5 input:focus { border-color: var(--teal) !important; outline: none; box-shadow: 0 0 0 3px rgba(32, 184, 166, .18); }
.lg-resend { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 4px; min-height: 64px; color: #5A6172; }
.lg-resend [hidden] { display: none !important; }
.lg-ring { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding-inline-start: 14px; border-inline-start: 1.5px solid #C9D1DC; box-sizing: content-box; }
.lg-ring svg { position: absolute; inset-block: 0; inset-inline-end: 0; width: 60px; height: 60px; transform: rotate(-90deg); fill: none; stroke-width: 5; }
.lg-ring circle { stroke: #DDF3EE; } .lg-ring circle.p { stroke: var(--teal); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.lg-ring b { position: relative; color: var(--teal); font-size: .9rem; font-weight: 900; }
.lg-help2 { display: flex; flex-direction: column; gap: 2px; margin: 14px 0 0; }
.lg-help2 b { color: var(--teal); font-weight: 900; }
.lg-help2 span { color: #6B7280; font-size: .86rem; }
.lg #dev { width: 100%; text-align: start; }
@media (max-width: 350px) { .lg-h { font-size: 1.3rem; } .lg .otp5 { gap: 6px; } .lg .otp5 input { height: 56px; } .lg-num { padding: 10px 12px; } .lg-num b { font-size: 1rem; } .lg-terms { font-size: .84rem; } }
@media (prefers-reduced-motion: reduce) { .lg-step.lg-in { animation: none; } }
[data-theme=dark] .lg-h, [data-theme=dark] .lg-label, [data-theme=dark] .lg-brand b, [data-theme=dark] .lg-num b, [data-theme=dark] .lg-pill span, [data-theme=dark] .lg-top .icon-btn { color: #EAF0F8; }
[data-theme=dark] .lg-num, [data-theme=dark] .lg-safe, [data-theme=dark] .lg-pill span { background: #12343A; }
[data-theme=dark] .lg .otp5 input { background: #16203A; color: #EAF0F8; }
[data-theme=dark] .lg-sub, [data-theme=dark] .lg-safe, [data-theme=dark] .lg-help2 span { color: #C9D1E3; }
.lg-top { min-height: 108px; }
.lg-step > .lg-top + .lg-h { margin-top: 4px; }
.lg-art.sm { margin-top: 0; }
.lg .otp5 input { min-width: 0; }
.lg-ring { padding: 0; border: 0; }
.lg-ring svg { inset: 0; }
#rsT { padding-inline-end: 14px; border-inline-end: 1.5px solid #C9D1DC; line-height: 2.4; }
@media (max-width: 350px) { .lg .otp5 input { width: auto !important; height: 54px; } }

/* ---------------------------------------------------------------- تحویل: نوبت، نقطهٔ برداشت، خدمات، رهگیری (پیش از طرح نهایی) */
.ship-opt small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.slot-box, .pk-box, .sv-box { margin: 12px 0; padding: 14px; border: 1px solid var(--card-line); border-radius: 18px; background: #fff; }
.slot-box h3, .pk-box h3, .sv-box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1rem; color: var(--navy); }
.slot-box h3 svg, .pk-box h3 svg, .sv-box h3 svg { width: 20px; height: 20px; color: var(--teal); }
.slot-days { gap: 8px; padding-bottom: 4px; }
.sd { flex: 0 0 auto; min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border: 1.5px solid #DADFE7; border-radius: 14px; background: #fff; font: inherit; color: var(--navy); cursor: pointer; }
.sd b { font-size: .88rem; } .sd span { font-size: .76rem; color: var(--muted); } .sd small { font-size: .68rem; color: var(--coral, #E5483D); }
.sd.on { border-color: var(--teal); background: #E4F4F1; } .sd:disabled { opacity: .45; cursor: not-allowed; }
.slot-wins { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; padding: 6px; border: 1.5px solid #DADFE7; border-radius: 14px; background: #fff; font: inherit; color: var(--navy); cursor: pointer; }
.sw b { font-size: .86rem; } .sw small { font-size: .72rem; color: var(--muted); }
.sw.on { border-color: var(--teal); background: var(--teal); color: #fff; } .sw.on small { color: #E4F4F1; }
.sw:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.slot-sel { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .86rem; color: var(--navy); }
.slot-sel svg { width: 18px; height: 18px; color: var(--teal); }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid #DADFE7; border-radius: 14px; cursor: pointer; }
.pk.on { border-color: var(--teal); background: #F1FAF8; }
.pk input { width: 20px; height: 20px; accent-color: var(--teal); flex: none; }
.pk-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #E4F4F1; color: var(--teal); flex: none; } .pk-ic svg { width: 22px; height: 22px; }
.pk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pk-t b { color: var(--navy); font-size: .92rem; } .pk-t small { color: var(--muted); font-size: .76rem; line-height: 1.7; }
.pk-map { display: grid; place-items: center; width: 40px; height: 40px; color: var(--teal); flex: none; } .pk-map svg { width: 22px; height: 22px; }
.sv-item + .sv-item { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--card-line); }
.sv-p { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .sv-p img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #F4F6F8; } .sv-p b { font-size: .88rem; color: var(--navy); }
.sv { display: flex; align-items: center; gap: 10px; padding: 8px 4px; cursor: pointer; }
.sv input { width: 22px; height: 22px; accent-color: var(--teal); flex: none; }
.sv span { flex: 1; display: flex; flex-direction: column; } .sv span b { font-size: .88rem; } .sv span small { color: var(--muted); font-size: .76rem; line-height: 1.7; }
.sv em { font-style: normal; font-weight: 800; color: var(--navy); font-size: .86rem; white-space: nowrap; }
.sv-total { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .88rem; } .sv-total svg { width: 18px; height: 18px; color: var(--teal); }
.dd-banner { display: flex; align-items: center; gap: 12px; margin: 10px 0; padding: 12px 14px; border-radius: 16px; background: var(--teal); color: #fff; }
.dd-banner svg { width: 30px; height: 30px; flex: none; } .dd-banner div { display: flex; flex-direction: column; } .dd-banner small { opacity: .9; }
.dl-box h3 { display: flex; align-items: center; gap: 8px; } .dl-slot { margin: 6px 0 2px; color: var(--navy); }
.dl-pk { display: flex; flex-direction: column; margin: 6px 0; } .dl-pk small { color: var(--muted); }
.pk-code { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 8px 0; padding: 10px; border: 1.5px dashed #9FD9CF; border-radius: 14px; text-align: center; }
.pk-code b { font-size: 1.6rem; letter-spacing: .3em; color: var(--navy); } .pk-code small { color: var(--muted); }
.pk-code.ready { background: #E4F4F1; border-style: solid; border-color: var(--teal); }
.ev-list { list-style: none; margin: 6px 0 0; padding: 0; border-inline-start: 2px solid #DDF3EE; }
.ev-list li { position: relative; display: flex; flex-direction: column; padding: 0 16px 12px; }
.ev-list li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #C9EDE6; }
.ev-list li.now::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(32, 184, 166, .2); }
.ev-list b { font-size: .88rem; color: var(--navy); } .ev-list small { color: var(--muted); font-size: .76rem; }
[data-theme=dark] .slot-box, [data-theme=dark] .pk-box, [data-theme=dark] .sv-box, [data-theme=dark] .sd, [data-theme=dark] .sw { background: #16203A; color: #EAF0F8; }

/* ---------------------------------------------------------------- تحویل — طرح نهایی (روش ارسال، نوبت، نقطهٔ برداشت، خدمات) */
.dv-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 1.05rem; font-weight: 900; color: var(--navy); }
.dv-h svg { width: 22px; height: 22px; color: var(--teal); }
.dm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dm { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid #DADFE7; border-radius: 16px; background: #fff; cursor: pointer; }
.dm input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dm.on { border-color: var(--teal); background: #F1FAF8; box-shadow: 0 4px 14px -10px rgba(32, 184, 166, .7); }
.dm:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.dm.off { cursor: not-allowed; background: #F6F7F9; }
.dm.off .dm-art, .dm.off .dm-t { opacity: .55; }
.dm-art { width: 64px; height: 48px; object-fit: contain; flex: none; }
.dm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dm-t b { font-size: .98rem; font-weight: 900; color: var(--navy); }
.dm-t small { color: #5A6172; font-size: .8rem; line-height: 1.6; }
.dm-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: .8rem; color: #4E5566; }
.dm-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.dm-meta svg { width: 16px; height: 16px; color: #8A93A3; }
.dm-meta i { width: 1px; height: 14px; background: #D5DAE2; }
.dm-meta .free { color: #15A05A; font-weight: 800; }
.dm-radio { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #B9C1CD; border-radius: 50%; color: transparent; }
.dm-radio svg { width: 16px; height: 16px; stroke-width: 3; }
.dm.on .dm-radio { border-color: var(--teal); background: var(--teal); color: #fff; }
.dm-off { position: absolute; top: 8px; inset-inline-end: 12px; padding: 2px 10px; border-radius: 999px; background: #E6E9EE; color: #5A6172; font-size: .72rem; }
.dv-note { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 14px; border-radius: 14px; background: #E1F5EC; color: #1F5F49; font-size: .85rem; line-height: 1.7; }
.dv-note svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.dv-note.info { background: #EDF6F8; color: #3E4A5C; }
.sl-days-wrap { display: flex; align-items: center; gap: 4px; }
.sl-days-wrap .slot-days { flex: 1; min-width: 0; scroll-behavior: smooth; }
.sl-arr { flex: none; display: grid; place-items: center; width: 28px; height: 44px; border: 0; background: none; color: #8A93A3; cursor: pointer; }
.sl-arr svg { width: 20px; height: 20px; }
.sd { min-width: 82px; min-height: 66px; justify-content: center; border-radius: 14px; }
.sd b { font-size: .92rem; } .sd span { font-size: .86rem; color: var(--navy); }
.sd.on { background: var(--teal); border-color: var(--teal); color: #fff; } .sd.on span { color: #fff; }
.sd:disabled { background: #EEF0F3; opacity: 1; color: #9AA2AE; } .sd:disabled span { color: #9AA2AE; }
.sd small { margin-top: 2px; padding: 0 8px; border-radius: 999px; background: #9AA2AE; color: #fff; font-size: .66rem; }
.slot-wins { grid-template-columns: repeat(3, 1fr); }
.sw { min-height: 60px; justify-content: center; border-radius: 14px; }
.sw b { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 900; }
.sw b svg { width: 18px; height: 18px; stroke-width: 3; }
.sw .pill { margin-top: 4px; padding: 1px 8px; border-radius: 999px; font-size: .68rem; }
.sw.few { border-color: #F2B84B; background: #FFF8E8; } .sw.few .pill { background: #F7D27C; color: #6B4B00; }
.sw:disabled { background: #EEF0F3; text-decoration: none; opacity: 1; color: #9AA2AE; } .sw:disabled b { text-decoration: line-through; } .sw:disabled .pill { background: #9AA2AE; color: #fff; }
.slot-sel { justify-content: center; margin: 12px 0 0; padding: 12px; border-radius: 14px; background: #F3F5F8; color: #5A6172; font-weight: 700; }
.slot-sel.ok { background: #E1F5EC; color: #146C43; }
.slot-sel.ok svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #15A05A; color: #fff; stroke-width: 3; }
.pk-list { gap: 10px; }
.pk { position: relative; gap: 12px; padding: 10px; border-radius: 16px; background: #fff; }
.pk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.pk-dot { flex: none; width: 24px; height: 24px; border: 2px solid #B9C1CD; border-radius: 50%; }
.pk.on .pk-dot { border-color: var(--teal); box-shadow: inset 0 0 0 4px #fff; background: var(--teal); }
.pk-tile { flex: none; width: 64px; height: 58px; border-radius: 12px; object-fit: cover; }
.pk-t b { font-size: .95rem; font-weight: 900; }
.pk-map { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #E4F4F1; margin-inline-start: 4px; position: relative; }
.pk-map::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: -8px; width: 1px; background: #DADFE7; }
.pk-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 10px 0; padding: 16px; border: 1px dashed #C9D1DC; border-radius: 18px; text-align: center; }
.pk-empty img { width: 140px; height: auto; filter: grayscale(.6); opacity: .85; }
.pk-empty b { color: var(--navy); } .pk-empty small { color: var(--muted); }
.svx { margin: 18px 0 6px; }
.svx-head { display: flex; align-items: center; gap: 10px; margin: 0 calc(-1 * var(--pad)) 8px; padding: 14px var(--pad); background: linear-gradient(180deg, #F1FAF8, #fff); }
.svx-head > div { flex: 1; }
.svx-head h2 { margin: 0; font-size: 1.35rem; font-weight: 900; color: var(--navy); }
.svx-line { display: block; width: 44px; height: 4px; margin: 6px 0 8px; border-radius: 4px; background: var(--teal); }
.svx-head p { margin: 0; color: #5A6172; font-size: .86rem; line-height: 1.8; }
.svx-head img { width: 38%; max-width: 150px; height: auto; }
.svc { position: relative; display: flex; align-items: stretch; gap: 12px; margin-top: 10px; padding: 10px; border: 1.5px solid #DADFE7; border-radius: 18px; background: #fff; cursor: pointer; }
.svc.on { border-color: var(--teal); background: #F1FAF8; }
.svc:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc-p { flex: 0 0 34%; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 6px; padding-inline-end: 10px; border-inline-end: 1px solid #E3E7EC; }
.svc-p img { width: 100%; aspect-ratio: 1.1; object-fit: contain; border-radius: 12px; background: #F4F6F8; }
.svc-p b { font-size: .86rem; color: var(--navy); }
.svc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-t b { font-size: 1rem; font-weight: 900; color: var(--navy); }
.svc-t small { color: #5A6172; font-size: .8rem; line-height: 1.7; }
.svc-t em { align-self: flex-start; margin-top: auto; padding: 4px 12px; border-radius: 10px; background: #F7C653; color: #3A2A00; font-style: normal; font-weight: 900; font-size: .86rem; }
.svc-box { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #8A93A3; border-radius: 8px; color: transparent; background: #fff; }
.svc-box svg { width: 18px; height: 18px; stroke-width: 3; }
.svc.on .svc-box { border-color: var(--teal); background: var(--teal); color: #fff; }
.svc-t { padding-inline-end: 34px; }
.svx-total { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: #E9F6F3; color: var(--navy); }
.svx-total span { flex: 1; font-weight: 800; } .svx-total b { font-size: 1.1rem; font-weight: 900; }
.svx-total img { width: 36px; height: auto; }
.dv-chip { display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; margin: 0 auto 10px; padding: 6px 18px; border-radius: 999px; background: #F7C653; color: #3A2A00; font-weight: 800; }
.dv-chip svg { width: 20px; height: 20px; }
.dv-sum { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border-radius: 16px; background: #E4F4F1; }
.dv-sum > svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.dv-sum > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dv-sum b { color: var(--navy); font-size: .92rem; } .dv-sum span { color: #4E5566; font-size: .86rem; }
.dv-chg { flex: none; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid #BFE6DF; color: var(--teal); font-weight: 800; text-decoration: none; position: relative; }
.dv-chg::before { content: ""; position: absolute; inset-block: 2px; inset-inline-start: -10px; width: 1px; background: #BFE6DF; }
@media (max-width: 350px) { .dm-art { width: 48px; } .slot-wins { gap: 6px; } .sw b { font-size: .9rem; } .svc-p { flex-basis: 30%; } }
[data-theme=dark] .dm, [data-theme=dark] .pk, [data-theme=dark] .svc { background: #16203A; }
[data-theme=dark] .dm-t b, [data-theme=dark] .dv-h, [data-theme=dark] .svx-head h2, [data-theme=dark] .svc-t b, [data-theme=dark] .dv-sum b { color: #EAF0F8; }
[data-theme=dark] .svx-head { background: transparent; }

/* ---------------------------------------------------------------- جزئیات سفارش و تحویل — طرح نهایی */
.od-hero { margin: 8px var(--pad) 0; padding: 14px 16px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), #1E3A66); color: #fff; }
.od-hero .od-no { display: flex; align-items: center; gap: 10px; }
.od-hero .od-no > svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .12); flex: none; }
.od-hero .od-no > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.od-hero small { opacity: .8; font-size: .78rem; } .od-hero b { font-size: 1.05rem; font-weight: 900; letter-spacing: .03em; overflow-wrap: anywhere; text-align: end; direction: ltr; unicode-bidi: plaintext; }
.od-cp { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.od-cp svg { width: 20px; height: 20px; }
.od-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; }
.od-meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; } .od-meta svg { width: 16px; height: 16px; }
.od-top:empty { display: none; } .od-top { margin: 0 var(--pad); }
.hstep { list-style: none; display: flex; margin: 14px var(--pad) 8px; padding: 0; counter-reset: s; }
.hstep li { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.hstep li::before { content: ""; position: absolute; top: 19px; inset-inline-start: 50%; width: 100%; height: 3px; background: #E3E6EB; z-index: 0; }
.hstep li:last-child::before { display: none; }
.hstep li.done::before { background: var(--teal); }
.hstep span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #EEF0F3; color: #9AA2AE; border: 2px solid #fff; }
.hstep span svg { width: 20px; height: 20px; }
.hstep li.done span { background: var(--teal); color: #fff; }
.hstep li.cur span { background: var(--navy); color: #fff; box-shadow: 0 0 0 4px rgba(32, 184, 166, .25); }
.hstep b { font-size: .72rem; font-weight: 800; color: #7A8292; line-height: 1.4; }
.hstep li.done b, .hstep li.cur b { color: var(--navy); }
.hstep small { font-size: .64rem; color: var(--muted); min-height: 1em; }
.od-ship .od-card, .od-ship .dd-banner { margin-inline: var(--pad); }
.od-card { margin: 10px var(--pad); padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 18px; background: #fff; }
.od-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.od-ch > svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.od-ch h3 { flex: 1; margin: 0; font-size: .98rem; font-weight: 900; color: var(--navy); }
.od-status { display: flex; align-items: center; gap: 12px; background: #F1FAF8; border-color: #CFEDE7; }
.ods-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--teal); color: #fff; }
.ods-ic svg { width: 28px; height: 28px; }
.od-status > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.od-status > div > small:first-child { color: #5A6172; font-size: .76rem; }
.od-status b { color: var(--navy); font-size: 1rem; font-weight: 900; line-height: 1.6; }
.od-status.ok .ods-ic { background: #15A05A; } .od-status.bad { background: #FFF2F0; border-color: #F6CFC9; } .od-status.bad .ods-ic { background: var(--coral); }
.lock-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #EEF0F3; color: #5A6172; font-size: .74rem; font-weight: 800; }
.lock-chip svg { width: 14px; height: 14px; }
.dl-slotv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.dl-slotv > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: #F4F6F8; }
.dl-slotv small { color: var(--muted); font-size: .74rem; } .dl-slotv b { color: var(--navy); font-size: .9rem; }
.dl-slotc .btn + small { display: block; margin-top: 6px; }
.dl-pk small { display: flex; align-items: center; gap: 4px; } .dl-pk small svg { width: 14px; height: 14px; }
.pk-digits { display: flex; justify-content: center; gap: 6px; margin: 4px 0; }
.pk-digits i { display: grid; place-items: center; width: 38px; height: 46px; border-radius: 10px; background: #fff; border: 1.5px dashed #9FD9CF; color: #9AA2AE; font: 900 1.4rem/1 inherit; font-style: normal; }
.pk-code.ready { background: var(--teal); border-color: var(--teal); }
.pk-code.ready small { color: #fff; display: inline-flex; align-items: center; gap: 4px; } .pk-code.ready small svg { width: 14px; height: 14px; }
.pk-code.ready .pk-digits i { border: 0; color: var(--navy); }
.od-svc { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #EEF0F3; }
.od-svc:first-of-type { border-top: 0; }
.od-svc img { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: #F4F6F8; flex: none; }
.od-svc > div { flex: 1; min-width: 0; display: flex; flex-direction: column; } .od-svc b { font-size: .88rem; color: var(--navy); } .od-svc small { font-size: .76rem; }
.svc-st { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #FFF1C9; color: #6B4B00; font-size: .74rem; font-weight: 800; }
.svc-st svg { width: 14px; height: 14px; } .svc-st.done { background: #DDF4E7; color: #146C43; }
.trk-row { display: flex; align-items: center; gap: 8px; }
.trk-v { flex: 1; min-width: 0; display: flex; flex-direction: column; } .trk-v b { font-size: 1rem; color: var(--navy); overflow-wrap: anywhere; text-align: end; }
.ev-list.v2 { border: 0; margin: 0; }
.ev-list.v2 li { flex-direction: row; gap: 10px; padding: 0 0 14px; }
.ev-list.v2 li::before { display: none; }
.ev-list.v2 li:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: 2px; inset-inline-start: 17px; width: 2px; background: #DDF3EE; }
.ev-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #E9F6F3; color: var(--teal); }
.ev-ic svg { width: 18px; height: 18px; }
.ev-list.v2 li.now .ev-ic { background: var(--teal); color: #fff; box-shadow: 0 0 0 4px rgba(32, 184, 166, .18); }
.ev-list.v2 li > div { display: flex; flex-direction: column; padding-top: 6px; min-width: 0; }
.ev-list.v2 li.now b { color: var(--teal); }
/* پنجرهٔ تغییر نوبت */
.rs-cur { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #E4F4F1; }
.rs-cur > svg { width: 26px; height: 26px; color: var(--teal); flex: none; } .rs-cur > div { display: flex; flex-direction: column; }
.rs-cur small { color: #5A6172; font-size: .76rem; } .rs-cur b { color: var(--navy); font-size: .9rem; }
.rs-days .sd.on { background: var(--navy); border-color: var(--navy); }
.rs-wins { display: grid; gap: 8px; }
.rw { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1.5px solid #DADFE7; border-radius: 14px; background: #fff; font: inherit; color: var(--navy); cursor: pointer; text-align: start; }
.rw b { flex: 1; font-weight: 900; }
.rw-r { flex: none; width: 22px; height: 22px; border: 2px solid #B9C1CD; border-radius: 50%; }
.rw.on { border-color: var(--teal); background: #F1FAF8; } .rw.on .rw-r { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 4px #fff; }
.rw:disabled { cursor: not-allowed; background: #F4F6F8; color: #9AA2AE; }
.rw.cur { background: #E4F4F1; color: var(--navy); border-color: #BFE6DF; } .rw.cur .rw-r { border-color: var(--teal); background: #BFE6DF; }
.rw .pill { flex: none; padding: 2px 10px; border-radius: 999px; background: #E1F5EC; color: #146C43; font-size: .72rem; font-weight: 800; }
.rw .pill.cur { background: var(--teal); color: #fff; } .rw .pill.off { background: #E6E9EE; color: #5A6172; } .rw .pill.few { background: #F7D27C; color: #6B4B00; }
.rs-err.on { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #FDECEA; color: #B42318; }
.rs-err svg { width: 20px; height: 20px; flex: none; }
.btn.teal { background: var(--teal); border-color: var(--teal); color: #fff; }
/* پنجرهٔ پیگیری مرسوله */
.trk-sheet { display: flex; flex-direction: column; gap: 12px; }
.trk-sheet > img { align-self: center; width: 62%; max-width: 220px; height: auto; }
.trk-code { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px dashed #9FD9CF; border-radius: 16px; }
.trk-code > div { flex: 1; min-width: 0; display: flex; flex-direction: column; } .trk-code small { color: var(--muted); font-size: .76rem; }
.trk-code b { font-size: 1.15rem; font-weight: 900; color: var(--navy); letter-spacing: .04em; overflow-wrap: anywhere; text-align: end; }
.trk-car { display: flex; align-items: center; gap: 8px; color: #4E5566; } .trk-car svg { width: 20px; height: 20px; color: var(--teal); }
@media (max-width: 350px) { .hstep b { font-size: .64rem; } .hstep span { width: 34px; height: 34px; } .hstep li::before { top: 16px; } .pk-digits i { width: 32px; height: 40px; font-size: 1.2rem; } .dl-slotv { grid-template-columns: 1fr; } }
[data-theme=dark] .od-card, [data-theme=dark] .rw { background: #16203A; }
[data-theme=dark] .od-ch h3, [data-theme=dark] .od-status b, [data-theme=dark] .dl-slotv b, [data-theme=dark] .trk-v b { color: #EAF0F8; }
[data-theme=dark] .od-status, [data-theme=dark] .dl-slotv > div { background: #1B2846; }
.dm.off { flex-wrap: wrap; padding-top: 34px; }
.dm-off { top: 8px; inset-inline-start: 12px; inset-inline-end: auto; display: inline-flex; align-items: center; gap: 4px; }
.dm-off::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9AA2AE; }

/* ---------------------------------------------------------------- فروشگاه‌ها، تخفیف‌ها، میان‌بُرها، نمودار قیمت */
.st-logo { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--acc, var(--navy)) 30%, #E3E7EC); overflow: hidden; flex: none; }
.st-logo img { width: 100%; height: 100%; object-fit: cover; }
.st-logo.big { width: 84px; height: 84px; border-width: 4px; padding: 0; margin: 0; }
.st-pct { position: absolute; top: -4px; inset-inline-end: -8px; padding: 2px 9px; border-radius: 999px; background: var(--coral); color: #fff; font-size: .76rem; font-weight: 900; }
.st-chips { display: flex; gap: 8px; padding: 6px var(--pad) 10px; }
.st-chips button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1.5px solid #DADFE7; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.st-chips button svg { width: 18px; height: 18px; }
.st-chips button small { color: var(--muted); }
.st-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; } .st-chips button.on small { color: #C9D3E6; }
.st-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad) 8px; }
.st-sort { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.st-sort svg { width: 18px; height: 18px; }
.stc-list { display: grid; gap: 12px; padding: 0 var(--pad) 16px; }
.stc { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.stc-id { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: inherit; text-decoration: none; position: relative; }
.stc-id .st-logo { position: relative; }
.stc-id .st-pct { top: 0; inset-inline-end: auto; inset-inline-start: calc(50% + 14px); }
.stc-id b { font-size: 1.02rem; font-weight: 900; color: var(--navy); }
.stc-cat { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: #4E5566; font-size: .76rem; }
.stc-cat svg, .stc-meta svg { width: 14px; height: 14px; }
.stc-meta { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: .76rem; } .stc-meta svg { color: var(--gold); }
.stc-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stc-prev span { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 14px; background: #F8F9FB; overflow: hidden; }
.stc-prev img { width: 100%; height: 100%; object-fit: contain; }
.stc-fol { position: absolute; top: 18px; inset-inline-end: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--muted); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.stc-fol svg { width: 20px; height: 20px; }
.stc-fol.on { color: var(--coral); } .stc-fol.on svg { fill: currentColor; }
/* صفحهٔ فروشگاه */
.sp-hero { position: relative; margin: 8px var(--pad) 0; padding: 0 14px 14px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.sp-cover { height: 88px; margin: 0 -14px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #0E1B33)); }
.sp-id { display: flex; align-items: flex-end; gap: 12px; margin-top: -40px; }
.sp-id > div { flex: 1; min-width: 0; padding-bottom: 4px; }
.sp-id h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 1.25rem; font-weight: 900; color: var(--navy); }
.sp-id small { display: inline-flex; align-items: center; gap: 3px; color: #4E5566; } .sp-id small svg { width: 15px; height: 15px; color: var(--gold); }
.sp-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--teal-soft); color: #0E7C72; font-size: .72rem; font-weight: 800; } .sp-badge svg { width: 14px; height: 14px; }
.sp-fol { position: absolute; top: 100px; inset-inline-end: 14px; min-height: 40px; padding: 0 14px; border-radius: 999px; }
.sp-fol svg { width: 18px; height: 18px; }
.sp-fol.on { background: #fff; color: var(--coral); border: 1.5px solid var(--coral); } .sp-fol.on svg { fill: currentColor; }
.sp-desc { margin: 12px 0 0; color: #4E5566; font-size: .88rem; line-height: 1.9; }
.sp-stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 0; padding: 0; }
.sp-stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: var(--bg-soft); text-align: center; }
.sp-stats b { color: var(--navy); font-size: .95rem; font-weight: 900; } .sp-stats small { color: var(--muted); font-size: .68rem; line-height: 1.5; }
.sp-sec { padding: 4px var(--pad) 8px; }
.sp-sec .row-between { display: flex; align-items: center; justify-content: space-between; }
.sp-sec .st-chips { padding-inline: 0; }
.sp-more { margin-top: 12px; }
/* کوپن */
.cpn-list { display: grid; gap: 10px; }
.cpn { position: relative; display: flex; align-items: stretch; gap: 0; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #24467F); color: #fff; overflow: hidden; }
.cpn::before, .cpn::after { content: ""; position: absolute; inset-inline-start: 74px; width: 18px; height: 18px; border-radius: 50%; background: var(--page-bg, #fff); }
.cpn::before { top: -9px; } .cpn::after { bottom: -9px; }
.cpn-v { flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; border-inline-end: 2px dashed rgba(255, 255, 255, .35); }
.cpn-v b { font-size: 1.35rem; font-weight: 900; color: var(--gold); line-height: 1.2; } .cpn-v small { font-size: .72rem; opacity: .85; }
.cpn-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; }
.cpn-t > b { font-size: .86rem; line-height: 1.7; }
.cpn-t a, .cpn-t span, .cpn-end { display: inline-flex; align-items: center; gap: 4px; color: #C9D3E6; font-size: .76rem; text-decoration: none; }
.cpn-t a { color: #8FE3D8; font-weight: 800; }
.cpn-t svg { width: 14px; height: 14px; flex: none; }
.cpn-end i { font-style: normal; color: var(--gold); font-weight: 900; direction: ltr; }
.cpn-cp { flex: none; align-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-inline-end: 10px; padding: 8px 10px; border: 0; border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-weight: 900; font-size: .78rem; cursor: pointer; }
.cpn-cp svg { width: 18px; height: 18px; color: var(--teal); }
.cpn.expired { filter: grayscale(1); opacity: .6; } .cpn.expired .cpn-cp { pointer-events: none; }
/* صفحهٔ تخفیف‌ها */
.of-hero { display: flex; align-items: center; gap: 10px; margin: 8px var(--pad) 6px; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, var(--navy), #1F4C7A 70%, #19B3A6); color: #fff; }
.of-hero > div { flex: 1; } .of-hero h2 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 900; } .of-hero p { margin: 0; font-size: .85rem; opacity: .9; line-height: 1.8; }
.of-hero img { width: 34%; max-width: 140px; height: auto; }
.of-stores { display: flex; gap: 12px; padding: 4px 0 8px; }
.of-st { position: relative; flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--navy); text-decoration: none; text-align: center; }
.of-st b { font-size: .8rem; } .of-st .st-pct { top: 6px; inset-inline-end: 4px; }
/* میان‌بُرهای صفحهٔ اول */
.shortcuts { display: flex; gap: 6px; padding: 14px var(--pad) 4px; }
.sc { flex: 0 0 74px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; text-align: center; }
.sc-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2.5px solid var(--tone); color: var(--tone); box-shadow: 0 3px 10px -6px var(--tone); }
.sc-ic svg { width: 26px; height: 26px; } .sc-ic img { width: 70%; height: 70%; object-fit: contain; }
.sc b { font-size: .74rem; font-weight: 800; line-height: 1.5; }
.tone-coral { --tone: var(--coral); } .tone-gold { --tone: #D99A00; } .tone-teal { --tone: var(--teal); } .tone-navy { --tone: var(--navy); }
/* ویترین فروشگاه در صفحهٔ اول */
.spot { margin-top: 10px; }
.spot-ban { display: flex; align-items: center; gap: 12px; margin: 0 var(--pad) 10px; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #0E1B33)); color: #fff; text-decoration: none; }
.spot-ban .st-logo { width: 54px; height: 54px; }
.spot-ban > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.spot-ban small { opacity: .8; font-size: .72rem; } .spot-ban b { font-size: 1.05rem; font-weight: 900; } .spot-ban span { font-size: .8rem; opacity: .92; line-height: 1.7; }
.spot-cta { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--acc); font-style: normal; font-weight: 800; font-size: .8rem; }
.spot-cta svg { width: 16px; height: 16px; }
/* نمودار قیمت */
.pc-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.pc-tabs button { flex: 1; min-height: 38px; border: 1.5px solid #BFE6DF; border-radius: 999px; background: #fff; color: #0E7C72; font: inherit; font-weight: 800; cursor: pointer; }
.pc-tabs button.on { background: #0E7C72; border-color: #0E7C72; color: #fff; }
.pc-wrap { position: relative; }
.pc { display: block; width: 100%; height: auto; direction: ltr; touch-action: pan-y; }
.pc-grid { stroke: #E6E9EE; stroke-width: 1; }
.pc-line { fill: none; stroke: #0E7C72; stroke-width: 2.2; stroke-linejoin: round; }
.pc-now { fill: #0E7C72; stroke: #fff; stroke-width: 2; }
.pc-x { font: 600 10px Vazirmatn, Tahoma, sans-serif; fill: var(--muted); }
.pc-vl { stroke: var(--navy); stroke-dasharray: 3 3; } .pc-dot { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.pc-tt { position: absolute; top: 0; width: 120px; display: flex; flex-direction: column; align-items: center; padding: 4px 8px; border-radius: 10px; background: var(--navy); color: #fff; font-size: .76rem; pointer-events: none; }
.pc-tt small { opacity: .8; font-size: .68rem; }
.pc-sum { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 6px; padding: 10px; border-radius: 14px; background: var(--bg-soft); }
.pc-sum li { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.pc-sum small { color: var(--muted); font-size: .72rem; } .pc-sum b { display: inline-flex; align-items: center; gap: 3px; color: var(--navy); font-size: .9rem; }
.pc-sum b svg { width: 16px; height: 16px; } .pc-sum b.down { color: #15A05A; } .pc-sum b.up { color: var(--coral); }
/* بازگشت به بالا */
.to-top { position: fixed; z-index: 40; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 4px 16px rgba(20, 41, 90, .18); cursor: pointer; }
.to-top svg { width: 24px; height: 24px; transform: rotate(180deg); }
body[data-page=product] .to-top, body[data-page=checkout] .to-top, body[data-page=cart] .to-top { bottom: calc(var(--tabbar-h) + 84px); }
/* صفحهٔ دسته‌بندی: انتخاب نوع نمایش و نمای دوستونه */
.cats-head { position: relative; }
.cv-tog { position: absolute; top: 12px; inset-inline-start: var(--pad); display: flex; padding: 3px; border-radius: 12px; background: var(--bg-soft); }
.cv-tog button { display: grid; place-items: center; width: 38px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.cv-tog button svg { width: 20px; height: 20px; }
.cv-tog button[aria-pressed=true] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.cv2 { display: grid; grid-template-columns: 96px 1fr; min-height: 60vh; border-top: 1px solid var(--line); }
.cv2-side { display: flex; flex-direction: column; background: var(--bg-soft); }
.cv2-side button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border: 0; border-bottom: 1px solid #E3E7EC; background: none; color: #4E5566; font: inherit; cursor: pointer; text-align: center; }
.cv2-side button span { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: #fff; }
.cv2-side button img { width: 100%; height: 100%; object-fit: cover; }
.cv2-side button b { font-size: .74rem; font-weight: 700; line-height: 1.5; }
.cv2-side button.on { background: #fff; color: var(--coral); box-shadow: inset -3px 0 0 var(--coral); } .cv2-side button.on b { font-weight: 900; }
.cv2-main { padding: 4px 14px 20px; background: #fff; }
.cv2-all { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; color: var(--navy); font-weight: 900; text-decoration: none; border-bottom: 1px solid var(--line); }
.cv2-all svg, .cv2-row svg { width: 18px; height: 18px; }
.cv2-acc { border-bottom: 1px solid var(--line); }
.cv2-acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; cursor: pointer; list-style: none; color: var(--ink); }
.cv2-acc summary::-webkit-details-marker { display: none; }
.cv2-acc summary svg { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; } .cv2-acc[open] summary svg { transform: rotate(180deg); }
.cv2-acc ul { list-style: none; margin: 0 0 10px; padding: 0 10px 0 0; }
.cv2-acc li a { display: block; padding: 9px 0; color: #4E5566; text-decoration: none; font-size: .9rem; }
.cv2-row { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
/* صفحهٔ کالا: پیوند فروشگاه */
.pd-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.pd-links .link { display: inline-flex; align-items: center; gap: 4px; } .pd-links svg { width: 16px; height: 16px; }
.sellers .s-name { display: inline-flex; align-items: center; gap: 2px; color: var(--navy); font-weight: 900; text-decoration: none; } .sellers .s-name svg { width: 14px; height: 14px; }
@media (max-width: 350px) { .stc { grid-template-columns: 1fr; } .stc-prev { grid-template-columns: repeat(4, 1fr); } .sp-stats { grid-template-columns: repeat(2, 1fr); } .cpn-v { flex-basis: 70px; } .cpn::before, .cpn::after { inset-inline-start: 60px; } .cv2 { grid-template-columns: 80px 1fr; } }
[data-theme=dark] .stc, [data-theme=dark] .sp-hero, [data-theme=dark] .of-st, [data-theme=dark] .cv2-main, [data-theme=dark] .sc-ic, [data-theme=dark] .to-top { background: #16203A; }
[data-theme=dark] .stc-id b, [data-theme=dark] .sp-id h2, [data-theme=dark] .of-st, [data-theme=dark] .cv2-all, [data-theme=dark] .sc { color: #EAF0F8; }
.of-ill { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: rgba(255, 255, 255, .14); color: var(--gold); transform: rotate(-8deg); }
.of-ill svg { width: 44px; height: 44px; }
.sp-id { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px; margin-top: -42px; }
.sp-id > div { padding-top: 48px; padding-bottom: 2px; }
.sp-fol { position: static; align-self: end; margin-bottom: 2px; }
.cpn-end i { direction: rtl; }
.sp-note { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--muted); font-size: .74rem; } .sp-note svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 380px) { .sp-id { grid-template-columns: auto 1fr; } .sp-fol { grid-column: 1 / -1; justify-self: stretch; } }
.sp-id { grid-template-columns: auto 1fr; }
.sp-fol { position: absolute; top: 14px; inset-inline-end: 14px; min-height: 38px; background: rgba(255, 255, 255, .95); color: var(--navy); border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.sp-fol.on { background: #fff; border: 0; }
.sp-id small { flex-wrap: wrap; }
.pc text, .pc .pc-area, .pc .pc-grid { stroke: none; }
.pc .pc-grid { stroke: #E6E9EE; }
.pc text { fill: var(--muted); }

/* ---------------------------------------------------------------- مقایسه، گزارش، شفافیت قیمت، کارت هدیه، پلاس، مأموریت‌ها، جمع‌آوری مرجوعی، روش‌های پرداخت آینده */
.dv-note.warnish { background: #FFF6E0; color: #6B4B00; } .dv-note.warnish svg { color: #D99A00; }
.dv-note.bad { background: #FDECEA; color: #A02A1C; } .dv-note.bad svg { color: var(--coral); }
.btn.gold { background: #F2B51D; border-color: #F2B51D; color: var(--navy); }
.pd-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.pd-tools > * { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.pd-tools svg { width: 17px; height: 17px; color: var(--teal); }
.pd-tools .on { background: var(--teal-soft); border-color: #BFE6DF; }
/* شفافیت قیمت */
.ptx { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.ptx h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--navy); font-size: .98rem; } .ptx h3 svg { width: 20px; height: 20px; color: var(--teal); }
.ptx-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #F1FAF8; margin-bottom: 6px; font-size: .86rem; }
.ptx-row span { display: inline-flex; align-items: center; gap: 4px; } .ptx-row svg { width: 16px; height: 16px; color: var(--muted); }
.ptx-row b { color: var(--navy); }
.ptx-row.main { background: #127C72; color: #fff; } .ptx-row.main b { color: #fff; font-size: 1rem; }
.ptx.bad .ptx-row.main { background: #FDE3DF; color: #A02A1C; } .ptx.bad .ptx-row.main b { color: #A02A1C; }
.ptx.bad { border-color: #F6CFC9; background: #FFFCF6; }
.ptx-row.sm { background: none; padding: 4px 2px; margin: 0; color: #4E5566; font-size: .8rem; }
.ptx-acts { display: flex; gap: 8px; margin-top: 8px; } .ptx-acts .btn { flex: 1; }
/* سرصفحهٔ کالا در صفحه‌های جانبی */
.xp-prod { display: flex; align-items: center; gap: 12px; margin: 10px var(--pad); padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #F1FAF8; color: inherit; text-decoration: none; }
.xp-prod img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; flex: none; }
.xp-prod div { display: flex; flex-direction: column; min-width: 0; } .xp-prod b { color: var(--navy); } .xp-prod small { color: var(--muted); }
.pc-pt { fill: #fff; stroke: #0E7C72; stroke-width: 2; }
.pc-last { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: #F1FAF8; } .pc-last b { font-size: 1.15rem; color: var(--navy); }
/* گزارش */
.rp-reasons { display: grid; gap: 4px; margin: 0 0 12px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; }
.rp-reasons legend { padding: 0 4px; font-weight: 800; color: var(--navy); } .rp-reasons legend em, .field em { color: var(--coral); font-style: normal; }
.rp-r { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer; }
.rp-r input { width: 20px; height: 20px; accent-color: var(--teal); } .rp-r.on { background: #E4F4F1; font-weight: 800; }
.rp-up { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; border: 1.5px dashed #BFC8D4; border-radius: 16px; color: var(--teal); cursor: pointer; text-align: center; background-size: cover; background-position: center; }
.rp-up svg { width: 30px; height: 30px; } .rp-up small { color: var(--muted); } .rp-up.has { min-height: 140px; } .rp-up.has > * { visibility: hidden; }
/* مقایسه */
.cmp-wrap { padding: 8px 0; }
.cmp-scroll { overflow-x: auto; padding: 0 var(--pad); }
.cmpt { border-collapse: separate; border-spacing: 0; min-width: 100%; width: max-content; }
.cmpt th, .cmpt td { width: calc((min(100vw, 480px) - 2 * var(--pad) - 96px) / min(var(--n), 2)); min-width: 132px; padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; font-size: .84rem; vertical-align: middle; }
.cmpt .cmp-k { position: sticky; inset-inline-start: 0; z-index: 1; width: 96px; min-width: 96px; background: #F6F7F9; text-align: start; color: #4E5566; font-weight: 800; }
.cmpt thead th { vertical-align: top; border: 0; background: none; }
.cmpt thead .cmp-k { background: #fff; }
.cmp-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cmp-card a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; }
.cmp-card img { width: 96px; height: 96px; object-fit: contain; } .cmp-card b { font-size: .84rem; line-height: 1.6; }
.cmp-card small { color: var(--muted); font-size: .72rem; }
.cmp-price { padding: 3px 10px; border-radius: 10px; background: #FFF1C9; color: var(--navy); font-weight: 900; font-size: .84rem; } .cmp-price.oos { background: #EEF0F3; color: var(--muted); }
.cmp-x { position: absolute; top: 6px; inset-inline-start: 6px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; } .cmp-x svg { width: 16px; height: 16px; }
.cmp-g th { background: #F6F7F9; text-align: start; color: var(--navy); font-weight: 900; position: sticky; inset-inline-start: 0; }
.cmpt tr.diff td { background: #E4F6EE; }
.cmp-legend { display: flex; align-items: center; gap: 6px; margin: 10px var(--pad); color: var(--muted); font-size: .78rem; } .cmp-legend svg { width: 16px; height: 16px; flex: none; }
.cmp-add { margin: 6px var(--pad); width: calc(100% - 2 * var(--pad)); } .cmp-hint { display: flex; align-items: center; justify-content: space-between; margin: 8px var(--pad); padding: 10px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: .76rem; } .cmp-hint svg { width: 16px; height: 16px; }
.cmp-pick ul { list-style: none; margin: 10px 0 0; padding: 0; }
.cmp-pick button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; text-align: start; cursor: pointer; }
.cmp-pick img { width: 48px; height: 48px; object-fit: contain; } .cmp-pick span { flex: 1; display: flex; flex-direction: column; } .cmp-pick small { color: var(--muted); } .cmp-pick svg { width: 20px; height: 20px; color: var(--teal); }
/* کارت هدیه */
.gc-head { padding: 8px var(--pad) 18px; background: linear-gradient(135deg, var(--navy) 70%, #19B3A6); color: #fff; border-radius: 0 0 24px 24px; }
.gc-head .bh-logo span { color: #fff; } .gc-head .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.gc-head h1 { margin: 6px 0 2px; font-size: 1.35rem; font-weight: 900; } .gc-head p { margin: 0; opacity: .85; font-size: .86rem; }
.gc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -12px var(--pad) 8px; position: relative; }
.gc-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 0; border-radius: 14px; background: #E4F4F1; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; box-shadow: var(--shadow); }
.gc-tabs button svg { width: 20px; height: 20px; } .gc-tabs button.on { background: #127C72; color: #fff; }
.gc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 8px var(--pad); padding: 18px; min-height: 150px; border-radius: 22px; background: radial-gradient(circle at 100% 100%, #19B3A6 0 24%, transparent 25%), linear-gradient(135deg, #14295A, #1E3A6E); color: #fff; overflow: hidden; }
.gc-card img { width: 48px; } .gc-card b { font-size: 1.3rem; font-weight: 900; } .gc-card small { opacity: .85; }
.gc-amt { margin-top: 6px; padding: 3px 12px; border-radius: 999px; background: #F2B51D; color: var(--navy); font-weight: 900; }
.gc-ribbon { position: absolute; inset-block: 0; inset-inline-end: 22%; width: 18px; background: linear-gradient(90deg, #E0A817, #F7D27C, #E0A817); transform: skewX(-25deg); opacity: .9; }
.gc-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.gc-a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 4px; border: 1.5px solid #DADFE7; border-radius: 14px; font-weight: 800; font-size: .84rem; text-align: center; cursor: pointer; }
.gc-a input { position: absolute; opacity: 0; } .gc-a svg { width: 16px; height: 16px; } .gc-a.on { border-color: var(--teal); background: #F1FAF8; color: #0E7C72; }
.gc-a:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.gc-who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 10px; padding: 6px; border-radius: 14px; background: #F1FAF8; }
.gc-who label { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border-radius: 10px; font-weight: 700; cursor: pointer; } .gc-who input { accent-color: var(--teal); } .gc-who label.on { background: #fff; color: #0E7C72; }
.gc-form .field > span { display: inline-flex; align-items: center; gap: 6px; } .gc-form .field > span svg { width: 18px; height: 18px; color: var(--navy); }
.gc-total { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; padding: 14px; border-radius: 16px; background: #E4F4F1; } .gc-total span { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; } .gc-total svg { width: 22px; height: 22px; color: #D99A00; } .gc-total b { font-size: 1.25rem; color: var(--navy); }
.gc-redeem .row-in { display: flex; gap: 8px; } .gc-redeem input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid #DADFE7; border-radius: 12px; font: inherit; }
.gc-item { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.gc-item.used { opacity: .65; }
.gc-i-top { display: flex; align-items: center; justify-content: space-between; } .gc-i-top b { color: var(--navy); font-size: 1.05rem; }
.gc-item > small { color: var(--muted); } .gc-msg { margin: 6px 0 0; color: #4E5566; font-size: .84rem; }
.gc-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding: 8px 10px; border: 1.5px dashed #9FD9CF; border-radius: 12px; } .gc-code bdi { flex: 1; font-weight: 900; letter-spacing: .06em; color: var(--navy); }
/* نارون پلاس */
.pl-sub { margin: -6px var(--pad) 8px; text-align: center; color: #4E5566; }
.pl-ban { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 var(--pad) 14px; padding: 22px 18px; border-radius: 22px; background: linear-gradient(135deg, #14295A, #23427A); color: #fff; overflow: hidden; }
.pl-ban > div { flex: 1; display: flex; flex-direction: column; } .pl-ban b { font-size: 1.45rem; font-weight: 900; } .pl-ban small { opacity: .85; }
.pl-ban img { width: 64px; } .pl-ban::after { content: ""; position: absolute; inset-inline: 0; bottom: -18px; height: 40px; border-top: 3px solid #F2B51D; border-radius: 50%; }
.pl-tag { position: absolute; top: 10px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #F7C653; color: var(--navy); font-size: .72rem; font-weight: 900; } .pl-tag svg { width: 13px; height: 13px; }
.pl-ben { list-style: none; display: grid; gap: 8px; margin: 0 var(--pad) 10px; padding: 0; }
.pl-ben li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 16px; background: #F1FAF8; }
.pl-ben img { width: 76px; height: auto; border-radius: 12px; flex: none; } .pl-ben div { display: flex; flex-direction: column; } .pl-ben b { color: var(--navy); } .pl-ben small { color: #4E5566; line-height: 1.7; }
.pl-box { margin: 10px var(--pad); padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; } .pl-box .dv-h { margin-top: 0; }
.pl-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pl-p { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1.5px solid #DADFE7; border-radius: 14px; cursor: pointer; } .pl-p input { accent-color: var(--teal); }
.pl-p svg { width: 24px; height: 24px; color: var(--teal); } .pl-p div { display: flex; flex-direction: column; } .pl-p small { color: var(--muted); font-size: .72rem; } .pl-p.on { border-color: var(--teal); background: #F1FAF8; }
.pl-acc { margin: 10px var(--pad); }
.pl-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px; color: var(--muted); } .pl-empty svg { width: 40px; height: 40px; opacity: .6; }
.pl-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--pad) 18px; }
/* مأموریت‌ها */
.ms-head { padding: 8px var(--pad) 26px; background: linear-gradient(160deg, var(--navy), #1E3A6E 70%, #19B3A6); color: #fff; border-radius: 0 0 26px 26px; }
.ms-head .bh-logo span { color: #fff; } .ms-head .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.ms-hero { display: flex; align-items: center; gap: 12px; margin-top: 8px; } .ms-hero img { width: 84px; border-radius: 18px; } .ms-hero h1 { margin: 0; font-size: 1.35rem; font-weight: 900; } .ms-hero p { margin: 2px 0 0; font-size: .84rem; opacity: .88; }
.ms-bal { display: flex; align-items: center; gap: 8px; margin: -16px var(--pad) 8px; padding: 14px 16px; border-radius: 18px; background: #E4F4F1; color: var(--navy); text-decoration: none; box-shadow: var(--shadow); position: relative; }
.ms-bal svg { width: 26px; height: 26px; color: #D99A00; } .ms-bal span { flex: 1; font-weight: 800; } .ms-bal b { font-size: 1.5rem; font-weight: 900; } .ms-bal small { color: var(--muted); }
.ms-list { list-style: none; display: grid; gap: 10px; margin: 8px var(--pad); padding: 0; }
.ms-list a { display: flex; align-items: stretch; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; }
.ms-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #E4F4F1; color: #0E7C72; } .ms-ic svg { width: 22px; height: 22px; }
.ms-list a > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .ms-list b { color: var(--navy); } .ms-list small { color: #4E5566; font-size: .78rem; line-height: 1.7; }
.ms-bar { display: block; height: 7px; border-radius: 7px; background: #E6E9EE; overflow: hidden; } .ms-bar i { display: block; height: 100%; background: var(--teal); border-radius: 7px; }
.ms-list em { font-style: normal; font-size: .76rem; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; } .ms-list em svg { width: 14px; height: 14px; }
.ms-list li.done em { color: #15A05A; font-weight: 800; } .ms-list li.done .ms-bar i { background: #15A05A; }
.ms-pts { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; border-radius: 14px; background: #FFF6E0; color: #8A6100; } .ms-pts svg { width: 20px; height: 20px; color: #D99A00; } .ms-pts b { font-size: 1.05rem; } .ms-pts small { font-size: .68rem; }
.ms-lot { position: relative; margin: 14px var(--pad) 18px; padding: 16px; border-radius: 20px; background: linear-gradient(160deg, #14295A, #1E3A6E); color: #fff; }
.ms-lot > img { position: absolute; top: 12px; inset-inline-end: 12px; width: 64px; border-radius: 12px; }
.ms-lot .pl-tag { position: static; } .ms-lot h3 { margin: 8px 0 4px; font-size: 1.15rem; } .ms-lot p { margin: 0 0 10px; opacity: .88; font-size: .84rem; padding-inline-end: 70px; }
.ms-lot-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; } .ms-lot-acts .btn.ghost { background: rgba(255, 255, 255, .12); color: #C9D3E6; border-color: transparent; } .ms-lot-acts .btn:not(.ghost) { background: #fff; color: var(--navy); }
/* جمع‌آوری مرجوعی */
.rpk-item { display: flex; align-items: center; gap: 10px; }
.rpk-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #E4F4F1; color: #0E7C72; } .rpk-ic svg { width: 24px; height: 24px; }
.rpk-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; } .rpk-item small { color: #4E5566; }
.rpk-item > img { width: 76px; height: 64px; object-fit: contain; border-radius: 12px; background: #F4F6F8; }
.rpk-reason { margin: 0 var(--pad) 8px; padding: 10px 14px; border-radius: 14px; background: #F1FAF8; font-size: .86rem; }
.rpk-pack { display: flex; align-items: center; gap: 10px; margin: 10px var(--pad); padding: 10px 14px; border-radius: 16px; background: #E4F4F1; } .rpk-pack img { width: 110px; height: auto; } .rpk-pack b { color: var(--navy); font-size: .86rem; line-height: 1.8; }
.rpk-drop summary { list-style: none; cursor: pointer; } .rpk-drop summary::-webkit-details-marker { display: none; } .rpk-drop .pk { margin-top: 8px; }
.rt-pk { display: flex; align-items: center; gap: 6px; color: #0E7C72; } .rt-pk svg { width: 16px; height: 16px; }
/* روش‌های پرداخت آینده */
.pm-soon { display: grid; gap: 8px; margin-top: 10px; }
.pm-s { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px dashed #D5DAE2; border-radius: 14px; background: #FAFBFC; }
.pm-s img { width: 58px; height: auto; opacity: .85; filter: grayscale(.3); } .pm-s div { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pm-s b { color: #4E5566; } .pm-s small { color: var(--muted); font-size: .74rem; line-height: 1.6; }
.pm-off { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 999px; background: #FFF1C9; color: #8A6100; font-size: .72rem; font-weight: 800; } .pm-off svg { width: 13px; height: 13px; }
.pm-note { display: flex; gap: 6px; align-items: flex-start; margin: 2px 0 0; padding: 8px 10px; border-radius: 12px; background: #F1FAF8; color: #4E5566; font-size: .76rem; line-height: 1.7; } .pm-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.pm-note em { font-style: normal; margin-inline-end: 6px; padding: 1px 8px; border-radius: 999px; background: #F7D27C; color: var(--navy); font-weight: 800; }
@media (max-width: 350px) { .gc-amts { grid-template-columns: 1fr 1fr; } .pl-plans, .pl-acts, .ms-lot-acts { grid-template-columns: 1fr; } .ms-pts { width: 54px; } }
.btn.block.cmp-add { display: flex; width: calc(100% - 2 * var(--pad)); margin: 6px var(--pad); }

/* ================================================================ بستهٔ طراحی فروشگاه‌ها (نسخهٔ نهایی) */
:root { --gold2: #F2B84B; --tq: #20B8A6; }
/* دنبال‌کردن */
.fol { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.fol svg { width: 16px; height: 16px; }
.fol.on { background: var(--tq); border-color: var(--tq); color: #fff; } .fol.on svg { fill: currentColor; }
.fol.rowf { border-color: #DADFE7; color: #4E5566; min-height: 32px; font-size: .74rem; } .fol.rowf.on { background: #fff; color: #4E5566; border-color: #DADFE7; } .fol.rowf.on svg { color: var(--coral); }
.fol:disabled { opacity: .6; }
/* سربرگ فهرست فروشگاه‌ها */
.sd-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px var(--pad) 6px; }
.sd-search { width: 100%; }
.sd-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; outline: none; }
.st-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sd-title { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px 0 6px; }
.sd-title h1 { margin: 0; font-size: 1.45rem; font-weight: 900; color: var(--navy); }
.sd-title span { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: .72rem; letter-spacing: .32em; direction: ltr; }
.sd-title span::before, .sd-title span::after { content: ""; width: 36px; height: 1.5px; background: var(--tq); }
.sd-sort { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #4E5566; font-size: .85rem; }
.sd-sort select { appearance: none; min-height: 42px; padding: 0 14px 0 36px; border: 1.5px solid #DADFE7; border-radius: 14px; background: #fff; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; }
.sd-sort > svg { position: absolute; inset-inline-end: 12px; width: 16px; height: 16px; pointer-events: none; }
/* کارت فروشگاه */
.stc { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); grid-template-columns: none; }
.stc-top { display: flex; align-items: flex-start; gap: 10px; }
.stc-logo { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; text-decoration: none; padding-bottom: 8px; }
.stc-logo .st-logo { width: 62px; height: 62px; }
.st-upto { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: var(--gold2); color: var(--navy); font-size: .72rem; font-weight: 900; white-space: nowrap; }
.stc-id { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--navy); text-decoration: none; text-align: start; }
.stc-id b { font-size: 1.05rem; font-weight: 900; }
.stc-cat { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: #4E5566; font-size: .76rem; }
.stc-body { display: grid; grid-template-columns: 1fr 1.15fr; align-items: end; gap: 10px; }
.stc-meta { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.stc-meta span { display: inline-flex; align-items: center; gap: 5px; color: #4E5566; font-size: .82rem; }
.stc-meta svg { width: 18px; height: 18px; } .stc-meta span:first-child svg { color: var(--gold2); fill: var(--gold2); } .stc-meta b { color: var(--navy); font-size: 1.05rem; }
.stc-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stc-prev span, .stc-prev i { aspect-ratio: 1.1; border-radius: 12px; background: #F4F6F8; overflow: hidden; }
.stc-prev img { width: 100%; height: 100%; object-fit: contain; }
.stc-fol { display: none; }
.stc.sk .skel { display: block; } .stc.sk i.c { width: 62px; height: 62px; border-radius: 50%; } .stc.sk i.l { width: 60%; height: 18px; margin-bottom: 8px; } .stc.sk i.s { width: 40%; height: 14px; margin: 6px 0; }
.st-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 20px var(--pad); padding: 24px 16px; border: 1px solid var(--line); border-radius: 18px; text-align: center; background: #fff; }
.st-empty img { width: 120px; height: auto; } .st-empty h3 { margin: 6px 0 0; color: var(--navy); } .st-empty p { margin: 0 0 8px; color: var(--muted); font-size: .86rem; line-height: 1.8; }
/* صفحهٔ فروشگاه */
.sp-hero { position: relative; display: flex; align-items: center; gap: 10px; margin: 8px var(--pad) 0; padding: 18px 16px; min-height: 120px; border: 0; border-radius: 20px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 60%, #0E1B33)); color: #fff; overflow: hidden; box-shadow: none; }
.sp-hero::before, .sp-hero::after { content: ""; position: absolute; border-radius: 0 100% 0 100%; background: rgba(255, 255, 255, .12); transform: rotate(-30deg); pointer-events: none; }
.sp-hero::before { width: 90px; height: 54px; inset-inline-end: 22px; top: 8px; } .sp-hero::after { width: 120px; height: 70px; inset-inline-end: 54px; bottom: -18px; transform: rotate(20deg); }
.sp-cover { display: none; }
.sp-id { flex: 1; display: flex; align-items: center; gap: 12px; margin: 0; grid-template-columns: none; }
.sp-id > div { padding: 0; display: flex; flex-direction: column; gap: 3px; }
.sp-id h1 { margin: 0; font-size: 1.35rem; font-weight: 900; color: #fff; }
.sp-id small { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .9); } .sp-id small svg { width: 15px; height: 15px; }
.sp-rate b { color: #fff; } .sp-rate svg { color: var(--gold2); fill: var(--gold2); } .sp-rate span { opacity: .75; font-size: .76rem; }
.st-logo.big { width: 78px; height: 78px; border: 3px solid rgba(255, 255, 255, .9); background: #fff; }
.sp-fol, .fol.sp-fol { position: relative; top: auto; inset-inline-end: auto; align-self: flex-end; background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.fol.sp-fol.on { background: var(--tq); border-color: var(--tq); }
.sp-off { display: flex; align-items: center; gap: 12px; margin: 10px var(--pad) 0; padding: 10px 14px; border: 1.5px solid #BFE6DF; border-radius: 16px; background: #F1FAF8; }
.sp-off img { width: 46px; height: auto; padding: 4px; border: 2px solid var(--gold2); border-radius: 50%; background: #fff; }
.sp-off div { display: flex; flex-direction: column; gap: 2px; } .sp-off small { color: var(--navy); font-weight: 700; }
.sp-off b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 10px; background: #127C72; color: #fff; } .sp-off b svg { width: 17px; height: 17px; }
.sp-desc { margin: 10px var(--pad) 0; color: #4E5566; font-size: .86rem; line-height: 1.9; }
.sp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 10px var(--pad) 0; padding: 10px 4px; border-radius: 16px; background: #E4F4F1; list-style: none; }
.sp-stats li { position: relative; gap: 2px; padding: 4px 2px; background: none; border-radius: 0; }
.sp-stats li + li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14%; bottom: 14%; width: 1px; background: #BFE0DA; }
.sp-stats li > svg { width: 22px; height: 22px; color: var(--tq); }
.sp-stats b { font-size: 1rem; } .sp-stats small { font-size: .72rem; }
.sp-note { margin: 8px var(--pad) 0; padding: 8px 12px; border-radius: 12px; background: var(--bg-soft); }
.sp-sec { padding: 10px var(--pad) 6px; }
.sp-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 10px; }
.vt { display: flex; padding: 3px; border-radius: 12px; background: var(--bg-soft); }
.vt button { display: grid; place-items: center; width: 38px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; } .vt button svg { width: 19px; height: 19px; }
.vt button[aria-pressed=true] { background: var(--tq); color: #fff; }
.sp-more { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px auto 0; min-height: 40px; padding: 0 18px; border: 1.5px solid #BFE6DF; border-radius: 999px; background: #F1FAF8; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; } .sp-more svg { width: 16px; height: 16px; }
/* بلیت طلایی */
.tk-g { position: relative; display: flex; align-items: stretch; min-height: 92px; border: 2px dashed #E8B64A; border-radius: 16px; background: #FFF8E6; overflow: hidden; }
.tk-g .tk-v { flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-inline-end: 2px dashed #E8B64A; background: #FDEBC0; }
.tk-v b { font-size: 1.45rem; font-weight: 900; color: #C77E00; line-height: 1.1; } .tk-v small { color: #C77E00; font-weight: 800; font-size: .78rem; }
.tk-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 12px; } .tk-mid > b { font-size: 1.2rem; color: var(--navy); letter-spacing: .04em; text-align: start; } .tk-mid small { color: #6B5A33; font-size: .74rem; }
.tk-side { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 10px; }
.tk-side small { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; color: #6B5A33; } .tk-side small svg { width: 14px; height: 14px; }
.tk-side b { font-weight: 900; color: var(--navy); font-size: .95rem; }
.tk-cp { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fff; color: var(--tq); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); } .tk-cp svg { width: 20px; height: 20px; }
.tk-exp { display: none; align-items: center; gap: 5px; color: #6B6F78; font-size: .78rem; } .tk-exp svg { width: 16px; height: 16px; }
.expired .tk-exp { display: flex; } .expired.tk-g { border-color: #C9CDD5; background: #F4F5F7; } .expired.tk-g .tk-v { background: #E9EBEF; border-color: #C9CDD5; } .expired .tk-v b, .expired .tk-v small { color: #8A8F98; }
.expired .tk-cp, .expired .tk-cp2 { pointer-events: none; opacity: .4; } .expired .tk-side, .expired .tk-mid > small { display: none; }
/* بلیت فیروزه‌ای */
.tk-m { position: relative; border: 1px solid #CFE9E4; border-radius: 16px; background: #F1FAF8; overflow: hidden; }
.tk-mtop { display: flex; align-items: stretch; }
.tk-m .tk-v { flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; background: #FDEBC0; border-inline-end: 2px dashed #E8B64A; }
.tk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 12px; } .tk-info b { color: var(--navy); font-size: 1rem; } .tk-info small { color: #4E5566; font-size: .78rem; line-height: 1.7; }
.tk-ic { flex: none; display: grid; place-items: center; width: 50px; color: #127C72; } .tk-ic svg { width: 26px; height: 26px; }
.tk-mbot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; border-top: 1px dashed #BFE0DA; background: #fff; font-size: .76rem; color: #4E5566; }
.tk-mbot > span { display: inline-flex; align-items: center; gap: 4px; } .tk-mbot svg { width: 15px; height: 15px; } .tk-mbot b { color: var(--navy); }
.tk-cp2 { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px; border: 1.5px solid #BFE6DF; border-radius: 999px; background: #fff; color: #127C72; font: inherit; font-weight: 800; cursor: pointer; } .tk-cp2 svg { width: 15px; height: 15px; }
.tk-m .tk-exp { margin: 0; padding: 6px 12px; } .expired.tk-m { filter: grayscale(1); opacity: .7; }
/* صفحهٔ تخفیف‌ها */
.of-hero { display: block; margin: 0; padding: 10px var(--pad) 14px; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, #E4F4F1, #fff); color: var(--navy); }
.of-top { display: flex; align-items: center; justify-content: space-between; } .of-top .bh-logo img { width: 34px; }
.of-row { display: flex; align-items: center; gap: 6px; } .of-row > div { flex: 1; } .of-row h1 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 900; } .of-row p { margin: 0; color: #4E5566; line-height: 1.8; } .of-row img { width: 42%; max-width: 160px; height: auto; }
.amz { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--navy); color: #fff; }
.amz h2 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 1.15rem; font-weight: 900; } .amz h2 svg { width: 24px; height: 24px; color: var(--gold2); }
.amz-t { display: flex; flex-direction: column; align-items: center; gap: 2px; } .amz-t > small { font-size: .7rem; opacity: .85; }
.tbx { display: flex; align-items: flex-start; gap: 3px; direction: ltr; flex-direction: row-reverse; } .tbx span { display: flex; flex-direction: column; align-items: center; } .tbx b { min-width: 34px; padding: 3px 4px; border-radius: 8px; background: #fff; color: var(--navy); font-weight: 900; text-align: center; } .tbx small { font-size: .62rem; opacity: .85; } .tbx i { font-style: normal; font-weight: 900; padding-top: 3px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.dl-c { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dl-img { flex: none; width: 70px; height: 70px; border-radius: 10px; background: #F4F6F8; overflow: hidden; } .dl-img img { width: 100%; height: 100%; object-fit: contain; }
.dl-c > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; } .dl-c a { color: var(--navy); text-decoration: none; } .dl-c b { font-size: .8rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-c > div > small { color: var(--muted); font-size: .7rem; }
.dl-old { display: inline-flex; align-items: center; gap: 4px; } .dl-old del { color: var(--muted); font-size: .7rem; } .dl-old em { font-style: normal; padding: 0 6px; border-radius: 6px; background: var(--gold2); color: var(--navy); font-size: .7rem; font-weight: 900; }
.dl-p { color: #127C72; font-weight: 900; font-size: .82rem; }
.dl-cart { position: absolute; bottom: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 9px; background: var(--tq); color: #fff; cursor: pointer; } .dl-cart svg { width: 16px; height: 16px; }
.lined-h2 { padding: 8px 12px; border-radius: 12px; background: linear-gradient(90deg, transparent, #E4F4F1 30%, #E4F4F1 70%, transparent); text-align: center; }
.lined-h2 h2 { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 1.05rem; color: var(--navy); } .lined-h2 svg { width: 20px; height: 20px; color: var(--tq); }
.of-stores { gap: 8px; padding: 10px 0 6px; }
.of-st { width: 86px; gap: 4px; padding: 10px 4px; border-radius: 14px; } .of-st .st-logo { width: 46px; height: 46px; } .of-st small { color: var(--coral); font-weight: 800; font-size: .72rem; }
/* خانه: میان‌بُرها با آیکون سه‌بعدی و ویترین */
.sc-ic { width: 62px; height: 62px; border: 0; background: none; box-shadow: none; } .sc-ic img { width: 100%; height: 100%; object-fit: contain; }
.spot-ban { position: relative; display: flex; align-items: stretch; gap: 8px; padding: 16px; min-height: 150px; border-radius: 20px; background: linear-gradient(135deg, #14295A, #1F4F7A 70%, #19B3A6); overflow: hidden; }
.spot-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
.spot-t .st-logo { width: 46px; height: 46px; } .spot-t b { font-size: 1.4rem; font-weight: 900; color: #fff; } .spot-t > span { font-size: .86rem; color: rgba(255, 255, 255, .92); line-height: 1.7; } .spot-t em { font-style: normal; color: var(--gold2); font-weight: 900; font-size: 1.1rem; }
.spot-t .spot-cta { margin-top: auto; background: var(--tq); color: #fff; padding: 6px 16px; }
.spot-img { flex: 0 0 38%; max-width: 150px; align-self: center; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); background: rgba(255, 255, 255, .9); border-radius: 18px; padding: 6px; }
.spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 var(--pad); }
.spot-p { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy); text-decoration: none; text-align: center; }
.spot-p img { width: 100%; aspect-ratio: 1; object-fit: contain; } .spot-p b { font-size: .74rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .spot-p span { font-size: .72rem; color: #127C72; font-weight: 800; }
/* فروشگاه‌های دنبال‌شده */
.fol-list { list-style: none; display: grid; gap: 8px; margin: 8px var(--pad); padding: 0; }
.fol-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.fol-list a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.fol-list .st-logo { width: 48px; height: 48px; } .fol-list div { min-width: 0; display: flex; flex-direction: column; } .fol-list b { color: var(--navy); } .fol-list small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* نمودار قیمت (نسخهٔ نهایی) */
.pc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 10px; padding: 4px; border-radius: 14px; background: var(--bg-soft); }
.pc-seg button { min-height: 38px; border: 0; border-radius: 10px; background: none; color: #4E5566; font: inherit; font-weight: 800; cursor: pointer; } .pc-seg button.on { background: var(--tq); color: #fff; }
.pc-y { font: 600 9.5px Vazirmatn, Tahoma, sans-serif; fill: var(--muted); stroke: none; }
.pc .pc-x { font-size: 9.5px; }
.pc-line { stroke: #127C72; stroke-width: 2.4; }
.pc-today { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding: 2px 8px; border-radius: 8px; background: #127C72; color: #fff; font-size: .7rem; pointer-events: none; white-space: nowrap; } .pc-today small { font-size: .62rem; opacity: .85; }
.pc-tt { width: 128px; border-radius: 10px; box-shadow: 0 4px 12px rgba(20, 41, 90, .25); }
.pc-sum { gap: 8px; padding: 0; background: none; }
.pc-sum li { padding: 10px 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pc-sum li.down { background: #E3F6EC; border-color: #BFE7D0; } .pc-sum li.down b, .pc-sum li.down small[dir] { color: #15A05A; }
.pc-sum li.up { background: #FDECEA; border-color: #F6CFC9; } .pc-sum li.up b, .pc-sum li.up small[dir] { color: var(--coral); }
.pc-sum b { font-size: .95rem; } .pc-sum b svg { width: 14px; height: 14px; }
.pc-note { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; padding: 8px 12px; border-radius: 999px; background: var(--bg-soft); color: #4E5566; font-size: .74rem; line-height: 1.7; } .pc-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.pc-empty { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: #E4F4F1; } .pc-empty > svg { width: 30px; height: 30px; color: #127C72; flex: none; } .pc-empty div { display: flex; flex-direction: column; } .pc-empty b { color: var(--navy); } .pc-empty small { color: #4E5566; }
/* دسته‌بندی: کلید نما */
.cats-head { padding-top: 10px; }
.cv-tog { position: static; order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; max-width: 360px; margin: 0 0 8px; padding: 4px; border-radius: 999px; background: var(--bg-soft); }
.cv-tog button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; height: 40px; border-radius: 999px; font: inherit; font-weight: 800; color: #4E5566; }
.cv-tog button[aria-pressed=true] { background: var(--tq); color: #fff; box-shadow: none; }
.cats-head .cats-search { order: 4; }
.cv2-all { gap: 8px; } .cv2-all > span { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; }
.cv2-all > span svg { width: 22px; height: 22px; color: var(--tq); grid-row: span 2; } .cv2-all small { color: var(--muted); font-weight: 500; font-size: .76rem; }
.cv2-acc summary { justify-content: flex-start; gap: 8px; } .cv2-acc summary b { flex: 1; } .cv2-ck { display: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tq); color: #fff; font-style: normal; } .cv2-ck svg { width: 14px !important; height: 14px !important; color: #fff !important; transform: none !important; }
.cv2-acc[open] { background: #F1FAF8; border-radius: 12px; border-color: transparent; padding: 0 8px; } .cv2-acc[open] .cv2-ck { display: grid; }
.cv2-side button.on { color: #127C72; box-shadow: inset -3px 0 0 var(--tq); }
/* بازگشت به بالا */
.to-top { left: 16px; transform: none; background: var(--tq); color: #fff; box-shadow: 0 4px 14px rgba(32, 184, 166, .4); }
@media (max-width: 350px) {
  .sp-stats { grid-template-columns: 1fr 1fr; row-gap: 6px; } .sp-stats li:nth-child(3)::before { display: none; }
  .stc-body { grid-template-columns: 1fr 1.2fr; } .stc-top { flex-wrap: wrap; } .stc-top .fol { order: 3; margin-inline-start: 72px; }
  .dl-grid { grid-template-columns: 1fr; } .spot-grid { grid-template-columns: 1fr 1fr; }
  .tk-g .tk-v, .tk-m .tk-v { flex-basis: 70px; } .tk-side { padding: 6px; }
  .sp-hero { flex-wrap: wrap; } .fol.sp-fol { align-self: auto; }
}
.fol-list { grid-template-columns: minmax(0, 1fr); } .fol-list li { min-width: 0; }
.dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dl-c { min-width: 0; }
@media (max-width: 350px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.dl-old { flex-wrap: wrap; max-width: 100%; }
.spot .section-head { gap: 8px; } .spot .section-head h2 { min-width: 0; flex: 1; } .section-head .see-all { flex: none; white-space: nowrap; }
/* آیکون‌های سه‌بعدی زیردسته‌ها (زمینهٔ نعنایی در رابط ساخته می‌شود) */
.cl-ic { flex: 0 0 auto; display: grid; place-items: center; width: 34%; max-width: 148px; aspect-ratio: 2.3 / 1; border-radius: 12px; background: #E4F4F1; }
.cl-subs .cl-ic img { width: auto; max-width: none; height: 86%; aspect-ratio: 1; object-fit: contain; background: none; border-radius: 0; }
.cv2-ic { flex: none; width: 40px; height: 40px; padding: 3px; border-radius: 12px; background: #E4F4F1; object-fit: contain; }
.cv2-ic.all { width: 44px; height: 44px; grid-row: span 2; }
.cv2-row { justify-content: flex-start; gap: 10px; } .cv2-row b { flex: 1; }
.cv2-acc summary { gap: 10px; }
.cl-size-ic { width: 30px; height: 30px; object-fit: contain; }
.cl-ic { height: 64px; aspect-ratio: auto; }
.cl-subs .cl-ic img { width: 56px; height: 56px; aspect-ratio: auto; }

/* نمای دوستونه: آیکون سه‌بعدی دسته‌های اصلی و ستون کناری چسبان */
.cv2 { align-items: start; }
.cv2-side { position: sticky; top: 0; max-height: calc(100dvh - var(--tabbar-h) - 24px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.cv2-side::-webkit-scrollbar { display: none; }
.cv2-side button span.ic { width: 48px; height: 48px; padding: 4px; background: #E4F4F1; border-radius: 14px; }
.cv2-side button span.ic img { object-fit: contain; }
.cv2-side button.on span.ic { background: #fff; box-shadow: 0 0 0 2px var(--tq); }
.cv2-main { min-height: 100dvh; }
[data-theme=dark] .cv2-side button span.ic { background: #1E2B47; }
.cv2-acc li a:has(.cv2-ic) { display: flex; align-items: center; gap: 10px; }
.cv2-ic.sm { width: 32px; height: 32px; padding: 2px; border-radius: 10px; }
