/* Vinustore site: our own stylesheet (no Shopify theme code). 1rem = 10px so the finder/guide rules keep their sizes. */
:root {
  --bg: #0b0f16; --bg2: #10151f; --card: #161d26; --line: #232c3b; --text: #e8edf5; --muted: #8a94a3;
  --orange: #ff7a1a; --orange-deep: #e06210; --volt: #b8ff2e; --ok: #34c759; --bad: #ff5a5a;
  --color-foreground: 232, 237, 245; --vs-orange: #ff7a1a; --vs-surface: #161d26; --vs-text-hi: #f2f5f9; --vs-text-lo: #8a94a3;
  --font-body-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-heading-family: var(--font-body-family);
  --vf-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 12px; --wrap: 120rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.6rem/1.6 var(--font-body-family); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
a:hover { color: #ff9a50; }
h1, h2, h3 { font-family: var(--font-heading-family); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 1.2rem; }
h1 { font-size: clamp(2.8rem, 4vw, 4.4rem); }
h2 { font-size: clamp(2.2rem, 3vw, 3rem); }
h3 { font-size: 2rem; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- bars + header ---------- */
.tools { background: #07090e; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
.tools .wrap { display: flex; gap: 1.8rem; align-items: center; overflow-x: auto; white-space: nowrap; padding-top: .7rem; padding-bottom: .7rem; }
.tools b { color: var(--muted); letter-spacing: .14em; font-size: 1.1rem; }
.tools a { color: var(--text); text-decoration: none; font-weight: 600; }
.tools a:hover { color: var(--orange); }
.announce { background: var(--bg2); text-align: center; font-size: 1.35rem; padding: .8rem 2rem; border-bottom: 1px solid var(--line); }
.announce a { color: var(--text); text-decoration: none; }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: background .25s; }
.hdr.is-stuck { background: var(--orange-deep); }
.hdr .wrap { display: flex; align-items: center; gap: 2rem; min-height: 7rem; }
.logo img { height: 4.6rem; width: auto; border-radius: 4px; }
.nav { display: flex; gap: 2.2rem; align-items: center; margin-right: auto; }
.nav > a, .nav summary { color: var(--text); text-decoration: none; font-size: 1.45rem; cursor: pointer; list-style: none; }
.nav > a:hover, .nav summary:hover, .nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: .5rem; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: " \25BE"; font-size: 1.1rem; }
.nav details { position: relative; }
.nav details ul { position: absolute; top: 3.4rem; left: -1.6rem; min-width: 28rem; margin: 0; padding: 1rem 0; list-style: none; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.nav details li a { display: block; padding: .8rem 1.8rem; color: var(--text); text-decoration: none; font-size: 1.45rem; }
.nav details li a:hover { background: var(--card); color: var(--orange); }
.icons { display: flex; gap: .6rem; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; color: var(--text); text-decoration: none; position: relative; background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.icon-btn svg { width: 2.2rem; height: 2.2rem; }
.cart-count { position: absolute; top: .2rem; right: .1rem; min-width: 1.9rem; height: 1.9rem; padding: 0 .4rem; border-radius: 1rem; background: var(--orange); color: #111; font-size: 1.15rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 899px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 2rem 2rem; background: var(--bg2); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > a, .nav summary { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
  .nav details ul { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 0 1.2rem; }
  .logo { margin-right: auto; }
}

/* ---------- buttons, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 4.8rem; padding: 0 2.6rem; border: 0; border-radius: 10px; background: var(--orange); color: #111; font-weight: 700; font-size: 1.5rem; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: #ff8d3d; color: #111; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: #3a4252; color: #9aa3b2; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--card); color: #fff; }
.btn--wide { width: 100%; }
label { display: block; font-size: 1.35rem; color: var(--muted); margin: 0 0 .5rem; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 4.6rem; padding: .9rem 1.2rem; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; }
.field { margin: 0 0 1.4rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ---------- product cards + grids ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--text); }
.card__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 1.2rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__title { font-size: 1.45rem; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__vendor { font-size: 1.15rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.badge { position: absolute; top: 1rem; left: 1rem; padding: .3rem 1rem; border-radius: 2rem; font-size: 1.2rem; font-weight: 700; background: var(--orange); color: #111; }
.badge--out { background: #3a4252; color: #e8edf5; }
.price { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; margin-top: auto; }
.price b { font-size: 1.6rem; color: #fff; }
.price s { color: var(--muted); font-size: 1.3rem; }
.price small { color: var(--muted); font-size: 1.2rem; }
.section { padding-top: 4.4rem; padding-bottom: 4.4rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.kicker { margin: 0 0 .6rem; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: block; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile:hover { border-color: var(--orange); color: var(--text); }
.tile img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.tile span { display: block; padding: 1.2rem 1.4rem; font-weight: 600; }
.tile span::after { content: " \2192"; color: var(--orange); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding: 3rem 0 4rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 5rem; } .pdp__gallery { position: sticky; top: 9rem; align-self: start; } }
.pdp__main { background: #fff; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: .8rem; margin-top: 1rem; overflow-x: auto; padding-bottom: .4rem; }
.thumbs button { flex: 0 0 7.2rem; height: 7.2rem; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__title { font-size: clamp(2.4rem, 3.2vw, 3.6rem); }
.pdp .price b { font-size: 2.2rem; }
.pdp .price .tag { padding: .2rem .9rem; border-radius: 2rem; background: var(--orange); color: #111; font-size: 1.2rem; font-weight: 700; }
.stock { display: flex; align-items: center; gap: .8rem; font-size: 1.4rem; margin: 1rem 0 1.8rem; }
.stock::before { content: ""; width: .9rem; height: .9rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52,199,89,.2); }
.stock.low::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.2); }
.stock.out::before { background: var(--bad); box-shadow: 0 0 0 4px rgba(255,90,90,.2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 4.6rem; height: 4.6rem; border: 0; background: var(--bg2); cursor: pointer; font-size: 1.8rem; }
.qty input { width: 6rem; min-height: 4.6rem; border: 0; border-radius: 0; text-align: center; background: var(--bg); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy { display: grid; gap: 1.2rem; margin: 1.8rem 0; }
.added { padding: 1.2rem 1.4rem; border: 1px solid var(--ok); border-radius: 10px; background: rgba(52,199,89,.08); font-size: 1.45rem; }
.added a { font-weight: 700; }
.pickup { font-size: 1.35rem; color: var(--muted); }
.pickup b { color: var(--text); }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { padding: 1.4rem 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.acc summary::after { content: "+"; color: var(--orange); font-size: 2rem; line-height: 1; }
details.acc[open] summary::after { content: "\2212"; }
details.acc > div { padding: 0 0 1.6rem; font-size: 1.45rem; color: rgba(var(--color-foreground), .85); }
.vs-specs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.4rem; font-family: var(--vf-mono); font-size: 1.25rem; }
.vs-specs span { padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 2rem; }
.vs-specs span:first-child { border-color: var(--orange); color: var(--orange); }
.vs-specs em { flex-basis: 100%; font-style: normal; color: var(--muted); font-family: var(--font-body-family); }
.vs-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.6rem; background: rgba(11,15,22,.96); border-top: 1px solid var(--line); }
.vs-buybar__txt { flex: 1; min-width: 0; font-size: 1.3rem; }
.vs-buybar__txt b { display: block; color: #fff; font-size: 1.6rem; }
@media (min-width: 900px) { .vs-buybar { display: none !important; } }
.freeship { margin: 1rem 0 0; font-size: 1.35rem; color: var(--muted); }
.freeship b { color: var(--ok); }
.freeship i { display: block; height: .5rem; margin-top: .6rem; border-radius: 1rem; background: var(--line); overflow: hidden; }
.freeship i::before { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--ok); }

/* ---------- rich text (pages, posts, descriptions) ---------- */
.rte { overflow-wrap: anywhere; }
.rte img { border-radius: 8px; margin: 1.2rem 0; }
.rte table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 1.45rem; }
.rte th, .rte td { padding: .8rem 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.rte th { background: var(--bg2); }
.rte h2 { margin-top: 3rem; } .rte h3 { margin-top: 2.2rem; }
.page { padding: 3rem 0 5rem; max-width: 86rem; }
.crumbs { font-size: 1.3rem; color: var(--muted); margin: 0 0 1.2rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* ---------- guide pages (ours, from the vs-guide section) ---------- */
.vsg-crumbs { margin: 0 0 1.2rem; font-size: 1.35rem; color: rgba(var(--color-foreground), .65); }
.vsg-crumbs a { color: inherit; text-decoration: none; }
.vsg-crumbs a:hover { color: #ff7a1a; }
.vsg-title { margin: 0 0 2rem; text-wrap: balance; }
.vsg .rte h2 { margin-top: 3.2rem; }
.vsg .rte h3 { margin-top: 2.2rem; }
.vsg-answer { padding: 1.6rem 1.8rem; border: 1px solid #ff7a1a; border-radius: 12px; background: rgba(255,122,26,.08); font-size: 1.7rem; line-height: 1.55; color: rgb(var(--color-foreground)); }
.vsg .rte table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 1.5rem; table-layout: auto; }
.vsg .rte th, .vsg .rte td { padding: .9rem 1.1rem; border: 1px solid #232c3b; text-align: left; vertical-align: top; }
.vsg .rte thead th, .vsg .rte tbody th { background: #10151f; color: rgba(var(--color-foreground), .75); font-weight: 600; white-space: nowrap; }
.vsg .rte td small { display: block; margin-top: .4rem; color: rgba(var(--color-foreground), .65); }
.vsg-src, .vsg-note { font-size: 1.35rem; color: rgba(var(--color-foreground), .65); }
.vsg-note { color: #ff7a1a; }
.vsg-langs { margin-top: 3.2rem; padding-top: 1.6rem; border-top: 1px solid #232c3b; font-size: 1.4rem; color: rgba(var(--color-foreground), .75); }
.vsg-cols { columns: 2 22rem; column-gap: 3rem; }
.vsg-cols li { break-inside: avoid; }
.vsg-tablewrap { overflow-x: auto; }
.vsg-buy { margin: 4rem 0 1.6rem; }

/* ---------- Shopee reviews (ours, from the vs-reviews section) ---------- */
.vsr-title { margin: 0 0 1rem; }
.vsr-sum { margin: 0 0 2.2rem; font-size: 1.5rem; color: rgba(var(--color-foreground), .8); }
.vsr-sum b { color: rgb(var(--color-foreground)); }
.vsr-star { color: #ff7a1a; letter-spacing: .1em; }
.vsr-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); }
.vsr-card { margin: 0; padding: 1.6rem 1.8rem; border: 1px solid #232c3b; border-radius: 12px; background: #10151f; display: flex; flex-direction: column; gap: .8rem; }
.vsr-card blockquote { margin: 0; font-size: 1.5rem; line-height: 1.55; color: rgb(var(--color-foreground)); overflow-wrap: anywhere; }
.vsr-meta { margin: auto 0 0; font-size: 1.25rem; color: rgba(var(--color-foreground), .6); overflow-wrap: anywhere; }
.vsr-meta a { color: inherit; }
.vsr-all { display: inline-block; margin-top: 1.8rem; color: #ff7a1a; font-size: 1.4rem; }

/* ---------- cart, checkout, search, order ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding: 3rem 0 5rem; }
@media (min-width: 900px) { .cart { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 8rem; height: 8rem; object-fit: contain; background: #fff; border-radius: 8px; }
.line a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.45rem; }
.line small { display: block; color: var(--muted); font-size: 1.25rem; }
.line .rm { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 1.25rem; padding: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; align-self: start; }
.sum { display: flex; justify-content: space-between; margin: .6rem 0; }
.sum.total { font-size: 2rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.radio { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .8rem; cursor: pointer; color: var(--text); font-size: 1.45rem; }
.radio:has(input:checked) { border-color: var(--orange); background: rgba(255,122,26,.06); }
.radio input { margin-top: .4rem; accent-color: var(--orange); }
.radio small { display: block; color: var(--muted); }
.err { color: var(--bad); font-size: 1.4rem; margin: 1rem 0 0; }
.note { font-size: 1.3rem; color: var(--muted); }
.results { margin-top: 2rem; }

/* ---------- footer, WhatsApp ---------- */
.also { background: var(--bg2); text-align: center; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.also p { margin: 0 0 1.2rem; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.also a { display: inline-block; margin: .3rem; padding: .9rem 1.8rem; border-radius: 8px; color: #fff; font-weight: 700; text-decoration: none; font-size: 1.4rem; }
.ftr { padding: 3.6rem 0 2.4rem; font-size: 1.4rem; text-align: center; }
.ftr nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; margin: 1.2rem 0 2rem; }
.ftr nav a { color: var(--text); text-decoration: none; }
.ftr nav a:hover { color: var(--orange); }
.ftr small { color: var(--muted); }
.wa { position: fixed; right: 1.8rem; bottom: 2rem; z-index: 70; display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.wa span { padding: .7rem 1.4rem; border-radius: 2rem; background: #25d366; color: #fff; font-weight: 700; font-size: 1.3rem; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.wa i { width: 5.4rem; height: 5.4rem; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.wa svg { width: 3rem; height: 3rem; fill: #fff; }
.vs-buybar { padding-right: 8.6rem; }   /* room for the WhatsApp bubble beside the buy button */
@media (max-width: 599px) { .wa span { display: none; } }

/* finder: its overlay sits under the content (the finder CSS expects Shopify's .page-width wrapper) */
.vs-finder > .wrap { position: relative; z-index: 1; }
