/* ============================================================
 * Down The Cove — Homepage (mobile-first) layout styles
 * Built on the design-system tokens. Custom classes prefixed `hp-`.
 * ============================================================ */

:root {
  --hp-max: 468px;            /* mobile column width */
  --hp-accent: var(--coral); /* tweakable spark */
  --hp-bottom-nav-h: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #e9eef0;
  font-family: var(--font-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* coastal gutter behind the phone column on wide screens */
body {
  background:
    radial-gradient(120% 60% at 50% -10%, #d7eef6 0%, rgba(215,238,246,0) 60%),
    linear-gradient(180deg, #eef4f3 0%, #e7eef0 40%, #e9e2d4 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

#root { min-height: 100vh; }

/* ── The phone column ─────────────────────────────────────── */
.hp-app {
  position: relative;
  width: 100%;
  max-width: var(--hp-max);
  margin: 0 auto;
  background: var(--cream);
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: calc(var(--hp-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 520px) {
  .hp-app {
    margin: 22px auto;
    min-height: calc(100vh - 44px);
    border-radius: 30px;
    box-shadow: 0 40px 90px rgba(8, 42, 79, 0.22), 0 0 0 1px rgba(8,42,79,0.05);
    overflow: hidden;
  }
}

.dtc-h1, .dtc-h2, .dtc-h3, .dtc-h4, .hp-app { font-family: var(--font-body); }

/* ── Promo bar ────────────────────────────────────────────── */
.hp-promo {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(100deg, #082a4f 0%, #00275a 55%, #123a63 100%);
  color: #fff;
  padding: 0.5rem 2.4rem 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  min-height: 38px;
}
.hp-promo strong { color: var(--ocean-light); font-weight: 700; }
.hp-promo__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--hp-accent); flex: none; }
.hp-promo__close {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: none; background: rgba(255,255,255,0.12);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--motion-interactive);
}
.hp-promo__close:hover { background: rgba(255,255,255,0.24); }

/* ── Header ───────────────────────────────────────────────── */
.hp-header {
  position: sticky; top: 0; z-index: 28;
  background: rgba(254, 253, 249, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 223, 211, 0);
  transition: border-color var(--motion-interactive), box-shadow var(--motion-interactive), padding var(--motion-interactive);
  padding: 0.7rem 1rem;
}
.hp-header[data-stuck="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 18px rgba(8, 42, 79, 0.06);
}
.hp-header__row { display: flex; align-items: center; gap: 0.6rem; }
/* inline header search + kbd hint are desktop-only; hidden by default */
.hp-header__search, .hp-header__kbd { display: none; }
.hp-logo { display: flex; align-items: center; flex: 1; min-width: 0; }
.hp-logo img { height: 30px; width: auto; display: block; }
.hp-header__actions { display: flex; align-items: center; gap: 0.3rem; }

.hp-iconbtn {
  position: relative;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: transparent; color: var(--ocean-deep);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--motion-interactive), transform var(--motion-interactive);
  -webkit-tap-highlight-color: transparent;
}
.hp-iconbtn:hover { background: rgba(0, 39, 90, 0.07); }
.hp-iconbtn:active { transform: scale(0.92); }
.hp-iconbtn__badge {
  position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px; background: var(--hp-accent); color: #2a1500;
  font-size: 0.62rem; font-weight: 800; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px var(--cream);
}

/* search trigger (pill) */
.hp-searchbar {
  margin-top: 0.6rem;
  display: flex; align-items: center; gap: 0.55rem;
  width: 100%; height: 42px; padding: 0 0.95rem;
  background: var(--surface-sand);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-muted); font-size: 0.9rem; cursor: text;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9), 0 6px 14px rgba(16,32,62,0.05);
  transition: border-color var(--motion-interactive), max-height var(--motion-interactive), opacity var(--motion-interactive), margin var(--motion-interactive);
}
.hp-searchbar:hover { border-color: var(--ocean-light); }
.hp-header[data-stuck="true"] .hp-searchbar { max-height: 0; opacity: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; border-width: 0; pointer-events: none; overflow: hidden; }

/* category quick-nav (horizontal chips) */
.hp-quicknav {
  display: flex; gap: 0.45rem; overflow-x: auto; padding: 0.65rem 1rem 0.2rem;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.hp-quicknav::-webkit-scrollbar { display: none; }
.hp-chip {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 0.35rem;
  height: 34px; padding: 0 0.85rem; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border-cool); color: var(--ocean-deep);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background var(--motion-interactive), border-color var(--motion-interactive), color var(--motion-interactive);
  -webkit-tap-highlight-color: transparent;
}
.hp-chip:hover { border-color: var(--ocean-light); }
.hp-chip[data-active="true"] { background: var(--ocean-deep); border-color: var(--ocean-deep); color: #fff; }
.hp-chip--accent { background: var(--surface-accent); border-color: var(--ocean-light); color: var(--ocean-deep); }

/* ── Section scaffolding ──────────────────────────────────── */
.hp-section { padding: 1.7rem 1rem 0; }
.hp-section--tight { padding-top: 1.1rem; }
.hp-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.hp-eyebrow {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean-mid);
  margin: 0 0 0.45rem;
}
.hp-title {
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.1; color: var(--text-heading); margin: 0; font-size: 1.72rem; text-wrap: balance;
}
.hp-title--sm { font-size: 1.4rem; }

/* ── Full-bleed bands (visual rhythm) ─────────────────────── */
.hp-band { margin-top: 1.7rem; padding: 1.6rem 0; }
.hp-band > .hp-section { padding-top: 0; }
.hp-band--sand { background: linear-gradient(180deg, #fbf3e4 0%, var(--surface-sand) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hp-band--sea { background: linear-gradient(180deg, #eef9fb 0%, #e2f2f5 100%); border-top: 1px solid var(--border-cool); border-bottom: 1px solid var(--border-cool); }
.hp-seeall {
  flex: none; display: inline-flex; align-items: center; gap: 0.15rem;
  font-size: 0.82rem; font-weight: 700; color: var(--text-link); text-decoration: none; white-space: nowrap;
}
.hp-seeall:hover { text-decoration: underline; text-underline-offset: 2px; }
.hp-sub { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; margin: 0.25rem 0 0; }

/* ── Hero ─────────────────────────────────────────────────── */
.hp-hero { padding: 0.9rem 1rem 0; }

/* split hero (default) — editorial image over a warm sand panel */
.hp-hero__split { border-radius: var(--radius-3xl); overflow: hidden; box-shadow: var(--shadow-panel); background: var(--surface-sand); }
.hp-hero__media { position: relative; aspect-ratio: 16 / 11; }
.hp-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-hero__chip {
  position: absolute; top: 0.9rem; left: 0.9rem; display: inline-flex; align-items: center; gap: 0.42rem;
  background: rgba(8,28,52,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; padding: 0.36rem 0.74rem; border-radius: var(--radius-pill);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.hp-hero__panel { padding: 1.3rem 1.35rem 1.5rem; background: linear-gradient(180deg, var(--surface-sand) 0%, #fbf4e7 100%); }
.hp-hero__script { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--ocean-mid); line-height: 1; display: block; }
.hp-hero__head { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.045em; font-size: 2.35rem; line-height: 1.02; color: var(--text-heading); margin: 0.4rem 0 0; text-wrap: balance; }
.hp-hero__lede2 { font-size: 0.96rem; line-height: 1.5; color: var(--text-muted); margin: 0.7rem 0 1.1rem; }
.hp-hero__note2 { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.9rem; font-size: 0.78rem; font-weight: 600; color: var(--ocean-deep); }
.hp-hero__note2 svg { color: var(--ocean-mid); flex: none; }

.hp-hero__card {
  position: relative; border-radius: var(--radius-3xl); overflow: hidden;
  box-shadow: var(--shadow-panel);
  aspect-ratio: 3 / 4.05;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(183deg, rgba(8,28,52,0.06) 0%, rgba(8,28,52,0.10) 38%, rgba(6,22,44,0.62) 74%, rgba(5,18,38,0.86) 100%);
}
.hp-hero__body { position: relative; padding: 1.4rem 1.3rem 1.5rem; color: #fff; }
.hp-hero__flag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; padding: 0.32rem 0.7rem; border-radius: var(--radius-pill);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.hp-hero__flag .hp-promo__dot { background: var(--hp-accent); }
.hp-hero__title {
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em;
  font-size: 2.1rem; line-height: 1.06; margin: 0; text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0,16,38,0.4);
}
.hp-hero__lede { font-size: 0.96rem; line-height: 1.5; color: rgba(255,255,255,0.92); margin: 0.7rem 0 1.1rem; max-width: 30ch; }
.hp-hero__cta { display: flex; flex-direction: column; gap: 0.55rem; }
.hp-hero__cta .dtc-btn { width: 100%; }
.hp-hero__note { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin-top: 0.85rem; font-size: 0.76rem; font-weight: 600; color: rgba(255,255,255,0.86); }
.hp-hero__note span { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); }

/* hero variant: evergreen lifestyle */
.hp-hero__title--ever { font-size: 1.95rem; }

/* ── Trust marquee ────────────────────────────────────────── */
.hp-trust { margin-top: 1.3rem; padding: 0.6rem 0; background: var(--gradient-sand-bar); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.hp-trust__track { display: flex; width: max-content; animation: hp-marquee 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hp-trust__track { animation: none; } }
.hp-trust__group { display: flex; gap: 1.7rem; padding-right: 1.7rem; }
.hp-trust__item { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 600; color: var(--ocean-deep); white-space: nowrap; }
.hp-trust__item svg { color: var(--ocean-mid); flex: none; }
@keyframes hp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Category grid (bento) ────────────────────────────────── */
.hp-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.hp-cat--feature { grid-column: 1 / -1; aspect-ratio: 16 / 8.6; box-shadow: var(--shadow-tile); }
.hp-cat--feature .hp-cat__scrim { background: linear-gradient(180deg, rgba(8,28,52,0.06) 0%, rgba(8,28,52,0.12) 38%, rgba(6,22,44,0.72) 100%); }
.hp-cat__feature { position: absolute; left: 1.05rem; right: 1.05rem; bottom: 1rem; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.hp-cat__script { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ocean-light); line-height: 1; text-shadow: 0 2px 12px rgba(0,16,38,0.45); }
.hp-cat__ftitle { font-family: var(--font-sans); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.035em; line-height: 1.04; margin-top: 0.1rem; text-shadow: 0 2px 16px rgba(0,16,38,0.5); }
.hp-cat__fcta { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.7rem; background: #fff; color: var(--ocean-deep); font-weight: 700; font-size: 0.82rem; padding: 0.44rem 0.9rem; border-radius: var(--radius-pill); box-shadow: 0 6px 16px rgba(6,22,44,0.28); }
.hp-cat {
  position: relative; border: none; cursor: pointer; padding: 0; text-align: left;
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 0.92;
  box-shadow: var(--shadow-tile);
  -webkit-tap-highlight-color: transparent;
}
.hp-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-image); }
.hp-cat:hover img { transform: scale(1.05); }
.hp-cat__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,52,0) 36%, rgba(7,24,46,0.72) 100%); }
.hp-cat__label { position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.75rem; color: #fff; }
.hp-cat__title { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
.hp-cat__sub { display: block; font-size: 0.74rem; color: rgba(255,255,255,0.82); margin-top: 0.1rem; }

/* ── Product rail (horizontal scroll) ─────────────────────── */
.hp-rail {
  display: flex; gap: 0.85rem; overflow-x: auto; padding: 0.2rem 1rem 0.4rem;
  margin: 0 -1rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hp-rail::-webkit-scrollbar { display: none; }
.hp-rail > .dtc-product { flex: none; width: 60%; max-width: 220px; scroll-snap-align: start; }

/* product grid (2-col) */
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 0.75rem; }

/* ── Gift finder (shop by budget) ─────────────────────────── */
.hp-finder { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; }
.hp-finder__card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  padding: 0.9rem 0.75rem 0.85rem; background: #fff; border: 1px solid var(--border-ocean);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-tile); cursor: pointer; text-align: left;
  transition: transform var(--motion-interactive), box-shadow var(--motion-interactive), border-color var(--motion-interactive);
  -webkit-tap-highlight-color: transparent;
}
.hp-finder__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--ocean-light); }
.hp-finder__card:nth-child(3) .hp-finder__ico { background: var(--surface-accent-warm, #fdeccb); color: var(--sale); }
.hp-finder__ico { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-accent); color: var(--ocean-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.hp-finder__label { font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; letter-spacing: -0.02em; color: var(--text-heading); }
.hp-finder__sub { font-size: 0.7rem; color: var(--text-muted); }
.hp-finder__arrow { position: absolute; top: 0.85rem; right: 0.7rem; color: var(--ocean-mid); opacity: 0.7; }

/* ── Promise / guarantee row ──────────────────────────────── */
.hp-promise {
  display: flex;
  margin: 0 0 1.1rem; padding: 0.95rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hp-promise__item { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; font-size: 0.71rem; font-weight: 700; color: var(--ocean-deep); line-height: 1.25; border-right: 1px solid var(--border); }
.hp-promise__item:last-child { border-right: none; }
.hp-promise__item svg { color: var(--ocean-mid); }

/* ── Cove Club ────────────────────────────────────────────── */
.hp-club {
  position: relative; border-radius: var(--radius-3xl); overflow: hidden;
  background:
    radial-gradient(130% 90% at 88% 8%, rgba(101,193,220,0.34) 0%, rgba(101,193,220,0) 52%),
    linear-gradient(160deg, #0c3160 0%, #082a4f 52%, #07203f 100%);
  color: #fff; padding: 1.5rem 1.35rem; box-shadow: var(--shadow-panel);
}
.hp-club__wave { position: absolute; left: 0; right: 0; bottom: -2px; height: 60px; color: rgba(147,229,253,0.16); pointer-events: none; }
.hp-club__eyebrow { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocean-light); margin: 0 0 0.55rem; display: flex; align-items: center; gap: 0.45rem; }
.hp-club__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.hp-club__body { font-size: 0.92rem; line-height: 1.55; color: rgba(231,240,250,0.9); margin: 0.6rem 0 1rem; position: relative; }
.hp-club__list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.hp-club__list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: #eef6fd; }
.hp-club__list svg { color: var(--ocean-light); flex: none; }
.hp-club__foot { position: relative; display: flex; align-items: center; gap: 0.9rem; }
.hp-club__price { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; }
.hp-club__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; color: rgba(191,239,255,0.75); letter-spacing: 0; }
.hp-club__script { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--ocean-light); position: absolute; top: -0.2rem; right: 0; transform: rotate(-6deg); }

/* ── Ask first (family counter) ───────────────────────────── */
.hp-ask { border-radius: var(--radius-3xl); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border-ocean); background: var(--surface); }
.hp-ask__img { position: relative; aspect-ratio: 16 / 10; }
.hp-ask__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-ask__body { padding: 1.25rem 1.25rem 1.4rem; }
.hp-ask__script { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--ocean-mid); line-height: 1; }
.hp-ask__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.03em; line-height: 1.14; color: var(--text-heading); margin: 0.35rem 0 0; }
.hp-ask__text { font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); margin: 0.55rem 0 1.05rem; }
.hp-ask__cta { display: flex; flex-direction: column; gap: 0.55rem; }
.hp-ask__cta .dtc-btn { width: 100%; }

/* ── Reviews ──────────────────────────────────────────────── */
.hp-reviews__agg { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.hp-reviews__score { font-family: var(--font-sans); font-weight: 700; font-size: 1.8rem; color: var(--text-heading); line-height: 1; }
.hp-reviews__meta { font-size: 0.82rem; color: var(--text-muted); line-height: 1.35; }
.hp-reviews__stars { display: inline-flex; gap: 1px; }
.hp-revrail { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.4rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hp-revrail::-webkit-scrollbar { display: none; }
.hp-review {
  flex: none; width: 80%; max-width: 320px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--border-ocean); border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft); padding: 1.05rem 1.1rem; display: flex; flex-direction: column;
}
.hp-review__stars { display: inline-flex; gap: 1px; margin-bottom: 0.55rem; }
.hp-review__text { font-size: 0.9rem; line-height: 1.5; color: var(--text-body); margin: 0 0 0.85rem; }
.hp-review__who { display: flex; align-items: center; gap: 0.55rem; margin-top: auto; }
.hp-review__av { width: 30px; height: 30px; border-radius: 50%; background: var(--ocean-light); color: var(--ocean-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.78rem; flex: none; }
.hp-review__name { font-size: 0.84rem; font-weight: 700; color: var(--ocean-deep); }
.hp-review__place { font-size: 0.74rem; color: var(--text-muted); }
.hp-review__verified { margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.68rem; font-weight: 700; color: var(--success); }

/* ── Guides ───────────────────────────────────────────────── */
.hp-guides { display: flex; flex-direction: column; gap: 0.7rem; }
.hp-guide {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none;
  background: #fff; border: 1px solid var(--border-ocean); border-radius: var(--radius-card);
  box-shadow: var(--shadow-tile); padding: 0.6rem; transition: transform var(--motion-interactive), box-shadow var(--motion-interactive);
}
.hp-guide:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.hp-guide__img { width: 64px; height: 64px; border-radius: var(--radius-md); object-fit: cover; flex: none; }
.hp-guide__body { flex: 1; min-width: 0; }
.hp-guide__tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean-mid); }
.hp-guide__title { font-family: var(--font-sans); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.02em; line-height: 1.2; color: var(--text-heading); margin: 0.2rem 0; }
.hp-guide__read { font-size: 0.76rem; color: var(--text-muted); }
.hp-guide__arrow { color: var(--ocean-mid); flex: none; }

/* ── Newsletter ───────────────────────────────────────────── */
.hp-news {
  border-radius: var(--radius-3xl);
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(147,229,253,0.4) 0%, rgba(147,229,253,0) 55%),
    linear-gradient(165deg, #fffaf0 0%, #f3fbfc 100%);
  border: 1px solid var(--border); padding: 1.5rem 1.35rem;
}
.hp-news__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.14; color: var(--text-heading); margin: 0; }
.hp-news__body { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); margin: 0.5rem 0 1rem; }
.hp-news__form { display: flex; flex-direction: column; gap: 0.55rem; }
.hp-news__row { display: flex; gap: 0.5rem; }
.hp-news__row .dtc-input-wrap { flex: 1; }
.hp-news__ok { display: flex; align-items: center; gap: 0.5rem; color: var(--success); font-weight: 700; font-size: 0.9rem; padding: 0.3rem 0; }
.hp-news__err { color: var(--danger); font-size: 0.76rem; font-weight: 600; margin: 0.1rem 0 0; }
.hp-news__fine { font-size: 0.72rem; color: var(--text-muted); margin: 0.6rem 0 0; }

/* ── Footer ───────────────────────────────────────────────── */
.hp-footer { margin-top: 1.8rem; background: var(--gradient-footer); border-top: 1px solid var(--border); padding: 1.6rem 1rem 0.5rem; }
.hp-footer__brand { text-align: center; padding-bottom: 0.5rem; }
.hp-footer__logo { height: 34px; margin: 0 auto 0.6rem; display: block; }
.hp-footer__script { font-family: var(--font-display); color: var(--ocean-mid); font-size: 1.25rem; }
.hp-footer__tag { font-size: 0.9rem; color: var(--text-soft); max-width: 34ch; margin: 0.35rem auto 0; line-height: 1.5; }
.hp-acc { border-top: 1px solid var(--border-cool); }
.hp-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; padding: 0.95rem 0.2rem; font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--ocean-deep); cursor: pointer; }
.hp-acc__btn svg { transition: transform var(--motion-interactive); color: var(--ocean-mid); }
.hp-acc__btn[data-open="true"] svg { transform: rotate(180deg); }
.hp-acc__panel { overflow: hidden; max-height: 0; transition: max-height var(--motion-interactive); }
.hp-acc__panel[data-open="true"] { max-height: 280px; }
.hp-acc__links { list-style: none; margin: 0; padding: 0 0.2rem 0.7rem; display: flex; flex-direction: column; gap: 0.65rem; }
.hp-acc__links a { font-size: 0.88rem; color: var(--text-soft); text-decoration: none; }
.hp-acc__links a:hover { color: var(--ocean); }
.hp-footer__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.5rem; padding: 1.1rem 0.2rem; border-top: 1px solid var(--border-cool); }
.hp-footer__trustitem { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 600; color: var(--text-soft); }
.hp-footer__trustitem svg { color: var(--ocean-mid); flex: none; }
.hp-footer__pay { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem 0.2rem 0.9rem; }
.hp-paychip { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; color: var(--text-muted); background: #fff; border: 1px solid var(--border-cool); border-radius: 6px; padding: 0.28rem 0.5rem; }
.hp-footer__legal { border-top: 1px solid var(--border-cool); padding: 0.9rem 0.2rem 1.1rem; }
.hp-footer__legal p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; margin: 0 0 0.35rem; }
.hp-footer__strip { width: 100%; display: block; margin-top: 0.4rem; }

/* ── Bottom tab bar ───────────────────────────────────────── */
.hp-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--hp-max); z-index: 34;
  height: calc(var(--hp-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex; align-items: stretch;
  background: rgba(254,253,249,0.92);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(8,42,79,0.07);
}
@media (min-width: 520px) { .hp-tabbar { border-radius: 0 0 30px 30px; } }
.hp-tab {
  flex: 1; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--text-muted); font-family: var(--font-body); font-size: 0.62rem; font-weight: 700;
  position: relative; -webkit-tap-highlight-color: transparent; padding-top: 4px;
}
.hp-tab[data-active="true"] { color: var(--ocean-deep); }
.hp-tab__ico { position: relative; }
.hp-tab__badge {
  position: absolute; top: -5px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--hp-accent); color: #2a1500; font-size: 0.58rem; font-weight: 800;
  line-height: 16px; text-align: center; box-shadow: 0 0 0 2px rgba(254,253,249,0.92);
}

/* ── Overlays (search + cart sheet) ───────────────────────── */
.hp-overlay { position: fixed; inset: 0; z-index: 40; display: flex; }
.hp-overlay__scrim { position: absolute; inset: 0; background: rgba(7,20,40,0.45); opacity: 0; transition: opacity var(--motion-interactive); }
.hp-overlay[data-open="true"] .hp-overlay__scrim { opacity: 1; }

/* search overlay = full column */
.hp-search {
  position: relative; margin: 0 auto; width: 100%; max-width: var(--hp-max);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; transition: transform var(--motion-interactive), opacity var(--motion-interactive);
}
.hp-overlay[data-open="true"] .hp-search { transform: translateY(0); opacity: 1; }
.hp-search__head { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--cream); }
.hp-search__field { flex: 1; }
.hp-search__cancel { background: none; border: none; color: var(--text-link); font-weight: 700; font-size: 0.9rem; cursor: pointer; padding: 0.3rem 0.2rem; white-space: nowrap; }
.hp-search__body { padding: 1rem; overflow-y: auto; flex: 1; }
.hp-search__lbl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 0.6rem; }
.hp-search__sugg { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.hp-search__res { display: flex; flex-direction: column; gap: 0.2rem; }
.hp-search__resrow { display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.3rem; border-radius: var(--radius-md); text-decoration: none; color: inherit; cursor: pointer; }
.hp-search__resrow:hover { background: var(--surface-accent); }
.hp-search__resrow img { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--border-cool); padding: 3px; flex: none; }
.hp-search__resname { font-size: 0.88rem; font-weight: 600; color: var(--text-heading); }
.hp-search__rescat { font-size: 0.76rem; color: var(--text-muted); }
.hp-search__resprice { margin-left: auto; font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem; color: var(--text-heading); }

/* cart bottom sheet */
.hp-sheet {
  position: relative; margin: auto auto 0; width: 100%; max-width: var(--hp-max);
  background: var(--cream); border-radius: 26px 26px 0 0; max-height: 88%;
  display: flex; flex-direction: column; transform: translateY(100%);
  transition: transform 0.32s var(--ease-out); box-shadow: 0 -20px 50px rgba(7,20,40,0.3);
}
.hp-overlay[data-open="true"] .hp-sheet { transform: translateY(0); }
.hp-sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 0.6rem auto 0; flex: none; }
.hp-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.2rem 0.7rem; }
.hp-sheet__head h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; margin: 0; color: var(--text-heading); }
.hp-sheet__ship { margin: 0 1.2rem; padding: 0.7rem 0.9rem; background: var(--success-bg); color: var(--success); border-radius: var(--radius-md); font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.hp-sheet__ship[data-met="false"] { background: var(--surface-accent); color: var(--ocean-deep); }
.hp-sheet__bar { height: 6px; border-radius: 3px; background: rgba(8,42,79,0.1); margin-top: 0.5rem; overflow: hidden; }
.hp-sheet__bar i { display: block; height: 100%; background: var(--ocean-mid); border-radius: 3px; transition: width var(--motion-interactive); }
.hp-sheet__lines { overflow-y: auto; padding: 0.6rem 1.2rem; flex: 1; }
.hp-line { display: flex; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.hp-line:last-child { border-bottom: none; }
.hp-line__img { width: 60px; height: 60px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--border-cool); padding: 4px; flex: none; }
.hp-line__info { flex: 1; min-width: 0; }
.hp-line__name { font-size: 0.86rem; font-weight: 600; color: var(--text-heading); margin: 0; line-height: 1.25; }
.hp-line__cat { font-size: 0.74rem; color: var(--text-muted); margin: 0.1rem 0 0.45rem; }
.hp-step { display: inline-flex; align-items: center; gap: 0.1rem; height: 30px; background: #fff; border: 1px solid var(--border-cool); border-radius: var(--radius-pill); }
.hp-step button { width: 28px; height: 28px; border: none; background: none; color: var(--ocean-deep); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hp-step span { min-width: 22px; text-align: center; font-weight: 700; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.hp-line__price { font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: var(--text-heading); white-space: nowrap; }
.hp-line__remove { background: none; border: none; color: var(--text-muted); font-size: 0.72rem; cursor: pointer; padding: 0.2rem 0; text-decoration: underline; }
.hp-sheet__foot { border-top: 1px solid var(--border); padding: 0.9rem 1.2rem calc(1rem + env(safe-area-inset-bottom, 0px)); background: var(--surface-sand); }
.hp-sheet__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.2rem; }
.hp-sheet__total span { font-size: 0.92rem; color: var(--text-muted); }
.hp-sheet__total strong { font-family: var(--font-sans); font-weight: 700; font-size: 1.3rem; color: var(--text-heading); }
.hp-sheet__sub { font-size: 0.74rem; color: var(--text-muted); margin: 0 0 0.8rem; }
.hp-sheet__empty { padding: 2.5rem 1.5rem 3rem; text-align: center; color: var(--text-muted); }
.hp-sheet__empty svg { color: var(--ocean-light); margin-bottom: 0.8rem; }
.hp-sheet__empty p { font-size: 0.95rem; margin: 0 0 1.1rem; }

/* misc */
.hp-divider { height: 1px; background: var(--border); margin: 1.7rem 1rem 0; }
.hp-spacer { height: 0.3rem; }
.hp-toast {
  position: fixed; left: 50%; bottom: calc(var(--hp-bottom-nav-h) + 16px); transform: translateX(-50%) translateY(20px);
  z-index: 45; background: var(--ocean-deep); color: #fff; padding: 0.7rem 1.1rem; border-radius: var(--radius-pill);
  font-size: 0.84rem; font-weight: 600; box-shadow: var(--shadow-panel); display: flex; align-items: center; gap: 0.5rem;
  opacity: 0; pointer-events: none; transition: opacity var(--motion-interactive), transform var(--motion-interactive); white-space: nowrap;
}
.hp-toast[data-show="true"] { opacity: 1; transform: translateX(-50%) translateY(0); }
.hp-toast svg { color: var(--mint); }

/* ============================================================
 * Real-menu additions: mobile menu sheet + (hidden) desktop nav
 * ============================================================ */
.hp-dnav { display: none; }

.hp-menusheet { max-height: 86vh; display: flex; flex-direction: column; }
.hp-menusheet__body { overflow-y: auto; padding: 0.2rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); flex: 1; }
.hp-menusheet__top { display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 0.2rem 0 0.8rem; }
.hp-menusheet__pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); background: var(--surface-accent); border: 1px solid var(--border-strong); color: var(--ocean-deep); font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.hp-menusheet__acc { border-bottom: 1px solid var(--border); }
.hp-menusheet__row { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.95rem 0.1rem; font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--text-heading); cursor: pointer; }
.hp-menusheet__row span { flex: 1; }
.hp-menusheet__row svg { color: var(--ocean-mid); transition: transform var(--motion-interactive); flex: none; }
.hp-menusheet__acc[data-open="true"] .hp-menusheet__row svg { transform: rotate(180deg); }
.hp-menusheet__thumb { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: none; }
.hp-menusheet__panel { display: none; padding: 0 0.1rem 1rem; }
.hp-menusheet__acc[data-open="true"] .hp-menusheet__panel { display: block; }
.hp-menusheet__all { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0.1rem 0 0.5rem; font-family: var(--font-sans); font-weight: 700; font-size: 0.88rem; color: var(--ocean-mid); text-decoration: none; }
.hp-menusheet__group { margin: 0.5rem 0 0.2rem; }
.hp-menusheet__gt { margin: 0 0 0.25rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.hp-menusheet__leaf { display: block; padding: 0.42rem 0; font-size: 0.95rem; color: var(--text-body); text-decoration: none; }
.hp-menusheet__leaf:active { color: var(--ocean-mid); }
.hp-menusheet__preview { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 0.3rem; width: 100%; margin-top: 1rem; padding: 0.8rem; border-radius: var(--radius-md); background: var(--surface-sand); border: 1px dashed var(--border-strong); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); cursor: pointer; }
