/* Grabify — public site */
@font-face { font-family: "IRANSans"; src: url("../fonts/iransans-fanum_light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("../fonts/iransans-fanum.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("../fonts/iransans-fanum_medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("../fonts/iransans-fanum_bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("../fonts/iransans-fanum_black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
/* Same family with Latin digits, for English product text */
@font-face { font-family: "IRANSansEn"; src: url("../fonts/iransans-en.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSansEn"; src: url("../fonts/iransans-en_bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --teal: #009DB2;
  --teal-dark: #007f90;
  --teal-soft: #e5f5f7;
  --teal-light: #77C9D3;
  --navy: #17233F;
  --navy-deep: #0f182e;
  --orange: #F47020;
  --orange-soft: #fff1e8;
  --blue-soft: #92B0EE;
  --grey: #EFEFEF;
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #17233F;
  --muted: #5d6679;
  --line: #e3e7ed;
  --danger: #d6343f;
  --danger-soft: #fdecee;
  --success: #138a52;
  --success-soft: #e7f6ee;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23,35,63,.06), 0 8px 24px rgba(23,35,63,.06);
  --shadow-lg: 0 12px 40px rgba(23,35,63,.14);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "IRANSans", Tahoma, sans-serif; font-size: 15px; line-height: 1.85; color: var(--text); background: var(--bg); direction: rtl; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.ltr { direction: ltr; unicode-bidi: plaintext; text-align: right; }
.en, [dir="ltr"], .features ul, .specs, .summary .item .t, .chip-opt, .linkbox input, input.ltr { font-family: "IRANSansEn", "IRANSans", Tahoma, sans-serif; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 20px; font-weight: 700; font-size: .95rem; cursor: pointer; background: var(--teal); color: #fff; transition: background .15s, transform .1s, box-shadow .15s; text-align: center; line-height: 1.5; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: #d95f15; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--teal); color: var(--teal-dark); }
.btn-light { background: var(--teal-soft); color: var(--teal-dark); }
.btn-light:hover { background: #d3eef2; color: var(--teal-dark); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #b82a33; }
.btn-sm { padding: 7px 14px; font-size: .85rem; border-radius: 10px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,157,178,.12); }
textarea.input { min-height: 96px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--teal); }

.alert { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: var(--danger-soft); color: #8d1c25; }
.alert-success { background: var(--success-soft); color: #0b5e37; }
.alert-info { background: var(--teal-soft); color: #035562; }
.alert-warn { background: var(--orange-soft); color: #8a3a08; }
.alert ul { margin: 0; padding-right: 18px; }
.flash-area { padding-top: 16px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-dark); }
.badge-orange { background: var(--orange-soft); color: #b04d0f; }
.badge-grey { background: var(--grey); color: var(--muted); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-success { background: var(--success-soft); color: var(--success); }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #cfd6e4; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: center; gap: 22px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 15px; height: 15px; color: var(--teal-light); }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-main { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.header-search { flex: 1; max-width: 640px; }
.header-actions { display: flex; gap: 6px; margin-right: auto; }
.hdr-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--text); font-size: .88rem; font-weight: 500; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.hdr-btn:hover { background: var(--bg); color: var(--teal-dark); }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a, .nav .dd > span { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--text); font-size: .9rem; font-weight: 500; border-bottom: 2px solid transparent; cursor: pointer; }
.nav a:hover, .nav a.active { color: var(--teal-dark); border-bottom-color: var(--teal); }
.nav .dd { position: relative; }
.nav .dd-menu { position: absolute; top: 100%; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; display: none; z-index: 60; }
.nav .dd:hover .dd-menu, .nav .dd:focus-within .dd-menu { display: block; }
.nav .dd-menu a { display: flex; padding: 10px 12px; border-radius: 8px; border: 0; }
.nav .dd-menu a:hover { background: var(--teal-soft); }
.menu-toggle { display: none; }

/* Link box (header + hero + store pages) */
.linkbox { position: relative; }
.linkbox form { display: flex; align-items: center; background: #fff; border: 2px solid var(--teal); border-radius: 14px; padding: 4px; gap: 4px; transition: box-shadow .15s; }
.linkbox form:focus-within { box-shadow: 0 0 0 5px rgba(0,157,178,.15); }
.linkbox .lb-icon { color: var(--teal); margin: 0 10px 0 4px; }
.linkbox input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); caret-color: var(--teal); padding: 9px 4px; direction: ltr; text-align: left; font-size: .92rem; }
.linkbox input::placeholder { color: #8a93a5; }
.linkbox input:placeholder-shown { direction: rtl; text-align: right; }
.linkbox .btn { padding: 9px 18px; border-radius: 10px; }
.linkbox-sm form { border-width: 1.5px; border-color: var(--line); background: var(--bg); }
.linkbox-sm form:focus-within { border-color: var(--teal); background: #fff; }
.linkbox-lg form { padding: 7px; border-radius: 18px; border-width: 0; box-shadow: var(--shadow-lg); }
.linkbox-lg input { font-size: 1rem; padding: 12px 6px; }
.linkbox-lg .btn { padding: 13px 26px; font-size: 1rem; border-radius: 13px; }
.lb-status { margin-top: 10px; font-size: .88rem; }
.lb-loading { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 10px; padding: 10px 14px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(0,157,178,.25); border-top-color: var(--teal); border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbox.busy .btn { pointer-events: none; opacity: .7; }
.quote-form input { color: var(--text); }
.quote-form { margin-top: 12px; background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow); color: var(--text); text-align: right; }
.quote-form h4 { margin-bottom: 6px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(0,157,178,.45), transparent 60%), radial-gradient(800px 400px at 0% 110%, rgba(244,112,32,.18), transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 84px; }
.hero-main { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-main .linkbox { text-align: right; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); color: var(--teal-light); padding: 5px 14px; border-radius: 99px; font-size: .85rem; margin-bottom: 18px; direction: ltr; font-weight: 700; font-style: italic; letter-spacing: .3px; }
.hero h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.4; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero p.lead { color: #c9d1e1; font-size: 1.08rem; margin: 0 auto 28px; max-width: 600px; }
.hero .lb-status .lb-loading { background: rgba(255,255,255,.95); }
.hero-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: .85rem; color: #aab4c8; align-items: center; justify-content: center; }
.hero-stores span.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 4px 12px; border-radius: 99px; }
.hero-art { position: relative; min-height: 340px; }
.mock { position: absolute; background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.mock-link { top: 10px; right: 0; left: 40px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: .78rem; direction: ltr; color: var(--muted); }
.mock-link .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal); }
.mock-card { top: 86px; left: 0; right: 60px; padding: 18px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.mock-card .ph { width: 96px; height: 96px; border-radius: 14px; background: linear-gradient(135deg, #e9f6f8, #cfeaee); display: grid; place-items: center; color: var(--teal); }
.mock-card .ph .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.mock-card .t { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.mock-card .n { font-weight: 700; font-size: .92rem; line-height: 1.5; margin-bottom: 8px; }
.mock-card .p { font-weight: 900; font-size: 1.25rem; color: var(--navy); }
.mock-card .p small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.mock-ok { bottom: 10px; right: 10px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 700; }
.mock-ok .c { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 1.5rem; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.section-head a { white-space: nowrap; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -36px; position: relative; z-index: 2; }
.trust-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; gap: 14px; align-items: center; }
.trust-item .ti { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ti .icon { width: 24px; height: 24px; }
.trust-item b { display: block; font-size: .95rem; }
.trust-item span { font-size: .8rem; color: var(--muted); line-height: 1.6; display: block; }

.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.store-card { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; color: var(--text); border: 1.5px solid transparent; transition: border-color .15s, transform .15s; }
.store-card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--text); }
.store-mark { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; flex-shrink: 0; direction: ltr; }
.store-mark.amazon { background: #fff4e6; color: #c45500; }
.store-mark.bfl { background: #fde8ee; color: #b4234c; }
.store-card h3 { margin: 0 0 2px; font-size: 1.08rem; }
.store-card p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.7; }
.store-card .go { margin-right: auto; color: var(--teal); }
.store-soon { opacity: .65; border: 1.5px dashed var(--line); box-shadow: none; background: transparent; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.pcard .pimg { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 16px; border-bottom: 1px solid var(--line); position: relative; }
.pcard .pimg img { max-height: 100%; object-fit: contain; }
.pcard .pimg .badge { position: absolute; top: 10px; right: 10px; }
.pcard .pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard .pstore { font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.pcard .ptitle { font-size: .88rem; font-weight: 500; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; min-height: 3em; }
.pcard .pprice { margin-top: auto; font-weight: 900; font-size: 1.08rem; }
.pcard .pprice small { font-weight: 400; font-size: .75rem; color: var(--muted); }
.pcard .pold { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; gap: 16px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.hscroll > * { scroll-snap-align: start; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; position: relative; text-align: center; }
.step .si { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; background: linear-gradient(135deg, var(--teal), #00b8cf); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,157,178,.3); }
.step .si .icon { width: 34px; height: 34px; }
.step .num { position: absolute; top: 16px; right: 18px; font-weight: 900; font-size: 2.6rem; color: var(--grey); line-height: 1; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--teal); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 18px; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--teal), #00788a); color: #fff; border-radius: 24px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { background: #fff; color: var(--teal-dark); }

/* Blog cards */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--text); display: flex; flex-direction: column; }
.post-card:hover { color: var(--text); box-shadow: var(--shadow-lg); }
.post-card .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--teal)); display: grid; place-items: center; color: rgba(255,255,255,.5); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.post-card p { font-size: .87rem; color: var(--muted); margin-bottom: 12px; }
.post-card .meta { margin-top: auto; font-size: .78rem; color: var(--muted); display: flex; gap: 12px; }

/* ---------- Breadcrumbs, page head ---------- */
.crumbs { font-size: .82rem; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li::after { content: "‹"; margin-right: 6px; color: #b3bac7; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); }
.page-head { padding: 28px 0 8px; }
.page-head h1 { margin-bottom: 6px; }
.page-head p { color: var(--muted); margin: 0; }
.prose { font-size: .98rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.3rem; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-right: 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 12px; margin: 16px 0; }
.prose blockquote { margin: 16px 0; padding: 12px 18px; border-right: 4px solid var(--teal); background: var(--teal-soft); border-radius: 8px; }

/* Store page */
.store-hero { background: linear-gradient(135deg, var(--navy) 0%, #1c3358 100%); color: #fff; border-radius: 24px; padding: 36px; margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.store-hero .store-mark { width: 84px; height: 84px; font-size: 1.4rem; }
.store-hero h1 { margin-bottom: 4px; }
.store-hero p { color: #c9d1e1; margin-bottom: 18px; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) 330px; gap: 24px; align-items: start; margin-top: 16px; }
.product > * { min-width: 0; }
.gallery { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 140px; }
.gallery .main { aspect-ratio: 1; display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.gallery .thumbs button { width: 60px; height: 60px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; display: grid; place-items: center; }
.gallery .thumbs button.on { border-color: var(--teal); }
.gallery .thumbs img { max-height: 100%; object-fit: contain; }
.pinfo .pstore-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.pinfo h1 { font-size: 1.25rem; line-height: 1.7; font-weight: 700; }
.pinfo h1.en { direction: ltr; text-align: left; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--muted); }
.rating .stars { color: #f5a623; display: inline-flex; }
.rating .icon { width: 15px; height: 15px; }
.confirm-note { display: flex; gap: 10px; align-items: flex-start; background: var(--teal-soft); color: #075866; border-radius: 12px; padding: 12px 14px; font-size: .85rem; margin: 14px 0 18px; }
.opt-group { margin-bottom: 18px; }
.opt-group h4 { font-size: .9rem; margin-bottom: 8px; }
.opt-group h4 span { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 14px; font-size: .85rem; cursor: pointer; direction: ltr; transition: border-color .15s; }
.chip-opt:hover { border-color: var(--teal-light); }
.chip-opt.on { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; }
.chip-opt:disabled, .chip-opt.off { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.chip-opt small { color: var(--orange); margin-left: 4px; }
.size-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.size-tabs button { border: 0; background: var(--grey); border-radius: 8px; padding: 3px 12px; font-size: .78rem; cursor: pointer; }
.size-tabs button.on { background: var(--navy); color: #fff; }
.features { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 18px; }
.features h3 { font-size: 1rem; }
.features ul { margin: 0; padding: 0 18px 0 0; direction: ltr; text-align: left; padding: 0 0 0 18px; font-size: .88rem; line-height: 1.8; color: #384259; }
.features li { margin-bottom: 6px; }
.specs { width: 100%; border-collapse: collapse; font-size: .85rem; direction: ltr; }
.specs th, .specs td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.buybox { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: sticky; top: 140px; }
.buybox .lbl { font-size: .85rem; color: var(--muted); }
.buybox .price { font-size: 1.9rem; font-weight: 900; color: var(--navy); line-height: 1.4; }
.buybox .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.buybox .old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.buybox .incl { font-size: .8rem; color: var(--success); display: flex; align-items: center; gap: 6px; margin: 4px 0 14px; }
.buybox .incl .icon { width: 16px; height: 16px; }
.buybox .line { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; padding: 9px 0; border-top: 1px dashed var(--line); }
.buybox .line span:first-child { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.buybox .line .icon { width: 17px; height: 17px; color: var(--teal); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: var(--bg); cursor: pointer; font-size: 1.1rem; }
.qty input { width: 40px; text-align: center; border: 0; outline: none; font-weight: 700; }
.buybox .actions { display: grid; gap: 10px; margin-top: 16px; }
.buybox .warn { font-size: .78rem; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; margin-top: 12px; line-height: 1.7; }
.buybox .warn .icon { width: 16px; height: 16px; color: var(--orange); margin-top: 3px; }
.unavail { text-align: center; padding: 10px 0; }
.unavail .icon { width: 40px; height: 40px; color: var(--muted); margin: 0 auto 8px; }
.mini-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.mini-trust div { background: var(--bg); border-radius: 10px; padding: 10px; font-size: .75rem; display: flex; gap: 8px; align-items: center; line-height: 1.5; }
.mini-trust .icon { width: 20px; height: 20px; color: var(--teal); }
.mobile-buy { display: none; }

/* ---------- Order flow ---------- */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; margin-top: 20px; }
.summary { position: sticky; top: 140px; }
.summary .item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.summary .item .thumb { width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; padding: 4px; }
.summary .item .thumb img { max-height: 100%; object-fit: contain; }
.summary .item .t { font-size: .82rem; line-height: 1.7; direction: ltr; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.summary .row { display: flex; justify-content: space-between; font-size: .88rem; padding: 5px 0; }
.summary .total { font-weight: 900; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.steps-bar { display: flex; gap: 8px; margin: 22px 0 0; font-size: .82rem; flex-wrap: wrap; }
.steps-bar span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--muted); box-shadow: var(--shadow); }
.steps-bar span.on { background: var(--teal); color: #fff; }
.steps-bar span.done { background: var(--teal-soft); color: var(--teal-dark); }
.otp-box { max-width: 440px; margin: 40px auto; text-align: center; }
.otp-input { font-size: 1.6rem; letter-spacing: 12px; text-align: center; direction: ltr; font-weight: 700; }
.dev-note { background: #fff8db; color: #6b5300; border-radius: 10px; padding: 8px 12px; font-size: .82rem; margin-bottom: 14px; }
.done-box { max-width: 560px; margin: 40px auto; text-align: center; }
.done-box .ok { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.done-box .ok .icon { width: 44px; height: 44px; stroke-width: 2.4; }
.code-box { display: inline-block; background: var(--bg); border: 1.5px dashed var(--teal); border-radius: 12px; padding: 8px 22px; font-size: 1.5rem; font-weight: 900; letter-spacing: 3px; direction: ltr; margin: 8px 0 18px; }

/* Tracking timeline */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 44px 22px 0; }
.timeline li::before { content: ""; position: absolute; right: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; right: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--grey); color: #fff; display: grid; place-items: center; }
.timeline .dot .icon { width: 15px; height: 15px; stroke-width: 3; }
.timeline li.done .dot { background: var(--teal); }
.timeline li.done::before { background: var(--teal); }
.timeline li.current .dot { background: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }
.timeline b { display: block; }
.timeline small { color: var(--muted); }
.events { margin-top: 10px; font-size: .85rem; }
.events div { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }

/* Wallet */
.wallet-head { background: linear-gradient(135deg, var(--navy), #22406b); color: #fff; border-radius: 20px; padding: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.wallet-head .amt { font-size: 2rem; font-weight: 900; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.table th { color: var(--muted); font-weight: 500; font-size: .8rem; }
.pos { color: var(--success); font-weight: 700; }
.neg { color: var(--danger); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* Blog post */
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; margin-top: 16px; }
.post-head .cover { border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 18px; align-items: center; }
.post-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 26px 0; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 16px; cursor: pointer; font-weight: 500; }
.like-btn.on { border-color: #e84a6a; color: #e84a6a; }
.like-btn.on .icon { fill: currentColor; }
.share { display: flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--muted); }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--text); border: 0; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--teal-soft); color: var(--teal-dark); }
.share .icon { width: 17px; height: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--bg); color: var(--muted); border-radius: 99px; padding: 3px 12px; font-size: .8rem; }
.tags a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment .who { font-weight: 700; font-size: .9rem; }
.comment .who small { font-weight: 400; color: var(--muted); margin-right: 8px; }
.comment.reply { margin-right: 32px; border-right: 3px solid var(--teal-soft); padding-right: 14px; }
.comment .admin-badge { background: var(--teal); color: #fff; font-size: .7rem; border-radius: 6px; padding: 1px 6px; }
.side-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.side-box h3 { font-size: 1rem; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text); border-bottom: 1px solid var(--line); font-size: .9rem; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { min-width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--text); }
.pager span { background: var(--teal); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #aab3c5; margin-top: 64px; font-size: .88rem; }
.footer .wrap { padding-top: 48px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #aab3c5; }
.footer a:hover { color: var(--teal-light); }
.footer .logo img { height: 38px; margin-bottom: 14px; }
.footer .contact-line { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.footer .contact-line .icon { width: 16px; height: 16px; color: var(--teal-light); }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--teal); color: #fff; }
.trust-seals { display: flex; gap: 10px; margin-top: 14px; }
.trust-seals .seal { width: 76px; height: 76px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--muted); font-size: .7rem; text-align: center; line-height: 1.5; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 18px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buybox-col { grid-column: 1 / -1; }
  .buybox { position: static; }
}
@media (max-width: 900px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 64px; }
  .hero h1 { font-size: 1.9rem; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .post-layout { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .header-search.mobile-open { display: block; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .topbar .wrap { gap: 12px; justify-content: space-around; }
  .topbar span:nth-child(n+2) { display: none; }
  body.home .mobile-search { display: none; }
  .header-main { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 32px; }
  .hdr-btn .lbl { display: none; }
  .hdr-btn { padding: 8px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 0; }
  .nav a, .nav .dd > span { border-bottom: 0; padding: 10px 4px; }
  .nav .dd-menu { position: static; display: block; box-shadow: none; padding: 0 12px 0 0; min-width: 0; }
  .mobile-search { padding-bottom: 10px; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .buybox-col { display: none; }
  .mobile-buy { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; box-shadow: 0 -6px 24px rgba(23,35,63,.12); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; }
  .mobile-buy .price { font-weight: 900; font-size: 1.15rem; }
  .mobile-buy .price small { font-weight: 400; font-size: .75rem; color: var(--muted); }
  body.has-mobile-buy { padding-bottom: 76px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item { flex-direction: column; text-align: center; padding: 14px 10px; gap: 8px; }
  .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { flex-direction: column; text-align: center; padding: 28px 20px; }
  .store-hero { grid-template-columns: 1fr; padding: 24px; text-align: center; }
  .store-hero .store-mark { margin: 0 auto; }
  .linkbox-lg .btn { padding: 12px 16px; }
  .linkbox .btn .lbl-long { display: none; }
  .card { padding: 18px; }
  .hscroll { grid-auto-columns: 62%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard .pbody { padding: 10px 12px 12px; }
  .pcard .pprice { font-size: .98rem; }
}
@media (min-width: 761px) { .mobile-search { display: none; } }
