/* Shop listing, checkout and text pages. */
.pbanner { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 34px; }
.pbanner video, .pbanner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pbanner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--night), rgba(6,9,16,.72) 60%, rgba(6,9,16,.5)), radial-gradient(60% 80% at 80% 50%, color-mix(in oklab, var(--t1) 30%, transparent), transparent 70%); }
.pbanner .wrap { position: relative; }
.pbanner .crumbs { display: flex; gap: 6px; font-size: 13px; color: #aeb4c2; margin-bottom: 10px; }
.pbanner .crumbs a:hover { color: var(--gold); }
.ptitle { display: flex; align-items: center; gap: 16px; }
.ptitle h1 { margin: 0; font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; }
.ptitle p { margin: 4px 0 0; color: #c9ced9; }
.tchips { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; padding: 18px 2px 6px; scrollbar-width: none; }
.tchips::-webkit-scrollbar { display: none; }
.tchips a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 8px; border-radius: 15px; font-size: 13.5px; font-weight: 600;
  background: rgba(10,14,24,.6); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); white-space: nowrap; }
.tchips a img { width: 30px; height: 30px; object-fit: contain; }
.tchips a.on { border-color: var(--gold); background: rgba(229,157,46,.14); color: var(--gold); }

.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; padding: 22px 0 60px; align-items: start; }
.filters { position: sticky; top: 140px; display: grid; gap: 16px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.filters h4 { margin: 0 0 8px; font-size: 14px; }
.filters .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.filters .opts button { height: 36px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #d8dce4; font-size: 13px; }
.filters .opts button.on { border-color: var(--gold); color: var(--gold); background: rgba(229,157,46,.1); }
.filters input[type=range] { width: 100%; accent-color: var(--gold); }
.filters .range-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.shop-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.shop-top small { color: var(--muted); }
.shop-top select { height: 42px; padding: 0 12px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); }
.fbtn { display: none; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(146px, 18vw, 232px), 1fr)); gap: var(--sp-2); }
.kgrid .kcard { scroll-snap-align: none; }
.none { text-align: center; padding: 50px 16px; border-radius: 24px; border: 1px dashed var(--line-2); color: var(--muted); }
.none b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.more-wrap { display: flex; justify-content: center; margin: var(--sp-3, 24px) 0 8px; }

/* checkout */
.steps { display: flex; gap: 8px; align-items: center; margin: 22px 0 18px; font-size: 13.5px; color: var(--muted); }
.steps span { display: flex; align-items: center; gap: 8px; }
.steps i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: rgba(255,255,255,.08); }
.steps .on { color: #fff; } .steps .on i { background: var(--gold); color: #111; } .steps .ok i { background: var(--ok); color: #05210f; }
.steps hr { flex: 1; height: 1px; border: 0; background: var(--line-2); margin: 0; max-width: 80px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 22px; padding-bottom: 60px; align-items: start; }
.co .box { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.co .box + .box { margin-top: 16px; }
.co h3 { margin: 0 0 14px; font-size: 16.5px; }
.pick { display: grid; gap: 10px; }
.pick label { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.pick label:has(input:checked) { border-color: var(--gold); background: rgba(229,157,46,.07); }
.pick input { accent-color: var(--gold); width: 18px; height: 18px; }
.pick b { display: block; font-size: 14.5px; } .pick small { color: var(--muted); font-size: 12.5px; }
.pick .price { margin-inline-start: auto; font-weight: 800; color: #fff; white-space: nowrap; }
.pick .logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #111; font-weight: 900; font-size: 12px; flex: none; }
.co-sum { position: sticky; top: 140px; }
.co-sum .it { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-sum .it img { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; background: radial-gradient(closest-side, rgba(255,255,255,.1), transparent); }
.co-sum .it > div { min-width: 0; flex: 1; }
.co-sum .it b { font-size: 13px; display: block; line-height: 1.6; } .co-sum .it small { color: var(--muted); font-size: 12px; }
.co-sum .it .p { margin-inline-start: auto; font-weight: 700; white-space: nowrap; font-size: 13.5px; }
.co-sum .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #cfd3dc; }
.co-sum .row.total { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 14px; font-size: 17px; color: #fff; font-weight: 900; }
.co-sum .row.total b { color: var(--gold); }
.coupon { display: flex; gap: 8px; margin: 10px 0; }
.coupon input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); }
.done-box { text-align: center; padding: 50px 20px; }
.done-box .tick { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(47,207,122,.14); color: var(--ok); }
.done-box .tick svg { width: 50px; height: 50px; stroke-width: 2.4; }

/* text pages */
.doc { max-width: 820px; margin: 0 auto; padding: 26px 0 70px; }
.doc .box { padding: clamp(18px, 3vw, 34px); border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid var(--line); line-height: 2.1; color: #d9dde5; }
.doc h2 { font-size: 18px; margin: 22px 0 6px; color: #fff; }
.doc h2:first-child { margin-top: 0; }
/* guides (daysport-core inc/guides.php): the list of guides, the live size tables, the questions that open */
.doc .entry h3 { font-size: 15.5px; margin: 18px 0 6px; color: #fff; }
.doc .guide-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.doc .guide-list li { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); line-height: 1.9; }
.doc .guide-list strong { color: #fff; }
.doc .sg-scroll { overflow-x: auto; margin: 6px 0 4px; border-radius: 14px; border: 1px solid var(--line); }
.doc .sg-units { font-size: 12.5px; color: var(--muted); }
.doc details { margin: 8px 0; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.doc details summary { cursor: pointer; font-weight: 700; color: #fff; }
.doc details[open] summary { margin-bottom: 6px; }
.doc .entry .btn { margin: 4px 0 4px 6px; text-decoration: none; }
.doc .note { font-size: 13px; color: var(--gold); background: rgba(229,157,46,.08); border: 1px dashed rgba(229,157,46,.4); padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }

@media (max-width: 960px) {
  .shop, .co { grid-template-columns: minmax(0, 1fr); }
  /* the sheet sits above the phone's bottom bar (z-index 70), which used to cover its «نمایش نتایج» button for good; the
     page behind is dimmed by a spread shadow (no blur: cheap to draw) and a tap there closes the sheet (shop.js) */
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 80; max-height: 78vh; overflow: auto; overscroll-behavior: contain; border-radius: 26px 26px 0 0; background: #121724; transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .filters.on { transform: none; box-shadow: 0 -30px 60px rgba(0,0,0,.6), 0 0 0 100vmax rgba(3,5,10,.5); }
  /* the button stays in sight at the sheet's foot however long the team list is, clear of an iPhone's home bar */
  /* (a sticky offset counts from inside the sheet's own padding, so 0 is its natural place; its frame in the sheet's
     colour, narrower than the 16px gap above it, hides the chips that scroll under it without covering the last row) */
  .filters [data-fclose] { position: sticky; bottom: env(safe-area-inset-bottom); box-shadow: 0 0 0 14px #121724, 0 18px 0 14px #121724; }
  .fbtn { display: inline-flex; }
  .kgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .co-sum { position: static; }
}
.ds-seo-list { padding: 30px 0; } .ds-seo-list ul { display: none; }
/* the page's heading for search engines and screen readers; the page script draws the visible one */
.ds-seo-list h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pbanner .pb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.entry { line-height: 2.1; } .entry h2 { font-size: 19px; margin: 22px 0 8px; } .entry a { color: var(--gold); text-decoration: underline; }

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--sp-3, 24px); padding: 26px 0 70px; align-items: start; }
.contact .box { padding: clamp(18px, 3vw, 30px); border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.contact h2 { margin: 0 0 8px; font-size: 20px; }
.c-intro { margin: 0 0 16px; color: var(--muted); line-height: 2; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-list li > svg { flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 15px; background: rgba(229,157,46,.1); color: var(--gold); }
.c-list span { display: grid; gap: 2px; line-height: 1.8; min-width: 0; }
.c-list small { color: var(--muted); font-size: 12.5px; }
.c-list span > a, .c-list b { font-weight: 700; font-size: 15.5px; overflow-wrap: anywhere; }
.c-list span > a:hover { color: var(--gold); }
.c-list .c-map { font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: underline; }
.c-soc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.c-form { display: grid; gap: 14px; position: relative; }
.c-form .fld { display: grid; gap: 6px; font-size: 13px; color: #cfd3dc; }
.c-form .fld input, .c-form .fld textarea { height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); outline: 0; font-size: 15px; color: var(--text); }
.c-form .fld textarea { height: 150px; padding: 12px 14px; resize: vertical; line-height: 1.9; }
.c-form .fld input:focus, .c-form .fld textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(229,157,46,.12); }
.c-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.9; }
.c-msg.ok { background: rgba(46, 204, 113, .1); border: 1px solid rgba(46, 204, 113, .4); color: #9be7b8; }
.c-msg.bad { background: rgba(255, 91, 107, .1); border: 1px solid rgba(255, 91, 107, .4); color: #ffb3bb; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; } }
