/* HaraHome Nordic system. Only the content, premium header and its drawers are owned.
 * The live footer and consent/legal overlays keep their existing theme styling. */

body.hhp #content, body.hhp .hhp-header, body.hhp #hhp-navigation, body.hhp #hhp-filters, body.hhp #hh-smart-filter-drawer {
  --hh-paper:#faf9f6;
  --hh-white:#fff;
  --hh-cream:#efede6;
  --hh-ink:#292e25;
  --hh-muted:#60665c;
  --hh-olive:#455d30;
  --hh-olive-dark:#334523;
  --hh-line:#dfe1d7;
  --hh-field-line:#8d9586;
  --hh-soft:#f0f2e9;
  --hh-serif:Georgia,'Times New Roman',serif;
  --hh-sans:Arial,Helvetica,sans-serif;
  --hh-gutter:clamp(16px,3vw,42px);
  --hh-radius:8px;
  --ast-global-color-0:var(--hh-olive);
  --ast-global-color-1:var(--hh-olive-dark);
  --ast-global-color-2:var(--hh-ink);
  --ast-global-color-3:var(--hh-ink);
  --ast-global-color-4:var(--hh-paper);
  --ast-global-color-5:#fff;
  --ast-global-color-6:var(--hh-line);
  --ast-border-color:var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters), body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) *,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters)::before, body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) *::before,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters)::after, body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) *::after {
  box-sizing:border-box;
}

body.hhp #content, body.hhp .hhp-header, body.hhp #hhp-navigation, body.hhp #hhp-filters, body.hhp #hh-smart-filter-drawer {
  background:var(--hh-paper);
  color:var(--hh-ink);
  font:400 16px/1.65 var(--hh-sans);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h1,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h2,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h3,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h4,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-title {
  font-family:var(--hh-serif);
  font-weight:400;
  color:var(--hh-ink);
  letter-spacing:-.025em;
  line-height:1.18;
  overflow-wrap:anywhere;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h1 {
  font-size:clamp(32px,3.4vw,48px);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h2 {
  font-size:clamp(27px,2.5vw,34px);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) h3 {
  font-size:23px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) p {
  margin:0 0 1.2em;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) a {
  color:var(--hh-olive);
  text-decoration:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) a:hover {
  text-decoration:underline;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) img {
  max-width:100%;
  height:auto;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) svg {
  width:22px;
  height:22px;
  flex:none;
  vertical-align:middle;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) :focus-visible {
  outline:3px solid var(--hh-olive);
  outline-offset:4px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) [hidden] {
  display:none!important;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-shell {
  max-width:1280px;
  margin-inline:auto;
  padding-inline:var(--hh-gutter);
}

body.hhp #content>.ast-container {
  display:block;
  max-width:1280px;
  padding:40px var(--hh-gutter) 64px;
}

body.hhp.home #content>.ast-container {
  max-width:none;
  padding:0;
}

body.hhp #content #primary {
  width:100%;
  margin:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content {
  overflow-wrap:anywhere;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-header {
  margin-bottom:30px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-title {
  margin-top:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .ast-article-single,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .ast-article-post {
  padding:0;
  background:transparent;
}

body.hhp #content.site-content {
  min-height:45vh;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) button,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) input,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) select,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) textarea {
  font-family:var(--hh-sans);
  font-size:16px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) select,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) textarea {
  max-width:100%;
  min-height:46px;
  padding:11px 13px;
  background:#fff;
  border:1px solid var(--hh-field-line);
  border-radius:5px;
  color:var(--hh-ink);
  box-shadow:none;
  line-height:1.4;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) textarea {
  min-height:120px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) label {
  color:var(--hh-ink);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) input[type=checkbox],
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) input[type=radio] {
  accent-color:var(--hh-olive);
  width:18px;
  height:18px;
  vertical-align:middle;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) fieldset {
  padding:0;
  border:0;
  margin:15px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) legend {
  font-weight:600;
  font-size:16px;
  margin-bottom:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .button,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) button.button,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) input[type=submit],
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce a.button,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce button.button,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce input.button,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) a.button,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) button.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:12px 19px;
  border:1px solid var(--hh-olive);
  border-radius:5px;
  background:var(--hh-olive);
  color:#fff;
  font:600 14px/1.35 var(--hh-sans);
  text-decoration:none;
  box-shadow:none;
  white-space:normal;
  text-align:center;
  transition:background .15s;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .button:hover,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce a.button:hover,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce button.button:hover,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) a.button:hover,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) button.button:hover {
  background:var(--hh-olive-dark);
  border-color:var(--hh-olive-dark);
  color:#fff;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) button:disabled {
  opacity:.55;
  cursor:not-allowed;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  min-width:44px;
  height:44px;
  padding:10px;
  border:0;
  background:transparent;
  color:var(--hh-ink);
  text-decoration:none;
  border-radius:5px;
  font-size:28px;
  line-height:1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-icon-button:hover {
  background:var(--hh-soft);
}

/* Header and accessible drawers. */

body.hhp .hhp-header {
  background:#fff;
  border-bottom:1px solid var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-inner {
  min-height:86px;
  display:flex;
  gap:22px;
  align-items:center;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-brand {
  flex:none;
  width:166px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .custom-logo {
  width:166px;
  max-height:58px;
  object-fit:contain;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-wordmark {
  font-family:var(--hh-serif);
  font-size:33px;
  font-weight:600;
  letter-spacing:-1px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-menu {
  display:flex;
  gap:22px;
  list-style:none;
  margin:0;
  padding:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-menu a {
  color:var(--hh-ink);
  display:flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  white-space:nowrap;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-menu a[aria-current=page] {
  text-decoration:underline;
  text-underline-offset:7px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-desktop-nav {
  flex:1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-search {
  width:245px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-search {
  display:flex;
  border:1px solid var(--hh-line);
  border-radius:5px;
  background:var(--hh-paper);
  min-width:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-search input {
  min-width:0;
  width:100%;
  border:0;
  background:transparent;
  font-size:14px;
  min-height:44px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-search button {
  background:transparent;
  border:0;
  color:var(--hh-ink);
  padding:10px;
  min-width:44px;
  min-height:44px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-actions {
  display:flex;
  gap:3px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-cart-link {
  position:relative;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-cart-count {
  position:absolute;
  top:0;
  right:0;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:10px;
  background:var(--hh-olive);
  color:#fff;
  font-size:10px;
  line-height:17px;
  text-align:center;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-menu-toggle {
  display:none;
}

body.hhp #hhp-navigation.hhp-drawer,
body.hhp #hhp-filters.hhp-filters {
  color:var(--hh-ink);
  background:var(--hh-paper);
  border:0;
  padding:26px;
  max-height:100dvh;
}

body.hhp #hhp-navigation.hhp-drawer {
  inset:0 auto 0 0;
  width:min(390px,92vw);
  height:100dvh;
  margin:0;
}

body.hhp #hhp-navigation.hhp-drawer::backdrop,
body.hhp #hhp-filters.hhp-filters::backdrop {
  background:rgb(29 35 25 / .45);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-drawer-title {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-drawer-title h2 {
  font-size:24px;
  margin:0;
}

body.hhp #hhp-navigation.hhp-drawer .hhp-menu {
  display:block;
  margin:24px 0;
}

body.hhp #hhp-navigation.hhp-drawer .hhp-menu a {
  padding-block:10px;
  font-size:18px;
  border-bottom:1px solid var(--hh-line);
}

body.hhp #hhp-navigation.hhp-drawer>a {
  display:block;
  padding-block:12px;
  min-height:44px;
}

/* Home: reference composition, existing photography, native product data. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero {
  position:relative;
  min-height:510px;
  max-width:1440px;
  margin:20px auto 0;
  background:var(--hh-cream);
  overflow:hidden;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero picture {
  position:absolute;
  inset:0 0 0 30%;
  height:100%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero picture img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:64% center;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#efede6 0%,#efede6 32%,rgb(239 237 230 / .84) 43%,transparent 65%);
  pointer-events:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy {
  position:relative;
  z-index:1;
  width:57%;
  padding:56px max(42px,calc((100% - 1196px)/2)) 44px;
  padding-right:18px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-eyebrow {
  font:500 12px/1.5 var(--hh-sans);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--hh-muted);
  margin-bottom:16px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero h1 {
  max-width:530px;
  font-size:clamp(34px,3.5vw,50px);
  margin:0 0 22px;
  line-height:1.09;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy>p:not(.hhp-eyebrow) {
  max-width:395px;
  color:var(--hh-muted);
  font-size:16px;
  line-height:1.65;
  margin-bottom:25px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero .hhp-primary {
  min-height:49px;
  padding-inline:24px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:24px;
  font-size:12px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details span,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details a {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--hh-muted);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details svg {
  width:18px;
  height:18px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category-section {
  padding-top:26px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category {
  min-height:86px;
  border:1px solid var(--hh-line);
  border-radius:6px;
  background:var(--hh-cream);
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  color:var(--hh-ink);
  font-size:14px;
  line-height:1.35;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category:hover {
  border-color:var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category img {
  width:43px;
  height:54px;
  object-fit:contain;
  mix-blend-mode:multiply;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category span {
  flex:1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category svg {
  width:15px;
  height:15px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories-all {
  grid-template-columns:repeat(4,minmax(0,1fr));
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section {
  padding-top:52px;
  padding-bottom:38px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:26px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading h2 {
  margin:0 0 9px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading p {
  color:var(--hh-muted);
  font-size:14px;
  margin:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading .hhp-eyebrow {
  margin-bottom:12px;
  font-size:11px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-text-link {
  display:inline-flex;
  gap:9px;
  align-items:center;
  min-height:44px;
  font-size:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-text-link svg {
  width:16px;
  height:16px;
}

/* Native WooCommerce card; no fictional rating, price or stock overlays. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  padding:0;
  margin:22px 0 30px;
  clear:both;
  list-style:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products::before,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products::after,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products::before,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products::after {
  content:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home ul.products {
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  margin-bottom:12px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product {
  position:relative;
  display:flex;
  flex-direction:column;
  float:none;
  width:auto;
  margin:0;
  padding:15px;
  background:#fff;
  border:1px solid var(--hh-line);
  border-radius:var(--hh-radius);
  text-align:left;
  min-width:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .astra-shop-thumbnail-wrap {
  position:relative;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .astra-shop-summary-wrap {
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product a img,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product a img {
  height:180px;
  width:100%;
  object-fit:contain;
  margin:0 0 18px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product .woocommerce-loop-product__title {
  font:400 17px/1.33 var(--hh-serif);
  letter-spacing:-.015em;
  color:var(--hh-ink);
  padding:0;
  margin:6px 0 12px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .ast-woo-product-category {
  font-size:11px;
  line-height:1.4;
  color:var(--hh-muted);
  margin:0 0 3px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product .price,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product .price {
  font:600 16px/1.5 var(--hh-sans);
  color:var(--hh-ink);
  margin:8px 0 15px;
  display:flex;
  flex-wrap:wrap;
  gap:5px 9px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .price ins {
  text-decoration:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .price del {
  font-size:13px;
  opacity:1;
  color:var(--hh-muted);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .button {
  width:100%;
  margin-top:auto;
  min-height:44px;
  padding:10px 8px;
  font-size:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .added_to_cart {
  padding:10px 0;
  min-height:44px;
  font-size:13px;
  text-align:center;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce span.onsale,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) span.onsale {
  min-width:0;
  min-height:0;
  line-height:1.4;
  padding:5px 9px;
  top:10px;
  left:10px;
  right:auto;
  border-radius:3px;
  background:var(--hh-soft);
  color:var(--hh-olive);
  font-weight:600;
  font-size:11px;
  margin:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .star-rating {
  color:var(--hh-olive);
  margin-bottom:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce nav.woocommerce-pagination ul {
  border:0;
  display:flex;
  justify-content:center;
  gap:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce nav.woocommerce-pagination ul li {
  border:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce nav.woocommerce-pagination a,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce nav.woocommerce-pagination span {
  min-width:44px;
  min-height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--hh-line);
  border-radius:4px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce nav.woocommerce-pagination .current {
  background:var(--hh-olive);
  color:#fff;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  padding:24px 0;
  border-top:1px solid var(--hh-line);
  border-bottom:1px solid var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits>a {
  display:flex;
  align-items:center;
  gap:13px;
  color:var(--hh-ink);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits svg {
  width:29px;
  height:29px;
  color:var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits strong {
  display:block;
  font-size:13px;
  font-weight:600;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits small {
  display:block;
  color:var(--hh-muted);
  font-size:11px;
  line-height:1.5;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-editorial {
  padding-bottom:62px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-editorial-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:23px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story {
  background:#fff;
  border:1px solid var(--hh-line);
  border-radius:7px;
  overflow:hidden;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story>a {
  color:var(--hh-ink);
  display:flex;
  flex-direction:column;
  height:100%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story img {
  width:100%;
  height:185px;
  object-fit:contain;
  background:var(--hh-cream);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story>a>div:not(.hhp-story-media) {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:21px;
}

body.hhp #content .hhp-story>a>div:not(.hhp-story-media)>.hhp-text-link {
  margin-top:auto;
}

body.hhp #content .hhp-story-media {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  height:auto;
  aspect-ratio:4 / 5;
  padding:0;
  overflow:hidden;
  background:var(--hh-cream);
}

body.hhp #content .hhp-story-media img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

body.hhp #content .hhp-story-media-fallback {
  color:var(--hh-olive);
  background:var(--hh-cream);
}

body.hhp #content .hhp-story-media-fallback svg {
  width:56px;
  height:56px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story h3 {
  font-size:22px;
  line-height:1.25;
  margin:0 0 12px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story a:hover {
  text-decoration:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story a:hover h3 {
  text-decoration:underline;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .astra-shop-summary-wrap>a.ast-loop-product__link {
  flex:1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product .yith-add-to-wishlist-button-block {
  position:absolute;
  top:8px;
  right:8px;
  margin:0;
  z-index:2;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .yith-wcwl-add-to-wishlist-button:is(button) {
  width:44px;
  height:44px;
  padding:10px;
  border-radius:50%!important;
  background:#fff!important;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .yith-wcwl-add-to-wishlist-button__label {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products .astra-shop-summary-wrap .button {
  margin:8px 0 0;
}

/* Reset legacy flex ordering so optional real ratings stay above the price.
 * The price's auto margin anchors price and CTA together at the card bottom. */
body.hhp #content ul.products li.product .astra-shop-summary-wrap > .ast-woo-product-category {
  order: 0 !important;
}
body.hhp #content ul.products li.product .astra-shop-summary-wrap > a.ast-loop-product__link {
  order: 1 !important;
  flex: 0 1 auto;
}
body.hhp #content ul.products li.product .astra-shop-summary-wrap > :is(.review-rating, .star-rating) {
  order: 2 !important;
  flex: none;
}
body.hhp #content ul.products li.product .astra-shop-summary-wrap > .price {
  order: 3 !important;
  flex: none;
  margin-top: auto !important;
  padding-top: 8px;
}
body.hhp #content ul.products li.product .astra-shop-summary-wrap > .button {
  order: 4 !important;
  flex: none;
  margin: 8px 0 0 !important;
}
body.hhp #content ul.products li.product .astra-shop-summary-wrap > .added_to_cart {
  order: 5 !important;
  flex: none;
}

body.hhp #content #primary.hhp-reading {
  max-width:1000px;
  margin-inline:auto;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-reading .entry-content>p {
  max-width:790px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-reading .entry-content>h2 {
  max-width:850px;
}

@media(max-width:767px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home ul.products li.product .yith-add-to-wishlist-button-block {
    top:auto;
    right:auto;
    left:15px;
    bottom:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home .woocommerce ul.products li.product a img {
    height:140px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home ul.products .astra-shop-thumbnail-wrap {
    padding-bottom:43px;
  }
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-link-button {
  background:none;
  border:0;
  color:var(--hh-olive);
  text-decoration:underline;
  padding:7px 0;
  min-height:44px;
}

/* Catalogue and filters. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-breadcrumb {
  font-size:12px;
  color:var(--hh-muted);
  margin-bottom:14px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-catalog {
  display:grid;
  grid-template-columns:215px minmax(0,1fr);
  gap:30px;
  margin-top:16px;
}

body.hhp #hhp-filters.hhp-filters {
  position:static;
  margin:0;
  width:100%;
  padding:20px 16px;
  background:var(--hh-white);
  border:1px solid var(--hh-line);
  border-radius:7px;
  max-height:none;
}

body.hhp #hhp-filters.hhp-filters .hhp-drawer-title h2 {
  font:600 15px/1.4 var(--hh-sans);
}

body.hhp #hhp-filters.hhp-filters .hhp-drawer-title button {
  display:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-filter-form label {
  display:block;
  font-size:13px;
  line-height:1.5;
  margin-bottom:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-filter-form select {
  width:100%;
  font-size:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-filter-form legend {
  font-size:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-price-filter {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-price-filter input {
  width:100%;
  margin-top:6px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-filter-form .hhp-check {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  margin:15px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-check input {
  flex:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-filter-form .button {
  width:100%;
  font-size:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-reset {
  display:block;
  text-align:center;
  font-size:12px;
  padding:12px 0;
  min-height:44px;
}

body.hhp #content .hhp-filter-toggle {
  display:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-result-count {
  font-size:13px;
  color:var(--hh-muted);
  padding-top:12px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-ordering select {
  font-size:13px;
  width:300px;
  min-width:0;
  max-width:100%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-empty {
  max-width:650px;
  margin:42px auto 70px;
  text-align:center;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-empty .hhp-search {
  margin:24px auto;
  max-width:470px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-empty p {
  color:var(--hh-muted);
}

/* Product information and native purchase controls. */

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:24px 52px;
}

body.hhp.woocommerce #content div.product>div.images,
body.hhp.woocommerce #content div.product>div.summary {
  float:none;
  width:100%;
  max-width:none;
  margin:0;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .woocommerce-product-gallery {
  min-width:0;
  transition:none!important;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .woocommerce-product-gallery__wrapper {
  border:1px solid var(--hh-line);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .woocommerce-product-gallery__image img {
  max-height:540px;
  object-fit:contain;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .flex-control-thumbs {
  display:grid;
  grid-template-columns:repeat(auto-fit,72px);
  gap:8px;
  margin:12px 0 0;
  padding:0;
}

body.hhp.woocommerce #content div.product div.images .flex-control-thumbs>li {
  width:100%;
  height:72px;
  min-width:0;
  float:none;
  clear:none;
  margin:0;
  padding:0;
  list-style:none;
  border:1px solid var(--hh-line);
  border-radius:4px;
  background:#fff;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .product_title {
  font-size:clamp(30px,3vw,43px);
  margin:0 0 20px;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product p.price {
  font:600 27px/1.4 var(--hh-sans);
  color:var(--hh-ink);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product p.price ins {
  text-decoration:none;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product p.price del {
  font-size:20px;
  color:var(--hh-muted);
  opacity:1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-product-details__short-description {
  font-size:15px;
  line-height:1.7;
  margin:24px 0;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product form.cart {
  display:flex;
  flex-wrap:wrap;
  align-items:start;
  gap:12px;
  margin:26px 0;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product form.cart .quantity {
  margin:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .quantity .qty {
  width:75px;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product form.cart .variations,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product form.cart .single_variation_wrap {
  width:100%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .product_meta {
  border-top:1px solid var(--hh-line);
  padding-top:20px;
  display:grid;
  gap:7px;
  font-size:12px;
}

body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product>.woocommerce-tabs,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product>.related,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product>.up-sells {
  grid-column:1/-1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs {
  margin-top:25px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .panel {
  max-width:980px;
  line-height:1.8;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  padding:0!important;
  border-bottom:1px solid var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs li {
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs li::after,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs li::before {
  content:none!important;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs li a {
  padding:15px 4px!important;
  min-height:48px;
  font-size:15px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs li.active a {
  border-bottom:3px solid var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .stock.in-stock {
  color:var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .stock.out-of-stock {
  color:#8b342c;
}

/* Courier choices need the full summary width, including Astra's mobile copy.
 * Native rate inputs, selection handlers and totals are left intact. */
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table),
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) > :is(thead, tbody, tfoot) {
  display: block;
  width: 100%;
}
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  width: 100%;
}
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) tr > :is(th, td) {
  width: auto !important;
  min-width: 0;
}
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) tr:is(.woocommerce-shipping-totals, .shipping-pickup-store) {
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
}
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) tr:is(.woocommerce-shipping-totals, .shipping-pickup-store) > :is(th, td) {
  text-align: left !important;
}
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) tr:is(.woocommerce-shipping-totals, .shipping-pickup-store) > :first-child {
  padding-bottom: 8px;
  border-bottom: 0;
}
body.hhp #content :is(.woocommerce-checkout-review-order-table, .cart_totals table) tr:is(.woocommerce-shipping-totals, .shipping-pickup-store) > :last-child {
  padding-top: 0;
  border-top: 0;
}
body.hhp #content ul#shipping_method {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}
body.hhp #content ul#shipping_method li {
  display: flex;
  text-indent: 0;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  background: var(--hh-paper);
  line-height: 1.5;
}
body.hhp #content ul#shipping_method li:has(input:checked) {
  border-color: var(--hh-olive);
  background: var(--hh-cream);
}
body.hhp #content ul#shipping_method input.shipping_method {
  flex: 0 0 18px;
  float: none;
  margin: 3px 0 0;
}
body.hhp #content ul#shipping_method label {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  text-align: left;
  font-weight: 400;
  cursor: pointer;
}
body.hhp #content .sameday_select_locker {
  width: 100%;
  min-height: 44px;
  white-space: normal;
}
/* Select2 can inherit a one-pixel width from its hidden native city select. */
body.hhp #content :is(#billing_city_field, #shipping_city_field) .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}
body.hhp #content :is(#billing_city_field, #shipping_city_field) .select2-container {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 767px) {
  body.hhp #content .woocommerce-checkout :is(
    #billing_address_1_field, #billing_address_2_field, #billing_state_field,
    #billing_city_field, #billing_postcode_field, #shipping_address_1_field,
    #shipping_address_2_field, #shipping_state_field, #shipping_city_field,
    #shipping_postcode_field
  ) {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100%;
    margin-right: 0 !important;
  }
}
body.hhp #content ul#shipping_method li:has(label[for*="_cargus"], label[for*="_samedaycourier"], label[for*="_fan_courier"]) {
  align-items: center;
}
body.hhp #content ul#shipping_method :is(label[for*="_cargus"], label[for*="_samedaycourier"], label[for*="_fan_courier"]) {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
body.hhp #content ul#shipping_method :is(label[for*="_cargus"], label[for*="_samedaycourier"], label[for*="_fan_courier"])::before {
  content: "";
  width: 64px;
  height: 52px;
  background-position: center;
  background-repeat: no-repeat;
}
body.hhp #content ul#shipping_method label[for*="_cargus"]::before {
  background-image: url('../images/courier-cargus.png');
  background-size: contain;
}
body.hhp #content ul#shipping_method label[for*="_samedaycourier"]::before {
  background-image: url('../images/courier-sameday.png');
  /* The supplied official PNG has transparent margins; retain the full mark. */
  background-size: 78px 78px;
}
body.hhp #content ul#shipping_method label[for*="_fan_courier"]::before {
  background-image: url('../images/courier-fan.png');
  background-size: contain;
}
body.hhp #content ul#shipping_method label[for*="_fan_courier"] {
  display: grid !important;
  white-space: normal !important;
}
/* The native checkout logo uses an inline !important display rule. Retain it
 * as the grid's first item; use the pseudo-image only where it is absent. */
body.hhp #content ul#shipping_method label[for*="_fan_courier"]:has(img.fan-shipping-logo)::before {
  content: none;
}
body.hhp #content ul#shipping_method label[for*="_fan_courier"] img.fan-shipping-logo {
  width: 64px !important;
  height: 52px !important;
  max-width: 64px !important;
  object-fit: contain;
  margin: 0 !important;
}
body.hhp #content #hh-supp-return-checkout h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}
body.hhp #content #place_order:disabled {
  opacity: .48 !important;
  cursor: not-allowed !important;
}

/* Core forms, cart, checkout and account. No JS substitutes for transactions. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-message,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-info,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-error {
  background:var(--hh-soft);
  border-top:3px solid var(--hh-olive);
  color:var(--hh-ink);
  font-size:15px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-message::before,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-info::before {
  color:var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-error {
  background:#faf0ed;
  border-color:#9c4336;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.shop_table {
  background:#fff;
  border:1px solid var(--hh-line);
  border-radius:7px;
  border-collapse:separate;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.shop_table th {
  font-size:13px;
  padding:17px 13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.shop_table td {
  border-color:var(--hh-line);
  padding:18px 13px;
  font-size:14px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.shop_table .product-thumbnail img {
  width:75px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce a.remove {
  min-width:44px;
  min-height:44px;
  display:inline-grid;
  place-items:center;
  color:var(--hh-muted)!important;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce a.remove:hover {
  color:#fff!important;
  background:var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce .cart-collaterals .cart_totals {
  float:none;
  width:100%;
  background:var(--hh-cream);
  padding:24px;
  border:1px solid var(--hh-line);
  border-radius:7px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .cart_totals h2 {
  font-size:28px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce .cart-collaterals .cart_totals table {
  background:transparent;
  border:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce .cart .coupon {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce .cart .coupon .input-text {
  width:170px;
  min-height:46px;
  margin:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce .cart .actions>.button {
  margin:8px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wc-proceed-to-checkout a.checkout-button {
  font-size:15px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:0 48px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout #customer_details {
  grid-column:1;
  grid-row:1/5;
  width:100%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout .col-1,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout .col-2 {
  float:none;
  width:100%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout #order_review_heading,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout #order_review {
  grid-column:2;
  width:100%;
  float:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout h3 {
  font-size:29px;
  margin-top:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form .form-row {
  padding:0;
  margin:0 0 18px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form .form-row label {
  font-size:14px;
  line-height:1.5;
  margin-bottom:7px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form .form-row input.input-text,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form .form-row textarea {
  line-height:1.4;
  min-height:46px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .select2-container .select2-selection--single {
  min-height:46px;
  padding:8px;
  border-color:var(--hh-field-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .select2-container--default .select2-selection--single .select2-selection__arrow {
  height:44px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce #payment {
  border-radius:7px;
  background:var(--hh-cream);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce #payment ul.payment_methods {
  padding:22px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce #payment div.payment_box {
  background:var(--hh-white);
  color:var(--hh-muted);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce #payment div.payment_box::before {
  border-bottom-color:#fff;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce #payment #place_order {
  width:100%;
  font-size:16px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-privacy-policy-text {
  font-size:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-navigation {
  width:24%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-navigation ul {
  list-style:none;
  margin:0;
  padding:12px;
  background:var(--hh-cream);
  border-radius:6px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-navigation li a {
  display:block;
  padding:12px;
  min-height:46px;
  border-bottom:1px solid var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-navigation .is-active a {
  font-weight:600;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-content {
  width:72%;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.login,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.register {
  max-width:620px;
  background:#fff;
  border-color:var(--hh-line);
  padding:28px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-account .entry-content {
  min-height:400px;
}

/* Existing editorial and informational content, normalized at its source. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content h2 {
  margin-top:34px;
  margin-bottom:17px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content h3 {
  margin-top:24px;
  margin-bottom:13px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content ul,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content ol {
  margin-left:1.3em;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content li {
  margin-bottom:7px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content :is(.hhg-row,.hhg-hero,.hh-guide-feature) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:28px;
  align-items:start;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content :is(.hhg-box,.hhg-card,.hhg-note,.hhg-callout) {
  background:#fff;
  border:1px solid var(--hh-line);
  border-radius:7px;
  padding:24px;
  margin-bottom:24px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content :is(.hhg-grid,.hh-guides-grid) {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card {
  background:#fff;
  border:1px solid var(--hh-line);
  border-radius:7px;
  overflow:hidden;
  padding:20px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card img {
  max-height:240px;
  object-fit:contain;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) [data-hh-guide-filter] {
  min-height:44px;
  padding:10px 16px;
  margin:4px;
  background:var(--hh-soft);
  color:var(--hh-olive);
  border:1px solid var(--hh-line);
  border-radius:4px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) [data-hh-guide-filter][aria-pressed=true] {
  background:var(--hh-olive);
  color:#fff;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-table-scroll {
  max-width:100%;
  overflow-x:auto;
  margin:22px 0;
  border:1px solid var(--hh-line);
  border-radius:5px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-table-scroll table {
  margin:0;
  border:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content table th,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content table td {
  padding:12px;
  border-color:var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) details {
  padding:16px;
  border-bottom:1px solid var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) summary {
  min-height:32px;
  cursor:pointer;
  font-weight:600;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wp-block-image {
  margin:24px 0;
}

/* Existing content families; each selector maps to preserved source markup. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-about-hero,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guides-hero {
  max-width:850px;
  margin:0 auto 42px;
  text-align:center;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-about-grid>div,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-about-note {
  background:#fff;
  border:1px solid var(--hh-line);
  padding:28px;
  border-radius:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-about-note {
  margin-top:24px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guides-eyebrow,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-card-label {
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--hh-olive);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guides-intro {
  margin:30px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guides-filters {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guides-filters br {
  display:contents;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guides-cards {
  display:grid;
  gap:30px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card {
  display:grid;
  grid-template-columns:38% minmax(0,1fr);
  align-items:center;
  gap:35px;
  padding:26px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card:nth-child(even)>img {
  order:2;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card>p:empty {
  display:none;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card>img {
  width:100%;
  max-height:360px;
  object-fit:contain;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-card-body h2 {
  margin-top:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-shop-links {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-shop-links a {
  padding:9px 12px;
  background:var(--hh-soft);
  border-radius:4px;
  min-height:44px;
  font-size:14px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form-wrap {
  max-width:850px;
  margin:auto;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form {
  display:grid;
  gap:17px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form label {
  display:block;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form input:not([type=checkbox]),
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form textarea,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form select {
  display:block;
  width:100%;
  margin-top:7px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form input[type=checkbox] {
  margin-right:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-return-form h2 {
  margin-top:30px;
  margin-bottom:4px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wp-block-group.has-border-color {
  padding:24px;
  border:1px solid var(--hh-line);
  border-radius:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content>.wp-block-group.alignfull {
  width:100%;
  max-width:100%;
  margin-inline:0;
  padding:25px 0;
  background:transparent!important;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wp-block-button__link {
  background:var(--hh-olive);
  color:#fff;
  min-height:46px;
  border-radius:5px;
  padding:12px 20px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-toc {
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  padding:22px 0;
  border-block:1px solid var(--hh-line);
  margin:25px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-toc br {
  display:contents;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-reasons,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-ingredient-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics>div,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-reasons>article,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-ingredient-grid>article {
  padding:20px;
  background:var(--hh-soft);
  border-radius:6px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics strong,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics span {
  display:block;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics strong {
  font:32px var(--hh-serif);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-formula-grid,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-monograph {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin:28px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-formula,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-band {
  background:#fff;
  padding:28px;
  border:1px solid var(--hh-line);
  border-radius:7px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-formula dl>div {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--hh-line);
  padding:12px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-monograph {
  padding-block:25px;
  border-bottom:1px solid var(--hh-line);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-cta {
  padding:24px;
  background:var(--hh-soft);
  margin:28px 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-cta span {
  display:block;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhg-row img {
  max-height:520px;
  object-fit:contain;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .yith-add-to-wishlist-button-block {
  margin:10px 0 0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .yith-wcwl-add-to-wishlist-button:is(button) {
  min-height:44px;
  background:var(--hh-white)!important;
  color:var(--hh-olive)!important;
  border:1px solid var(--hh-line)!important;
  border-radius:5px!important;
  font:400 12px/1.4 var(--hh-sans);
  padding:8px;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout #ast-order-review-wrapper {
  grid-column:2;
  min-width:0;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout>p,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout>div.woocommerce-NoticeGroup {
  grid-column:1/-1;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout>div#customer_details {
  grid-column:1;
}

html.hhp-modal-open:has(body.hhp :is(#hhp-navigation, #hhp-filters)[open]) {
  overflow:hidden;
}

@media(max-width:767px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-about-grid,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-formula-grid,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-monograph {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card {
    padding:20px;
    gap:20px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hh-guide-feature-card:nth-child(even)>img {
    order:0;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-reasons,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-ingredient-grid {
    grid-template-columns:1fr 1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-formula,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-band {
    padding:18px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy>p:not(.hhp-eyebrow),
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-product-details__short-description {
    font-size:16px;
  }
}

@media(max-width:359px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-metrics,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-reasons,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhx-ingredient-grid {
    grid-template-columns:1fr;
  }
}

@media(min-width:1200px) {
  body.hhp.woocommerce-cart :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content>.woocommerce {
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
    gap:28px;
  }

  body.hhp.woocommerce-cart :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-notices-wrapper,
  body.hhp.woocommerce-cart :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .cart-empty,
  body.hhp.woocommerce-cart :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .return-to-shop {
    grid-column:1/-1;
  }

  body.hhp.woocommerce-cart :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-cart-form {
    grid-column:1;
  }

  body.hhp.woocommerce-cart :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .cart-collaterals {
    grid-column:2;
  }
}

@media(max-width:1199px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-inner {
    gap:15px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-search {
    width:200px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-menu {
    gap:13px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-brand,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .custom-logo {
    width:142px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-catalog {
    gap:20px;
    grid-template-columns:195px minmax(0,1fr);
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category {
    font-size:12px;
    padding:10px;
    gap:8px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category img {
    width:35px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy {
    padding-left:var(--hh-gutter);
    width:58%;
  }
}

@media(max-width:1023px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-menu-toggle {
    display:inline-flex;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-desktop-nav {
    display:none;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-brand {
    margin-right:auto;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-search {
    width:38%;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-catalog {
    display:block;
  }

  body.hhp #content .hhp-filter-toggle {
    display:inline-flex;
    margin-bottom:8px;
  }

  body.hhp #hhp-filters.hhp-filters {
    position:fixed;
    inset:0 auto 0 0;
    margin:0;
    width:min(360px,92vw);
    height:100dvh;
    max-height:100dvh;
    overflow:auto;
    padding:25px;
    border:0;
    border-radius:0;
  }

  body.hhp #hhp-filters.hhp-filters .hhp-drawer-title button {
    display:inline-flex;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home ul.products {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products,
  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero {
    min-height:465px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero h1 {
    font-size:39px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy {
    padding-top:44px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details {
    gap:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-editorial-grid {
    gap:16px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story>a>div:not(.hhp-story-media) {
    padding:18px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story h3 {
    font-size:19px;
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product {
    gap:25px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout {
    gap:24px;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
}

@media(max-width:767px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-inner {
    min-height:64px;
    flex-wrap:wrap;
    gap:6px;
    padding-block:8px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-brand,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .custom-logo {
    width:143px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-search {
    order:5;
    width:100%;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-actions {
    gap:0;
  }

  body.hhp #content>.ast-container {
    padding-top:20px;
    padding-bottom:40px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero {
    margin-top:0;
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy {
    order:0;
    padding:24px 20px 22px;
    width:100%;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero h1 {
    font-size:34px;
    max-width:420px;
    line-height:1.12;
    margin-bottom:16px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy>p:not(.hhp-eyebrow) {
    font-size:15px;
    margin-bottom:21px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero .hhp-eyebrow {
    font-size:12px;
    margin-bottom:10px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero picture {
    position:static;
    order:1;
    display:block;
    width:100%;
    height:230px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero picture img {
    height:230px;
    object-fit:cover;
    object-position:75% center;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero::after {
    content:none;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details {
    margin-top:16px;
    font-size:13px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category-section {
    padding-top:21px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category {
    min-height:74px;
    font-size:13px;
    padding:11px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-category img {
    width:36px;
    height:47px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories-all {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section {
    padding-top:35px;
    padding-bottom:27px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading {
    display:block;
    margin-bottom:19px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading h2 {
    font-size:28px;
    margin-bottom:9px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-section-heading>.hhp-text-link {
    margin-top:9px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products,
  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product,
  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product {
    padding:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product a img,
  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product a img {
    height:150px;
    margin-bottom:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product .woocommerce-loop-product__title {
    font-size:17px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home .woocommerce ul.products {
    grid-template-columns:1fr;
    gap:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home .woocommerce ul.products li.product {
    display:grid;
    grid-template-columns:105px minmax(0,1fr);
    gap:15px;
    padding:16px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home .woocommerce ul.products li.product a img {
    height:155px;
    margin:0;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home ul.products .button {
    max-width:230px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home ul.products .price {
    margin:4px 0 12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits {
    gap:19px 15px;
    padding:23px 0;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits>a {
    gap:9px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits svg {
    width:25px;
    height:25px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits strong {
    font-size:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits small {
    font-size:10px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-editorial-grid {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story img {
    height:205px;
  }

  body.hhp #content .hhp-story-media {
    height:auto;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-story h3 {
    font-size:23px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-editorial {
    padding-bottom:40px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-result-count {
    float:none;
    padding:0;
    margin:0 0 4px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-ordering {
    float:none;
    width:100%;
    margin:6px 0 12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-ordering select {
    width:100%;
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product {
    display:block;
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product>div.summary {
    margin-top:30px;
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .product_title {
    font-size:32px;
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .woocommerce-product-gallery__image img {
    max-height:360px;
  }

  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) div.product .flex-control-thumbs {
    grid-template-columns:repeat(auto-fit,64px);
  }

  body.hhp.woocommerce #content div.product div.images .flex-control-thumbs>li {
    height:64px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs {
    gap:8px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-tabs .tabs li a {
    font-size:13px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout {
    display:block;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form.checkout #order_review_heading {
    margin-top:30px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form .form-row-first,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce form .form-row-last {
    float:none;
    width:100%;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.shop_table_responsive tr td {
    padding:14px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.cart td.actions .coupon {
    float:none;
    width:100%;
    display:flex;
    gap:8px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.cart td.actions .coupon .input-text,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce table.cart td.actions .coupon .button {
    width:100%;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-navigation,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-content {
    width:100%;
    float:none;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-MyAccount-navigation {
    margin-bottom:30px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content :is(.hhg-row,.hhg-hero,.hh-guide-feature,.hhg-grid,.hh-guides-grid) {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content :is(.hhg-box,.hhg-card,.hhg-note,.hhg-callout) {
    padding:18px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content h2 {
    font-size:27px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .entry-content h3 {
    font-size:22px;
  }
}

@media(max-width:359px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-header-inner {
    gap:3px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-brand,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .custom-logo {
    width:125px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-copy {
    padding:28px 18px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero h1 {
    font-size:32px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero picture,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero picture img {
    height:220px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-categories-all {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products,
  body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home .woocommerce ul.products li.product {
    grid-template-columns:85px minmax(0,1fr);
    gap:11px;
    padding:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-home .woocommerce ul.products li.product a img {
    height:130px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits {
    grid-template-columns:1fr;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits small {
    font-size:12px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-benefits strong {
    font-size:14px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .hhp-hero-details {
    gap:9px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size:16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters), body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) *,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters)::before, body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) *::before,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters)::after, body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) *::after {
    transition-duration:0s!important;
    animation-duration:0s!important;
    animation-iteration-count:1!important;
  }
}

/* Preserve readable monetary amounts inside native commerce tables. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .shop_table .woocommerce-Price-amount {
  white-space:nowrap;
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce ul.products li.product .ast-woo-product-category,
body.hhp.woocommerce :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) ul.products li.product .ast-woo-product-category {
  opacity:1;
  color:var(--hh-muted);
}

/* YITH mobile remove action remains a visible, named touch target. */

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wishlist_table .product-remove a,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wishlist_table .remove_from_wishlist {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  border:1px solid var(--hh-line);
  border-radius:50%;
  font:22px/1 var(--hh-sans);
  color:var(--hh-ink);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .wishlist_table .remove_from_wishlist:empty::before {
  content:'×';
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-breadcrumb,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-breadcrumb a {
  color:var(--hh-muted);
}

body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-privacy-policy-text a,
body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) .woocommerce-terms-and-conditions-wrapper a {
  text-decoration:underline!important;
  text-underline-offset:3px;
}

@media(max-width:767px) {
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table {
    display:block;
    width:100%;
    border:0;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table tbody {
    display:block;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table tbody tr {
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    gap:12px;
    padding:16px;
    border:1px solid var(--hh-line);
    border-radius:8px;
    background:#fff;
    margin-bottom:16px;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table td {
    width:auto!important;
    min-width:0;
    border:0;
    padding:0!important;
    text-align:left!important;
    word-break:normal;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table .product-remove {
    grid-column:2;
    justify-self:end;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table .product-thumbnail {
    grid-column:1;
    grid-row:2/5;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table .product-name {
    grid-column:2;
    grid-row:2;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table .product-price {
    grid-column:2;
    grid-row:3;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table .product-stock-status {
    grid-column:2;
    grid-row:4;
  }

  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table .product-add-to-cart,
  body.hhp :where(#content, .hhp-header, #hhp-navigation, #hhp-filters) table.wishlist_table td[colspan] {
    grid-column:1/-1;
  }
}

/* Product thumbnails occupy their own cells; Astra percentage widths are reset above. */
body.hhp.woocommerce #content div.product div.images .flex-control-thumbs > li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}
body.hhp.woocommerce #content div.product div.images .flex-control-thumbs img.flex-active {
  outline: 2px solid var(--hh-olive);
  outline-offset: -2px;
}

/* Catalogue headings and controls should lead directly into the products. */
body.hhp #content .woocommerce-products-header {
  margin-bottom: 12px;
}
body.hhp #content .woocommerce-products-header .page-title {
  margin: 0 0 8px;
}
body.hhp #content .hhp-catalog-results ul.products {
  margin-top: 14px;
}

/* Tablet hero uses separate columns so copy cannot cross the photograph. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.hhp #content .hhp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 440px;
  }
  body.hhp #content .hhp-hero-copy {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    padding: 32px 24px;
  }
  body.hhp #content .hhp-hero h1 {
    font-size: clamp(32px, 3.8vw, 39px);
  }
  body.hhp #content .hhp-hero picture {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    height: 100%;
  }
  body.hhp #content .hhp-hero picture img {
    position: absolute;
    inset: 0;
    object-position: 64% center;
  }
  body.hhp #content .hhp-hero::after {
    content: none;
  }
}
@media (max-width: 767px) {
  body.hhp .hhp-header .custom-logo {
    max-height: 44px;
  }
  body.hhp .hhp-header .hhp-search input {
    font-size: 16px;
  }
  body.hhp #content .woocommerce-products-header .page-title {
    font-size: 34px;
  }
  body.hhp #content .hhp-catalog {
    margin-top: 12px;
  }
  body.hhp #content .hhp-catalog-results .woocommerce-ordering select {
    min-height: 44px;
  }
  body.hhp #content .hhp-hero-copy > p:not(.hhp-eyebrow) {
    margin-bottom: 18px;
  }
}

/* The installed Smart Shop owns filters, GET parameters and drawer states.
 * Only its palette and control sizing are adapted; its CSS/JS remain enabled. */
body.hhp #content .hh-smart-shop {
  color: var(--hh-ink);
  margin-bottom: 12px;
}
body.hhp #content .hh-smart-shop .hh-smart-chip,
body.hhp #content .hh-smart-shop .hh-smart-filter-open {
  min-height: 44px;
  border: 1px solid var(--hh-line);
  border-radius: 5px;
  background: var(--hh-white);
  color: var(--hh-olive) !important;
  box-shadow: none;
  font: 600 14px/1.35 var(--hh-sans);
}
body.hhp #content .hh-smart-shop .hh-smart-chip:hover,
body.hhp #content .hh-smart-shop .hh-smart-chip:focus-visible {
  border-color: var(--hh-olive);
  background: var(--hh-soft);
}
body.hhp #content .hh-smart-shop .hh-smart-chip.is-active {
  border-color: var(--hh-olive);
  background: var(--hh-olive);
  color: #fff !important;
  box-shadow: none;
}
body.hhp #content .hh-smart-shop .hh-smart-filter-count,
body.hhp #hh-smart-filter-drawer .hh-smart-filter-count {
  background: var(--hh-soft);
  color: var(--hh-olive);
}
body.hhp #content .hh-smart-shop__row > .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid var(--hh-field-line);
  border-radius: 5px;
  color: var(--hh-ink);
  background: var(--hh-white);
  box-shadow: none;
  font: 400 14px/1.4 var(--hh-sans);
}
body.hhp #hh-smart-filter-drawer,
body.hhp #hh-smart-filter-drawer *,
body.hhp #hh-smart-filter-drawer *::before,
body.hhp #hh-smart-filter-drawer *::after {
  box-sizing: border-box;
}
body.hhp #hh-smart-filter-drawer {
  background: var(--hh-paper);
  border-color: var(--hh-line);
  color: var(--hh-ink);
}
body.hhp #hh-smart-filter-drawer.is-desktop-sidebar {
  background: var(--hh-paper) !important;
  border: 1px solid var(--hh-line) !important;
  color: var(--hh-ink) !important;
  box-shadow: none !important;
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-drawer__header {
  background: var(--hh-white);
  border-color: var(--hh-line);
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-drawer__header h2 {
  font-family: var(--hh-serif);
  font-weight: 400;
  font-size: 22px !important;
  color: var(--hh-ink) !important;
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-close {
  width: 44px;
  height: 44px;
  border-color: var(--hh-olive) !important;
  border-radius: 5px;
  color: #fff !important;
  background: var(--hh-olive) !important;
  font-family: var(--hh-sans) !important;
}
body.hhp #hh-smart-filter-drawer :focus-visible {
  outline: 3px solid var(--hh-olive);
  outline-offset: 3px;
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-form fieldset {
  border-color: var(--hh-line);
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-form legend {
  color: var(--hh-ink);
  font: 600 14px/1.4 var(--hh-sans);
}
body.hhp #hh-smart-filter-drawer .hh-smart-select select,
body.hhp #hh-smart-filter-drawer .hh-smart-price input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--hh-field-line);
  border-radius: 5px;
  background: var(--hh-white);
  color: var(--hh-ink);
  font: 400 16px/1.4 var(--hh-sans);
  box-shadow: none;
}
body.hhp #hh-smart-filter-drawer .hh-smart-options span {
  min-height: 44px;
  border-color: var(--hh-line);
  border-radius: 5px;
  background: var(--hh-white);
  color: var(--hh-ink);
  font: 400 13px/1.4 var(--hh-sans);
}
body.hhp #hh-smart-filter-drawer .hh-smart-options input:checked + span {
  border-color: var(--hh-olive);
  background: var(--hh-soft);
  box-shadow: inset 0 0 0 1px var(--hh-olive);
  color: var(--hh-olive-dark);
}
body.hhp #hh-smart-filter-drawer .hh-smart-options input:focus-visible + span {
  outline: 3px solid var(--hh-olive);
  outline-offset: 3px;
}
body.hhp #hh-smart-filter-drawer .hh-smart-price label {
  color: var(--hh-muted);
  font: 400 13px/1.4 var(--hh-sans);
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-actions {
  background: linear-gradient(to bottom, rgb(250 249 246 / 0), var(--hh-paper) 13px);
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-actions a,
body.hhp #hh-smart-filter-drawer .hh-smart-filter-actions button {
  border-radius: 5px;
  font: 600 14px/1.4 var(--hh-sans);
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-actions a {
  border-color: var(--hh-field-line);
  background: var(--hh-white);
  color: var(--hh-olive) !important;
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-form button[type="submit"] {
  border-color: var(--hh-olive) !important;
  background: var(--hh-olive) !important;
  color: #fff !important;
  font-family: var(--hh-sans) !important;
}
body.hhp #hh-smart-filter-drawer .hh-smart-filter-close:is(:hover, :focus-visible, :active),
body.hhp #hh-smart-filter-drawer .hh-smart-filter-form button[type="submit"]:is(:hover, :focus-visible, :active) {
  border-color: var(--hh-olive-dark) !important;
  background: var(--hh-olive-dark) !important;
  color: #fff !important;
}

/* Existing quick details retain their JS/ARIA state contract (snippets 47/66).
 * Div panels stay outside card flow; native dialogs use their open attribute. */
body.hhp #content ul.products li.product.hh-details-safe {
  isolation: isolate;
}
body.hhp #content ul.products li.product .hh-product-features-overlay:not(dialog) {
  display: none;
  position: absolute;
  inset: 62px 12px var(--hh-details-action-reserve, 112px);
  z-index: 30;
  max-height: calc(100% - var(--hh-details-action-reserve, 112px) - 74px);
  padding: 58px 18px 18px;
  overflow: auto;
  box-sizing: border-box;
  border: 1px solid var(--hh-line);
  border-radius: 8px;
  background: var(--hh-white);
  color: var(--hh-ink);
  box-shadow: 0 8px 24px rgb(41 46 37 / .15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}
body.hhp #content ul.products li.product .hh-product-features-overlay:not(dialog)[aria-hidden="false"],
body.hhp #content ul.products li.product.touch-active .hh-product-features-overlay:not(dialog):not([aria-hidden="true"]) {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.hhp #content ul.products li.product .hh-product-features-overlay:not(dialog)[aria-hidden="true"],
body.hhp #content ul.products li.product dialog.hh-product-features-overlay:not([open]) {
  display: none !important;
}
body.hhp #content ul.products li.product dialog.hh-product-features-overlay[open] {
  display: block !important;
  position: fixed !important;
  inset: 50% auto auto 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(420px, calc(100vw - 32px));
  height: auto;
  max-height: calc(100dvh - 48px) !important;
  margin: 0;
  padding: 64px 24px 24px;
  overflow: auto;
  border: 1px solid var(--hh-line);
  border-radius: 8px;
  background: var(--hh-white);
  color: var(--hh-ink);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
body.hhp #content dialog.hh-product-features-overlay::backdrop {
  background: rgb(29 35 25 / .45);
}
body.hhp #content ul.products li.product .hh-product-details-toggle,
body.hhp #content ul.products li.product .hh-product-features-overlay__close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0;
  padding: 0 !important;
  border: 1px solid var(--hh-line);
  border-radius: 50%;
  background: var(--hh-white);
  color: var(--hh-olive);
  box-shadow: none;
  font: 600 20px/1 var(--hh-sans);
  cursor: pointer;
}
body.hhp #content ul.products li.product .hh-product-details-toggle {
  z-index: 70;
  top: 12px;
  left: 12px;
  right: auto;
}
/* Both actions use the card as their anchor: 44px targets, with an 8px gap. */
html body.hhp #content ul.products li.product {
  position: relative;
}
html body.hhp #content ul.products li.product .astra-shop-thumbnail-wrap {
  position: static;
}
html body.hhp #content ul.products li.product .hh-product-details-toggle {
  inset-inline: auto 12px !important;
  top: 12px !important;
  left: auto !important;
  right: 12px !important;
}
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger {
  position: absolute !important;
  inset: 64px 12px auto auto !important;
  z-index: 65;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--hh-line);
  border-radius: 50%;
  background: var(--hh-white);
  color: var(--hh-olive);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  font-size: 0 !important;
}
/* Woo/Astra can replace the icon's children with plain text after AJAX. */
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger::before {
  content: '';
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l3 12h10l3-9H6'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger::after,
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger .ahfb-svg-iconset {
  display: none !important;
}
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger.loading {
  pointer-events: none !important;
  opacity: .65 !important;
}
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger:is(:hover, :focus-visible) {
  color: var(--hh-white);
  background: var(--hh-olive);
  border-color: var(--hh-olive);
}
html body.hhp #content ul.products li.product a.ast-on-card-button.ast-select-options-trigger:focus-visible {
  outline: 2px solid var(--hh-olive);
  outline-offset: 3px;
}
html body.hhp #content ul.products li.product .ast-card-action-tooltip {
  pointer-events: none;
}
html body.hhp #content ul.products li.product .astra-shop-summary-wrap > .hhp-buy-now {
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media (max-width: 767px) {
  /* Home uses horizontal cards on phones: reserve a rail for the two actions. */
  html body.hhp #content .hhp-home ul.products li.product .astra-shop-summary-wrap > .ast-woo-product-category,
  html body.hhp #content .hhp-home ul.products li.product .astra-shop-summary-wrap > a.ast-loop-product__link {
    padding-right: 56px;
    box-sizing: border-box;
  }
}
body.hhp #content ul.products li.product .hh-product-features-overlay__close {
  top: 8px;
  right: 8px;
  left: auto;
}
body.hhp #content ul.products li.product .hh-product-features-overlay h4 {
  margin: 0 0 12px;
  color: var(--hh-ink);
  font: 400 22px/1.25 var(--hh-serif);
  letter-spacing: -.02em;
  text-transform: none;
}
body.hhp #content ul.products li.product .hh-product-features-overlay p {
  margin: 0 0 16px;
  color: var(--hh-muted);
  font: 400 14px/1.6 var(--hh-sans);
}
body.hhp #content ul.products li.product .hh-product-features-overlay > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hh-olive);
  border-radius: 5px;
  color: var(--hh-olive);
  background: var(--hh-white);
  font: 600 14px/1.4 var(--hh-sans);
}
body.hhp #content ul.products li.product.hh-details-safe .astra-shop-summary-wrap .price,
body.hhp #content ul.products li.product.hh-details-safe .astra-shop-summary-wrap .button,
body.hhp #content ul.products li.product.hh-details-safe .astra-shop-summary-wrap .added_to_cart {
  position: relative;
  z-index: 50;
}

/* The installed desktop filter sidebar leaves room for three readable cards. */
@media (min-width: 922px) {
  body.hhp #content .entry-content.hh-smart-shop-desktop-layout > .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Astra Pro carousel owns widths and transforms; only thumbnail height changes. */
body.hhp.woocommerce #content div.product .woocommerce-product-gallery {
  align-self: start;
}
body.hhp.woocommerce #content div.product .ast-single-product-thumbnails {
  --hh-thumb-height: 72px;
  margin-top: 12px;
}
body.hhp.woocommerce #content div.product .ast-single-product-thumbnails > .flex-viewport {
  height: var(--hh-thumb-height) !important;
  max-height: var(--hh-thumb-height);
}
body.hhp.woocommerce #content div.product .ast-single-product-thumbnails .ast-woocommerce-product-gallery__image {
  height: var(--hh-thumb-height);
  overflow: hidden;
}
body.hhp.woocommerce #content div.product .ast-single-product-thumbnails .ast-woocommerce-product-gallery__image > a {
  display: block;
  height: 100%;
}
body.hhp.woocommerce #content div.product .ast-single-product-thumbnails .ast-woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: var(--hh-thumb-height);
  max-height: var(--hh-thumb-height);
  object-fit: contain;
}
@media (max-width: 767px) {
  body.hhp:not(.home) #content > .ast-container {
    padding-inline: 20px !important;
  }
  body.hhp:not(.home) #content .ast-article-single,
  body.hhp:not(.home) #content .ast-article-post {
    padding-inline: 0;
  }
  body.hhp.woocommerce #content div.product .ast-single-product-thumbnails {
    --hh-thumb-height: 64px;
  }
}
/* Existing live page components retain their content and interactive hooks. */
body.hhp #masthead.hhp-header {
  position:relative!important;
  inset:auto!important;
  width:100%;
}
body.hhp #content .hh-guides-cards {
  grid-template-columns:minmax(0,1fr)!important;
}
body.hhp #content .hh-guide-feature-card {
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;
  padding:28px!important;
  gap:32px!important;
  min-height:0;
}
body.hhp #content .hh-guide-feature-card>img {
  height:auto!important;
  max-height:340px!important;
  width:100%!important;
  border-radius:6px;
}
body.hhp #content .hh-guide-card-body {
  width:auto!important;
  padding:0!important;
  min-width:0;
}
body.hhp #content .hh-guide-card-body>p:empty,
body.hhp #content .hh-guides-cards>p:empty,
body.hhp #content .hh-guides-cards>br {
  display:none!important;
}
body.hhp #content :is(.hh-guides-hero,.hh-guide-card-body) :is(h1,h2) {
  font-family:var(--hh-serif)!important;
  font-weight:400!important;
  color:var(--hh-ink)!important;
}
body.hhp #content .hh-guides-hero h1 {font-size:clamp(32px,3.4vw,48px)!important;}
body.hhp #content .hh-guide-card-body h2 {font-size:30px!important;}
body.hhp #content .hh-categories-future {padding:0;max-width:none;}
body.hhp #content article:has(.hh-categories-future)>.entry-header {display:none;}
body.hhp #content .hh-categories-future__hero {
  background:var(--hh-cream)!important;
  color:var(--hh-ink)!important;
  border:1px solid var(--hh-line);
  border-radius:8px;
  box-shadow:none;
  padding:30px;
  margin-bottom:24px;
}
body.hhp #content .hh-categories-future__hero :is(h1,p) {color:var(--hh-ink)!important;}
body.hhp #content .hh-categories-future__grid {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-top:20px;
}
/* WordPress inserts these empty nodes between custom HTML cards. */
body.hhp #content .hh-categories-future__grid>br,
body.hhp #content .hh-categories-future__grid>p:empty,
body.hhp #content .hh-category-card>br,
body.hhp #content .hh-categories-future__filters>br {display:none!important;}
body.hhp #content .hh-category-card {
  border:1px solid var(--hh-line);
  border-radius:8px;
  box-shadow:none;
  padding:20px;
  gap:10px;
  min-height:0;
  color:var(--hh-ink);
}
body.hhp #content .hh-category-card__label {color:var(--hh-olive);}
body.hhp #content .hh-category-card>strong {font:400 24px/1.2 var(--hh-serif);}
body.hhp #content .hh-category-product {margin-top:auto;}
body.hhp #content .hh-category-product__media {display:block;margin:12px 0;}
body.hhp #content .hh-category-product__media img {width:100%;height:180px;object-fit:contain;}
body.hhp #content :is(.hh-category-product__copy,.hh-category-product__kicker,.hh-category-product__title,.hh-category-product__price) {display:block;}
body.hhp #content .hh-category-product__kicker {font-size:11px;color:var(--hh-muted);margin-bottom:4px;}
body.hhp #content .hh-category-product__price {font-size:15px;font-weight:600;font-style:normal;margin-top:8px;}
body.hhp #content .woocommerce:has(.cart-empty) {display:block!important;}
body.hhp #content .woocommerce:has(.cart-empty)>.cart-empty {width:100%;}
body.hhp #content .woocommerce:has(.cart-empty)>.return-to-shop {margin-top:24px;}
@media(max-width:1023px) {
  body.hhp #content .hh-categories-future__grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:767px) {
  body.hhp #content .hh-guide-feature-card {grid-template-columns:minmax(0,1fr)!important;padding:20px!important;gap:20px!important;}
  body.hhp #content .hh-guide-feature-card:nth-child(even)>img {order:0!important;}
  body.hhp #content .hh-guide-card-body h2 {font-size:27px!important;}
  body.hhp #content .hh-categories-future__hero {padding:24px 20px;}
  body.hhp #content .hh-categories-future__grid {gap:12px;}
  body.hhp #content .hh-category-card {padding:14px;}
  body.hhp #content .hh-category-card>strong {font-size:22px;}
  body.hhp #content .hh-category-product__media img {height:140px;}
}
@media(max-width:479px) {
  body.hhp #content .hh-categories-future__grid {grid-template-columns:minmax(0,1fr);}
}

/* Astra's order summary is a wrapper inside the second checkout grid column.
 * Reset its legacy percentage width rather than changing checkout markup/data. */
body.hhp #content .woocommerce form.checkout > #ast-order-review-wrapper {
  display: block;
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
}
body.hhp #content .woocommerce form.checkout #ast-order-review-wrapper > #order_review_heading,
body.hhp #content .woocommerce form.checkout #ast-order-review-wrapper > #order_review {
  grid-column: auto;
  grid-row: auto;
  float: none;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
}
/* The attribution host contains only hidden inputs and must not occupy a grid cell. */
body.hhp #content .woocommerce form.checkout > wc-order-attribution-inputs {
  display: none;
}
@media (max-width: 767px) {
  body.hhp #content .woocommerce form.checkout {
    display: block;
  }
  body.hhp #content .woocommerce form.checkout > #ast-order-review-wrapper {
    grid-column: auto;
    grid-row: auto;
    display: block;
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 921px) {
  /* Astra still owns the mobile summary's open/closed state and animation. */
  body.hhp.ast-modern-checkout #content .ast-mobile-order-review-wrap {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    border: 1px solid var(--hh-line);
    border-radius: 8px;
    background: var(--hh-paper);
    overflow: hidden;
  }
  body.hhp.ast-modern-checkout #content :is(#ast-order-review-toggle, #ast-order-review-content) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.hhp.ast-modern-checkout #content #ast-order-review-toggle {
    padding: 14px 16px;
    border: 0;
    border-radius: 7px;
    background: var(--hh-cream) !important;
    color: var(--hh-ink);
  }
  body.hhp.ast-modern-checkout #content #ast-order-review-content {
    padding-inline: 16px;
    background: var(--hh-paper);
  }
  /* Courier selection adds rows after Astra measures the mobile accordion. */
  body.hhp.ast-modern-checkout #content #ast-order-review-toggle.active + #ast-order-review-content {
    max-height: none !important;
    height: auto !important;
  }
  body.hhp.ast-modern-checkout #content #ast-order-review-content .product-name strong.product-quantity {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* This existing mobile nav is a direct body child, separate from the footer.
 * Extra specificity beats its legacy important colors without changing layout. */
body.hhp > nav.hhm {
  --hh-olive: #455d30;
  --hh-olive-dark: #334523;
}
body.hhp[class] > nav.hhm a,
body.hhp[class] > nav.hhm a:visited {
  color: var(--hh-olive) !important;
}
body.hhp[class] > nav.hhm a:is(:hover, :focus, :active) {
  color: var(--hh-olive-dark) !important;
}
body.hhp[class] > nav.hhm a:focus-visible {
  outline-color: var(--hh-olive-dark) !important;
}
body.hhp[class] > nav.hhm a svg {
  color: inherit !important;
  stroke: currentColor !important;
}
body.hhp[class] > nav.hhm .hhm-cart-count {
  background: var(--hh-olive) !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(69, 93, 48, .18) !important;
}

body.hhp .hh-smart-filter-sticky {
  background: var(--hh-olive, #455d30) !important;
  border-color: var(--hh-olive, #455d30) !important;
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(69, 93, 48, .2) !important;
}
body.hhp .hh-smart-filter-sticky:is(:hover, :focus-visible, :active) {
  background: var(--hh-olive-dark, #334523) !important;
  border-color: var(--hh-olive-dark, #334523) !important;
  color: #fff !important;
}
/* Keep mobile filters in the toolbar, clear of product purchase buttons. */
@media (max-width: 1024px) {
  body.hhp .hh-smart-filter-sticky {
    display: none !important;
  }
  body.hhp #content .hh-smart-shop__row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  body.hhp #content .hh-smart-shop .hh-smart-filter-open {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 16px;
  }
}
@media (max-width: 767px) {
  body.hhp #content ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
}
@media (max-width: 374px) {
  body.hhp #content .woocommerce ul.products,
  body.hhp #content ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Legacy guide buttons specify white text: pair it with a consistently dark fill. */
body.hhp #content .hh-guide-shop-links a,
body.hhp #content .hh-guide-shop-links a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--hh-olive) !important;
  background: var(--hh-olive) !important;
  color: #fff !important;
  text-decoration: none;
}
body.hhp #content .hh-guide-shop-links a:hover,
body.hhp #content .hh-guide-shop-links a:focus-visible,
body.hhp #content .hh-guide-shop-links a:active {
  border-color: var(--hh-olive-dark) !important;
  background: var(--hh-olive-dark) !important;
  color: #fff !important;
}

/* Present the existing EU notice without replacing its text, links or artwork. */
body.hhp #content .hh-eu-notice {
  margin: 12px 0 18px;
  padding: 14px;
  border: 1px solid var(--hh-line);
  border-radius: 5px;
  background: var(--hh-paper);
  color: var(--hh-ink);
  line-height: 1.5;
}
body.hhp #content .hh-eu-notice a {
  display: block;
  font-weight: 600;
}

body.hhp #content .hh-eu-notice__hint {
  display: block;
}

/* Preserve explicit block text colors instead of painting their headings dark. */
body.hhp #content .wp-block-group.has-text-color.has-background :is(h1, h2, h3, h4) {
  color: inherit !important;
}

/* These existing Excellium panels use a dark navy background. */
body.hhp #content :is(.hh-excellium-buy, .hh-excellium-docs) :is(h1, h2, h3, h4) {
  color: #fff !important;
}
body.hhp #content .hh-excellium-buy .woocommerce-Price-amount {
  white-space: nowrap;
  overflow-wrap: normal;
}
body.hhp #content .hh-excellium-buy > div:last-child {
  min-width: 0;
}
body.hhp #content .hh-excellium-buy p.add_to_cart_inline {
  display: flex;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 12px;
}
body.hhp #content .hh-excellium-buy p.add_to_cart_inline a.button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 160px;
  white-space: nowrap !important;
  overflow-wrap: normal;
  word-break: normal;
  background: var(--hh-olive) !important;
  border-color: var(--hh-olive) !important;
  color: #fff !important;
}
body.hhp #content .hh-excellium-buy p.add_to_cart_inline a.button:is(:hover, :focus-visible, :active) {
  background: var(--hh-olive-dark) !important;
  border-color: var(--hh-olive-dark) !important;
}
@media (max-width: 767px) {
  body.hhp #content .hh-excellium-buy .woocommerce-Price-amount {
    font-size: 24px !important;
  }
  body.hhp #content .hh-excellium-buy p.add_to_cart_inline a.button {
    flex-basis: 100% !important;
    width: 100% !important;
    min-width: 0;
  }
}

/* Give existing WordPress CTA blocks the same readable palette in every state. */
body.hhp #content :is(a.wp-element-button, .wp-block-button__link),
body.hhp #content :is(a.wp-element-button, .wp-block-button__link):visited {
  background: var(--hh-olive) !important;
  border-color: var(--hh-olive) !important;
  color: #fff !important;
  text-decoration: none;
}
body.hhp #content :is(a.wp-element-button, .wp-block-button__link):is(:hover, :focus-visible, :active) {
  background: var(--hh-olive-dark) !important;
  border-color: var(--hh-olive-dark) !important;
  color: #fff !important;
  text-decoration: none;
}

/* A page with its own content H1 does not need the theme's duplicate title. */
body.hhp #content article:has(> .entry-content h1) > .entry-header {
  display: none;
}

/* The homepage now renders its WooCommerce bestseller section inside content. */
body.hhp.home #hh-best-sellers-slider {
  display: none !important;
}

/* Existing SmartShop filters own sorting on desktop and mobile. */
body.hhp #content .entry-content:has(.hh-smart-shop) .woocommerce-ordering {
  display: none !important;
}

/* Keep the linen article's bedroom photograph proportional to the reading area. */
body.hhp.page-id-16479 #content .ast-single-post-featured-section {
  max-width: 1280px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  body.hhp.page-id-16479 #content .ast-single-post-featured-section img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
  }
}

/* Restore persistent labels and remove the legacy tracking page's empty tail. */
body.hhp.page-id-491 #page {
  min-height: 0;
}
body.hhp.page-id-491 #content .track_order label {
  display: block;
  position: static !important;
  opacity: 1 !important;
  font-size: 14px;
  margin-bottom: 6px;
}
body.hhp.page-id-491 #content .track_order input {
  border-color: var(--hh-field-line) !important;
}

/* These policy pages keep their original text in a comfortable reading column. */
body.hhp:is(.page-id-22634, .page-id-22645, .page-id-3, .page-id-30870, .page-id-22821, .page-id-22642, .page-id-32520) #content > .ast-container {
  max-width: 1044px;
  margin-inline: auto;
}

body.hhp #content .wp-block-spacer:has(+ .hh-legal-update-2026) {
  height: 24px !important;
}

/* The legacy card pushed its label upward with auto margins and aligned the
 * remaining content to the bottom. Reserve consistent text rows instead. */
body.hhp #content .hh-category-card {
  align-items: stretch;
  justify-content: flex-start;
}
body.hhp #content .hh-category-card > .hh-category-card__label {
  margin: 0;
}
body.hhp #content .hh-category-card > strong {
  margin: 0;
  min-height: 2.4em;
}
body.hhp #content .hh-category-card > strong + span {
  margin: 0;
  min-height: 52px;
}
body.hhp #content .hh-category-product__title {
  min-height: 42px;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 479px) {
  body.hhp #content .hh-category-card > strong,
  body.hhp #content .hh-category-card > strong + span,
  body.hhp #content .hh-category-product__title {
    min-height: 0;
  }
}

/* Balance the three existing about cards without changing their content. */
@media (min-width: 1024px) {
  body.hhp #content .hh-about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.hhp #content .hh-about-grid > div:nth-child(3):last-child {
    grid-column: 1 / -1;
  }
}

/* The legacy note retained white paragraph text after its background changed. */
body.hhp #content .hh-about-note {
  background: var(--hh-soft);
  color: var(--hh-ink);
  padding: 32px;
}
body.hhp #content .hh-about-note :is(h1, h2, h3, h4, p, li) {
  color: var(--hh-ink);
}
body.hhp #content .hh-about-note > :is(h1, h2, h3, h4):first-child {
  margin-top: 0;
}

/* Small section labels need sufficient contrast on their existing surfaces. */
body.hhp #content .hh-categories-needs__heading .hh-categories-future__eyebrow {
  color: var(--hh-olive);
}
body.hhp #content .hh-excellium-docs .hh-excellium-eyebrow {
  color: #c9d7bd;
}

/* Keep short comparison headings and product names intact inside the existing
 * horizontal scroll wrapper when the article table needs more room. */
body.hhp.single-post #content .hhp-table-scroll th {
  min-width: 110px;
  overflow-wrap: normal;
  word-break: normal;
}
body.hhp.single-post #content .hhp-table-scroll th:first-child,
body.hhp.single-post #content .hhp-table-scroll td:first-child {
  min-width: 180px;
  overflow-wrap: normal;
  word-break: normal;
}

/* Only this article's product photograph needs a smaller reading footprint;
 * other articles retain their full-size posters and embedded text. */
body.hhp.postid-30827 #content .entry-content .wp-block-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin-inline: auto;
}

/* YITH also returns its mobile list markup on desktop. Style that actual
 * structure as cards while preserving the plugin's links and form controls. */
body.hhp #content ul.wishlist_table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 24px 0;
  padding: 0;
  border: 0;
  list-style: none;
}
body.hhp #content ul.wishlist_table > li {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--hh-line);
  border-radius: 8px;
  background: var(--hh-white);
  font-size: 14px;
}
body.hhp #content ul.wishlist_table .item-wrapper {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0;
}
body.hhp #content ul.wishlist_table .item-wrapper .product-thumbnail {
  display: block;
  width: 88px;
  max-width: 88px;
  margin: 0;
}
body.hhp #content ul.wishlist_table .product-thumbnail img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}
body.hhp #content ul.wishlist_table .item-wrapper .item-details {
  display: block;
  min-width: 0;
  width: auto;
}
body.hhp #content ul.wishlist_table .product-name h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}
body.hhp #content ul.wishlist_table .product-name h3 a {
  color: var(--hh-ink);
}
body.hhp #content ul.wishlist_table .additional-info-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: end;
  gap: 12px;
  margin-top: auto;
  padding: 0;
}
body.hhp #content ul.wishlist_table table.additional-info {
  grid-column: 1 / -1;
}
body.hhp #content ul.wishlist_table :is(table.item-details-table, table.additional-info) {
  width: 100%;
  margin: 0;
  border: 0;
}
body.hhp #content ul.wishlist_table :is(table.item-details-table, table.additional-info) td {
  padding: 6px 0;
  border: 0;
  font-size: 14px;
  vertical-align: top;
}
body.hhp #content ul.wishlist_table .additional-info-wrapper :is(.product-add-to-cart, .product-remove) {
  margin: 0;
}
body.hhp #content .wishlist_table .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--hh-olive) !important;
  border-color: var(--hh-olive) !important;
  color: #fff !important;
  line-height: 1.4;
  text-decoration: none;
}
body.hhp #content .wishlist_table .button:is(:hover, :focus-visible) {
  background: var(--hh-olive-dark) !important;
  border-color: var(--hh-olive-dark) !important;
  color: #fff !important;
}
body.hhp #content ul.wishlist_table .product-add-to-cart .button {
  width: 100%;
  margin: 0;
}
body.hhp #content ul.wishlist_table .remove_from_wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--hh-line);
  border-radius: 50%;
  color: var(--hh-ink);
  font: 24px/1 var(--hh-sans);
  text-decoration: none;
}
body.hhp #content ul.wishlist_table .remove_from_wishlist > i.fa {
  display: none;
}
body.hhp #content ul.wishlist_table .remove_from_wishlist:has(> i.fa)::before {
  content: '×';
}

/* The premium empty state already explains the same no-products result. */
body.hhp #content .woocommerce-no-products-found:has(+ .hhp-empty) {
  display: none;
}
/* Astra already supplies the linked category immediately above this legacy
 * eyebrow. Keep one label and the independent breadcrumb trail. */
body.hhp #content .summary > .single-product-category + .hh-product-eyebrow {
  display: none;
}

/* Fit this existing description photograph to its frame without enlarging or
 * cropping the original catalogue image. */
body.hhp.postid-23967 #content #tab-description > figure.wp-block-image {
  width: fit-content;
  max-width: 100%;
  margin: 28px auto;
  box-shadow: none;
}
body.hhp.postid-23967 #content #tab-description > figure.wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* This comparison remains horizontally scrollable on narrow screens; names
 * and trademarks should wrap at spaces instead of splitting mid-word. */
body.hhp.postid-30771 #content .hhp-table-scroll td {
  overflow-wrap: normal;
  word-break: normal;
}
body.hhp.postid-30771 #content .hhp-table-scroll :is(th, td):nth-child(2) {
  min-width: 160px;
}
body.hhp.postid-30771 #content .hhp-table-scroll :is(th, td):nth-child(3) {
  min-width: 220px;
}
/* Existing EXCELLIUM rich content uses adjacent inline elements without text
 * spaces. Give each label and explanation its own readable line. */
body.hhp #content .hhx-steps > li > :is(span, strong, small),
body.hhp #content :is(.hhx-docs-grid, .hhx-evidence-levels) > p > :is(strong, span) {
  display: block;
}
body.hhp #content .hhx-steps > li > :is(strong, small),
body.hhp #content :is(.hhx-docs-grid, .hhx-evidence-levels) > p > span {
  margin-top: 6px;
}
@media (max-width: 767px) {
  body.hhp #content ul.wishlist_table {
    grid-template-columns: minmax(0, 1fr);
  }
  body.hhp #content ul.wishlist_table .item-wrapper {
    gap: 16px;
  }
}

/* Favorite stays separate from the information/cart action rail. */
body.hhp #content ul.products li.product .yith-add-to-wishlist-button-block,
body.hhp #content ul.products li.product > .yith-wcwl-add-to-wishlist {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  bottom: auto !important;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  z-index: 5;
}
body.hhp #content ul.products .yith-wcwl-add-to-wishlist-button,
body.hhp #content ul.products .yith-wcwl-add-to-wishlist a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  min-width: 44px;
  height: 44px !important;
  min-height: 44px;
  padding: 10px !important;
  margin: 0;
  border: 1px solid var(--hh-line) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--hh-olive) !important;
  box-shadow: 0 2px 6px rgb(36 45 30 / 8%);
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 0 !important;
}
body.hhp #content ul.products .yith-wcwl-add-to-wishlist-button svg,
body.hhp #content ul.products .yith-wcwl-add-to-wishlist svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--hh-olive) !important;
  margin: 0 !important;
  flex-shrink: 0;
}
body.hhp #content ul.products .yith-wcwl-add-to-wishlist .feedback {
  display: none !important;
}
body.hhp #content ul.products .yith-wcwl-add-to-wishlist a span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
body.hhp #content ul.products .yith-wcwl-add-to-wishlist-button:focus-visible,
body.hhp #content ul.products .yith-wcwl-add-to-wishlist a:focus-visible {
  outline: 2px solid var(--hh-olive);
  outline-offset: 3px;
}
body.hhp #content ul.products li.product:has(.yith-add-to-wishlist-button-block, .yith-wcwl-add-to-wishlist) .onsale {
  top: 60px !important;
}

/* Center the brand on the page, independently of the controls on either side. */
body.hhp #masthead .hhp-header-inner {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  column-gap:20px;
  row-gap:0;
  min-height:0;
  padding-block:12px 4px;
}
body.hhp #masthead .hhp-brand {
  grid-column:2;
  grid-row:1;
  justify-self:center;
  margin:0;
}
body.hhp #masthead .hhp-brand .custom-logo-link {
  display:flex;
  justify-content:center;
  align-items:center;
}
body.hhp #masthead .hhp-header-search {
  grid-column:1;
  grid-row:1;
  width:min(100%,280px);
  min-width:0;
  order:0;
}
body.hhp #masthead .hhp-header-actions {
  grid-column:3;
  grid-row:1;
  justify-self:end;
}
body.hhp #masthead .hhp-desktop-nav {
  grid-column:1 / -1;
  grid-row:2;
  justify-self:center;
  min-width:0;
}
body.hhp #masthead .hhp-menu-toggle {
  grid-column:1;
  grid-row:1;
  justify-self:start;
}
@media(max-width:1023px) {
  body.hhp #masthead .hhp-header-inner {
    column-gap:6px;
    row-gap:6px;
    padding-block:8px;
  }
  body.hhp #masthead .hhp-header-search {
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
  }
}
@media(max-width:767px) {
  body.hhp #masthead .hhp-brand,
  body.hhp #masthead .custom-logo {
    width:min(143px,calc(100vw - 220px));
  }
}
