/* ThaiSpa.in.th — shared styles (mobile-first). Palette & rules: refs/thaispa/style/style.md */
:root {
  /* 2026-11-05 redesign: cream + deep forest green, serif headings (refs/thaispa/style/style.md) */
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --soft: #EEF0E8;
  --line: #E2E2D6;
  --text: #26302A;
  --muted: #5A6359;
  --teal: #2E5B3B;        /* primary green (name kept so older rules keep working) */
  --teal-dark: #234830;
  --teal-soft: #E3EADD;
  --green-mid: #4F7F55;   /* icons only, not text on cream */
  --sage: #8BAA92;        /* decoration only — never text */
  --sage-soft: #E3EADD;
  --sage-ink: #37633F;
  --linen: #E9DCC6;
  --wood: #B98A5E;
  --amber-soft: #FBE6C4;
  --amber-ink: #7A4410;
  --closed-ink: #93372A;
  --open-ink: #2C6A3F;
  --footer-bg: #F6F4EE;
  --footer-ink: #26302A;
  --footer-muted: #5A6359;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(38, 48, 42, .05), 0 8px 24px rgba(38, 48, 42, .06);
  --shadow-lg: 0 2px 6px rgba(38, 48, 42, .06), 0 18px 44px rgba(38, 48, 42, .11);
  --font-body: "Anuphan", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --wrap: 1140px;
  --sticky-h: 72px;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10h12.5M11.5 5l5 5-5 5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: anywhere;
  word-break: normal;
}
img, svg { max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.4; color: var(--teal); margin: 0 0 .5em; font-weight: 600; }
h3 { color: var(--text); }
h1 { font-size: clamp(1.8rem, 5.6vw, 2.8rem); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
table { border-collapse: collapse; width: 100%; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; min-height: 44px; letter-spacing: -.01em; }
.brand:hover { color: var(--teal-dark); }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand-tld { color: var(--muted); font-weight: 600; font-family: var(--font-body); font-size: .82em; }
.nav-toggle { display: none; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 500; color: var(--teal); }
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 500; }
.site-nav a:hover { background: var(--soft); color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.site-nav a.btn-outline { border: 1.5px solid var(--teal); background: var(--teal); color: #fff; border-radius: 999px; padding: 0 20px; font-weight: 600; }
.site-nav a.btn-outline:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

.js .nav-toggle { display: inline-flex; }
.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px; }
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
.js .site-nav a { width: 100%; padding: 0 12px; font-size: 1.05rem; min-height: 48px; }
.js .site-nav a.btn-outline { justify-content: center; margin-top: 6px; }
.js .site-nav a[aria-current="page"] { box-shadow: none; background: var(--teal-soft); border-radius: 12px; }
@media (min-width: 960px) {
  .js .nav-toggle { display: none; }
  .js .site-nav, .js .site-nav.is-open { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .js .site-nav ul { flex-direction: row; align-items: center; gap: 6px; }
  .js .site-nav a { width: auto; min-height: 44px; font-size: 1rem; }
  .js .site-nav a.btn-outline { margin: 0 0 0 6px; }
  .js .site-nav a[aria-current="page"] { background: none; box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
}

/* ---------- Buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: var(--surface); color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn-sm { min-height: 44px; padding: 0 16px; }
/* arrow on link buttons (decorative, from the style reference); icon buttons and form buttons stay plain */
a.btn-primary:not(:has(svg))::after, a.btn-light:not(:has(svg))::after, .card-btn::after, .cat-tile.all .cat-label::after {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .15s;
}
a.btn-primary:hover::after, a.btn-light:hover::after, .product-card:hover .card-btn::after { transform: translateX(3px); }
.btn[data-sample] { position: relative; }
.btn.is-disabled, .btn[aria-disabled="true"] { background: var(--soft); color: var(--muted); border-color: var(--line); cursor: not-allowed; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-ink); font-size: .875rem; line-height: 1.6; font-weight: 500; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; box-shadow: 0 1px 2px rgba(59,42,30,.05); }
.chip-link:hover { border-color: var(--sage); background: var(--sage-soft); color: var(--text); }
.chip-link svg { width: 22px; height: 22px; color: var(--teal); }
.badge-sample { display: inline-block; vertical-align: middle; padding: 1px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-family: var(--font-body); font-size: .8rem; font-weight: 600; line-height: 1.6; letter-spacing: 0; white-space: nowrap; }
.badge-type { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge-closed { display: inline-block; padding: 1px 9px; border-radius: 999px; background: #F6DCD6; color: var(--closed-ink); font-size: .8rem; font-weight: 600; }
.price { font-weight: 600; color: var(--text); letter-spacing: .04em; }
.price .dim { color: #A08C76; }
.open { color: var(--open-ink); font-weight: 600; }
.closed { color: var(--closed-ink); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-tight { padding: 32px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } .section-tight { padding: 40px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); width: 100%; }
.more-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
.sample-banner { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber-ink); font-size: .95rem; }
.sample-banner svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.sample-banner p { margin: 0; }

/* ---------- Hero (home: copy left, still-life art right, floating feature strip) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-top { background: linear-gradient(180deg, var(--bg) 0%, #F1ECE2 100%); }
.hero-in { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: center; }
.hero-lead { color: var(--muted); font-size: 1.05rem; max-width: 34em; }
.hero-art { border-radius: 22px; overflow: hidden; aspect-ratio: 640 / 520; box-shadow: var(--shadow); }
.hero-art { background: #E9DECB; }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 42% 60%; }
@media (min-width: 600px) and (max-width: 959px) { .hero-art { aspect-ratio: 16 / 10; } }
@media (min-width: 960px) {
  /* photo fills the whole hero, edge to edge; copy sits on a soft cream panel */
  .hero-top { position: relative; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; padding-top: 0; padding-bottom: 0; align-items: stretch; min-height: 600px; }
  .hero-copy { position: relative; z-index: 1; align-self: center; margin: 40px 0 96px; padding: 36px 0; }
  .hero-art { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .hero-photo { position: absolute; inset: 0; object-position: 75% 60%; }
  /* cream wash from the left, solid behind the copy, fading into the photo (no box) */
  .hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    --edge: max(24px, (100vw - var(--wrap)) / 2 + 24px);
    background: linear-gradient(to right, rgba(246, 244, 238, .96) 0, rgba(246, 244, 238, .92) calc(var(--edge) + 520px), rgba(246, 244, 238, 0) calc(var(--edge) + 820px)); }
}
.search-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; margin-top: 20px; }
.search-card .field { margin: 0; }
@media (min-width: 640px) { .search-card { grid-template-columns: 1.4fr 1fr auto; align-items: end; padding: 16px 16px 16px 20px; } }
.hero-secondary { margin: 14px 0 0; }
.hero-secondary a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 4px; margin: 0 0 16px; }
.field label, .legend, legend { font-weight: 600; font-size: .95rem; }
input[type="search"], input[type="text"], select {
  width: 100%; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 1rem; appearance: none; -webkit-appearance: none;
}
select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2367503F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
select:disabled { background-color: var(--soft); color: var(--muted); }
input:focus-visible, select:focus-visible { border-color: var(--teal); outline-offset: 0; }
fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; display: inline-flex; }
.check-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .95rem; font-weight: 500; }
.check-chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.check-chip input:checked + span::before { content: "✓"; font-weight: 700; }
.check-chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; font-weight: 500; }
.toggle input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; flex: none; cursor: pointer; margin: 0; transition: background-color .15s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.toggle input:checked { background: var(--teal); }
.toggle input:checked::after { transform: translateX(20px); }

/* ---------- Shop cards ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1040px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.shop-card { display: flex; gap: 14px; height: 100%; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: box-shadow .15s, transform .15s, border-color .15s; }
.shop-card:hover { color: var(--text); box-shadow: var(--shadow-lg); border-color: #CFD6C6; transform: translateY(-2px); }
@media (min-width: 1040px) { .cols-4 .shop-card { flex-direction: column; } }
.shop-logo { flex: none; }
.shop-logo svg, .shop-logo img { width: 56px; height: 56px; border-radius: 16px; }
.shop-card-body { min-width: 0; display: grid; gap: 4px; align-content: start; flex: 1; }
.shop-name { font-size: 1.08rem; margin: 0; line-height: 1.4; }
.shop-name .badge-sample { margin-left: 4px; }
.shop-meta, .shop-transit { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.shop-transit { display: flex; gap: 6px; align-items: flex-start; }
.shop-transit svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--sage-ink); }
.shop-card .chips { margin: 4px 0 2px; }
.shop-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .92rem; margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }
.mono text { font-family: var(--font-head); font-weight: 600; }

/* static (no-JS) fallback lists */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* ---------- Province + service browse ---------- */
.service-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.province-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .province-grid { grid-template-columns: repeat(3, 1fr); } }
.province-tile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 14px 18px; border-radius: var(--radius); background: var(--sage-soft); color: var(--text); text-decoration: none; overflow: hidden; border: 1px solid #D3DECB; }
.province-tile:hover { color: var(--text); background: #D9E3D2; }
.province-tile strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--teal); }
.province-tile span { color: var(--sage-ink); font-size: .92rem; font-weight: 500; }
.province-tile svg { position: absolute; right: -10px; bottom: -14px; width: 90px; height: 90px; opacity: .35; color: var(--sage); pointer-events: none; }
.province-tile > * { position: relative; }

/* ---------- Job rows ---------- */
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job-row { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: box-shadow .15s, border-color .15s; }
.job-row:hover { color: var(--text); box-shadow: var(--shadow-lg); border-color: #CFD6C6; }
.job-row .shop-logo svg, .job-row .shop-logo img { width: 48px; height: 48px; border-radius: 14px; }
.job-body { min-width: 0; flex: 1; display: grid; gap: 2px; }
.job-title { margin: 0; font-size: 1.08rem; }
.job-shop { margin: 0; color: var(--muted); font-size: .92rem; }
.job-pay { margin: 2px 0 0; font-weight: 600; color: var(--teal-dark); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; font-size: .88rem; color: var(--muted); }

/* ---------- Owner band (dark green CTA band above the footer) ---------- */
.owner-band { background: var(--teal); color: #fff; border-radius: 22px; padding: 28px 20px; position: relative; overflow: hidden; }
.owner-band h2, .owner-band h3 { color: #fff; }
.owner-band p { color: #DCE8D8; }
.owner-band .band-art { position: absolute; right: -30px; top: -30px; width: 220px; opacity: .08; color: #fff; pointer-events: none; }
.owner-band-head { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.owner-band-head h2 { margin: 0 0 6px; }
.owner-band-head p { margin: 0 0 6px; max-width: 36em; }
.ob-ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.1); }
.ob-ic svg { width: 46px; height: 46px; }
.owner-grid { display: grid; gap: 14px; margin-top: 20px; position: relative; }
.owner-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.owner-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 4px; }
.owner-card p { margin-bottom: 16px; flex: 1; }
.owner-card .btn { align-self: flex-start; }
@media (max-width: 479px) { .ob-ic { width: 52px; height: 52px; } .ob-ic svg { width: 38px; height: 38px; } }
@media (min-width: 720px) { .owner-band { padding: 40px 44px; } .owner-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page heads + breadcrumbs ---------- */
.page-head { padding: 24px 0 8px; }
.page-head p { color: var(--muted); max-width: 44em; }
.crumbs { font-size: .9rem; padding-top: 14px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 4px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #A08C76; }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Shops listing ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 8px 0 16px; }
.toolbar .shop-search { flex: 1 1 100%; }
@media (min-width: 600px) { .toolbar .shop-search { flex: 1 1 0; } }
.shop-search { display: flex; gap: 8px; flex: 1; min-width: 0; }
.shop-search input { flex: 1; min-width: 0; }
.shop-search .btn { padding: 0 16px; }
.filter-open { display: none; white-space: nowrap; }
.js .filter-open { display: inline-flex; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.no-js .js-only { display: none !important; }
.listing { display: grid; gap: 20px; padding-bottom: 48px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.results-head p { margin: 0; font-weight: 600; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-size: .92rem; color: var(--muted); white-space: nowrap; }
.sort select { width: auto; min-height: 44px; }
.empty { text-align: center; padding: 36px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.empty svg { width: 96px; margin: 0 auto 10px; }
.empty h2, .empty h3 { margin-bottom: 6px; }
.empty .btn { margin-top: 6px; }

.filters { display: none; }
.js .filters { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 60; background: var(--surface); visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.js .filters.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.filters-head h2 { margin: 0; font-size: 1.2rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; color: var(--text); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 24px; height: 24px; }
.filters-body { flex: 1; overflow-y: auto; padding: 18px 20px; overscroll-behavior: contain; }
.filters-foot { display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.filters-foot .btn-primary { flex: 1; }
.filter-divider { border: 0; border-top: 1px solid var(--line); margin: 4px 0 16px; }
body.sheet-open { overflow: hidden; }

@media (min-width: 960px) {
  .listing { grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
  .js .filter-open { display: none; }
  .js .filters, .js .filters.is-open { position: sticky; top: 16px; inset: auto; z-index: 1; visibility: visible; opacity: 1; transform: none; transition: none; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-height: calc(100vh - 32px); }
  .filters-head .icon-btn { display: none; }
  .filters-head { padding: 14px 20px; }
  .filters-foot #f-apply { display: none; }
  .filters-foot { border-radius: 0 0 var(--radius) var(--radius); padding: 12px 20px; }
  .filters-foot .btn-ghost { flex: 1; }
}

.job-filters { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.job-filters .field { margin: 0; }
.job-filters .toggle-wrap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.job-filters .toggle { gap: 12px; justify-content: flex-start; }
@media (max-width: 420px) { .job-filters { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .job-filters { grid-template-columns: repeat(3, 1fr) auto; align-items: end; } .job-filters .toggle-wrap { grid-column: auto; } }

/* ---------- Shop detail ---------- */
.shop-head { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.cover { height: 96px; background: var(--sage-soft); color: var(--sage); }
.cover svg { width: 100%; height: 100%; }
@media (min-width: 760px) { .cover { height: 150px; } }
.shop-head-body { padding: 0 18px 20px; display: grid; gap: 4px; }
.shop-head-logo { margin-top: -36px; }
.shop-head-logo svg, .shop-head-logo img { width: 80px; height: 80px; border-radius: 22px; border: 4px solid var(--surface); box-shadow: var(--shadow); background: var(--surface); }
.shop-head h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); margin: 6px 0 2px; }
.shop-head h1 .badge-sample { font-size: .85rem; margin-left: 6px; position: relative; top: -3px; }
.shop-area { margin: 0; color: var(--muted); }
.shop-head .chips { margin: 8px 0 4px; }
.shop-status { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 4px 0 0; }
.shop-status p { margin: 0; }
@media (min-width: 760px) {
  .shop-head-body { grid-template-columns: auto 1fr; column-gap: 20px; padding: 0 28px 24px; }
  .shop-head-logo { grid-row: span 6; }
  .shop-head-logo svg, .shop-head-logo img { width: 104px; height: 104px; border-radius: 26px; }
  .shop-head-logo { margin-top: -40px; }
}
.action-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 6px; }
.action-row .btn { padding: 0 8px; }
.action-note { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
@media (min-width: 760px) { .action-row { display: flex; } .action-row .btn { padding: 0 22px; } }

.detail-grid { display: grid; gap: 16px; margin: 16px 0 24px; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1fr 340px; gap: 24px; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: 0 1px 2px rgba(59,42,30,.05); }
.panel + .panel { margin-top: 16px; }
@media (min-width: 760px) { .panel { padding: 24px 28px; } }
.panel h2 { font-size: 1.3rem; }
.facts { display: grid; gap: 0; margin: 12px 0 0; }
.facts > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; }
@media (max-width: 380px) { .facts > div { grid-template-columns: 1fr; gap: 0; } }
.table-wrap { overflow-x: auto; }
.data-table th, .data-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: .9rem; color: var(--muted); font-weight: 600; border-bottom-width: 2px; }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; }
.data-table tbody th { font-weight: 500; }
.hours-table tr.is-today { background: var(--teal-soft); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; color: var(--teal-dark); }
.hours-table .today-tag { font-size: .8rem; font-weight: 600; margin-left: 6px; }
.table-note { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.map-ph { margin-top: 14px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--sage-soft); position: relative; }
.map-ph svg { width: 100%; height: auto; }
.map-ph p { position: absolute; left: 12px; right: 12px; bottom: 10px; margin: 0; background: rgba(255,253,249,.94); border-radius: 10px; padding: 8px 12px; font-size: .9rem; color: var(--muted); }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-sm); margin-top: 14px; }
.mini-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.mini-list a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: #fff; min-height: 64px; }
.mini-list a:hover { border-color: var(--sage); background: var(--sage-soft); color: var(--text); }
.mini-list svg, .mini-list img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.mini-list strong { display: block; font-weight: 600; line-height: 1.4; }
.mini-list span span { display: block; font-size: .88rem; color: var(--muted); }
.small-print { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding: 16px 0 32px; margin-top: 8px; }
.small-print p { margin: 0 0 6px; }

.sticky-bar { display: none; }
@media (max-width: 759px) {
  .sticky-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(59,42,30,.08); }
  .sticky-bar .btn { min-height: 52px; padding: 0 6px; font-size: .98rem; }
  body.has-sticky { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  body.has-sticky .toast { bottom: calc(var(--sticky-h) + 16px + env(safe-area-inset-bottom)); }
}
@supports (backdrop-filter: blur(6px)) { .sticky-bar { backdrop-filter: blur(6px); } }

/* ---------- Job detail ---------- */
.job-head { margin-top: 16px; display: flex; gap: 16px; align-items: flex-start; }
.job-head .shop-logo svg, .job-head .shop-logo img { width: 64px; height: 64px; border-radius: 18px; }
.job-head h1 { font-size: clamp(1.4rem, 4.8vw, 2.1rem); margin: 0 0 4px; }
.job-head p { margin: 0; color: var(--muted); }
.job-status { margin: 14px 0 0; }
.expired-banner { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); background: #F6DCD6; color: var(--closed-ink); font-weight: 600; }
.safety { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--sage-soft); border: 1px solid #D3E0D0; color: var(--text); margin-top: 16px; }
.safety svg { width: 28px; height: 28px; flex: none; color: var(--sage-ink); }
.safety p { margin: 0; }
.safety strong { color: var(--sage-ink); }
.apply-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--sage-ink); border-bottom: 2.5px solid var(--sage-ink); transform: rotate(-45deg); }

/* ---------- Content pages ---------- */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .35em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 500; }
.toc a:hover { background: var(--sage-soft); }
.list-cards { display: grid; gap: 16px; margin: 8px 0 24px; }
@media (min-width: 860px) { .list-cards { grid-template-columns: 1fr 1fr; } }
.list-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 18px; scroll-margin-top: 16px; }
@media (min-width: 760px) { .list-card { padding: 28px; } }
.list-card h3 { margin-top: 18px; font-size: 1.02rem; }
.list-card .icon-lg { width: 52px; height: 52px; margin-bottom: 10px; }
.ph { background: var(--amber-soft); color: var(--amber-ink); padding: 0 6px; border-radius: 6px; font-weight: 600; }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.contact-box .btn { margin: 6px 8px 6px 0; }
.note-box { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--soft); margin: 14px 0; }

/* ---------- Footer (light cream, link columns) ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 44px 0 28px; margin-top: 24px; font-size: .95rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--footer-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { text-decoration: underline; color: var(--teal); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: var(--teal); }
.footer-brand .brand-tld { color: var(--muted); }
.footer-brand p { color: var(--footer-muted); margin: 8px 0 0; max-width: 30em; }
.footer-h { font-family: var(--font-body); font-weight: 600; color: var(--text); margin: 0 0 6px; font-size: .98rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-col-wide { grid-column: 1 / -1; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; color: var(--footer-muted); display: grid; gap: 4px; font-size: .9rem; }
.footer-legal p { margin: 0; }
.site-footer .ph { background: var(--amber-soft); color: var(--amber-ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 80; transform: translate(-50%, 20px); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--text); color: #fff; box-shadow: var(--shadow-lg); font-size: .95rem; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-top: 56px; padding-bottom: 72px; }
.notfound svg { width: 180px; margin: 0 auto 16px; }
.notfound .apply-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .shop-card:hover { transform: none; }
}
@media print { .site-header, .site-footer, .sticky-bar, .action-row { display: none !important; } }

/* ---------- Free listing pitch (owner-first) ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; color: var(--sage-ink); font-size: .95rem; }
.eyebrow-tag, .free-chip { display: inline-block; padding: 1px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-family: var(--font-body); font-weight: 700; font-size: .9rem; line-height: 1.7; }
.free-chip { vertical-align: middle; font-size: .85rem; margin-left: 4px; }
.hero-owner h1 { position: relative; z-index: 0; font-size: clamp(2.1rem, 8.4vw, 3.4rem); line-height: 1.22; font-weight: 700; color: var(--teal); margin-bottom: .4em; letter-spacing: -.01em; }
.h1-line { display: block; }
.h1-leaf { display: inline-block; width: .5em; height: .5em; margin-left: .12em; vertical-align: -.02em; }
.hl { color: var(--teal); white-space: nowrap; }
.hero-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px 22px; flex-wrap: wrap; }
.hero-badges li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 7.4em; text-align: center; font-size: .9rem; font-weight: 500; line-height: 1.45; color: var(--text); }
.hb-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: var(--teal); box-shadow: 0 1px 2px rgba(38,48,42,.06), 0 6px 16px rgba(38,48,42,.08); }
.hb-ic svg { width: 26px; height: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
@media (max-width: 420px) { .hero-ctas .btn { flex: 1 1 100%; } .hero-badges { gap: 10px; justify-content: space-between; } .hero-badges li { width: calc((100% - 20px) / 3); } }

/* floating white feature strip that overlaps the bottom of the hero */
.feature-strip { list-style: none; margin: -36px 0 0; padding: 8px 4px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.feature-strip li { display: flex; align-items: center; gap: 10px; padding: 12px 10px; min-width: 0; line-height: 1.4; font-size: .88rem; color: var(--muted); }
.feature-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
.feature-strip li:nth-child(2n) { border-left: 1px solid var(--line); }
.feature-strip strong { display: block; color: var(--text); font-size: .98rem; font-weight: 600; }
.feature-strip svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .feature-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -52px; padding: 18px 8px; }
  .feature-strip li { justify-content: center; gap: 14px; padding: 6px 18px; font-size: .92rem; }
  .feature-strip li:nth-child(n+3) { border-top: 0; }
  .feature-strip li + li { border-left: 1px solid var(--line); }
  .feature-strip svg { width: 40px; height: 40px; }
}

.finder { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 16px 10px; margin: 32px 0 0; box-shadow: var(--shadow); }
.finder h2 { font-size: clamp(1.3rem, 3.6vw, 1.6rem); margin: 0; }
.finder .search-card { margin-top: 12px; background: var(--bg); border-color: var(--line); }
.finder .hero-secondary { margin: 6px 0 0; }
@media (min-width: 900px) { .finder { padding: 26px 28px 14px; margin-top: 48px; } }

/* "impact" panel — true facts only, no invented statistics */
.impact { display: grid; gap: 24px; padding: 26px 20px; border-radius: 22px; background: var(--sage-soft); }
.impact-copy h2 { margin: 0 0 8px; line-height: 1.3; }
.impact-copy p { color: var(--text); margin: 0 0 18px; max-width: 30em; }
.impact-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.impact-stats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; }
.is-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #F4F7F0; color: var(--green-mid); margin-bottom: 8px; }
.is-ic svg { width: 30px; height: 30px; stroke-width: 1.7; }
.impact-stats strong { font-family: var(--font-head); font-size: clamp(1.5rem, 4.6vw, 2rem); font-weight: 700; color: var(--teal); line-height: 1.3; }
.impact-stats span:last-child { font-size: .9rem; color: var(--muted); line-height: 1.45; max-width: 11em; }
@media (min-width: 900px) {
  .impact { grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); align-items: center; gap: 32px; padding: 36px 40px; }
  .impact-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .impact-stats li + li { border-left: 1px solid #CCD8C6; }
}

.benefit-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 620px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.benefit h3 { font-size: 1.08rem; margin: 10px 0 4px; }
.benefit p { margin: 0; color: var(--muted); }
.benefit-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage-soft); color: var(--teal); }
.benefit:first-child .benefit-ic { background: var(--amber-soft); color: var(--amber-ink); }
.benefit-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.steps-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-band .province-tile { background: var(--bg); border-color: var(--line); }
.steps-band .province-tile:hover { background: var(--sage-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.step p { margin: 0; color: var(--muted); }
.step-n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 20px 0 0; }
.steps-cta .more-link { display: inline-flex; align-items: center; min-height: 44px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; padding: 10px 0; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

.free-head { padding: 24px 0 8px; }
.free-head h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); font-weight: 700; line-height: 1.25; margin-bottom: .3em; }
.free-lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; margin: 0; }
.free-head .small { margin: 14px 0 6px; }
.list-section { margin: 28px 0; scroll-margin-top: 16px; }
.list-section > h2 { margin-bottom: 14px; }

.owner-mini { margin-top: 16px; background: var(--sage-soft); border: 1px solid #D3DECB; border-radius: var(--radius); padding: 20px; }
.owner-mini h2 { font-size: 1.15rem; margin-bottom: 4px; color: var(--teal-dark); }
.owner-mini p { margin: 0 0 12px; color: var(--text); }
@media (max-width: 619px) {
  .benefit { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; }
  .benefit-ic { grid-row: span 2; }
  .benefit h3 { margin: 0 0 2px; }
}

/* ==== PORTAL: products · articles · verification (2026-11-04) ==== */
.badge-verified { display: inline-block; vertical-align: middle; padding: 1px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-family: var(--font-body); font-size: .78rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.badge-verified::before { content: "✓ "; }

/* home pillars (inside the finder box) */
.pillars { list-style: none; padding: 0; margin: 14px 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 68px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--teal); text-decoration: none; font-family: var(--font-head); font-weight: 700; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.pillar:hover { border-color: var(--sage); box-shadow: var(--shadow); color: var(--teal-dark); }
.pillar small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .84rem; color: var(--muted); }
.pillar-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--teal); }
.pillar-ic svg, .ic { width: 22px; height: 22px; }
.sub-h { font-size: 1.05rem; margin: 26px 0 10px; }

/* product category tiles — tall art cards with a dark bottom gradient, white icon + label */
.cat-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--soft); color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; transition: box-shadow .15s, transform .15s; }
@media (min-width: 760px) { .cat-tile { aspect-ratio: 5 / 6; } }
.cat-tile:hover { color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-thumb { position: absolute; inset: 0; z-index: -2; background: var(--soft); }
.cat-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover .cat-thumb img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .cat-thumb img { transition: none; } .cat-tile:hover .cat-thumb img { transform: none; } }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(24, 44, 30, .92) 0%, rgba(24, 44, 30, .74) 26%, rgba(24, 44, 30, 0) 56%); }
.cat-label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 10px 16px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.35; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cat-ic { width: 30px; height: 30px; color: #fff; }
@media (min-width: 760px) { .cat-label { font-size: 1.1rem; padding-bottom: 20px; } .cat-ic { width: 34px; height: 34px; } }
.cat-tile.all { background: var(--teal); justify-content: center; }
.cat-tile.all::before { display: none; }
.cat-tile.all:hover { background: var(--teal-dark); }
.cat-tile.all .cat-label { flex-direction: row; justify-content: center; padding: 0 12px; text-shadow: none; }

/* category chips that scroll inside their own box */
.cat-chips { list-style: none; margin: 4px 0 10px; padding: 2px 2px 10px; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; max-width: 100%; }
.cat-chips li { flex: none; }
.cat-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap; }
.cat-chips a.no-thumb { padding-left: 16px; }
.cat-chips a:hover { border-color: var(--sage); color: var(--text); }
.cat-chips a[aria-current="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.cat-chips .dot { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--soft); }
.cat-chips .dot svg, .cat-chips .dot img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* product cards */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--text); overflow: hidden; transition: box-shadow .15s, transform .15s, border-color .15s; }
.product-card:hover { color: var(--text); box-shadow: var(--shadow-lg); border-color: #CFD6C6; transform: translateY(-2px); }
.product-img { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.product-img svg, .product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .badge-sample { position: absolute; left: 8px; top: 8px; }
.product-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.product-name { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin: 0; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-cat { margin: 0; }
.product-cat .chip { font-size: .8rem; }
.product-price { margin: 2px 0 0; font-weight: 700; color: var(--text); font-size: 1.05rem; line-height: 1.45; }
.product-price small { font-weight: 500; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.product-seller { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.product-tags { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 2px 0 0; }
.card-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; margin-top: auto; padding: 0 14px; border-radius: 8px; background: var(--teal); color: #fff; font-weight: 600; font-size: .92rem; }
.product-body > :nth-last-child(2) { margin-bottom: 10px; }
.product-card:hover .card-btn { background: var(--teal-dark); }
.tag { display: inline-block; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .78rem; color: var(--muted); line-height: 1.7; white-space: nowrap; }
@media (max-width: 400px) { .product-body { padding: 10px 10px 12px; } .product-name { font-size: .95rem; } .card-btn { padding: 0 10px; font-size: .88rem; } }

.disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); background: var(--soft); border-radius: var(--radius-sm); padding: 10px 12px; margin: 12px 0 0; }
.disclaimer svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--muted); }
.disclaimer p { margin: 0; }
.owner-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--teal-soft); border: 1px solid #C6DCD6; }
.owner-strip p { margin: 0; font-weight: 600; color: var(--teal-dark); }

/* product page */
.product-head { margin-top: 16px; display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 12px 12px 18px; }
@media (min-width: 760px) { .product-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding: 20px; gap: 28px; align-items: start; } }
.product-media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.product-media svg, .product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 0 6px; min-width: 0; }
.product-info h1 { font-size: clamp(1.4rem, 4.6vw, 2rem); margin: 8px 0 6px; }
.product-info h1 .badge-sample { font-size: .85rem; margin-left: 6px; position: relative; top: -3px; }
.price-lg { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--teal-dark); margin: 4px 0 2px; }
.price-lg small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.seller-line { margin: 6px 0 0; color: var(--muted); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.buy-actions .btn { flex: 1 1 auto; }
.affiliate { margin-top: 14px; padding: 12px 14px; border: 1px dashed #D6C6B0; border-radius: var(--radius-sm); }
.aff-label { display: inline-block; margin: 0 0 8px; padding: 0 8px; border-radius: 6px; background: var(--soft); font-size: .82rem; font-weight: 600; color: var(--muted); }
.affiliate .buy-actions { margin: 0 0 6px; }
.affiliate p.small { margin: 0; color: var(--muted); }
.caution { background: #FFF6E8; border: 1px solid #F0D9B0; border-radius: var(--radius); padding: 18px; margin-top: 16px; }
.caution h2 { font-size: 1.15rem; color: var(--amber-ink); display: flex; gap: 8px; align-items: center; }
.caution h2 svg { width: 22px; height: 22px; }
.caution ul { margin: 0; padding-left: 1.2em; }
.caution li { margin-bottom: .3em; }
.seller-box h3 { margin: 4px 0 2px; font-size: 1.1rem; }
.seller-box .kind { display: inline-block; margin-bottom: 6px; }
.seller-box .buy-actions { margin-top: 12px; }
.seller-box .buy-actions .btn { flex: 1 1 100%; }
.link-stack { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.link-stack a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.4; }
.link-stack a:hover { border-color: var(--sage); background: var(--sage-soft); color: var(--text); }
.link-stack a::after { content: "→"; margin-left: auto; color: var(--teal); padding-left: 6px; }
.related { margin: 8px 0 24px; }
.related > h2 { margin-bottom: 14px; }

/* articles */
.article-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); text-decoration: none; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.article-card:hover { color: var(--text); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-art { aspect-ratio: 32 / 15; overflow: hidden; }
.article-art { background: var(--soft); }
.article-art svg, .article-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; gap: 4px; padding: 14px 16px 16px; align-content: start; flex: 1; }
.article-cat { margin: 0; font-size: .85rem; font-weight: 600; color: var(--sage-ink); }
.article-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.45; }
.article-card .excerpt { margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.a-count { font-weight: 600; margin: 0 0 12px; }

.article-layout { display: grid; gap: 20px; padding-bottom: 24px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; } }
.article-head { padding: 18px 0 4px; max-width: 46em; }
.article-head h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: .4em; }
.article-head .article-cat a { color: var(--sage-ink); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.byline { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.article-main { min-width: 0; max-width: 46em; }
.article-text { font-size: 1.04rem; line-height: 1.85; }
.article-text .lead { font-size: 1.12rem; color: var(--text); }
.article-text h2 { margin-top: 1.7em; scroll-margin-top: 16px; }
.article-text h3 { margin-top: 1.3em; }
.article-text li { margin-bottom: .4em; }
.article-text table { margin: 1em 0; }
.toc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 14px 0 6px; }
.toc-box h2 { font-size: 1rem; margin: 0 0 4px; }
.toc-box ol { margin: 0; padding-left: 1.3em; }
.toc-box li { margin: 0; }
.toc-box a { display: inline-block; padding: 7px 0; line-height: 1.45; }
@media (min-width: 1040px) { .article-aside { position: sticky; top: 16px; } .article-aside .toc-box { margin-top: 18px; } }
.article-safety { margin: 28px 0 0; }
.cta-box { background: var(--teal); color: #fff; border-radius: 20px; padding: 24px 22px; margin: 20px 0 0; position: relative; overflow: hidden; }
.cta-box h2 { color: #fff; font-size: 1.35rem; margin: 0 0 6px; }
.cta-box p { color: #DCE8D8; margin: 0 0 16px; }
.cta-box .btns { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-box .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.cta-box .band-art { position: absolute; right: -30px; top: -30px; width: 160px; opacity: .14; color: #fff; pointer-events: none; }

/* list-your-shop: three listing types + verification */
.list-cards.three { grid-template-columns: 1fr; }
@media (min-width: 860px) { .list-cards.three { grid-template-columns: 1fr 1fr; } .list-cards.three > #shop { grid-column: 1 / -1; } .list-cards.three > #shop .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; } }
.verify-box { margin: 18px 0 14px; padding: 16px 16px 6px; border-radius: var(--radius); background: var(--sage-soft); border: 1px solid #D3E0D0; }
.verify-box h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; color: var(--sage-ink); font-size: 1.05rem; }
.verify-box h3 svg { width: 22px; height: 22px; flex: none; }
.verify-box h4 { font-family: var(--font-head); font-size: .98rem; margin: 12px 0 4px; }
.verify-box ul { margin: 0 0 10px; }
.verify-box p { margin: 0 0 10px; font-size: .95rem; }
.verify-box.opt { background: var(--surface); border-style: dashed; border-color: #CFD6C6; }

/* footer with 5 link columns */
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) 1.3fr; gap: 24px 20px; } .footer-brand, .footer-col-wide { grid-column: auto; } }
.site-footer a { line-height: 1.4; padding: 2px 0; }
@media (min-width: 980px) { .benefit-grid.cols-4b { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .owner-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* small phones: stack icon above text so Thai words don't break mid-word */
@media (max-width: 559px) {
  .feature-strip li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 12px 14px; }
  .feature-strip svg { width: 30px; height: 30px; }
  .pillar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .finder { padding: 18px 14px 8px; }
}
.js .site-nav a.btn-outline[aria-current="page"], .site-nav a.btn-outline[aria-current="page"] { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: none; border-radius: 999px; }

/* focus ring visible on dark green areas */
.owner-band :focus-visible, .cta-box :focus-visible, .cat-tile.all:focus-visible { outline-color: #fff; }

/* ==== List-your-shop chooser (2026-11-05) ==== */
.no-js .chooser, .no-js .pick-step { display: none; }
.chooser { margin: 18px 0 8px; scroll-margin-top: 16px; }
.pick-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.pick-set legend { padding: 0; margin: 0 0 14px; width: 100%; }
.pick-set legend h2, .need > h2, .send-box > h2, .verify-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.pick-sub { font-size: .95rem; font-weight: 500; color: var(--muted); }
.pick-step { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--teal); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1; }
.pick-grid { display: grid; gap: 12px; }
@media (min-width: 820px) { .pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.pick { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pick-body { display: grid; grid-template-columns: 44px 1fr 28px; gap: 14px; align-items: start; min-height: 88px; height: 100%; padding: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .15s, background-color .15s, box-shadow .15s; }
@media (min-width: 820px) { .pick-body { grid-template-columns: 1fr 28px; padding: 20px; } .pick-ic { grid-row: 1; } .pick-text { grid-column: 1 / -1; grid-row: 2; } .pick-mark { grid-column: 2; grid-row: 1; } }
.pick:hover .pick-body { border-color: var(--sage); }
.pick-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sage-soft); color: var(--sage-ink); }
.pick-ic svg { width: 24px; height: 24px; }
.pick-text { display: grid; gap: 4px; min-width: 0; }
.pick-title { font-weight: 700; font-size: 1.12rem; line-height: 1.4; color: var(--text); }
.pick-alt { font-weight: 500; color: var(--muted); font-size: .95rem; }
.pick-desc { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pick-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pick-tags .free-chip { margin: 0; }
.tag-ok, .tag-need { display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; line-height: 1.7; }
.tag-ok { background: var(--teal-soft); color: var(--teal-dark); }
.tag-need { background: #fff; color: var(--amber-ink); border: 1px solid #E8C690; }
.tag-need::before { content: ""; width: 10px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0l10 4v7c0 6-4.3 11.2-10 13C4.3 22.2 0 17 0 11V4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0l10 4v7c0 6-4.3 11.2-10 13C4.3 22.2 0 17 0 11V4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pick-mark { position: relative; width: 28px; height: 28px; border-radius: 8px; border: 2px solid #7D8A79; background: #fff; transition: background-color .15s, border-color .15s; }
.pick-mark::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; }
.pick input:checked + .pick-body { border-color: var(--teal); background: #F3F7F0; box-shadow: 0 0 0 1.5px var(--teal), var(--shadow); }
.pick input:checked + .pick-body .pick-mark { background: var(--teal); border-color: var(--teal); }
.pick input:checked + .pick-body .pick-mark::after { opacity: 1; }
.pick input:focus-visible + .pick-body { outline: 3px solid var(--teal); outline-offset: 3px; }
.pick-status { margin: 12px 0 0; min-height: 1.7em; font-weight: 600; color: var(--sage-ink); }
.pick-status a { font-weight: 600; }

.need { margin-top: 32px; }
.need > h2 { margin-bottom: 14px; }
.pick-empty { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1.5px dashed #CFD6C6; border-radius: var(--radius); background: var(--surface); }
.pick-empty svg { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-ink); }
.pick-empty p { margin: 0; color: var(--muted); }
.pick-empty strong { color: var(--text); }
.need-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .need-card .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; } }
.need-card .need-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 1.3rem; color: var(--teal); margin: 0 0 6px; }
.need-card .need-h .free-chip { margin: 0; }
.need-card h4 { font-family: var(--font-head); font-size: 1.02rem; margin: 18px 0 8px; }
.need-card .note-box { margin-bottom: 0; }
.opt-list li::before { border-color: var(--sage); }
.need-flag { margin: 14px 0 0; }
.need-flag a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.need-flag a:hover { text-decoration: underline; }

#verify, #verify-opt { margin-top: 24px; }
.verify-main { margin: 0; padding: 20px 18px 10px; }
@media (min-width: 760px) { .verify-main { padding: 28px 28px 14px; } }
.verify-h { color: var(--sage-ink); margin-bottom: 8px; }
.verify-h svg { width: 28px; height: 28px; }
.verify-main > p { font-size: 1rem; }
.verify-main > h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.verify-grid { display: grid; gap: 12px; margin: 14px 0 4px; }
@media (min-width: 900px) { .verify-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.verify-part { background: rgba(255, 255, 255, .72); border: 1px solid #D3E0D0; border-radius: var(--radius-sm); padding: 14px 16px 6px; }
.verify-part h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--text); }
#verify-opt .verify-box { margin: 0; }

.send-box { margin-top: 28px; }
.send-box > h2 { margin-bottom: 12px; }
.sum { margin: 0 0 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--soft); }
.sum-h { margin: 0 0 6px; font-weight: 700; }
.sum-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.sum-list li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.sum-list .tag-ok, .sum-list .tag-need { font-size: .8rem; }
.sum-verify { margin: 0 0 10px; font-size: .95rem; }
.sum .btn { margin: 0; }
/* ==== /List-your-shop chooser ==== */

/* ==== Contact form (/contact/, 2026-11-05) ==== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
input[type="tel"], input[type="email"], textarea {
  width: 100%; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 1rem; color: var(--text); appearance: none; -webkit-appearance: none;
}
textarea { min-height: 150px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
input:focus-visible, textarea:focus-visible { border-color: var(--teal); outline-offset: 0; }
.contact-layout { display: grid; gap: 20px; padding-bottom: 8px; }
.contact-head { padding-bottom: 0; }
.contact-head h1 { margin-bottom: 8px; }
.form-card { padding: 22px 16px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form .check-chips .check-chip > span { font-size: 1rem; }
.field-group { margin: 0 0 20px; }
.field-group > legend { font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.field-hint { margin: 0 0 10px; font-size: .9rem; color: var(--muted); }
.field .field-hint { margin: 2px 0 0; }
.field-group .field-hint { margin-top: -4px; }
.req { color: var(--closed-ink); font-weight: 700; margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
.req-note { margin: 0 0 14px; }
.form-row { display: grid; gap: 0 16px; }
.form-row-3 .field { margin-bottom: 12px; }
.field-narrow { max-width: 22rem; }
.field-err { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 0; color: var(--closed-ink); font-size: .92rem; font-weight: 600; }
.field-err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--closed-ink); color: #fff; font-size: .75rem; font-weight: 700; }
.field-err[hidden] { display: none; }
[aria-invalid="true"] { border-color: var(--closed-ink) !important; background-color: #FDF5F3; }
.field-group.is-invalid .check-chip > span { border-color: #D9A79E; }
.form-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: #FBEDEA; border: 1px solid #E8C2BA; color: var(--closed-ink); font-weight: 600; }
.form-alert ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }
.form-alert a { color: var(--closed-ink); }
.form-alert[hidden] { display: none; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .consent-field { margin-top: 4px; }
.field .consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; font-weight: 500; font-size: 1rem; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--teal); cursor: pointer; }
.consent a { display: inline; }
.doc-warn { margin: 4px 0 20px; background: var(--amber-soft); border-color: #F0D3A4; }
.doc-warn svg, .doc-warn strong { color: var(--amber-ink); }
.form-submit { width: 100%; }
.form-submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-done { text-align: center; padding: 12px 4px; }
.form-done svg { width: 64px; height: 64px; margin: 0 auto 8px; display: block; }
.form-done h2 { margin: 0 0 8px; }
.form-done p { max-width: 32em; margin: 0 auto 16px; color: var(--muted); }
.form-done:focus { outline: none; }
.contact-side { padding: 18px 16px; border-radius: var(--radius); background: var(--soft); align-self: start; }
.side-h { font-size: 1.1rem; margin: 0 0 10px; }
@media (min-width: 640px) {
  .form-card { padding: 28px 28px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-submit { width: auto; }
}
@media (min-width: 900px) {
  .form-row-3 { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px 32px; }
  .contact-head { grid-column: 1 / -1; }
  .contact-side { position: sticky; top: 16px; }
}

.contact-alt { margin: 0 0 8px; font-weight: 500; }
.contact-alt a { font-weight: 600; word-break: break-all; }
