/* Spacepack v3 — mobile-first, colours taken from the logo (navy #14195c, red #e4132a) */
:root {
  --navy: #14195c;
  --navy-700: #1d247a;
  --navy-900: #0b0f3d;
  --red: #e4132a;
  --red-600: #c40f23;
  --wa: #25d366;
  --wa-600: #1ebe5b;
  --bg: #f4f5fa;
  --surface: #fff;
  --ink: #12163a;
  --muted: #6a6f8a;
  --line: #e4e6f0;
  --soft: #eceefb;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(20, 25, 92, .06), 0 8px 24px -12px rgba(20, 25, 92, .18);
  --shadow-lg: 0 20px 50px -20px rgba(20, 25, 92, .35);
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tab-h: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; font: 500 15px/1.6 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--navy); }
h2 { font-size: 22px; }
p { margin: 0; }
button { font: inherit; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
[hidden] { display: none !important; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic--big { width: 44px; height: 44px; color: var(--navy); opacity: .35; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.sec { padding: 28px 0 0; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec__more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap;
  transition: transform .15s, background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(228, 19, 42, .6); }
.btn--red:hover { background: var(--red-600); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-600); }
.btn--light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .24); }
.btn--ghost { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.ibtn {
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy);
  display: grid; place-items: center; padding: 0; position: relative; transition: background .15s, transform .15s;
}
.ibtn:hover { background: #dfe2f7; }
.ibtn:active { transform: scale(.94); }
.ibtn .ic { width: 20px; height: 20px; }
.ibtn--wa { background: #e6f9ee; color: #12a04a; }
.ibtn--wa:hover { background: var(--wa); color: #fff; }
.badge {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font: 700 11px/18px var(--font); text-align: center; font-style: normal;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.chip img { width: 20px; height: 20px; object-fit: contain; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--sm { min-height: 30px; padding: 0 12px; font-size: 12px; background: var(--soft); border-color: transparent; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px -10px rgba(20, 25, 92, .25); }
.hd__in { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.hd__logo { flex: none; margin-right: auto; }
.hd__logo img { width: 128px; height: auto; }
.hd__nav { display: none; }
.hd__acts { display: flex; align-items: center; gap: 8px; }
.hd__wa { display: none; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(120% 90% at 100% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%); color: #fff; padding: 26px 0 30px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(228, 19, 42, .35), transparent 65%); pointer-events: none; }
.hero__in { display: flex; flex-direction: column; gap: 22px; position: relative; }
.hero__text { display: flex; flex-direction: column; gap: 14px; }
.hero .eyebrow { color: #ffb4bd; }
.hero h1 { color: #fff; font-size: clamp(30px, 8vw, 40px); }
.hero p { color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero__stats { list-style: none; margin: 8px 0 0; padding: 14px 0 0; display: flex; gap: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.hero__stats span { font-size: 12px; color: rgba(255, 255, 255, .65); }
.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero__slide img { width: 100%; height: auto; }
.hero__media .dots { position: absolute; left: 0; right: 0; bottom: 12px; }

.dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(20, 25, 92, .2); transition: width .2s, background .2s; }
.dots button.is-active { width: 20px; background: var(--navy); }
.dots--light button { background: rgba(255, 255, 255, .5); }
.dots--light button.is-active { background: #fff; }

/* ---------- categories ---------- */
[data-scroller] { scrollbar-width: none; }
[data-scroller]::-webkit-scrollbar { display: none; }
.cats { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 4px 16px 8px; }
.cat {
  flex: 0 0 auto; width: 128px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--surface); border-radius: var(--r); padding: 14px 10px 12px; box-shadow: var(--shadow); text-align: center; transition: transform .2s;
}
.cat:hover { transform: translateY(-3px); }
.cat__img { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 4px; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; }
.cat__name { font-weight: 700; font-size: 13px; color: var(--navy); line-height: 1.2; }
.cat__n { font-size: 11px; color: var(--muted); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 8px; }
.grid--scroll .card { flex: 0 0 62%; scroll-snap-align: start; }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; min-width: 0; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; display: block; aspect-ratio: 1; background: #fafbff; }
.card__img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.card__tag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.card__tag .ic { width: 10px; height: 10px; }
.card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__cat { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card__title { font-size: 14px; font-weight: 700; color: var(--ink); text-transform: capitalize; line-height: 1.3; }
.card__acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.card__acts .ibtn { width: 36px; height: 36px; }
.card__acts .ibtn .ic { width: 18px; height: 18px; }
.card.is-added .btn--navy { background: #12a04a; }

/* ---------- promos ---------- */
.promos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; }
.promo { flex: 0 0 82%; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--c); display: flex; align-items: flex-end; color: #fff; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.04); }
.promo__body { position: relative; width: 100%; padding: 18px; background: linear-gradient(transparent, rgba(11, 15, 61, .85)); display: flex; flex-direction: column; gap: 4px; }
.promo__t { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-transform: capitalize; }
.promo__l { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #ffb4bd; }

/* ---------- promo gallery ---------- */
.sec__more--muted { color: var(--muted); }
.pgal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; }
.pgal__item { flex: 0 0 78%; scroll-snap-align: start; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pgal__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pgal__item img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.pgal__item span { display: block; padding: 10px 14px 12px; font-weight: 800; font-size: 13px; color: var(--navy); text-align: center; }

/* ---------- band ---------- */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff; min-height: 300px; display: flex; align-items: flex-end; }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.band__body { position: relative; padding: 22px; background: linear-gradient(transparent, rgba(11, 15, 61, .92) 45%); display: flex; flex-direction: column; gap: 10px; width: 100%; }
.band h2 { color: #fff; font-size: 24px; }
.band p { color: rgba(255, 255, 255, .8); font-size: 14px; max-width: 48ch; }
.band__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---------- features ---------- */
.feats { display: grid; gap: 10px; }
.feat { background: var(--surface); border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; box-shadow: var(--shadow); }
.feat__ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--red); display: grid; place-items: center; }
.feat__ic .ic { width: 22px; height: 22px; }
.feat h3 { font-size: 15px; align-self: end; }
.feat p { font-size: 13px; color: var(--muted); }

/* ---------- logos ---------- */
.sec--logos { padding-bottom: 6px; }
.logos__t { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 30px; }
.logos__item img { max-height: 44px; max-width: 110px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos__item:hover img { filter: none; opacity: 1; }

/* ---------- page head / listing ---------- */
.ph { padding: 18px 0 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--red); }
.crumbs .ic { width: 12px; height: 12px; }
.crumbs span { color: var(--ink); font-weight: 600; }
.ph__title { font-size: 28px; }
.ph__sub { color: var(--muted); margin-top: 4px; }
.chips-bar { position: sticky; top: 64px; z-index: 40; background: rgba(244, 245, 250, .92); backdrop-filter: blur(10px); padding: 6px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; }
.sec--list { padding-top: 12px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.toolbar__sort label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.toolbar__sort select { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-weight: 700; color: var(--navy); font-size: 13px; }
.empty { text-align: center; padding: 50px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); }
.empty--page { padding: 80px 16px; }
.empty h1 { font-size: 26px; }
.about-cat { margin-top: 28px; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-cat img { width: 100%; max-height: 320px; object-fit: cover; }
.about-cat__text { padding: 22px 20px; }
.about-cat__text h2 { margin-bottom: 10px; }

/* ---------- search ---------- */
.srch { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 16px; color: var(--navy); }
.srch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.srch--inline { margin-bottom: 14px; }
.srch__hint { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.srch__res { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; max-height: 60vh; overflow-y: auto; }
.srch__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); }
.srch__item:hover { background: var(--soft); }
.srch__item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fafbff; }
.srch__item b { display: block; font-size: 14px; text-transform: capitalize; }
.srch__item small { color: var(--muted); }

/* ---------- sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; background: rgba(11, 15, 61, .5); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet__panel { position: absolute; background: var(--surface); display: flex; flex-direction: column; max-height: 100%; overflow-y: auto; }
.sheet--top .sheet__panel { top: 0; left: 0; right: 0; padding: 12px 16px 20px; border-radius: 0 0 var(--r-lg) var(--r-lg); animation: down .25s ease-out; }
.sheet--side .sheet__panel { top: 0; bottom: 0; right: 0; width: min(340px, 88vw); animation: side .25s ease-out; }
.sheet--bottom .sheet__panel { left: 0; right: 0; bottom: 0; max-height: 88vh; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0; animation: up .28s cubic-bezier(.2, .8, .2, 1); }
.sheet--bottom .sheet__panel::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 10px; flex: none; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { from { transform: translateY(-100%); } }
@keyframes side { from { transform: translateX(100%); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.sheet--side .sheet__head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet__title { font-size: 20px; }
.sheet__sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.menu { display: flex; flex-direction: column; padding: 8px; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); font-weight: 700; color: var(--navy); }
.menu a:hover { background: var(--soft); }
.menu a img { width: 26px; height: 26px; object-fit: contain; }
.menu a .ic { width: 26px; height: 22px; color: var(--red); }
.menu a small { margin-left: auto; color: var(--muted); font-weight: 600; }
.menu__foot { margin-top: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }

/* quote list */
.qlist { display: flex; flex-direction: column; gap: 8px; }
.qitem { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1.5px solid var(--line); border-radius: var(--r); }
.qitem img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fafbff; }
.qitem__n { font-weight: 700; font-size: 14px; text-transform: capitalize; line-height: 1.3; }
.qitem__rm { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 2px 0; display: inline-flex; align-items: center; gap: 4px; }
.qitem__rm:hover { color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 42px; border: 0; background: none; color: var(--navy); display: grid; place-items: center; }
.qty button:hover { background: var(--soft); }
.qty .ic { width: 16px; height: 16px; }
.qty input { width: 48px; height: 42px; border: 0; text-align: center; font-weight: 800; color: var(--ink); background: none; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qitem .qty button { width: 34px; height: 36px; }
.qitem .qty input { width: 40px; height: 36px; font-size: 14px; }
.qempty { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); }
.qfoot { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.qfoot textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px 14px; resize: none; outline-color: var(--navy); }
.qfoot__row { display: flex; gap: 8px; }

/* ---------- product page ---------- */
.sec--pd { padding-top: 16px; }
.pd { display: grid; gap: 18px; }
.pd__gallery { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 12px; }
.pd__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd__track::-webkit-scrollbar { display: none; }
.pd__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; display: block; padding: 14px; cursor: zoom-in; }
.pd__slide img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs { display: none; }
.pd__info { display: flex; flex-direction: column; gap: 14px; }
.pd__title { font-size: 26px; text-transform: capitalize; }
.pd__short { color: var(--muted); }
.pd__note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #e6f9ee; border-radius: var(--r-sm); color: #0b6b32; font-size: 14px; }
.pd__note .ic { margin-top: 3px; }
.pd__note ol, .pd__note ul { margin: 0; padding-left: 1.2em; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 0; }
.specs div { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.specs dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; }
.order { background: var(--surface); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.order > p { font-size: 13px; color: var(--muted); }
.order__row { display: flex; gap: 10px; }
.order__alt { display: flex; justify-content: center; gap: 22px; font-size: 13px; font-weight: 700; color: var(--navy); }
.order__alt a, .order__alt button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; }
.acc { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 800; color: var(--navy); cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .2s; color: var(--muted); }
.acc[open] summary .ic { transform: rotate(90deg); }
.acc .prose { padding: 0 16px 16px; }
.stickybar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); z-index: 55; display: flex; gap: 8px;
  padding: 10px 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(120%); transition: transform .25s;
}
.stickybar.is-show { transform: none; }

.prose { font-size: 15px; line-height: 1.7; }
.prose--lg { font-size: 16px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.2em 0 .5em; }
.prose a { color: var(--red); text-decoration: underline; }
.prose blockquote { margin: 0 0 1em; padding-left: 1em; border-left: 3px solid var(--line); color: var(--muted); }

/* ---------- static pages ---------- */
.paper { background: var(--surface); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow); }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ccard { background: var(--surface); border-radius: var(--r); padding: 18px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--navy); }
.ccard .ic { width: 26px; height: 26px; color: var(--red); margin-bottom: 4px; }
.ccard span { font-size: 13px; color: var(--muted); word-break: break-word; }
.ccard small { font-size: 11px; opacity: .8; }
.ccard--wa { grid-column: 1 / -1; background: var(--wa); color: #fff; }
.ccard--wa .ic, .ccard--wa span { color: #fff; }
.map { margin-top: 14px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.ft { margin-top: 40px; background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: 14px; }
.ft__in { display: grid; gap: 26px; padding: 36px 16px 26px; }
.ft__brand img { background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.ft__brand p { max-width: 40ch; }
.ft__soc { display: flex; gap: 8px; margin-top: 14px; }
.ft__soc a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; }
.ft__soc a:hover { background: var(--red); }
.ft__col { display: flex; flex-direction: column; gap: 8px; }
.ft__col h3 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.ft__col a, .ft__col span { display: inline-flex; align-items: center; gap: 8px; }
.ft__col a:hover { color: #fff; }
.ft__col .ic { color: #ff5f6f; }
.ft__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 16px 16px 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- tab bar (mobile) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.tabbar > * { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; padding: 0; color: var(--muted); font-size: 10.5px; font-weight: 700; position: relative; }
.tabbar > *.is-active { color: var(--navy); }
.tabbar .ic { width: 22px; height: 22px; }
.tabbar .badge { top: 6px; right: calc(50% - 20px); }
.tabbar__wa { color: #fff !important; }
.tabbar__wa::before { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--wa); z-index: -1; top: 4px; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, .8); }
.tabbar__wa span { color: var(--muted); margin-top: 18px; font-size: 10.5px; }
.tabbar__wa .ic { position: absolute; top: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg); white-space: nowrap; animation: fade .2s; }

.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; }

/* ---------- tablet & desktop ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .grid--scroll .card { flex-basis: 34%; }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .promo { flex-basis: 48%; }
  .ccards { grid-template-columns: repeat(4, 1fr); }
  .ccard--wa { grid-column: auto; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .wrap { padding: 0 24px; }
  .sec { padding-top: 48px; }
  h2 { font-size: 28px; }
  .tabbar, .hd__burger, .stickybar { display: none; }
  .hd__in { min-height: 76px; gap: 24px; }
  .hd__logo { margin-right: 0; }
  .hd__logo img { width: 150px; }
  .hd__nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
  .hd__nav a { padding: 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; transition: background .15s, color .15s; }
  .hd__nav a:hover { background: var(--soft); }
  .hd__nav a.is-active { background: var(--navy); color: #fff; }
  .hd__wa { display: inline-flex; min-height: 42px; }
  .hero { padding: 64px 0 70px; }
  .hero__in { flex-direction: row; align-items: center; gap: 56px; }
  .hero__text { flex: 1.1; gap: 18px; }
  .hero h1 { font-size: 54px; }
  .hero p { font-size: 17px; }
  .hero__media { flex: 1; max-width: 560px; }
  .hd__nav a:nth-child(n+9) { display: none; }
  .cats { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 4px 0 8px; overflow: visible; }
  .cat { width: auto; padding: 20px 12px 16px; }
  .cat__img { width: 80px; height: 80px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .grid--scroll { display: grid; margin: 0; padding: 0; overflow: visible; }
  .grid--scroll .card { flex: none; }
  .card__body { padding: 14px 16px 16px; }
  .card__title { font-size: 15px; }
  .promos { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; gap: 18px; }
  .pgal { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 4px 0; overflow: visible; gap: 18px; }
  .pgal__item { flex: none; }
  .promo { flex: none; aspect-ratio: 1; }
  .promo__t { font-size: 26px; }
  .band { min-height: 380px; align-items: center; }
  .band__img img { opacity: .7; object-position: left center; }
  .band__body { width: 55%; margin-left: auto; padding: 48px; background: linear-gradient(90deg, transparent, rgba(11, 15, 61, .92) 30%); }
  .band h2 { font-size: 34px; }
  .band p { font-size: 15px; }
  .feats { gap: 18px; }
  .feat { padding: 24px; grid-template-columns: 52px 1fr; }
  .logos { gap: 24px 60px; }
  .logos__item img { max-height: 56px; max-width: 150px; }
  .ph { padding: 28px 0 18px; }
  .ph__title { font-size: 38px; }
  .chips-bar { top: 76px; }
  .sec--pd { padding-top: 24px; }
  .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .pd__gallery { position: sticky; top: 96px; padding: 10px 10px 16px; }
  .pd__track { scroll-snap-type: none; }
  .pd__slide { display: none; }
  .pd__slide.is-active { display: block; }
  .pd__gallery .dots { display: none; }
  .pd__thumbs { display: flex; gap: 8px; padding: 0 6px; flex-wrap: wrap; }
  .pd__thumb { width: 64px; height: 64px; border: 2px solid transparent; border-radius: 10px; padding: 2px; background: #fafbff; }
  .pd__thumb.is-active { border-color: var(--navy); }
  .pd__thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
  .pd__title { font-size: 36px; }
  .order { padding: 22px; }
  .paper { padding: 40px; }
  .ft__in { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; padding: 56px 24px 32px; gap: 40px; }
  .ft__brand { grid-column: auto; }
  .toast { bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
