:root {
  --brand: #7a1f3d;
  --brand-dark: color-mix(in srgb, var(--brand) 78%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --ink: #1d1a1c;
  --ink-2: #57525a;
  --muted: #8b8590;
  --line: #ebe7ea;
  --bg: #faf8f9;
  --card: #fff;
  --ok: #1f8a52;
  --warn: #c27a0e;
  --err: #c62f3e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 20, 25, .04), 0 6px 18px rgba(30, 20, 25, .06);
  --font: 'IBM Plex Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-h: 'Prompt', var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.3; margin: 0 0 .4em; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grow { flex: 1; min-width: 0; }
.err { color: var(--err); }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; cursor: pointer; background: #eee; transition: transform .08s, background .15s, box-shadow .15s; text-align: center; line-height: 1.3; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand); }
.btn-line { background: #06c755; color: #fff; margin-top: 8px; }
.btn-lg { padding: .85em 1.6em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.linklike { background: none; border: 0; padding: 0; color: var(--brand); cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.linklike.danger { color: var(--err); }

/* header */
.announce { background: var(--brand); color: #fff; text-align: center; font-size: .9rem; padding: 6px 16px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.brand img { height: 42px; width: auto; max-width: 140px; object-fit: contain; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; font-size: 1.25rem; }
.brand-name { font-family: var(--font-h); font-weight: 600; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.search { flex: 1; display: flex; max-width: 520px; margin-left: auto; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.search:focus-within { border-color: var(--brand); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 16px; outline: none; min-width: 0; }
.search button { border: 0; background: transparent; padding: 0 14px; cursor: pointer; color: var(--ink-2); }
.header-actions { display: flex; gap: 4px; }
.icon-btn { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 10px; border-radius: 12px; color: var(--ink-2); font-size: .72rem; }
.icon-btn:hover { background: var(--bg); color: var(--brand); }
.cart-count { position: absolute; top: 0; right: 4px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.cat-bar { border-top: 1px solid var(--line); }
.cat-scroll { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-scroll a { white-space: nowrap; padding: 5px 14px; border-radius: 999px; font-size: .92rem; color: var(--ink-2); }
.cat-scroll a:hover { background: var(--bg); }
.cat-scroll a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

/* hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--brand) 55%, #fff) 0, transparent 60%), linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); overflow: hidden; }
.hero.has-img { background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.15)), var(--hero) center/cover no-repeat; }
.hero-inner { padding: 64px 16px 72px; max-width: 1200px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); max-width: 640px; margin-bottom: .3em; }
.hero p { font-size: clamp(1rem, 2.2vw, 1.2rem); opacity: .92; max-width: 560px; margin: 0 0 1.4em; }
.perks { list-style: none; padding: 0; margin: -28px 0 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.perks li { padding: 16px 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.perks li:last-child { border-right: 0; }
.perks b { font-family: var(--font-h); font-weight: 600; color: var(--brand); }
.perks span { font-size: .85rem; color: var(--ink-2); }

/* sections */
.section { padding-top: 28px; padding-bottom: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 1.35rem; margin: 0; }
.section-head a { color: var(--brand); font-weight: 500; font-size: .95rem; }
.page-title { font-size: 1.6rem; }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.empty .btn { margin-top: 14px; }
.loading { padding: 32px; text-align: center; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 500; font-size: .92rem; }
.cat-img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--brand-soft); border: 3px solid #fff; box-shadow: var(--shadow); transition: transform .15s; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile:hover .cat-img { transform: translateY(-3px); }

/* product grid */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.p-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(30, 20, 25, .1); }
.p-img { position: relative; aspect-ratio: 1; background: #f3f0f2; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.tag-sale { background: #e8314a; color: #fff; }
.p-img .tag { position: absolute; top: 10px; left: 10px; }
.soldout { position: absolute; inset: 0; background: rgba(255,255,255,.65); display: grid; place-items: center; font-weight: 700; color: var(--ink-2); }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-name { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; min-height: 2.9em; }
.p-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.p-price .now { color: var(--brand); font-weight: 700; font-size: 1.12rem; }
.p-price s, .pd-price s { color: var(--muted); font-size: .88rem; }
.p-sold { font-size: .78rem; color: var(--muted); }

.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.list-head .page-title { margin: 0; }
select, input:not([type=radio]):not([type=checkbox]):not([type=file]), textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
select:focus, input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sort-form select { width: auto; padding: 8px 12px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.pager .cur { background: var(--brand); color: #fff; border-color: var(--brand); }

/* product detail */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.crumbs a:hover { color: var(--brand); }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.pd-main { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3f0f2; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pd-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #f3f0f2; }
.pd-thumbs button.active { border-color: var(--brand); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 1.6rem; margin-bottom: .2em; }
.pd-price { display: flex; align-items: center; gap: 12px; margin: 14px 0 20px; padding: 14px 16px; background: var(--brand-soft); border-radius: 12px; flex-wrap: wrap; }
.pd-price .now { font-size: 1.9rem; font-weight: 700; color: var(--brand); font-family: var(--font-h); }
.field { margin-bottom: 16px; }
.lbl { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; min-width: 52px; text-align: center; transition: all .12s; }
.opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-soft); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qty-row { display: flex; align-items: center; gap: 14px; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 42px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--bg); }
.qty input[type=number] { width: 56px !important; text-align: center; border: 0 !important; border-radius: 0 !important; padding: 9px 0 !important; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 34px; }
.qty.sm input[type=number] { width: 44px !important; padding: 5px 0 !important; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 14px; }
.share { font-size: .9rem; color: var(--muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.share a { color: var(--brand); font-weight: 500; }
.pd-desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
.pd-desc h2 { font-size: 1.1rem; color: var(--ink); }

/* cards & forms */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.card-h { font-size: 1.1rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; white-space: pre-line; }
.alert-success { background: #e8f6ee; color: #11653a; }
.alert-error { background: #fdecee; color: #a11f2d; }
.alert-info { background: #eaf2fd; color: #1c4f94; }
.form-error { background: #fdecee; color: #a11f2d; border-radius: 12px; padding: 10px 14px; margin: 12px 0; white-space: pre-line; font-size: .92rem; }
.back-link { display: block; text-align: center; margin-top: 12px; color: var(--ink-2); font-size: .92rem; }

/* cart */
.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cart-line:first-child { padding-top: 0; }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; background: #f3f0f2; }
.cart-line.bad img { opacity: .5; }
.cl-name { font-weight: 500; }
.cl-price { color: var(--ink-2); font-size: .92rem; }
.cl-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.cl-total { font-weight: 700; white-space: nowrap; }
.totals > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-2); }
.totals .grand { color: var(--ink); font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.totals .grand span:last-child { color: var(--brand); }
.free-ship { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 12px 0; }
.free-ship .bar { height: 6px; background: #fff; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.cart-sum .btn { margin-top: 14px; }

/* checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.co-side { position: sticky; top: 130px; }
.pay-list { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt input { margin-top: 5px; accent-color: var(--brand); }
.pay-opt small { display: block; color: var(--muted); }
.sum-lines { display: grid; gap: 12px; margin-bottom: 12px; }
.sum-line { display: flex; gap: 12px; align-items: center; font-size: .94rem; }
.sum-line img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: #f3f0f2; }

/* order */
.order-head { text-align: center; }
.order-head h1 { font-size: 1.5rem; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: #e8f6ee; color: var(--ok); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 12px; }
.order-code { font-size: 1.05rem; margin-bottom: 8px; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: #eee; }
.st-pending { background: #fff4e0; color: #9a5b00; }
.st-verifying { background: #eaf2fd; color: #1c4f94; }
.st-preparing { background: #f1e9fd; color: #5b2ca0; }
.st-shipped { background: #e3f6f8; color: #0d6b78; }
.st-completed { background: #e8f6ee; color: #11653a; }
.st-cancelled { background: #f0f0f0; color: #666; }
.steps { list-style: none; display: flex; padding: 0; margin: 22px 0 6px; counter-reset: s; }
.steps li { flex: 1; position: relative; font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; background: var(--line); position: relative; z-index: 1; }
.steps li::before { content: ''; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done { color: var(--ink); font-weight: 600; }
.steps li.done span { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.steps li.done::before { background: var(--brand); }
.tracking { margin-top: 14px; background: var(--bg); border-radius: 10px; padding: 10px; }
.pay-box .amount { color: var(--brand); font-size: 1.35rem; font-weight: 700; }
.qr-wrap { max-width: 300px; margin: 0 auto 18px; text-align: center; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; padding-bottom: 12px; }
.qr-head { background: #113566; color: #fff; font-weight: 700; padding: 8px; letter-spacing: .5px; }
.qr { width: 240px; height: 240px; margin: 10px auto 4px; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; }
.qr-name { font-weight: 600; }
.bank-list { display: grid; gap: 10px; margin-bottom: 18px; }
.bank { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.bank-no { font-size: 1.2rem; font-weight: 700; letter-spacing: .5px; }
.slip-form { display: grid; gap: 10px; border-top: 1px dashed var(--line); padding-top: 16px; }
.slip-form input[type=file] { padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--bg); width: 100%; }
.my-orders { margin-top: 24px; }
.my-order { display: flex; justify-content: space-between; gap: 10px; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 8px; box-shadow: var(--shadow); }
.prose { white-space: normal; color: var(--ink-2); }

/* footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 0 90px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-brand { font-family: var(--font-h); font-weight: 600; font-size: 1.2rem; }
.footer-h { font-weight: 600; margin-bottom: 8px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--ink-2); }
.footer-list a:hover, .socials a:hover { color: var(--brand); }
.socials { display: flex; gap: 14px; margin-top: 12px; color: var(--brand); font-weight: 500; }
.copyright { color: var(--muted); font-size: .82rem; margin-top: 24px; }
.float-line { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #06c755; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(6, 199, 85, .4); z-index: 60; transition: transform .15s; }
.float-line:hover { transform: scale(1.06); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #222; color: #fff; padding: 10px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 100; font-size: .95rem; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .pd { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
}
@media (max-width: 640px) {
  .header-row { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header-actions { margin-left: auto; }
  .icon-btn .lbl { display: none; }
  .brand-name { max-width: 180px; }
  .hero-inner { padding: 40px 16px 56px; }
  .perks { grid-template-columns: 1fr; margin-top: -24px; }
  .perks li { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 16px; }
  .perks li:last-child { border-bottom: 0; }
  .perks span { text-align: right; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; }
  .cat-img { width: 62px; height: 62px; }
  .cat-tile { font-size: .8rem; line-height: 1.3; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-body { padding: 10px; }
  .p-name { font-size: .92rem; }
  .p-price .now { font-size: 1rem; }
  .p-price { flex-wrap: wrap; gap: 0 6px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pd-info h1 { font-size: 1.3rem; }
  .pd-price .now { font-size: 1.6rem; }
  .cart-line img { width: 68px; height: 68px; }
  .card { padding: 16px; }
  .section { padding-top: 20px; padding-bottom: 20px; }
}

/* ---------- v2: ratings, reviews, coupons ---------- */
.stars { position: relative; display: inline-block; font-size: .95em; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.stars-bg { color: #e2dde0; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f5a623; }
.stars-n { color: var(--ink-2); font-size: .9rem; }
.p-sold .stars { font-size: .78rem; }
.pd-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.center { text-align: center; }
.rv-summary { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.rv-summary b { font-size: 2rem; font-family: var(--font-h); }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rv { margin: 0; }
.rv-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 4px; }
.rv-verified { font-size: .78rem; color: var(--ok); background: #e8f6ee; padding: 1px 8px; border-radius: 999px; font-weight: 600; }
.rv p { margin: 8px 0 0; color: var(--ink-2); }
.rv-img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; margin-top: 10px; }
.review-form { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; display: grid; gap: 10px; }
.review-form:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.rv-head { display: flex; gap: 10px; align-items: center; }
.rv-head img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.rv-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2rem; color: #e2dde0; cursor: pointer; line-height: 1; transition: color .1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a623; }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.coupon-box { margin: 12px 0 4px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { text-transform: uppercase; }
.coupon-row .btn { padding: .55em 1em; flex-shrink: 0; }
.coupon-msg { margin-top: 6px; }
.coupon-msg.ok { color: var(--ok); }
.totals .disc { color: var(--ok); }

/* theme preview bar (shown only to the logged-in owner) */
.preview-bar { background: #111; color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; }
.preview-bar a { color: #ffd43b; font-weight: 600; }

/* ---------- v2.4: brand-style home page ---------- */
/* split hero: copy beside a sharp photo, so product photos never get blurred by stretching */
.hero-split { color: #fff; }
.hero-split-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero-wide .hero-split-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.hero-copy { display: grid; gap: 14px; justify-items: start; max-width: 520px; }
.hero-split h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.2; margin: 0; max-width: none; text-wrap: balance; }
.hero-split p { margin: 0 0 8px; font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .88; max-width: 46ch; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--brand); }
.hero-split .eyebrow { color: inherit; opacity: .8; }
.hero-media { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden; border-radius: var(--radius); }
.hero-media.is-wide { aspect-ratio: 3 / 2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-btn { background: #fff; color: var(--brand); }
.hero-btn:hover { background: var(--brand-soft); }
.perks.perks-flat { margin-top: 20px; }

/* brand story band */
.story { background: var(--card); padding-block: 64px; margin-block: 28px; }
.story-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.story-inner.no-img { grid-template-columns: minmax(0, 720px); justify-content: center; }
.story-media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; gap: 14px; justify-items: start; max-width: 520px; }
.story-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; text-wrap: balance; }
.story-copy p { margin: 0; color: var(--ink-2); line-height: 1.85; }
.story-link { font-weight: 600; color: var(--brand); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* customer voices */
.voices .section-head { flex-wrap: wrap; gap: 6px 16px; }
.voices-score { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.voice { margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.voice blockquote { margin: 0; font-size: 1.02rem; line-height: 1.75; flex: 1; }
.voice figcaption { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.voice-prod { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.voice-prod img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.voice-prod:hover span { color: var(--brand); text-decoration: underline; }

/* second photo on hover, like big-brand product grids */
.p-img { overflow: hidden; }
.p-img .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
@media (hover: hover) { .p-card:hover .p-img .alt { opacity: 1; } }

/* delivery / payment promise under the buy buttons */
.pd-trust { list-style: none; margin: 18px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.pd-trust li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-top: 1px solid var(--line); }
.pd-trust li:first-child { border-top: 0; }
.pd-trust svg { flex: none; color: var(--brand); margin-top: 1px; }
.pd-trust span { display: flex; flex-direction: column; min-width: 0; }
.pd-trust b { font-weight: 600; font-size: .95rem; }
.pd-trust small { color: var(--ink-2); font-size: .85rem; }
.about-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }

@media (max-width: 760px) {
  .hero-split-inner, .hero-wide .hero-split-inner { grid-template-columns: 1fr; gap: 22px; padding-top: 16px; padding-bottom: 32px; }
  .hero-media { order: -1; aspect-ratio: 1; max-height: none; }
  .story { padding-block: 36px; }
  .story-inner { grid-template-columns: 1fr; gap: 22px; }
}

/* v2.5 business modes: booking time buttons, deposit line, reference picture */
.slot-box{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.slot{border:1.5px solid var(--line,#ddd);background:#fff;color:inherit;border-radius:10px;padding:9px 14px;font:inherit;font-weight:600;cursor:pointer;min-width:74px}
.slot:hover{border-color:var(--brand)}
.slot.on{background:var(--brand);border-color:var(--brand);color:#fff}
.totals .deposit{color:var(--brand);font-weight:700;border-top:1px dashed var(--line,#ddd);padding-top:8px;margin-top:4px}
.ref-thumb{width:56px;height:56px;object-fit:cover;border-radius:8px;vertical-align:middle;margin-right:6px}
.ref-img{display:block;max-width:100%;width:320px;border-radius:12px;margin-top:8px}
.big-date{font-size:1.15em;font-weight:700;margin:4px 0 8px}
.day-picks{display:flex;flex-wrap:wrap;gap:10px}

/* shipping.php / payment.php info cards */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 14px; }
.info-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.info-k { font-size: .85rem; color: var(--muted); }
.info-v { font-family: var(--font-h); font-size: 1.2rem; font-weight: 600; color: var(--brand); line-height: 1.3; }

/* 29/10 Rinda: quote via LINE, product review clip */
.btn-line{background:#06c755;color:#fff;border-color:#06c755}
.btn-line:hover{background:#05b04b;color:#fff}
.quote-btn{margin-top:10px}
.quote-line{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:18px;padding:14px 16px;border:1px dashed #cfd6de;border-radius:12px;background:#fafbfc}
.pd-video{margin-top:22px}
.pd-video .yt-wrap{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;background:#000}
.pd-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pd-video .yt-link{display:inline-block;margin-top:8px;font-weight:600;color:#c4302b}
