/* ขนมจีบ ซาลาเปานายเอก — main stylesheet */
:root {
  --red: #B3261E;
  --red-dk: #8E1D17;
  --red-soft: #FCEDEA;
  --gold: #E9B44C;
  --gold-dk: #B9822A;
  --bamboo: #C98E4B;
  --ink: #2A1A12;
  --ink-2: #4A3529;
  --muted: #6F5A4C;
  --cream: #FFF9F1;
  --sand: #F8EFE3;
  --paper: #FFFFFF;
  --line: #EADCC9;
  --line-green: #06C755;
  --line-green-dk: #04913F;
  --ok: #1F7A3A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 30, 10, .06), 0 10px 28px rgba(60, 30, 10, .08);
  --shadow-lg: 0 2px 6px rgba(60, 30, 10, .08), 0 24px 60px rgba(60, 30, 10, .16);
  --font-body: "IBM Plex Sans Thai Looped", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  --font-head: "Mitr", "IBM Plex Sans Thai Looped", "Leelawadee UI", Tahoma, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }
h1, h2, h3, .h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.break { word-break: break-all; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .55em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dk); color: #fff; }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { background: var(--line-green-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); background: var(--paper); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--lg { min-height: 56px; font-size: 1.08rem; padding: .6em 1.6em; }
.btn--sm { min-height: 44px; padding: .4em 1em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.25rem 0; }
.btn-row--light .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-row--light .btn--ghost:hover { background: #fff; color: var(--red); }
.btn-row--light .btn--primary { background: #fff; color: var(--red); }
.btn-row--light .btn--primary:hover { background: var(--cream); color: var(--red-dk); }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- topbar + header ---------- */
.topbar { background: var(--ink); color: #F3E6D6; font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar__links { gap: 18px !important; }
.topbar a { color: #F3E6D6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 249, 241, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__top { font-size: .78rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.55rem; color: var(--red); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: .5em .7em; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav a:hover { background: var(--sand); color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); background: var(--red-soft); }
.nav__contact { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.cart-btn:hover { border-color: var(--red); color: var(--red); }
.cart-btn .i { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 600; line-height: 22px; text-align: center; }
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; place-items: center; }
.nav-toggle .i { width: 24px; height: 24px; }

@media (max-width: 1120px) {
  .nav a { padding: .5em .5em; font-size: .93rem; }
  .header__cta { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px 20px 20px; max-height: calc(100vh - var(--header-h) - 64px); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .8em .6em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__contact { display: grid; gap: 10px; margin-top: 14px; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .topbar__item, .topbar__mail { display: none !important; }
  .topbar__in { justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 88px);
  background:
    radial-gradient(1200px 500px at 85% -10%, #FBE3C8 0%, transparent 60%),
    radial-gradient(800px 400px at -10% 110%, #FCE9E4 0%, transparent 60%),
    var(--cream); }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { margin-bottom: .4em; }
.hl { display: block; color: var(--red); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; font-size: .95rem; color: var(--ink-2); }
.trust li { display: flex; align-items: flex-start; gap: 8px; }
.trust .i { color: var(--ok); margin-top: .3em; }
.hero__visual { position: relative; }
.hero__art { display: block; width: 100%; height: auto; }
.hero__badge { position: absolute; margin: 0; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); padding: 10px 16px; font-family: var(--font-head); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero__badge--a { top: 8%; left: 2%; flex-direction: column; align-items: flex-start; gap: 0; font-size: 1.6rem; color: var(--red); line-height: 1.1; }
.hero__badge--a small { font-size: .8rem; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.hero__badge--b { bottom: 10%; right: 0; font-size: 1rem; color: var(--ink); }
.hero__badge--b .i { color: var(--red); }
.steam { animation: steam 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
.steam--2 { animation-delay: .9s; }
.steam--3 { animation-delay: 1.8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(14px) scaleY(.85); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-18px) scaleY(1.05); } }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; width: 100%; margin: 0 auto; }
  .hero__badge--a { font-size: 1.3rem; }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--sand); }
.section__head { max-width: 760px; margin-bottom: 28px; }
.section__head p:last-child { color: var(--muted); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }
.kicker { font-family: var(--font-head); color: var(--red); font-weight: 500; letter-spacing: .04em; margin-bottom: .3em; font-size: .95rem; }
.hint { display: flex; gap: 8px; align-items: flex-start; background: var(--red-soft); color: var(--ink-2); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .95rem; margin: 0 0 24px; }
.hint .i { color: var(--red); margin-top: .3em; }

.grid { display: grid; gap: 22px; }
.grid--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--features { list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--features-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1rem 0 1.5rem; }
.grid--cust { list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--contact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .grid--cats, .grid--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--features, .grid--cust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--features, .grid--cust, .grid--features-2, .grid--contact { grid-template-columns: 1fr; }
  .grid--cats { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* category cards */
.cat-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.cat-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.cat-card__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.cat-card__blurb { color: var(--muted); font-size: .93rem; line-height: 1.6; flex: 1; }
.cat-card__from { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-family: var(--font-head); color: var(--red); font-weight: 600; }
.cat-card__go { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
@media (max-width: 600px) {
  .cat-card__blurb { display: none; }
  .cat-card__body { padding: 12px; }
  .cat-card__name { font-size: 1.05rem; }
  .cat-card__from { flex-direction: column; align-items: flex-start; gap: 2px; font-size: .95rem; }
}

/* product cards */
.product { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .18s, transform .18s; scroll-margin-top: calc(var(--header-h) + 20px); }
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product:target { outline: 3px solid var(--gold); }
.product__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product__name { font-size: 1.12rem; margin-bottom: .25em; }
.product__desc { color: var(--muted); font-size: .94rem; line-height: 1.6; flex: 1; }
.pbtn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px; padding: 8px 10px 8px 16px; border: 0; border-radius: 14px; background: var(--red); color: #fff; cursor: pointer; text-align: left; transition: background .15s; }
.pbtn:hover { background: var(--red-dk); }
.pbtn__price { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; line-height: 1; white-space: nowrap; }
.pbtn__price small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; opacity: .9; margin-left: 2px; }
.pbtn__cta { display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .16); border-radius: 10px; padding: 7px 10px; font-size: .88rem; font-weight: 500; white-space: nowrap; }

/* features, customers, steps */
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 12px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.feature__icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--red-soft); color: var(--red); }
.cust { display: flex; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.cust h3 { margin: 0 0 4px; font-size: 1.08rem; }
.cust p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.cust a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; }
.cust__icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #FFF3DD; color: var(--gold-dk); flex: none; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--cream); border-radius: var(--radius); padding: 24px 20px 20px; border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-bottom: 12px; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split--map { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); margin: 0 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.info-table th { width: 38%; color: var(--muted); font-weight: 500; background: #FFFCF7; }
.price-table thead th { background: var(--sand); font-family: var(--font-head); font-weight: 500; }
.price-table tbody th { font-weight: 500; }
.price-table tbody th a { color: var(--ink); text-decoration: none; }
.price-table tbody th a:hover { color: var(--red); text-decoration: underline; }
.num { text-align: right; white-space: nowrap; font-weight: 600; color: var(--red); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.section--paper .faq__item { background: var(--cream); }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q { margin: 0; font-size: 1.05rem; font-weight: 500; }
.faq__a { padding: 0 20px 16px; color: var(--ink-2); }
.faq__a p { margin: 0; }

/* map + contact lines */
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__link { margin-top: 10px; }
.map__link a { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.contact-lines li { display: flex; gap: 10px; align-items: flex-start; }
.contact-lines .i { color: var(--red); margin-top: .35em; }

/* cta band */
.band { background: linear-gradient(120deg, var(--red) 0%, #9C1F18 100%); color: #fff; padding: 48px 0; }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: .25em; }
.band p { margin: 0; opacity: .92; max-width: 56ch; }
.band .btn-row { margin: 0; }

/* inner page head */
.crumbs { padding-top: 16px; font-size: .9rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.page-head { padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 48px); }
.page-head--slim { padding-bottom: 24px; }
.page-head__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.page-head__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__img { max-width: 420px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; }
.chip:hover { border-color: var(--red); color: var(--red); }
.menu-sec { padding: 32px 0 8px; }
.menu-sec .section__head--row { margin-bottom: 18px; }
.menu-sec .section__head--row a { display: inline-flex; gap: 4px; align-items: center; font-weight: 500; text-decoration: none; }
.notes { color: var(--ink-2); }

/* prose */
.prose-wrap { padding-top: 24px; padding-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose--policy h2 { font-size: 1.35rem; }
.related { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.related a { display: flex; gap: 8px; align-items: center; padding: 8px 6px; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.related a:hover { background: var(--sand); color: var(--red); }
.related a .i { color: var(--red); }
.related--center { position: static; display: inline-block; text-align: left; margin-top: 12px; }
@media (max-width: 960px) { .prose-wrap { grid-template-columns: 1fr; gap: 24px; } .related { position: static; } }
.callout { display: flex; gap: 16px; background: #FFF6E5; border: 1px solid #F2D7A6; border-radius: var(--radius); padding: 20px; margin: 1.5rem 0; }
.callout h3 { margin: 0 0 4px; }
.callout p { margin: 0; }
.callout__icon { width: 40px; height: 40px; color: var(--gold-dk); flex: none; }

/* contact cards */
.contact-card { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.contact-card h2 { margin: 8px 0 0; }
.contact-card p { margin: 0; }
.contact-card__icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--red-soft); color: var(--red); }
.contact-card--line .contact-card__icon { background: #E2F8EA; color: var(--line-green-dk); }
.contact-card__go { margin-top: auto; padding-top: 10px; display: inline-flex; gap: 4px; align-items: center; color: var(--red); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: #24160F; color: #E9DCCB; padding: 56px 0 0; font-size: .95rem; }
.site-footer a { color: #F6EADB; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer .brand__top { color: #CDBBA6; }
.brand--footer .brand__name { color: #F5C66B; }
.footer__h { font-size: 1.05rem; color: #fff; margin-bottom: 12px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .i { margin-top: .35em; color: #F5C66B; }
.footer__contact a { word-break: break-all; }
.link-light { display: inline-flex; gap: 6px; align-items: center; }
.footer__pay { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; padding-bottom: 20px; }
.footer__pay p { margin: 0; display: flex; gap: 8px; align-items: flex-start; max-width: 70ch; }
.footer__pay .i { margin-top: .3em; color: #9FD8B0; }
.footer__cards { gap: 8px !important; flex-wrap: wrap; }
.footer__cards span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 2px 10px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 24px; color: #BBA996; font-size: .85rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(60, 30, 10, .08); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a, .mbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; background: none; border: 0; color: var(--ink-2); text-decoration: none; font-size: .8rem; font-weight: 500; cursor: pointer; }
  .mbar .i { width: 22px; height: 22px; }
  .mbar a:nth-child(1) { color: var(--red); }
  .mbar a:nth-child(2) { color: var(--line-green-dk); }
  .mbar .cart-count { top: 6px; right: calc(50% - 26px); }
}

/* ---------- dialogs ---------- */
.dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; box-shadow: var(--shadow-lg); background: var(--paper); color: var(--ink); overflow: hidden; }
.dlg--wide { width: min(820px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(36, 22, 15, .55); backdrop-filter: blur(3px); }
.dlg[open] { animation: dlg-in .2s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg__inner { position: relative; padding: 26px; max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain; }
.dlg__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sand); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.dlg__x:hover { background: var(--red-soft); color: var(--red); }
.dlg__title { font-size: 1.4rem; margin: 0 48px 6px 0; }
@media (max-width: 600px) {
  .dlg { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .dlg__inner { padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; }
}

.od-head { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin-bottom: 18px; padding-right: 40px; }
.od-head img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; width: 120px; height: auto; }
.od-head h2 { font-size: 1.25rem; margin: 0 0 2px; }
.od-price { font-family: var(--font-head); color: var(--red); font-weight: 600; font-size: 1.3rem; margin: 0; }
.od-price small { color: var(--muted); font-family: var(--font-body); font-size: .85rem; font-weight: 500; }
.od-qty { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--cream); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.od-qty__label { font-weight: 500; }
.od-total { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.qty button:hover { background: var(--sand); color: var(--red); }
.qty input { width: 52px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 36px; height: 36px; }
.qty--sm input { width: 40px; height: 36px; }
.choice-title { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; margin: 0 0 10px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s; min-height: 120px; }
.choice:hover, .choice[aria-pressed="true"] { border-color: var(--red); background: var(--red-soft); }
.choice strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.choice span { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.choice .i { width: 30px; height: 30px; color: var(--red); }
.choice--buy { background: var(--red); border-color: var(--red); }
.choice--buy strong, .choice--buy span, .choice--buy .i { color: #fff; }
.choice--buy:hover { background: var(--red-dk); border-color: var(--red-dk); }
.od-addonly { margin-top: 12px; text-align: center; }
.od-contact { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 16px; }
@media (max-width: 460px) { .choices { grid-template-columns: 1fr; } .choice { min-height: 0; } .od-head { grid-template-columns: 90px 1fr; } .od-head img { width: 90px; } }

.contact-list { display: grid; gap: 10px; margin-top: 12px; }
.contact-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--paper); }
.contact-tile:hover { border-color: var(--red); color: var(--ink); }
.contact-tile .i { width: 28px; height: 28px; color: var(--red); }
.contact-tile span { display: flex; flex-direction: column; line-height: 1.4; word-break: break-all; }
.contact-tile strong { font-family: var(--font-head); font-weight: 500; }
.contact-tile--line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.contact-tile--line .i { color: #fff; }
.contact-tile--line:hover { background: var(--line-green-dk); color: #fff; }

/* cart / checkout */
.cart-empty { text-align: center; padding: 24px 0 8px; color: var(--muted); }
.cart-items { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ci { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ci:last-child { border-bottom: 0; }
.ci img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; }
.ci__name { font-weight: 500; line-height: 1.4; }
.ci__unit { font-size: .85rem; color: var(--muted); }
.ci__sum { font-weight: 600; min-width: 64px; text-align: right; }
.ci__rm { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.ci__rm:hover { background: var(--red-soft); color: var(--red); }
@media (max-width: 560px) {
  .ci { grid-template-columns: 52px 1fr auto; grid-template-areas: "img name rm" "img qty sum"; row-gap: 6px; }
  .ci img { grid-area: img; width: 52px; height: 40px; }
  .ci__info { grid-area: name; }
  .ci .qty { grid-area: qty; justify-self: start; }
  .ci__sum { grid-area: sum; }
  .ci__rm { grid-area: rm; }
}
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.co-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .co-grid { grid-template-columns: 1fr; } }
.field label, .legend { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 4px; }
.field .req { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #FFFDF9; font: inherit; color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); background: #FFF6F5; }
.field__err { color: var(--red); font-size: .85rem; margin: 4px 0 0; }
.field__help { color: var(--muted); font-size: .85rem; margin: 4px 0 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); }
.opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.opt input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--red); flex: none; }
.opt__main { flex: 1; }
.opt__name { font-weight: 500; display: block; }
.opt__note { font-size: .85rem; color: var(--muted); display: block; }
.opt__fee { font-weight: 600; white-space: nowrap; }
.opt[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.summary { background: var(--cream); border-radius: 16px; padding: 14px 16px; margin: 18px 0; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--red); padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 14px 0; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--red); flex: none; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.secure-note .i { color: var(--ok); margin-top: .25em; }
.msg { border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; font-size: .95rem; }
.msg--err { background: #FDECEA; color: #8E1D17; }
.msg--info { background: #FFF6E5; color: #6B4A12; }
.msg--ok { background: #E7F6EC; color: var(--ok); }
.msg p { margin: 0 0 8px; }
.msg p:last-child { margin: 0; }
.order-text--short { min-height: 76px !important; }
.order-text { width: 100%; min-height: 160px; font: inherit; font-size: .9rem; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #FFFDF9; margin: 8px 0; }
.co-section { margin-top: 20px; }
.co-section > h3 { font-size: 1.08rem; margin-bottom: 10px; }

/* cookie + toast */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; gap: 16px; align-items: center; font-size: .92rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie__btns { display: flex; gap: 8px; flex: none; }
@media (max-width: 900px) { .cookie { bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (max-width: 640px) { .cookie { flex-direction: column; align-items: stretch; } .cookie__btns .btn { flex: 1; } }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* order status + 404 */
.status-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 20px 0; box-shadow: var(--shadow); }
.status-box h2 { font-size: 1.3rem; }
.status-box .i { width: 28px; height: 28px; }
.big404 { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 7rem); color: var(--red); line-height: 1; margin: 0 0 8px; font-weight: 600; }

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .section__head--row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .mbar, .cookie, .band, .dlg { display: none !important; }
}
