/* NEXTZ company website — "A New Kind of Network" (2026-10).
   Colours from the logo: navy ground, arrow blue, collaborate gold (one accent per screen, never a large gold area).
   Type: IBM Plex Sans Thai (Thai) + Sora (English kickers / headings). Motion is off for prefers-reduced-motion. */
:root {
  --navy: #0c2a57;
  --navy-deep: #0a2147;
  --navy-2: #12346b;
  --line-dk: #2d4c85;
  --on-navy: #c9d2e8;
  --on-navy-2: #e4eaf5;
  --blue: #2b4bdb;
  --blue-ink: #1e37b5;
  --blue-soft: #e6eaff;
  --gold: #e8b530;
  --gold-lt: #f0c75a;
  --gold-ink: #6e5208;
  --gold-soft: #fbf0d2;
  --ink: #0c2a57;
  --muted: #4a5670;
  --paper: #f4f6fa;
  --line: #dce2f0;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  --font-en: "Sora", "IBM Plex Sans Thai", system-ui, sans-serif;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 12px 34px -14px rgba(12, 42, 87, .28);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.gold-ink { color: var(--gold-ink); }
.nowrap { white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 14px; }
.eyebrow-ink { color: var(--gold-ink); }
.h-en { font-family: var(--font-en); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.h-th { font-size: clamp(19px, 2vw, 23px); font-weight: 600; margin-top: 6px; }
.h-section { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; }
.lead-text { margin-top: 16px; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-more::after { content: "→"; transition: transform .2s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero-arc path, .page-head-arc path, .grow-arc path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 10; opacity: .7; animation: arc-flow 7s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes arc-flow { to { stroke-dashoffset: -140; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-arc path, .page-head-arc path, .grow-arc path { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none !important; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border-radius: 999px;
  font: 600 16px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: 12px 30px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--gold-lt); color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-glow { background: var(--gold); color: var(--navy); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; transition: background .25s, box-shadow .25s; }
.topbar-over { position: fixed; left: 0; right: 0; background: transparent; }
.topbar-over.is-solid { background: var(--navy); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5); }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--on-navy-2); text-decoration: none; font-size: 15px; padding: 10px 10px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.site-nav .nav-member { margin-left: 10px; gap: 8px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff; font-weight: 600; }
.site-nav .nav-member svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-nav .nav-member:hover { border-color: var(--gold); color: var(--gold-lt); background: transparent; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .2s; }
.menu-bars { top: 23px; } .menu-bars::before { left: 0; right: 0; top: -7px; } .menu-bars::after { left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; flex-direction: column; justify-content: center; background: var(--navy-deep); color: #fff; overflow: hidden; padding: 120px 0 72px; }
.hero-slides, .hero-slide, .hero-bg { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 33, 71, .88) 0%, rgba(10, 33, 71, .6) 45%, rgba(10, 33, 71, .2) 100%); }
.hero-plain .hero-shade { background: transparent; }
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.hero-copy { max-width: 640px; }
.hero-title { font-size: clamp(40px, 6vw, 72px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.hero-sub { margin-top: 20px; max-width: 500px; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-navy-2); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pillars { list-style: none; margin: 8px 0 0; padding: 0 0 0 20px; border-left: 1px solid rgba(255, 255, 255, .4); font-family: var(--font-en); font-size: 15px; line-height: 2; color: var(--on-navy-2); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-dots button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: width .25s, background .25s; }
.hero-dots button[aria-current="true"]::after { width: 26px; border-radius: 6px; background: var(--gold); }

/* ---------- trust strip ---------- */
.facts-strip { background: #fff; border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 28px; padding-top: 22px; padding-bottom: 22px; }
.fact span { display: block; font-size: 14px; color: var(--muted); }
.fact strong { font-size: 17px; }

/* ---------- bands ---------- */
.band { padding: 96px 0; }
.band-tight { padding: 64px 0; }
.band-soft { background: var(--paper); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy .lead-text { color: var(--on-navy); }
.band-navy .lead-text a { color: #fff; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.split-lead { flex: 1 1 280px; min-width: 0; }

/* journey */
.journey { flex: 3 1 700px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.journey-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.journey-card:hover { transform: translateY(-4px); }
.journey-img { position: relative; height: 210px; background: var(--navy-2); }
.journey-img img { width: 100%; height: 100%; object-fit: cover; }
.journey-ico { position: absolute; left: 18px; bottom: -22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; display: grid; place-items: center; }
.journey-ico svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-card:last-child .journey-ico { background: var(--gold); }
.journey-card:last-child .journey-ico svg { stroke: var(--navy); }
.journey-body { padding: 34px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.journey-body strong { font-size: 19px; }
.journey-body span { color: var(--muted); font-size: 15px; }
.journey-body .arrow { margin-top: auto; padding-top: 10px; color: var(--ink); font-size: 18px; }

/* products with purpose */
.purpose { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.purpose-lead { flex: 1 1 320px; min-width: 0; }
.purpose-lead .btn { margin-top: 26px; }
.purpose-img { flex: 1 1 360px; min-width: 0; height: 340px; border-radius: var(--r); overflow: hidden; background: var(--navy-2); display: grid; place-items: center; }
.purpose-img img { width: 100%; height: 100%; object-fit: cover; }
.purpose-img .purpose-logo { width: 140px; height: 140px; object-fit: contain; border-radius: 50%; opacity: .9; }
.purpose-list { flex: 1 1 280px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.purpose-list li { display: flex; gap: 16px; align-items: flex-start; }
.purpose-list strong { display: block; }
.purpose-list li > span:last-child { color: var(--on-navy); font-size: 15px; }
.purpose-list li > span:last-child strong { color: #fff; font-size: 17px; }
.ring { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; }
.ring svg { fill: none; stroke: var(--gold-lt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* stories (Grown at NEXTZ on home) */
.stories { flex: 3 1 700px; min-width: 0; position: relative; }
.story-row { list-style: none; margin: 0; padding: 4px 4px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.story-row::-webkit-scrollbar { display: none; }
.story-card { scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.story-photo { position: relative; height: 220px; background: var(--navy-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-initial { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; font-size: 40px; font-weight: 700; color: #fff; }
.rank-badge { position: absolute; left: 14px; top: 14px; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; }
.story-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.story-body q { quotes: "“" "”"; margin-bottom: 8px; }
.story-body .muted { font-size: 14px; }
.scroll-btn { position: absolute; top: 88px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.scroll-prev { left: -20px; } .scroll-next { right: -20px; }
.scroll-btn[disabled] { opacity: .35; cursor: default; }

/* grow together / contact band */
.grow { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.grow-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.grow-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; padding-top: 72px; padding-bottom: 72px; }
.grow .h-th { color: var(--on-navy-2); }
.grow-cta .h-th { color: #fff; font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; }
.grow-sub { margin-top: 8px; color: var(--on-navy); max-width: 620px; }
.grow-lead .btn { margin-top: 22px; }
.grow-points { flex: 2 1 600px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.grow-points li { display: flex; gap: 12px; align-items: flex-start; }
.grow-points svg { flex: none; fill: none; stroke: var(--gold-lt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grow-points span { font-size: 15px; color: var(--on-navy); }
.grow-points strong { display: block; color: #fff; font-size: 17px; }

/* news on home */
.news-row { display: flex; flex-wrap: wrap; gap: 32px; }
.news-head { flex: 0 0 210px; }
.news-head .h-th { margin: 0; }
.news-list { flex: 1 1 680px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.news-item { display: flex; gap: 14px; color: var(--ink); text-decoration: none; }
.news-item:hover strong { color: var(--blue-ink); }
.news-img { flex: none; width: 120px; height: 90px; border-radius: 12px; overflow: hidden; background: var(--line); }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item time { display: block; font-size: 13px; color: var(--muted); }
.news-item strong { display: block; line-height: 1.45; }

/* ---------- inner page head ---------- */
.page-head { position: relative; background: var(--navy); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.page-head-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-head .wrap { position: relative; }
.page-title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; line-height: 1.18; }
.page-intro { margin-top: 14px; max-width: 680px; font-size: 18px; color: var(--on-navy); }
.article .page-title { color: var(--ink); }
.article .page-intro, .pd-info .page-intro { color: var(--muted); }
.crumb { font-size: 15px; margin-bottom: 12px; }
.crumb a { color: var(--blue-ink); text-decoration: none; font-weight: 600; }
.crumb a::before { content: "← "; }
.empty-note { padding: 28px; border-radius: var(--r); background: var(--paper); color: var(--muted); text-align: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* prose */
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 24px; margin-top: 32px; }
.prose h3 { font-size: 20px; margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--gold-ink); }

/* about */
.vm { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.vm-quote { margin-top: 16px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.45; padding-left: 20px; border-left: 3px solid var(--gold); }
.vm-mission ul { margin-top: 16px; }
.vm-mission .h-section { margin-top: 0; }
.values ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.values li { margin: 0 !important; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.values li strong { display: block; font-size: 20px; color: var(--ink); }
.story { display: grid; gap: 40px; }
.story-img img { border-radius: var(--r); }
.wrap.story-img { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }

/* products */
.product-grid, .product-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 1 / 1; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .product-img-empty { width: 40%; height: auto; object-fit: contain; opacity: .5; }
.product-name { padding: 18px 20px 0; font-size: 19px; font-weight: 700; }
.product-line { padding: 4px 20px 0; color: var(--muted); font-size: 15px; }
.product-price { padding: 10px 20px 0; font-weight: 700; color: var(--blue-ink); }
.product-card > :last-child { padding-bottom: 20px; }
.pd { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.pd-img { border-radius: var(--r); overflow: hidden; background: var(--paper); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img .product-img-empty { width: 40%; height: auto; object-fit: contain; opacity: .5; }
.pd-title { font-size: clamp(30px, 3.6vw, 42px); }
.pd-price { margin-top: 14px; font-size: 26px; font-weight: 700; color: var(--blue-ink); }
.pd-fda { display: inline-block; margin-top: 12px; padding: 4px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); font-size: 14px; font-weight: 600; }
.pd-info .prose { margin-top: 24px; }
.pd-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* news / posts */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.tabs a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.post-img { display: block; aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-img-empty { display: block; width: 100%; height: 100%; background: var(--navy-2); }
.post-body { padding: 18px 20px 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); }
.post-cat { color: var(--gold-ink); font-weight: 600; }
.post-title { margin-top: 6px; font-size: 19px; line-height: 1.4; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--blue-ink); }
.post-ex { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; justify-content: center; }
.pager a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pager a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.article { padding-top: 56px; }
.article-date { margin-top: 10px; color: var(--muted); }
.article-cover { margin: 32px auto; }
.article-cover img { width: 100%; border-radius: var(--r); }
.article .prose { margin-top: 24px; }
.video { position: relative; margin-top: 32px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(6, 18, 40, .94); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 26px; background: #fff; color: var(--navy); cursor: pointer; }
.preview-bar { background: var(--gold-soft); color: var(--gold-ink); text-align: center; padding: 10px 16px; font-weight: 600; }

/* members' stories page */
.band-honor-page { background: var(--paper); }
.honor-title { display: flex; align-items: baseline; gap: 12px; font-size: 24px; margin: 40px 0 20px; }
.honor-title:first-child { margin-top: 0; }
.honor-title span { font-size: 15px; font-weight: 500; color: var(--muted); }
.honor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.honor-card { background: #fff; border-radius: var(--r); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.honor-ring { display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--gold); overflow: hidden; background: var(--navy-2); }
.honor-ring img { width: 100%; height: 100%; object-fit: cover; }
.honor-initial { font-size: 42px; font-weight: 700; color: #fff; }
.honor-name { margin-top: 14px; font-size: 19px; font-weight: 700; }
.honor-date { font-size: 14px; color: var(--muted); }
.honor-card blockquote { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.honor-card blockquote::before { content: "“"; } .honor-card blockquote::after { content: "”"; }

/* branches */
.branch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.branch { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.branch-prov { font-size: 14px; color: var(--gold-ink); font-weight: 600; }
.branch-name { font-size: 21px; margin: 4px 0 8px; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: start; }
.contact-solo { grid-template-columns: minmax(0, 720px); }
.way { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r); background: var(--navy); color: var(--on-navy); }
.way strong { color: #fff; font-size: 19px; }
.way a { color: var(--gold-lt); font-weight: 600; min-height: 32px; }
.contact-form-box { padding: 32px; border-radius: var(--r); border: 1px solid var(--line); }
.cform { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.cform input, .cform select, .cform textarea { font: 400 16px/1.5 var(--font); padding: 12px 14px; min-height: 48px; border: 1px solid #b9c3d6; border-radius: 12px; color: var(--ink); background: #fff; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 3px solid var(--gold-soft); border-color: var(--gold-ink); }
.cform-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cform .btn { align-self: flex-start; }
.hp { position: absolute !important; left: -9999px; }
.notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.notice-ok { background: #e6f5ef; color: #0b5e44; }
.notice-ok p { margin-top: 2px; }
.notice-err { background: #fbeaea; color: #8e2226; }

/* ---------- inner page head with photo / actions ---------- */
.page-head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.page-head-copy { flex: 1 1 460px; min-width: 0; }
.page-head-photo { flex: 1 1 380px; min-width: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; max-height: 380px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5); }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-head-img { padding-bottom: 64px; }
.page-head-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.head-search { position: relative; display: block; margin-top: 26px; max-width: 520px; }
.head-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.head-search input { width: 100%; min-height: 54px; padding: 0 18px 0 50px; border: 0; border-radius: 999px; font: 400 16px/1.4 var(--font); color: var(--ink); }
.head-search input:focus { outline: 3px solid var(--gold); }
.link-light { color: #fff; }

/* steps (business path) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; padding: 24px 20px; border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.step strong { font-size: 18px; }
.step > span:last-child { color: var(--muted); font-size: 15px; }
.step-no { font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--gold-ink); letter-spacing: .1em; }
.step:last-child { background: var(--navy); color: #fff; }
.step:last-child .step-no { color: var(--gold-lt); }
.step:last-child > span:last-child { color: var(--on-navy); }

/* tools / value cards */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.tool { padding: 26px 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.tool strong { font-size: 19px; }
.tool span { color: var(--muted); font-size: 15px; }
.tool-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 8px; }
.tool-ico svg { fill: none; stroke: var(--blue-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-row { flex-direction: row; align-items: center; gap: 14px; padding: 18px; box-shadow: none; border: 1px solid var(--line); }
.tool-row .tool-ico { margin: 0; flex: none; }
.tool-row strong { display: block; font-size: 17px; }
.tools-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* rank ladder */
.ladder-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.ladder-lead { flex: 1 1 300px; }
.ladder { flex: 2 1 520px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; align-items: end; }
.ladder li { position: relative; padding: 20px; border-radius: var(--r); background: var(--navy-2); display: flex; flex-direction: column; gap: 4px; min-height: calc(120px + var(--lv) * 36px); justify-content: flex-end; }
.ladder li:last-child { border: 2px solid var(--gold); }
.ladder strong { font-size: 18px; }
.ladder li > span:last-child { font-family: var(--font-en); font-size: 13px; color: var(--on-navy); letter-spacing: .1em; }
.ladder-dot { width: calc(12px + var(--lv) * 8px); height: calc(12px + var(--lv) * 8px); border-radius: 50%; background: var(--blue); margin-bottom: auto; }
.ladder li:last-child .ladder-dot { background: var(--gold); }

/* next links (about) */
.next-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.next-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.next-link .eyebrow { grid-column: 1; margin: 0; }
.next-link strong { grid-column: 1; font-size: 18px; }
.next-link > span:last-child { grid-column: 2; grid-row: 1 / 3; font-size: 20px; transition: transform .2s var(--ease); }
.next-link:hover > span:last-child { transform: translateX(4px); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer .brand img { width: 52px; height: 52px; }
.footer-slogan { margin-top: 14px; color: #fff; font-weight: 600; font-size: 17px; }
.footer-name { margin-top: 14px; color: #fff; }
.footer-co p + p { margin-top: 4px; }
.footer-head { font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 12px; font-weight: 600; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a, .footer-base a { color: var(--on-navy); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-list a:hover, .footer-base a:hover { color: #fff; }
.footer-social { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-dk); color: #fff; text-decoration: none; font-size: 14px; }
.footer-social a:hover { border-color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line-dk); font-size: 14px; }
.footer-base p:last-child { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--navy); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line-dk); }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--gold-lt); }
  .site-nav .nav-member { margin: 14px 0 0; justify-content: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; }
  .topbar-in { position: static; }
  .topbar { position: sticky; }
  .topbar-over { position: fixed; }
  .hero-pillars { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar-in { min-height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 19px; }
  .hero-arc, .page-head-arc { display: none; }
  .grow-arc path { opacity: .35; }
  .hero { min-height: 88vh; padding: 96px 0 56px; justify-content: flex-end; }
  .hero-plain { min-height: 0; padding-top: 120px; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 33, 71, .25) 0%, rgba(10, 33, 71, .7) 45%, rgba(10, 33, 71, .94) 100%); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .band { padding: 56px 0; }
  .band-tight { padding: 44px 0; }
  .split, .purpose { gap: 24px; }
  .journey { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding: 4px 16px 12px 0; }
  .journey-card { flex: 0 0 78%; scroll-snap-align: start; }
  .journey-img { height: 160px; }
  .purpose-img { height: 220px; }
  .story-row { grid-auto-columns: 80%; margin-right: -16px; padding-right: 16px; }
  .scroll-btn { display: none; }
  .grow-in { padding-top: 48px; padding-bottom: 48px; }
  .grow-in > .btn, .grow-lead .btn { width: 100%; }
  .news-head { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; }
  .news-head .link-more { margin: 0; }
  .news-img { width: 104px; height: 80px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-top: 16px; padding-bottom: 16px; }
  .fact strong { font-size: 15px; }
  .page-head { padding: 44px 0 52px; }
  .page-head-photo { max-height: 240px; }
  .ladder li { min-height: 0; }
  .ladder-dot { margin-bottom: 10px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-box { padding: 22px; }
  .branch-list { grid-template-columns: 1fr; }
}

/* Products With Purpose: up to 4 pictures, one at a time (crossfade) */
.purpose-img { position: relative; }
.purpose-img .fade-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.purpose-img .fade-slide.is-on { opacity: 1; }
.fade-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 4px; }
.fade-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.fade-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(12,42,87,.35); transition: background .2s, transform .2s; }
.fade-dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.2); }
.fade-dots button:focus-visible { outline: 2px solid var(--gold); border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .purpose-img .fade-slide { transition: none; } }

/* centres page: one photo per centre, full width at the top of its card */
.branch { overflow: hidden; }
.branch.has-photo { justify-content: flex-start; }
.branch-photo { display: block; width: calc(100% + 52px); max-width: none; margin: -26px -26px 0; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--navy-2); }
.branch.has-photo .branch-actions { margin-top: auto; }
.branch-photo-none { display: grid; place-items: center; }
.branch-photo-none svg { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }

/* ---------- member story page (/honor/{id}) ---------- */
.story-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.story-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(232, 181, 48, .35); pointer-events: none; }
.story-hero-in { position: relative; z-index: 1; padding-top: 36px; padding-bottom: 64px; }
.story-back { display: inline-flex; gap: 8px; color: var(--on-navy); text-decoration: none; font-size: 15px; margin-bottom: 28px; }
.story-back:hover { color: #fff; }
.story-head { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.story-portrait { flex: none; width: 200px; height: 200px; border-radius: 50%; border: 4px solid var(--gold); overflow: hidden; background: var(--navy-2); display: grid; place-items: center; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.story-portrait img { width: 100%; height: 100%; object-fit: cover; }
.story-portrait span { font-size: 76px; font-weight: 700; color: #fff; }
.story-id { flex: 1 1 300px; min-width: 0; }
.story-id .eyebrow { margin-bottom: 8px; }
.story-id h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.2; margin: 0; }
.story-rank { margin: 12px 0 0; }
.rank-pill { display: inline-block; padding: 5px 16px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 15px; }
.story-facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.story-facts li { display: flex; flex-direction: column; }
.story-facts span { font-size: 13px; color: var(--on-navy); }
.story-facts strong { font-size: 17px; }
.story-quote { margin: 40px 0 0; max-width: 820px; padding-left: 22px; border-left: 3px solid var(--gold); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.6; color: var(--on-navy-2); }
.story-quote::before { content: "“"; } .story-quote::after { content: "”"; }

.story-grow { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.story-grow-lead { flex: 1 1 320px; min-width: 0; }
.story-path { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; position: relative; }
.story-path::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.story-path li { position: relative; padding: 0 0 26px 40px; display: flex; flex-direction: column; }
.story-path li:last-child { padding-bottom: 0; }
.story-path li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.story-path li.is-peak::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.story-when { font-size: 14px; color: var(--muted); }
.story-path strong { font-size: 18px; }
.story-path li.is-peak strong { color: var(--navy); }

.story-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.story-works li { background: #fff; border-radius: var(--r); padding: 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.story-works .tool-ico { flex: none; margin: 0; }
.story-works li > span:last-child { color: var(--muted); font-size: 15px; }
.story-works strong { display: block; color: var(--ink); font-size: 17px; }

.story-words { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.story-word { margin: 0; padding: 28px; border-radius: var(--r); background: var(--paper); border-top: 4px solid var(--gold); }
.story-word figcaption { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--gold-ink); margin-bottom: 10px; }
.story-word blockquote { margin: 0; font-size: 18px; line-height: 1.7; }
.story-video { margin-top: 24px; display: inline-flex; gap: 8px; align-items: center; }
.story-video svg { fill: currentColor; }

.story-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.story-more a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.story-more strong { display: block; }
.story-more .muted { font-size: 14px; }
.honor-ring-sm { width: 64px; height: 64px; margin: 0; flex: none; border-width: 2px; }
.honor-ring-sm .honor-initial { font-size: 24px; }

/* wall + home cards open the story */
a.honor-card, a.story-card { color: inherit; text-decoration: none; transition: transform .25s var(--ease); }
a.honor-card:hover, a.story-card:hover { transform: translateY(-4px); }
.honor-more, .story-body .story-more-link { display: inline-block; margin-top: 12px; color: var(--blue-ink); font-weight: 600; font-size: 15px; }

@media (max-width: 760px) {
  .story-head { gap: 20px; }
  .story-portrait { width: 132px; height: 132px; }
  .story-portrait span { font-size: 52px; }
  .story-hero-in { padding-bottom: 44px; }
  .story-quote { margin-top: 28px; }
}
.story-row > li { scroll-snap-align: start; display: flex; }
.story-row > li > .story-card { flex: 1; }
.honor-grid > li { display: flex; }
.honor-grid > li > .honor-card { flex: 1; display: block; }

/* about: trust (registration numbers + scanned documents) */
.trust { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 48px; align-items: start; }
.trust-facts { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.trust-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.trust-facts dt { font-size: 14px; color: var(--muted); }
.trust-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.trust-facts dd + dd { font-weight: 400; font-size: 14px; }
.link-ext { color: var(--blue-ink); font-weight: 600; text-decoration: none; }
.link-ext:hover { text-decoration: underline; }
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.cert { display: flex; flex-direction: column; gap: 14px; }
.cert-doc { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; padding: 10px; }
.cert-doc img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s var(--ease); }
a.cert-doc:hover img { transform: scale(1.03); }
.cert-zoom { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 99px; background: rgba(12, 42, 87, .88); color: #fff; font-size: 13px; font-weight: 600; }
.cert-blank { display: grid; place-items: center; background: var(--paper); }
.cert-blank svg { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cert-body { display: flex; flex-direction: column; gap: 3px; }
.cert-body strong { font-size: 17px; line-height: 1.4; }
.cert-body .muted { font-size: 14px; }
.cert-no { font-size: 14px; font-weight: 600; color: var(--navy); }
.tools-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; gap: 32px; } .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.footer-co a:not(.brand) { color: var(--gold-lt); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.cert-blank { aspect-ratio: auto; height: 120px; }

/* ---------- ร้านของฉัน: /shop/{name} (customer buys through a member's link) ---------- */
.shop-head { --shop-bg: var(--navy); background: var(--shop-bg) center / cover no-repeat; color: #fff; padding: 40px 0 36px; position: relative; isolation: isolate; }
.shop-head.has-cover { padding: 72px 0 40px; }
.shop-head.has-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, var(--shop-bg) 92%); opacity: .92; }
.shop-theme-navy { --shop-bg: #0c2a57; }
.shop-theme-green { --shop-bg: #0f5c45; }
.shop-theme-rose { --shop-bg: #9c2c5a; }
.shop-theme-orange { --shop-bg: #a8460f; }
.shop-theme-violet { --shop-bg: #4b2e8f; }
.shop-intro { margin-top: 6px; font-size: 16px; color: #fff; max-width: 640px; }
.shop-head-sm { padding: 28px 0; }
.shop-head-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.shop-head-in > div { flex: 1 1 320px; min-width: 0; }
.shop-head .eyebrow { margin-bottom: 6px; }
.shop-head .eyebrow a { color: var(--gold-lt); text-decoration: none; }
.shop-avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 28px; font-weight: 700; overflow: hidden; border: 3px solid #fff; }
.shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
.shop-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
.shop-sub { color: rgba(255, 255, 255, .78); font-size: 15px; margin-top: 4px; }
.shop-line { background: #06c755; border-color: #06c755; color: #fff; }
.shop-line:hover { background: #05b04b; color: #fff; border-color: #05b04b; }
.shop-head .shop-line, .shop-order-side .btn-ghost { white-space: nowrap; }
.shop-h { font-size: 20px; margin: 8px 0 -4px; }
.shop-form { gap: 20px; max-width: 880px; margin: 0 auto; }
.shop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shop-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 14px; transition: border-color .2s; }
.shop-item.is-picked { border-color: var(--gold); }
.shop-img { width: 96px; height: 96px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-img .product-img-empty { width: 50%; height: auto; opacity: .5; }
.shop-info { min-width: 0; }
.shop-name { font-size: 18px; font-weight: 700; }
.shop-line-txt { font-size: 15px; color: var(--muted); }
.shop-fda { font-size: 13px; color: var(--muted); }
.shop-more { font-size: 14px; font-weight: 500; display: inline-flex; min-height: 32px; align-items: center; }
.shop-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.shop-price { font-size: 22px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.shop-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid #b9c3d6; border-radius: 999px; overflow: hidden; background: #fff; }
.qty-btn { width: 44px; height: 44px; border: 0; background: var(--paper); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.qty-btn:hover { background: var(--blue-soft); }
.qty-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.cform .qty input { width: 52px; min-height: 44px; border: 0; border-radius: 0; text-align: center; padding: 0; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.cform .shop-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.cform .shop-check input { min-height: 0; width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.shop-sum { background: #fff; border: 2px solid var(--navy); border-radius: var(--r); padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.shop-sum .fine { margin: 0; }
.shop-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.shop-total { font-size: 20px; font-weight: 600; }
.shop-total b { font-size: 28px; color: var(--navy); }
.shop-sum .btn { align-self: stretch; }
.shop-closed p { margin-top: 4px; }
.shop-badge { flex: none; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--gold); color: var(--navy); }
.shop-badge-paid { background: #3fcf8e; color: #08341f; }
.shop-badge-expired, .shop-badge-cancelled { background: #f3c3c5; color: #6b1418; }
.shop-order { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.shop-order > * { min-width: 0; }
.shop-order-main { display: flex; flex-direction: column; gap: 16px; }
.shop-order-main .notice { margin: 0; }
.shop-pay { align-items: center; text-align: center; }
.shop-pay-amt { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.shop-pay-amt small { font-size: 16px; color: var(--muted); }
.shop-qr { width: 260px; max-width: 100%; aspect-ratio: 1; background: var(--paper); border-radius: 14px; display: grid; place-items: center; }
.shop-qr img { width: 100%; height: auto; image-rendering: pixelated; border-radius: 14px; }
.shop-pay .fine { margin: 0; }
.shop-slip input[type=file] { width: 100%; min-width: 0; }
.shop-slip { align-self: stretch; text-align: left; margin-top: 4px; }
.shop-slip .btn { align-self: stretch; }
.shop-ship-st { font-size: 18px; font-weight: 700; }
.shop-round { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.shop-round .fine { margin: 0; }
.shop-ok { color: #0b5e44; font-weight: 600; }
.shop-side-h { font-size: 18px; }
.shop-lines { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.shop-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.shop-lines-total { display: flex; justify-content: space-between; font-size: 18px; }
.shop-to { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .shop-order { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .shop-head { padding: 28px 0; }
  .shop-avatar { width: 52px; height: 52px; font-size: 22px; }
  .shop-item { grid-template-columns: 72px 1fr; gap: 12px; }
  .shop-img { width: 72px; height: 72px; }
  .shop-buy { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .shop-card, .shop-sum { padding: 16px; }
}
.cform [hidden] { display: none; }
.shop-head:not(.shop-theme-navy) .eyebrow, .shop-head:not(.shop-theme-navy) .eyebrow a { color: #fff; }
