/* =========================================================================
   Henroo — site chrome
   Resets the parent Storefront/WC visuals and adds the topbar, header and
   footer wrapping every page on the site.
   ------------------------------------------------------------------------- */

/* --- Reset over Storefront ------------------------------------------------ */
html, body {
  background: var(--paper);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}
body, p, h1, h2, h3, h4, h5, h6 { color: inherit; }
* { box-sizing: border-box; }

img, .wp-post-image { max-width: 100%; height: auto; display: block; }

a { color: var(--fg-link); text-decoration: none; transition: color 180ms var(--ease-soft); }
a:hover { color: var(--fg-link-hover); }

button { font-family: inherit; }

/* Sitewide focus-visible — a clay outline with offset, so keyboard users
   always know where they are without us having to remember per-component.
   `scroll-margin-top` keeps focused elements out from under the sticky
   chrome when tabbing into in-flow content. */
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--clay-500);
  outline-offset: 2px;
  border-radius: 4px;
  scroll-margin-top: calc(var(--site-header-h) + 16px);
}
/* On dark / clay surfaces the clay-500 ring blends in — switch to paper. */
.b-topbar :focus-visible,
.hp-header-utility :focus-visible,
.b-news :focus-visible,
.b-drop-bar :focus-visible,
.hp-footer .hp-btn-primary:focus-visible,
.b-portal.is-coming :focus-visible,
.pdp-c-pull :focus-visible {
  outline-color: var(--paper);
}

/* Skip-to-content link */
.hp-skip-link {
  position: absolute; left: -9999px; top: 0;
  z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  text-decoration: none;
}
.hp-skip-link:focus { left: 0; outline: 2px solid var(--clay-300); outline-offset: 2px; }

/* Reduced-motion: kill non-essential transforms / long transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .b-card:hover, .cat-card:hover, .pdp-a-rel:hover,
  .b-portal:hover img, .b-card:focus-visible, .cat-card:focus-within,
  .pdp-a-rel:focus-visible, .pdp-a-cta:hover, .hp-basket-pill:hover {
    transform: none !important;
  }
}

/* Storefront body classes occasionally apply paper-deep — make sure paper wins */
.site, .site-content, .site-content > .col-full,
#page, .storefront-breadcrumb, .site-main { background: transparent !important; }
.col-full { max-width: none; padding: 0; margin: 0; width: 100%; }

/* Hide Storefront's mobile footer bar — we have our own header */
.storefront-handheld-footer-bar { display: none !important; }
body { padding-bottom: 0 !important; }

/* WP standard screen-reader-only utility (parent theme defines it but we want
   it available regardless). */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}

/* Remove Storefront's main page padding */
.storefront-full-width-content .site-main,
.site-content { padding: 0; margin: 0; }

/* Hide Storefront's default breadcrumb wrapper (we render our own) */
.storefront-breadcrumb { display: none; }

/* Hide the storefront homepage header that our hero replaces */
.home .site-content > .col-full > .site-main > .hentry > .entry-header { display: none; }

/* --- Topbar -------------------------------------------------------------- */
.b-topbar {
  background: var(--clay-500);   /* paper-on-clay-500 ≈ 5.4:1 — passes AA */
  color: var(--paper);
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.b-topbar .heart { color: var(--paper); }

/* --- Header overrides ---------------------------------------------------- */
/* Storefront's header gets fully restyled in the Henroo voice, with our pill
   basket and warm paper tones. */
.site-header {
  background: var(--paper) !important;
  border-bottom: 1px solid var(--border-1);
  position: sticky; top: 0; z-index: 50;
  /* IMPORTANT: do NOT add `backdrop-filter` / `filter` / `transform` here
     — those create a containing block which traps the mobile drawer's
     `position: fixed` rendering inside the header rather than the
     viewport. Diagnosed via getBoundingClientRect when drawer ended up
     98px tall instead of 100vh. */
  padding: 0 !important;
  box-shadow: none !important;
}
.site-header::before, .site-header::after { display: none; }

.hp-header-utility {
  background: var(--ink);
  color: var(--paper-warm);
  font-size: 12px;
}
.hp-utility-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 6px 28px;
  display: flex; gap: 22px; justify-content: flex-end;
}
.hp-header-utility a { color: var(--paper-warm); }
.hp-header-utility a:hover { color: var(--paper); }

.hp-header-main {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.hp-nav-left, .hp-nav-right { display: flex; gap: 28px; align-items: center; }
.hp-nav-right { gap: 10px; justify-content: flex-end; }
.hp-nav-left a, .hp-nav-right > a:not(.hp-basket-pill):not(.hp-icon-btn) { font-weight: 700; font-size: 15px; color: var(--ink); font-family: var(--font-sans); }

/* Header search popover */
.hp-search { position: relative; }
.hp-search-pop {
  position: absolute; top: calc(100% + 12px); right: 0;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  padding: 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  z-index: 60;
  width: 360px;
  max-width: calc(100vw - 32px);
}
.hp-search-pop[hidden] { display: none; }
.hp-search-pop input[type="search"] {
  flex: 1;
  font: inherit; font-family: var(--font-sans); font-size: 16px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.hp-search-pop input[type="search"]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196,137,90,0.18); }
.hp-search-submit {
  width: 44px; height: 44px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 180ms;
}
.hp-search-submit:hover { background: var(--clay-500); }

/* Body scroll lock when drawer is open (replaces inline style.overflow) */
body.hp-no-scroll { overflow: hidden; }

/* wp_nav_menu output */
.hp-utility-menu, .hp-primary-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center;
  gap: 22px;
}
.hp-utility-menu { gap: 22px; }
.hp-primary-menu { gap: 28px; }
.hp-utility-menu a {
  color: var(--paper-warm);
  font-size: 12px; font-weight: 500;
  text-decoration: none;
}
.hp-utility-menu a:hover { color: var(--paper); }
.hp-primary-menu a {
  font-family: var(--font-sans);
  font-weight: 700; font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 180ms;
}
.hp-primary-menu a:hover, .hp-primary-menu .current-menu-item > a, .hp-primary-menu .current_page_item > a {
  border-bottom-color: var(--clay-300);
  color: var(--ink);
}

/* Mobile burger toggle — hidden on desktop */
.hp-menu-toggle {
  display: none;
  width: 38px; height: 38px;
  background: transparent; border: 0;
  border-radius: 8px;
  align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer;
  padding: 0;
}
.hp-menu-toggle:hover { background: var(--paper-warm); }

/* Mobile drawer */
.hp-drawer-mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.hp-drawer-mobile.is-open { pointer-events: auto; visibility: visible; }
.hp-drawer-mobile-scrim {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 23, 20, 0);
  transition: background 280ms var(--ease-soft);
}
.hp-drawer-mobile.is-open .hp-drawer-mobile-scrim { background: rgba(26, 23, 20, 0.45); }
.hp-drawer-mobile-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  height: 100%;
  width: 320px; max-width: 88vw;
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform 320ms var(--ease-soft);
  display: flex; flex-direction: column;
  box-shadow: 10px 0 28px rgba(60, 40, 20, 0.20);
}
.hp-drawer-mobile.is-open .hp-drawer-mobile-panel { transform: translateX(0); }
.hp-drawer-mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-1);
}
.hp-drawer-mobile-title {
  font-family: var(--font-display); font-weight: 700; font-size: 32px;
  color: var(--ink);
}
.hp-drawer-mobile-close {
  width: 38px; height: 38px;
  background: transparent; border: 0;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer;
}
.hp-drawer-mobile-close:hover { background: var(--paper-warm); }
.hp-drawer-mobile-search {
  display: flex; gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-1);
  background: var(--paper-warm);
}
.hp-drawer-mobile-search input[type="search"] {
  flex: 1; min-width: 0;
  font: inherit; font-family: var(--font-sans); font-size: 15px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
.hp-drawer-mobile-search input[type="search"]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196,137,90,0.18); }
.hp-drawer-mobile-search button {
  width: 44px; height: 44px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-drawer-mobile-search button:hover { background: var(--clay-500); }

.hp-drawer-mobile-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0; overscroll-behavior: contain; }
.hp-drawer-mobile-list { list-style: none; padding: 0; margin: 0; }
.hp-drawer-mobile-list li { border-bottom: 1px solid var(--border-1); }
.hp-drawer-mobile-list a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
  padding: 16px 24px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 17px; color: var(--ink);
  text-decoration: none;
}
.hp-drawer-mobile-list a:hover, .hp-drawer-mobile-list a:focus-visible {
  background: var(--paper-warm); color: var(--ink); outline: none;
}
.hp-drawer-mobile-list .current-menu-item > a { color: var(--clay-500); }
.hp-drawer-mobile-list .sub-menu { list-style: none; background: var(--paper-warm); padding: 0; margin: 0; }
.hp-drawer-mobile-list .sub-menu a { padding-left: 40px; font-weight: 500; font-size: 15px; min-height: 48px; }

/* Account block — sign-in, basket, sign-out (or basket + sign-in if logged out) */
.hp-drawer-mobile-account {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border-1);
  background: var(--paper-warm);
}
.hp-drawer-mobile-account-link {
  display: flex; align-items: center; gap: 14px;
  min-height: 52px;
  padding: 14px 24px;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 15px; color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-1);
}
.hp-drawer-mobile-account-link:last-child { border-bottom: 0; }
.hp-drawer-mobile-account-link:hover, .hp-drawer-mobile-account-link:focus-visible {
  background: var(--paper-deep); color: var(--ink); outline: none;
}
.hp-drawer-mobile-account-link svg {
  flex-shrink: 0;
  color: var(--clay-500);
}

.hp-drawer-mobile-utility {
  background: var(--ink); color: var(--paper-warm);
  padding: 18px 24px;
}
.hp-drawer-mobile-utility-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.hp-drawer-mobile-utility-list a {
  color: var(--paper-warm); font-size: 13px;
  text-decoration: none;
  min-height: 28px;
  display: inline-flex; align-items: center;
}
.hp-drawer-mobile-utility-list a:hover, .hp-drawer-mobile-utility-list a:focus-visible {
  color: var(--paper); outline: none;
}

.hp-logo { display: flex; justify-content: center; }
.hp-logo img { height: 88px; width: auto; }

.hp-icon-btn {
  width: 38px; height: 38px;
  background: transparent; border: 0;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background 180ms;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.hp-icon-btn:hover { background: var(--paper-warm); }
.hp-icon-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Generic icon-button safety net — anywhere we put an inline SVG inside
   a button, give it explicit dimensions so the SVG `width=` attribute
   isn't lost to flex collapse or browser quirks. */
.hp-search button svg,
.hp-search-submit svg,
.hp-basket-pill svg,
.hp-menu-toggle svg,
.hp-drawer-mobile-search button svg,
.hp-drawer-mobile-close svg,
.hp-drawer-mobile-account-link svg,
.b-corner svg {
  width: 1em; height: 1em;
  flex-shrink: 0;
  display: inline-block;
}
.hp-search-submit svg,
.hp-drawer-mobile-search button svg { width: 18px; height: 18px; }
.hp-basket-pill svg, .hp-menu-toggle svg, .hp-drawer-mobile-close svg { width: 22px; height: 22px; }
.hp-drawer-mobile-account-link svg { width: 18px; height: 18px; }

.hp-basket-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  font-family: var(--font-serif);
  position: relative;
  transition: background 180ms;
  border: 0; cursor: pointer;
}
.hp-basket-pill:hover { background: var(--clay-500); color: var(--paper); }
.hp-basket-pill *, .hp-basket-pill .woocommerce-Price-amount, .hp-basket-pill .woocommerce-Price-currencySymbol { color: inherit !important; }
.hp-basket-dot {
  background: var(--heart-red); color: var(--paper);
  width: 18px; height: 18px; border-radius: 999px;
  font-size: 11px; display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: -4px; right: -4px;
  /* Paper ring around the dot so it's legible against any pill bg
     (especially the clay-500 hover state). */
  box-shadow: 0 0 0 2px var(--paper);
}

/* --- Footer overrides ---------------------------------------------------- */
.site-footer {
  background: var(--paper-deep) !important;
  margin-top: 0 !important;
  padding: 0 !important;
  color: var(--ink-soft) !important;
  border-top: 0 !important;
}
.hp-footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 56px 32px;
}
/* Homepage: the beige newsletter block is suppressed (see
   henroo_footer_markup), so without this the wrapper's 56px top
   padding plus .hp-footer-bottom's 56px top margin stack up to ~112px
   of empty space sitting above the HR. */
.hp-footer-inner--no-newsletter { padding-top: 0; }
.hp-footer-inner--no-newsletter .hp-footer-bottom { margin-top: 0; }
.hp-newsletter { max-width: 720px; }
.hp-newsletter h2 { font-size: 44px; margin: 6px 0 12px; }
.hp-eyebrow {
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clay-600);     /* clay-600 on paper / paper-warm passes AA */
}
.hp-lead {
  font-family: var(--font-serif); font-style: italic; font-size: 19px;
  line-height: 1.55; color: var(--ink-soft); margin: 0;
}
/* Footer newsletter — Jetpack contact-form variant rendered by
   henroo_render_footer_newsletter_form(). Lives in `.hp-newsletter`
   inside the beige footer band. Inherits Jetpack's flex-wrap layout
   (each child wrap is flex-basis:100% so fields stack on their own
   row), then re-skins inputs and button to the theme's tokens. */
.henroo-newsletter-form--footer.wp-block-jetpack-contact-form,
.henroo-newsletter-form--footer .wp-block-jetpack-contact-form { gap: 12px; max-width: 520px; margin-top: 18px; }
.henroo-newsletter-form--footer .grunion-field-wrap,
.henroo-newsletter-form--footer .wp-block-jetpack-input-wrap { margin: 0; width: 100%; }
.henroo-newsletter-form--footer label,
.henroo-newsletter-form--footer .wp-block-jetpack-label {
  font-family: var(--font-sans);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.04em; text-transform: none;
  color: var(--ink-soft);
  display: block; margin: 0 0 5px;
}
.henroo-newsletter-form--footer label .required { display: none; }
/* Disable the animated-label overlay positioning — labels sit above
   the input as a plain stacked layout instead. */
.henroo-newsletter-form--footer .is-style-animated .animated-label__label,
.henroo-newsletter-form--footer .is-style-animated .wp-block-jetpack-label {
  position: static !important; transform: none !important;
  background: transparent !important; padding: 0 !important;
  pointer-events: auto; inset: auto;
}
.henroo-newsletter-form--footer input[type="text"],
.henroo-newsletter-form--footer input[type="email"] {
  width: 100%; box-sizing: border-box;
  font-family: var(--font-sans); font-size: 15px;
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border-2) !important;
  background: var(--paper) !important; color: var(--ink) !important;
  outline: none;
}
.henroo-newsletter-form--footer input[type="text"]:focus,
.henroo-newsletter-form--footer input[type="email"]:focus {
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px var(--clay-50) !important;
}
.henroo-newsletter-form--footer .grunion-field-consent-wrap,
.henroo-newsletter-form--footer .wp-block-jetpack-field-consent {
  font-size: 12px; color: var(--ink-muted);
  font-style: normal; text-align: left; margin: 4px 0 0;
}
.henroo-newsletter-form--footer .grunion-field-consent-wrap label,
.henroo-newsletter-form--footer .wp-block-jetpack-field-consent label {
  font-family: inherit; font-size: inherit; letter-spacing: 0;
  text-transform: none; color: inherit; font-weight: 400; margin: 0;
}
/* Button wrap inherits Jetpack's `align-self: flex-end` and shrinks to
   button width, so width alone can't anchor it left. Force full width
   then text-align-left snaps the inline-flex button to the gutter. */
.henroo-newsletter-form--footer .wp-block-jetpack-button { flex: 1 1 100%; width: 100%; text-align: left; margin-top: 4px; }
.henroo-newsletter-form--footer button[type="submit"],
.henroo-newsletter-form--footer .wp-block-jetpack-button button {
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 10px;
  background: var(--ink) !important; color: var(--paper) !important;
  border: 2.5px solid var(--ink) !important;
  cursor: pointer; transition: all 180ms var(--ease-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.henroo-newsletter-form--footer button[type="submit"]:hover,
.henroo-newsletter-form--footer .wp-block-jetpack-button button:hover {
  background: var(--clay-500) !important;
  border-color: var(--clay-500) !important;
  color: var(--paper) !important;
  transform: translateY(-1px);
}

/* Honeypot — visually hidden on both newsletter variants but still
   submitted with the form so server-side spam filtering can detect a
   non-empty value. Bots fill it; real users never see it. Pairs with
   the JS hardening in henroo.js (tabindex=-1, autocomplete=off,
   aria-hidden) to keep keyboard users + screen readers out too.
   Jetpack emits our `className` on the field input AND appends `-wrap`
   for the surrounding div — hide the wrap so the label disappears
   alongside the input. */
.henroo-honeypot-wrap {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

.hp-handwritten {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--clay-500);
}
.hp-footer-bottom {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding-top: 32px; margin-top: 56px;
  border-top: 1px solid var(--border-2);
  font-size: 13px; color: var(--ink-muted);
}
.hp-footer-bottom-left { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hp-footer-bottom .hp-divider { color: var(--border-2); }
.hp-footer-bottom .hp-handwritten { margin-left: 0; font-size: 20px; }

/* --- Breadcrumb (used on all interior pages) ----------------------------- */
.hp-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--ink-muted);
  font-family: var(--font-sans);
  margin-bottom: 12px;
}
.hp-breadcrumb a { color: var(--ink-muted); }
.hp-breadcrumb a:hover { color: var(--clay-500); }
.hp-breadcrumb span { color: var(--ink-muted); }

/* --- Responsive header --------------------------------------------------- */
@media (max-width: 860px) {
  .hp-header-main {
    grid-template-columns: auto 1fr auto;
    padding: 12px 20px;
  }
  .hp-nav-left { display: none; }
  .hp-menu-toggle { display: inline-flex; }
  .hp-logo { justify-content: center; }
  .hp-logo img { height: 69px; }
  .hp-utility-inner { padding: 6px 20px; gap: 14px; flex-wrap: wrap; }
  .hp-utility-menu { gap: 14px; flex-wrap: wrap; }
  .hp-footer-inner { padding: 40px 20px 24px; }

  /* Search popover slides full-width on tablet/mobile, anchored just under
     the sticky header so it doesn't end up visually behind the chrome. */
  .hp-search-pop {
    position: fixed;
    top: calc(var(--site-header-h) + 8px);
    right: 12px; left: 12px;
    width: auto; max-width: none;
  }
}

/* Below 480 — drop the desktop search icon (drawer has its own search input)
   so the basket pill always has room. */
@media (max-width: 480px) {
  .hp-search { display: none; }
  .hp-utility-inner { padding: 6px 16px; gap: 10px; justify-content: center; }
  .hp-utility-menu { gap: 10px; font-size: 11px; justify-content: center; }
  .hp-header-main { padding: 10px 16px; gap: 12px; }
  .hp-basket-pill { padding: 6px 12px; font-size: 13px; gap: 6px; }
  .hp-basket-pill .hp-basket-price { display: none; }
  /* Storefront's home-variant rule adds ~72px below the header — too much on
     a 360px viewport. Trim it so the hero sits closer to the menu row. */
  .site-header { margin-bottom: 16px !important; }
  /* Topbar's "Drop No. X live now · {suffix} · ♥" line wraps mid-string on
     narrow viewports, leaving stray middots at the line break. Drop the
     middots and stack each section on its own centered line instead. */
  .b-topbar-section { display: block; }
  .b-topbar-sep { display: none; }
}

/* Below 480 — center the handwritten sign-off on its own row once the
   footer-bottom flex line wraps it underneath the copyright. */
@media (max-width: 480px) {
  .hp-footer-bottom .hp-handwritten { flex: 1 0 100%; text-align: center; }
}

/* Below 360 — stack the © on its own row above the links row
   (Privacy · Shipping), centered. Hide the divider that sits between
   © and Privacy so the © sits cleanly on its own line. */
@media (max-width: 360px) {
  .hp-footer-bottom-left { flex: 1 0 100%; justify-content: center; text-align: center; }
  .hp-footer-bottom-left > :first-child { flex: 1 0 100%; }
  .hp-footer-bottom-left > :first-child + .hp-divider { display: none; }
}

/* Below 480 — tidy up the standard CMS pages (Privacy, Shipping, etc.).
   Storefront's default block-list indent is ~75px which is too much on
   a phone. (The matching bottom-whitespace fix lives in wc.css and
   applies at all sizes.) */
@media (max-width: 480px) {
  body.page .entry-content :is(ul, ol),
  body.page .entry-content .wp-block-list { margin-left: 0; padding-left: 22px; }
}
