/*
Theme Name: Hide Fusion
Theme URI: https://hidefusion.com
Description: Editorial workshop storefront for Hide Fusion — handmade leather jackets and coats. Child theme of Twenty Twenty-Five with a full WooCommerce design system ported from the Hide Fusion React build.
Author: Hide Fusion
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Template: twentytwentyfive
Text Domain: hide-fusion
Tags: e-commerce, block-patterns, full-site-editing, custom-colors, custom-logo, custom-menu
*/

/* =========================================================================
   HIDE FUSION — design system
   Paper page, black anchors, orange stamps.
   ========================================================================= */

:root {
  --hf-bg: #faf8f5;
  --hf-surface: #ffffff;
  --hf-surface-alt: #f0ece6;
  --hf-ink: #14110f;
  --hf-ink-soft: #3a3532;
  --hf-muted: #6e6862;
  --hf-border: #e3ddd5;
  --hf-orange: #ff4e00;
  --hf-orange-text: #d63f00;
  --hf-orange-hover: #e04400;
  --hf-orange-tint: rgba(255, 78, 0, 0.08);
  --hf-offwhite: #f5f3f0;
  --hf-photo: #edeae5;
  --hf-success: #1f7a4d;

  /* corner radii */
  --hf-radius-btn: 14px;
  --hf-radius-input: 12px;
  --hf-radius-card: 16px;

  --hf-shadow-soft: 0 4px 24px rgba(20, 17, 15, 0.06);
  --hf-shadow-float: 0 8px 32px rgba(20, 17, 15, 0.08);
  --hf-shadow-apple: 0 12px 40px rgba(20, 17, 15, 0.08), 0 2px 8px rgba(20, 17, 15, 0.04);

  --hf-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hf-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --hf-max: 1440px;
  --hf-pad: 16px;
}

@media (min-width: 768px) {
  :root { --hf-pad: 48px; }
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after { box-sizing: border-box; }

/* Grid and flex children default to min-width:auto, which lets intrinsic
   image widths and nowrap text push tracks wider than the viewport. */
.hf-mosaic > *,
.hf-mosaic__label > span,
.hf-measure > *,
.hf-hero__grid > *,
.hf-hero__col > *,
.hf-screen__row > *,
.hf-why > *,
.hf-reviews > *,
.hf-reviews__grid > *,
.hf-lookbook > *,
.hf-contact > *,
.hf-pdp > *,
.hf-trustbar__inner > *,
.hf-footer__grid > *,
.hf-trust > * { min-width: 0; }

/* `overflow-x: hidden` here would turn html/body into scroll containers and
   silently break every `position: sticky` descendant — the header and the
   pinned hero among them. `clip` contains overflow without creating one.
   `hidden` stays first as a fallback for browsers without `clip`. */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  background: var(--hf-bg);
  color: var(--hf-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wp-site-blocks { position: relative; z-index: 2; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.98;
  color: var(--hf-ink);
}

::selection { background: var(--hf-orange); color: var(--hf-ink); }

img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------ focus rings

   Clicking or tapping a link, button or card should never leave a ring.
   Keyboard users still get a clear one via :focus-visible. Form fields keep
   their own orange focus treatment further down. */

a:focus,
button:focus,
summary:focus,
[role="button"]:focus,
.wp-block-button__link:focus,
.woocommerce a.button:focus,
.woocommerce button.button:focus {
  outline: none;
  box-shadow: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--hf-ink);
  outline-offset: 3px;
}

/* These are image-filling or pill-shaped, so a ring would clip badly. */
.hf-logo:focus,
.hf-logo:focus-visible,
.hf-card__media:focus,
.hf-card__media:focus-visible,
.hf-card__title:focus,
.hf-card__title:focus-visible,
.hf-card__cta a:focus,
.hf-card__cta a:focus-visible,
.hf-tile:focus,
.hf-tile:focus-visible,
.hf-mosaic__tile:focus,
.hf-mosaic__tile:focus-visible,
.hf-catslider__item:focus,
.hf-catslider__item:focus-visible,
.hf-lookbook__item:focus,
.hf-lookbook__item:focus-visible,
.hf-screen__media:focus,
.hf-screen__media:focus-visible,
.hf-mega__promo:focus,
.hf-mega__promo:focus-visible,
.woocommerce ul.products li.product a:focus,
.woocommerce ul.products li.product a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Keep those reachable by keyboard with a soft brightness cue instead. */
.hf-card__media:focus-visible img,
.hf-tile:focus-visible img,
.hf-mosaic__tile:focus-visible img { filter: brightness(1.06); }

.hf-logo:focus-visible,
.hf-card__title:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------ utilities */

.hf-container {
  margin-inline: auto;
  width: 100%;
  max-width: var(--hf-max);
  padding-inline: var(--hf-pad);
}

.hf-section { position: relative; padding-block: 64px; }
@media (min-width: 768px) { .hf-section { padding-block: 128px; } }
.hf-section--paper { background: var(--hf-bg); color: var(--hf-ink); }
.hf-section--alt { background: var(--hf-surface-alt); color: var(--hf-ink); }
.hf-section--ink { background: var(--hf-ink); color: var(--hf-offwhite); }
.hf-section--ink h1, .hf-section--ink h2, .hf-section--ink h3 { color: var(--hf-offwhite); }
.hf-section--tight { padding-block: 48px; }
@media (min-width: 768px) { .hf-section--tight { padding-block: 80px; } }

.hf-display {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.hf-eyebrow {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  line-height: 1.4;
  color: var(--hf-orange-text);
  margin: 0 0 12px;
}

.hf-caps {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hf-price,
.woocommerce-Price-amount,
.wc-block-components-formatted-money-amount,
.wc-block-components-product-price {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hf-scrim { background: linear-gradient(to top, rgba(20, 17, 15, 0.72), rgba(20, 17, 15, 0.3)); }

.hf-shelf {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hf-shelf::-webkit-scrollbar { display: none; }
.hf-shelf > * { scroll-snap-align: start; flex: 0 0 auto; }

.hf-stars { color: var(--hf-orange-text); letter-spacing: 1px; display: inline-flex; gap: 1px; }

@keyframes hf-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes hf-pulse {
  0%, 92%, 100% { box-shadow: 0 0 0 0 var(--hf-orange-tint); }
  96% { box-shadow: 0 0 0 14px rgba(255, 78, 0, 0); }
}

.hf-reveal { animation: hf-fade-up 0.6s var(--hf-ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------ section heading */

.hf-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .hf-head { margin-bottom: 48px; } }

.hf-head h2 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
}

.hf-head__action {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--hf-orange-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hf-section--ink .hf-eyebrow { color: var(--hf-orange); }

/* --------------------------------------------------------------- buttons */

.hf-btn,
.wp-block-button__link,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wc-block-components-checkout-place-order-button {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px !important;
  line-height: 1.2;
  border-radius: var(--hf-radius-btn);
  padding: 14px 24px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms var(--hf-ease);
  box-shadow: none;
}

.hf-btn--orange,
.woocommerce button.single_add_to_cart_button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
  background: var(--hf-orange) !important;
  color: var(--hf-ink) !important;
  border-color: var(--hf-orange) !important;
}

.hf-btn--orange:hover,
.woocommerce button.single_add_to_cart_button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
  background: var(--hf-orange-hover) !important;
  color: var(--hf-ink) !important;
}

.hf-btn--black,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  border-color: var(--hf-ink);
}

.hf-btn--black:hover,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
  background: var(--hf-ink-soft);
  color: var(--hf-offwhite);
}

.hf-btn--outline,
.wp-block-button.is-style-outline > .wp-block-button__link,
.woocommerce a.button:not(.alt):not(.single_add_to_cart_button) {
  background: transparent;
  color: var(--hf-ink);
  border: 1px solid var(--hf-ink);
}

.hf-btn--outline:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.woocommerce a.button:not(.alt):not(.single_add_to_cart_button):hover {
  background: var(--hf-ink);
  color: var(--hf-offwhite);
}

.hf-btn--light {
  background: transparent;
  color: var(--hf-offwhite);
  border: 1px solid rgba(245, 243, 240, 0.7);
}
.hf-btn--light:hover { background: var(--hf-offwhite); color: var(--hf-ink); }

.hf-btn--pill { border-radius: 999px; }

/* --------------------------------------------------------------- inputs */

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], select, textarea,
.wc-block-components-text-input input, .wc-block-components-textarea {
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-input);
  background: var(--hf-surface);
  color: var(--hf-ink);
  padding: 12px 14px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 15px;
  transition: border-color 200ms var(--hf-ease), box-shadow 200ms var(--hf-ease);
}

input:focus, select:focus, textarea:focus,
.wc-block-components-text-input input:focus {
  outline: none;
  border-color: var(--hf-orange);
  box-shadow: 0 0 0 3px rgba(255, 78, 0, 0.2);
}

/* ================================================================ HEADER */

.hf-header { position: sticky; top: 0; z-index: 50; }

.hf-announce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  padding-inline: 40px;
}

.hf-announce p {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-announce__close {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  background: none;
  border: 0;
  color: rgba(245, 243, 240, 0.7);
  cursor: pointer;
}
.hf-announce__close:hover { color: var(--hf-offwhite); }

.hf-header__shell {
  transition: background-color 200ms, border-color 200ms;
  border-bottom: 1px solid var(--hf-border);
  background: var(--hf-bg);
}

/* transparent-over-hero variant */
.hf-header--transparent:not(.is-scrolled) .hf-header__shell {
  background: transparent;
  border-bottom-color: transparent;
}
.hf-header--transparent:not(.is-scrolled) .hf-header__bar { color: var(--hf-offwhite); }
.hf-header--transparent:not(.is-scrolled) .hf-nav__link,
.hf-header--transparent:not(.is-scrolled) .hf-icon-btn { color: var(--hf-offwhite); }
.hf-header--transparent:not(.is-scrolled) .hf-nav__custom { border-color: rgba(245, 243, 240, 0.6); color: var(--hf-offwhite); }
.hf-header--transparent:not(.is-scrolled) .hf-nav__sale { color: var(--hf-orange); }
.hf-header--transparent:not(.is-scrolled) .hf-logo img { filter: brightness(0) invert(1); }

/* mobile bar */
.hf-header__mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: 12px;
}
@media (min-width: 768px) { .hf-header__mobile { display: none; } }

/* desktop bar */
.hf-header__bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 24px;
  height: 88px;
  color: var(--hf-ink);
  transition: height 200ms;
  max-width: 1600px;
  margin-inline: auto;
}
@media (min-width: 768px) { .hf-header__bar { display: flex; } }
@media (min-width: 1280px) { .hf-header__bar { padding-inline: 48px; gap: 32px; } }
.hf-header.is-scrolled .hf-header__bar { height: 64px; }

.hf-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.hf-logo img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 1280px) { .hf-logo img { height: 52px; max-width: 190px; } }
.hf-header.is-scrolled .hf-logo img { height: 40px; }
.hf-header__mobile .hf-logo img { height: 40px; max-width: 130px; }

.hf-logo__text {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 20px;
  color: inherit;
}

.hf-header__actions { display: flex; align-items: center; gap: 4px; }

.hf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--hf-ink);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  line-height: 0;
}
.hf-icon-btn svg { width: 18px; height: 18px; display: block; }
.hf-header__mobile .hf-icon-btn svg { width: 20px; height: 20px; }

/* The count is swapped by AJAX fragments, so it needs a wrapper element.
   `display: contents` keeps that wrapper from becoming a second flex item
   and knocking the icon off centre. */
.hf-icon-btn > [data-hf-cart-count],
.hf-mobilebar [data-hf-cart-count] { display: contents; }

.hf-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  height: 16px;
  min-width: 16px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  background: var(--hf-orange);
  color: var(--hf-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ------------------------------------------------------------- mega menu */

.hf-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.hf-nav__list {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1280px) { .hf-nav__list { gap: 28px; } }

.hf-nav__list li,
.hf-nav__item { list-style: none; }

/* Each item fills the full bar height so its bottom edge meets the top of
   the mega panel. Without this there is a dead band between them and the
   pointer loses :hover on the way down. */
.hf-nav__item {
  display: flex;
  align-items: center;
}
.hf-nav__list li::marker,
.hf-mega__col li::marker { content: ""; }

.hf-header__actions { flex: 0 0 auto; }

.hf-nav__link {
  position: relative;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--hf-ink);
  text-decoration: none;
  padding-block: 8px;
  white-space: nowrap;
}

.hf-nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--hf-orange);
  transform: translateX(-50%);
  transition: width 200ms, left 200ms, transform 200ms;
}

.hf-nav__item:hover > .hf-nav__link::after,
.hf-nav__link:focus-visible::after {
  width: 100%;
  left: 0;
  transform: none;
}

.hf-nav__custom {
  border: 1px solid var(--hf-ink);
  padding: 6px 12px;
  color: var(--hf-ink);
}
.hf-nav__custom::after { display: none; }

.hf-nav__sale { color: var(--hf-orange-text); }

.hf-nav__item { position: static; }

.hf-mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  display: none;
  background: var(--hf-surface);
  border-bottom: 1px solid var(--hf-border);
  box-shadow: 0 8px 32px rgba(20, 17, 15, 0.08);
  z-index: 40;
}

/* A few pixels of overlap onto the header so sub-pixel rounding can never
   reopen the gap. */
.hf-mega::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -10px;
  height: 10px;
}

@media (min-width: 768px) {
  /* No-JS fallback: plain hover. */
  .hf-nav__item:hover > .hf-mega,
  .hf-nav__item:focus-within > .hf-mega {
    display: block;
    animation: hf-fade-up 180ms var(--hf-ease) both;
  }

  /* With JS the open state is driven by hover intent, which adds a short
     close delay so diagonal pointer moves don't dismiss the panel. */
  .hf-js .hf-nav__item:hover > .hf-mega { display: none; }

  .hf-js .hf-nav__item.is-open > .hf-mega,
  .hf-js .hf-nav__item:focus-within > .hf-mega {
    display: block;
    animation: hf-fade-up 180ms var(--hf-ease) both;
  }
}

.hf-mega__inner {
  margin-inline: auto;
  max-width: var(--hf-max);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 320px;
  gap: 32px;
  padding: 40px 48px;
}

.hf-mega__col h4 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--hf-muted);
  margin: 0 0 16px;
}

.hf-mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.hf-mega__col a {
  font-size: 14px;
  color: var(--hf-ink-soft);
  text-decoration: none;
  transition: color 200ms;
}
.hf-mega__col a:hover { color: var(--hf-orange-text); }

.hf-mega__promo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  text-decoration: none;
  background: var(--hf-photo);
}
.hf-mega__promo img { width: 100%; height: 100%; object-fit: cover; }
.hf-mega__promo span.hf-scrim { position: absolute; inset: 0; }
.hf-mega__promo strong {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--hf-offwhite);
}

/* ----------------------------------------------------------- mobile nav */

.hf-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  flex-direction: column;
  background: var(--hf-bg);
}
.hf-drawer.is-open { display: flex; }
@media (min-width: 768px) { .hf-drawer { display: none !important; } }

.hf-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--hf-border);
}
.hf-drawer__head span {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 18px;
}

.hf-drawer__body { flex: 1; overflow-y: auto; }
.hf-drawer__search { padding: 16px; }
.hf-drawer__search input {
  height: 48px;
  width: 100%;
  background: var(--hf-surface-alt);
  border: 1px solid var(--hf-border);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.hf-drawer__list { list-style: none; margin: 0; padding: 0; }
.hf-drawer__list > li { border-bottom: 1px solid var(--hf-border); }

.hf-drawer__row { display: flex; align-items: stretch; }
.hf-drawer__row > a {
  flex: 1;
  display: flex;
  align-items: center;
  height: 56px;
  padding-inline: 16px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  color: var(--hf-ink);
  text-decoration: none;
}
.hf-drawer__row > a.is-sale { color: var(--hf-orange-text); }

.hf-drawer__toggle {
  width: 56px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--hf-ink);
}
.hf-drawer__toggle svg { width: 16px; height: 16px; transition: transform 200ms; }
.hf-drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.hf-drawer__sub { display: none; list-style: none; margin: 0; padding: 0 16px 16px; background: var(--hf-surface-alt); }
.hf-drawer__sub.is-open { display: block; }
.hf-drawer__sub a {
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 14px;
  color: var(--hf-ink-soft);
  text-decoration: none;
}

.hf-drawer__foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  background: var(--hf-ink);
  padding: 20px;
}
.hf-drawer__foot a {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--hf-offwhite);
  text-decoration: none;
  padding-block: 8px;
}

/* ========================================================= PRODUCT CARD */

.hf-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .hf-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1200px) {
  .hf-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Woo default loop containers adopt the same grid.
   High specificity + !important because WooCommerce ships its own
   `ul.products` grid with a hard min column width that overflows. */
body.woocommerce ul.products,
body .woocommerce ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  body.woocommerce ul.products,
  body .woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}

@media (min-width: 1200px) {
  body.woocommerce ul.products,
  body .woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

body .woocommerce ul.products li.product,
.woocommerce ul.products li.product,
li.hf-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  list-style: none;
  clear: none !important;
}

/* Woo forces height:auto on loop images — the card needs a filled 3:4 frame. */
body .woocommerce ul.products li.product a img,
body .woocommerce ul.products li.product img,
.hf-card__media img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  box-shadow: none;
  border-radius: 0;
}

.hf-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--hf-surface);
  padding: 12px;
}

.hf-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin-bottom: 12px;
}

.hf-badge {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 999px;
}
.hf-badge--new,
.hf-badge--bestseller { background: var(--hf-ink); color: var(--hf-offwhite); }
.hf-badge--sale { background: var(--hf-orange); color: var(--hf-ink); }

.hf-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  background: var(--hf-photo);
}
.hf-card__media img { transition: transform 600ms var(--hf-ease); }
.hf-card__inner:hover .hf-card__media img { transform: scale(1.05); }

.hf-card__body { display: flex; flex: 1; flex-direction: column; padding-top: 12px; }

.hf-card__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  line-height: 1.375;
  color: var(--hf-ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
a.hf-card__title:hover { color: var(--hf-ink); }

.hf-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--hf-ink);
  line-height: 1.2;
}

.hf-card__from {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hf-muted);
}

.hf-card__price del {
  color: var(--hf-muted);
  font-weight: 500;
  font-size: 13px;
  text-decoration: line-through;
}

.hf-card__price ins {
  color: var(--hf-orange-text);
  text-decoration: none;
  font-weight: 800;
}

.hf-card__price .woocommerce-Price-amount { font-weight: inherit; }

@media (max-width: 767px) {
  .hf-card__price { font-size: 13px; gap: 6px; }
  .hf-card__price del { font-size: 11px; }
}

.hf-card__swatches { display: flex; gap: 6px; margin-top: 8px; }
.hf-card__swatch {
  height: 12px;
  width: 12px;
  border-radius: 999px;
  border: 1px solid var(--hf-border);
  display: block;
}

.hf-card__cta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: center;
}

.hf-card__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--hf-orange);
  color: var(--hf-ink);
  padding: 10px 18px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 200ms;
}

@media (min-width: 768px) {
  .hf-card__cta a {
    gap: 8px;
    padding: 14px 32px;
    letter-spacing: 0.12em;
    font-size: 12px;
  }
}

.hf-card__inner:hover .hf-card__cta a { background: var(--hf-orange-hover); }
.hf-card__cta svg { height: 13px; width: 13px; flex: 0 0 auto; }
@media (min-width: 768px) { .hf-card__cta svg { height: 16px; width: 16px; } }

/* tighter card padding on small screens */
@media (max-width: 767px) {
  .hf-card__inner { border-radius: 20px; padding: 8px; }
  .hf-card__media { border-radius: 16px; }
  .hf-card__title { font-size: 11px; letter-spacing: 0.04em; }
  .hf-card__cta { padding-top: 12px; }
  .hf-badge { font-size: 9px; padding: 4px 9px; }
  .hf-card__badges { min-height: 20px; margin-bottom: 8px; }
}

/* Woo's own onsale flash + loop button are replaced by the card markup */
.woocommerce span.onsale,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .price { display: none !important; }

/* Woo block product grids (empty-cart upsell, Product Collection blocks)
   inherit the Hide Fusion card look. */
.wc-block-product-template,
.wp-block-woocommerce-product-template {
  gap: 8px !important;
}
@media (min-width: 768px) {
  .wc-block-product-template,
  .wp-block-woocommerce-product-template { gap: 24px !important; }
}

.wc-block-product-template .wc-block-product,
.wp-block-woocommerce-product-template .wc-block-product {
  background: var(--hf-surface);
  border-radius: 28px;
  padding: 12px;
  text-align: left;
  border: 0;
}

.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-woocommerce-product-image {
  overflow: hidden;
  border-radius: 24px;
  background: var(--hf-photo);
  margin-bottom: 12px;
}

.wc-block-product .wc-block-components-product-image img,
.wc-block-product .wp-block-woocommerce-product-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: auto;
  transition: transform 600ms var(--hf-ease);
}
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.05); }

.wc-block-product .wc-block-components-product-title,
.wc-block-product .wp-block-post-title {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 13px !important;
  line-height: 1.375 !important;
  margin: 0 0 8px !important;
}
.wc-block-product .wc-block-components-product-title a { text-decoration: none; color: var(--hf-ink); }

.wc-block-product .wc-block-components-product-price { font-size: 14px; display: block; margin-bottom: 12px; }
.wc-block-product .wc-block-components-product-price del { color: var(--hf-muted); font-weight: 500; }
.wc-block-product .wc-block-components-product-price ins { color: var(--hf-orange-text); text-decoration: none; }

.wc-block-product .wp-block-button__link,
.wc-block-product .wc-block-components-product-button a {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 999px !important;
  background: var(--hf-orange) !important;
  color: var(--hf-ink) !important;
  border-color: var(--hf-orange) !important;
  letter-spacing: 0.12em;
  font-size: 12px !important;
}
.wc-block-product .wp-block-button__link:hover { background: var(--hf-orange-hover) !important; }

/* related / upsell headings match the section head */
.woocommerce .related.products > h2,
.woocommerce .up-sells > h2,
.woocommerce .cross-sells > h2 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}

/* horizontal product shelf */
.hf-shelf--products { margin-inline: -16px; padding-inline: 16px; gap: 8px; }
@media (min-width: 768px) {
  .hf-shelf--products { margin-inline: 0; padding-inline: 0; gap: 24px; }
}
.hf-shelf--products > * { width: 43vw; }
@media (min-width: 768px) {
  .hf-shelf--products > * { width: calc(25% - 18px); }
}

/* ======================================================== SHOP / ARCHIVE */

.hf-archive-head { padding-block: 8px 24px; }
.hf-archive-head h1 { font-size: clamp(30px, 5vw, 56px); margin: 0 0 10px; line-height: 0.94; }
.hf-archive-head p { color: var(--hf-muted); max-width: 60ch; margin: 0; font-size: 15px; }

.hf-breadcrumb,
.woocommerce-breadcrumb {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  color: var(--hf-muted);
  margin-bottom: 24px;
}
.hf-breadcrumb a, .woocommerce-breadcrumb a { color: var(--hf-muted); text-decoration: none; }
.hf-breadcrumb a:hover, .woocommerce-breadcrumb a:hover { color: var(--hf-orange-text); }

/* ------------------------------------------------------- shop filters */

.hf-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  padding-block: 16px 0;
}

.hf-filters__group { position: relative; }

.hf-filters__group > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hf-border);
  border-radius: 999px;
  background: var(--hf-surface);
  padding: 10px 16px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-ink);
  transition: border-color 200ms var(--hf-ease);
  -webkit-tap-highlight-color: transparent;
}
.hf-filters__group > summary::-webkit-details-marker { display: none; }
.hf-filters__group > summary::marker { content: ""; }
.hf-filters__group > summary:hover { border-color: var(--hf-orange); }
.hf-filters__group[open] > summary { border-color: var(--hf-ink); }
.hf-filters__group > summary svg { transition: transform 240ms var(--hf-ease); }
.hf-filters__group[open] > summary svg { transform: rotate(180deg); }

.hf-filters__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--hf-orange);
  color: var(--hf-ink);
  font-size: 10px;
  font-weight: 800;
}

.hf-filters__terms {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-card);
  box-shadow: var(--hf-shadow-apple);
}

@media (max-width: 600px) {
  .hf-filters__group { width: 100%; }
  .hf-filters__group > summary { width: 100%; justify-content: space-between; }
  .hf-filters__terms { position: static; box-shadow: none; margin-top: 8px; }
}

.hf-filters__term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--hf-radius-input);
  font-size: 14px;
  color: var(--hf-ink-soft);
  text-decoration: none;
  transition: background-color 160ms linear, color 160ms linear;
}
.hf-filters__term:hover { background: var(--hf-surface-alt); color: var(--hf-ink); }
.hf-filters__term span { font-size: 11px; color: var(--hf-muted); font-variant-numeric: tabular-nums; }

.hf-filters__term.is-on {
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  font-weight: 700;
}
.hf-filters__term.is-on span { color: rgba(245, 243, 240, 0.7); }
.hf-filters__term.is-on::after { content: "✕"; font-size: 11px; opacity: 0.8; }

.hf-filters__clear {
  align-self: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-orange-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 16px;
  border-block: 1px solid var(--hf-border);
  margin-bottom: 32px;
}

body .woocommerce .woocommerce-result-count,
body .woocommerce .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-muted);
  margin: 0;
}

.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--hf-border);
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--hf-ink);
  background: var(--hf-surface);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  border-color: var(--hf-ink);
}

/* ======================================================= SINGLE PRODUCT */

.hf-pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) {
  .hf-pdp { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 64px; }
}

/* WooCommerce ships `div.summary { float:right; width:48% }` and
   `div.images { float:left; width:48% }`. Inside our grid those collapse
   each column to roughly half of its own track — reset them. */
body .woocommerce div.product .hf-pdp__info,
body .woocommerce div.product .hf-pdp__gallery,
.hf-pdp > .hf-pdp__info,
.hf-pdp > .hf-pdp__gallery {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hf-pdp__info { align-self: start; }
@media (min-width: 1024px) {
  .hf-pdp__info { position: sticky; top: 120px; }
}

/* gallery */
.hf-gallery__main {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  background: var(--hf-photo);
  box-shadow: var(--hf-shadow-apple);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.hf-gallery__main.is-dragging { cursor: grabbing; }

.hf-gallery__slides {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 500ms var(--hf-ease);
  will-change: transform;
}
.hf-gallery__main.is-dragging .hf-gallery__slides { transition: none; }

.hf-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hf-gallery__thumbs { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.hf-gallery__track { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.hf-gallery__track::-webkit-scrollbar { display: none; }
.hf-gallery__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 80px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--hf-photo);
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0.8;
  transition: all 400ms var(--hf-ease);
}
@media (min-width: 768px) { .hf-gallery__thumb { width: 96px; } }
.hf-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-gallery__thumb:hover { opacity: 1; }

/* No ring on the thumbnails at all — the active one is just brighter. */
.hf-gallery__thumb:focus,
.hf-gallery__thumb:focus-visible,
.hf-gallery__thumb:active,
.hf-gallery__thumb.is-active {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.hf-gallery__thumb.is-active { opacity: 1; }
.hf-gallery__thumb:not(.is-active) { opacity: 0.55; }

.hf-gallery__arrow {
  display: none;
  height: 40px;
  width: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  color: var(--hf-ink);
  box-shadow: var(--hf-shadow-soft);
  cursor: pointer;
  transition: all 400ms var(--hf-ease);
}
@media (min-width: 768px) { .hf-gallery__arrow { display: grid; } }
.hf-gallery__arrow:hover { border-color: var(--hf-orange); color: var(--hf-orange); box-shadow: var(--hf-shadow-apple); }

/* meta row */
.hf-pdp__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 12px;
  color: var(--hf-muted);
}
.hf-pdp__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hf-dot { height: 6px; width: 6px; border-radius: 999px; background: var(--hf-orange); display: inline-block; }

.hf-pdp h1.product_title,
.hf-pdp__title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.02;
  margin: 12px 0 0;
}

.hf-pdp__excerpt { margin-top: 12px; max-width: 52ch; font-size: 15px; color: var(--hf-ink-soft); }

.woocommerce div.product .hf-pdp__price,
.hf-pdp__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 30px;
  color: var(--hf-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
}
.hf-pdp__price del { color: var(--hf-muted); font-size: 15px; font-weight: 500; }
.hf-pdp__price ins { text-decoration: none; color: var(--hf-ink); }
.hf-pdp__discount {
  border-radius: 999px;
  background: var(--hf-orange);
  color: var(--hf-ink);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* variation swatches */
.hf-opt { margin-top: 24px; }
.hf-opt__label { margin: 0 0 8px; font-size: 13px; color: var(--hf-muted); }
.hf-opt__label b {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--hf-ink);
}

/* Flagged when someone tries to add to cart without choosing this option.
   Scroll takes them here; this makes it obvious what's being asked. */
.hf-opt.is-missing .hf-opt__label { color: var(--hf-orange-text); }
.hf-opt.is-missing .hf-opt__label b {
  color: var(--hf-orange-text);
  border-bottom: 2px solid var(--hf-orange);
  padding-bottom: 1px;
}

.hf-opt.is-missing .hf-size,
.hf-opt.is-missing .hf-colour {
  animation: hf-attention 900ms var(--hf-ease);
}

.hf-opt.is-missing .hf-size:not(:disabled) { border-color: var(--hf-orange); }

@keyframes hf-attention {
  0%, 100% { transform: none; }
  30% { transform: translateY(-4px); }
  60% { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .hf-opt.is-missing .hf-size,
  .hf-opt.is-missing .hf-colour { animation: none; }
}

.hf-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-size {
  height: 48px;
  min-width: 48px;
  padding-inline: 14px;
  border-radius: 16px;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  color: var(--hf-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  cursor: pointer;
  transition: all 400ms var(--hf-ease);
}
.hf-size:hover:not(:disabled) { border-color: rgba(255, 78, 0, 0.6); box-shadow: var(--hf-shadow-soft); }
.hf-size.is-active {
  border-color: transparent;
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  box-shadow: var(--hf-shadow-apple);
}
.hf-size:disabled {
  cursor: not-allowed;
  color: var(--hf-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.hf-colours { display: flex; gap: 12px; }
.hf-colour {
  height: 40px;
  width: 40px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: var(--hf-shadow-soft);
  cursor: pointer;
  padding: 0;
  transition: all 400ms var(--hf-ease);
}
.hf-colour:hover { transform: scale(1.1); box-shadow: var(--hf-shadow-apple); }
.hf-colour.is-active { border-color: var(--hf-orange); box-shadow: 0 0 0 2px rgba(255, 78, 0, 0.3), var(--hf-shadow-soft); }

/* made-to-measure box */
.hf-custom-box {
  margin-top: 24px;
  border-radius: 20px;
  background: var(--hf-orange-tint);
  padding: 16px;
  box-shadow: var(--hf-shadow-soft);
}
.hf-custom-box > label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.hf-custom-box input[type="checkbox"] { margin-top: 4px; height: 16px; width: 16px; accent-color: var(--hf-orange); }
.hf-custom-box span {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.hf-custom-fields { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hf-custom-fields.is-open { display: grid; }
.hf-custom-fields input {
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  padding-inline: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--hf-shadow-soft);
}

/* qty + cta */
.hf-cart-row { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .hf-cart-row { flex-direction: row; } }

.woocommerce div.product form.cart div.quantity,
.hf-qty {
  display: flex;
  align-items: center;
  height: 56px;
  width: fit-content;
  border-radius: 16px;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  box-shadow: var(--hf-shadow-soft);
  overflow: hidden;
  float: none !important;
  margin: 0 !important;
}
.hf-qty__btn {
  display: grid;
  place-items: center;
  height: 56px;
  width: 48px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--hf-ink);
  transition: background-color 400ms var(--hf-ease);
}
.hf-qty__btn:hover { background: var(--hf-surface-alt); }
.woocommerce div.product form.cart div.quantity input.qty,
.hf-qty input {
  width: 44px;
  height: 56px;
  border: 0 !important;
  background: transparent;
  text-align: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: none !important;
  padding: 0;
  -moz-appearance: textfield;
}
.hf-qty input::-webkit-outer-spin-button,
.hf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.woocommerce div.product form.cart button.single_add_to_cart_button {
  height: 56px;
  flex: 1;
  border-radius: 16px !important;
  background: var(--hf-ink) !important;
  color: var(--hf-offwhite) !important;
  border-color: var(--hf-ink) !important;
  box-shadow: var(--hf-shadow-apple);
  float: none !important;
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
  background: var(--hf-ink-soft) !important;
}

.hf-buynow {
  margin-top: 12px;
  height: 56px;
  width: 100%;
  border-radius: 16px !important;
  box-shadow: var(--hf-shadow-apple);
}

.woocommerce div.product form.cart { margin: 0; }
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after { display: none; }

/* Quantity + Add to cart share a row; Buy it now spans underneath. */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart.grouped_form,
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
}

.woocommerce div.product form.cart .hf-buynow {
  flex: 1 0 100%;
  margin-top: 0;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::before,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::after { display: none; }

/* add-to-cart loading + error states */
.hf-btn.is-loading,
button.single_add_to_cart_button.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.hf-btn.is-loading::after,
button.single_add_to_cart_button.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  color: var(--hf-offwhite);
  animation: hf-spin 700ms linear infinite;
}

button.single_add_to_cart_button.is-loading::after { color: var(--hf-offwhite); }
.hf-buynow.is-loading::after { color: var(--hf-ink); }

@keyframes hf-spin { to { transform: rotate(360deg); } }

.hf-cart-error {
  flex: 1 0 100%;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--hf-orange);
  background: var(--hf-orange-tint);
  color: var(--hf-orange-text);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

/* fine print + trust */
.hf-fineprint { margin-top: 20px; display: grid; gap: 6px; font-size: 13px; color: var(--hf-muted); }
.hf-fineprint a { color: var(--hf-ink); text-decoration: underline; text-underline-offset: 4px; }

.hf-trust {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-radius: 20px;
  background: var(--hf-surface-alt);
  padding: 20px;
  text-align: center;
  font-size: 11px;
  color: var(--hf-ink-soft);
  box-shadow: var(--hf-shadow-soft);
  list-style: none;
}
.hf-trust li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hf-trust svg { height: 20px; width: 20px; }

.hf-stocknote {
  margin-top: 16px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-orange-text);
}

/* accordion */
.hf-acc { margin-top: 32px; }
.hf-acc details { border-bottom: 1px solid rgba(227, 221, 213, 0.6); }

.hf-acc summary {
  list-style: none;
  cursor: pointer;
  padding-block: 18px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 200ms var(--hf-ease);
}
.hf-acc summary:hover { color: var(--hf-orange-text); }
.hf-acc summary:focus { outline: none; }
.hf-acc summary:focus-visible { outline: 2px solid var(--hf-ink); outline-offset: 4px; }
.hf-acc summary::-webkit-details-marker { display: none; }
.hf-acc summary::marker { content: ""; }

/* animated + / − built from two bars — eased to match the panel */
.hf-acc summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  position: relative;
  background:
    linear-gradient(var(--hf-muted), var(--hf-muted)) center/12px 1.5px no-repeat,
    linear-gradient(var(--hf-muted), var(--hf-muted)) center/1.5px 12px no-repeat;
  transition:
    transform 380ms cubic-bezier(0.33, 1, 0.68, 1),
    background-size 380ms cubic-bezier(0.33, 1, 0.68, 1);
}

.hf-acc details[open] summary::after {
  transform: rotate(90deg);
  background:
    linear-gradient(var(--hf-orange-text), var(--hf-orange-text)) center/12px 1.5px no-repeat,
    linear-gradient(var(--hf-orange-text), var(--hf-orange-text)) center/1.5px 0 no-repeat;
}

/* The panel is the animated box and carries no padding of its own, so
   collapsing to height 0 leaves nothing behind. Padding lives on the inner. */
.hf-acc__panel {
  overflow: hidden;
  padding: 0;
}

.hf-acc__inner {
  padding-bottom: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hf-ink-soft);
}

.hf-acc__inner > :first-child { margin-top: 0; }
.hf-acc__inner > :last-child { margin-bottom: 0; }

/* Specifications + Fit notes band. Same radius as the reviews panel that
   sits directly beneath it, so the two read as a pair. */
.hf-pdp__details {
  margin-top: 64px;
  border-radius: var(--hf-radius-card);
  overflow: hidden;
}

.hf-pdp__detail-grid { display: grid; gap: 40px; }
@media (min-width: 768px) {
  .hf-pdp__detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* spec + review columns */
.hf-spec { margin-top: 16px; }
.hf-spec > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hf-border);
  padding-block: 12px;
}
.hf-spec dt {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-muted);
  margin: 0;
}
.hf-spec dd { font-size: 14px; color: var(--hf-ink); margin: 0; text-align: right; }

.hf-bars { margin-top: 16px; display: grid; gap: 8px; }
.hf-bars > div { display: flex; align-items: center; gap: 12px; }
.hf-bars span:first-child {
  width: 24px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
}
.hf-bars .hf-bar { height: 6px; flex: 1; background: var(--hf-surface); }
.hf-bars .hf-bar > span { display: block; height: 100%; background: var(--hf-orange); }

/* ==================================================== REVIEWS PANEL */

.hf-reviews-panel {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-card);
  padding: 24px;
  scroll-margin-top: 140px;
}
@media (min-width: 768px) { .hf-reviews-panel { padding: 32px 36px; } }

.hf-reviews-panel__head {
  border-bottom: 1px solid var(--hf-border);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.hf-reviews-panel__head h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.02em;
}

/* ---- stars ---- */

.hf-rstars { display: inline-flex; gap: 2px; line-height: 1; white-space: nowrap; }
.hf-rstars .is-on { color: var(--hf-orange); }
.hf-rstars .is-off { color: var(--hf-border); }

/* ---- summary: score + distribution ---- */

.hf-reviews-summary { display: grid; gap: 24px; align-items: center; }
@media (min-width: 700px) {
  .hf-reviews-summary { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
}

.hf-reviews-summary__score { text-align: left; }
@media (min-width: 700px) {
  .hf-reviews-summary__score {
    border-right: 1px solid var(--hf-border);
    padding-right: 24px;
  }
}

.hf-reviews-summary__number {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 46px;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--hf-ink);
}

.hf-reviews-summary__caption {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--hf-muted);
}

.hf-reviews-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.hf-reviews-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.hf-reviews-bars__track {
  height: 8px;
  background: var(--hf-surface-alt);
  border-radius: 999px;
  overflow: hidden;
}

.hf-reviews-bars__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hf-orange-hover), var(--hf-orange));
  min-width: 0;
}

.hf-reviews-bars__label {
  font-size: 12px;
  color: var(--hf-muted);
  white-space: nowrap;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}
.hf-reviews-bars__label b {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--hf-ink);
}

/* ---- aspect chips ---- */

.hf-reviews-aspects,
.hf-review__aspects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hf-review__aspects { margin-top: 14px; }

.hf-reviews-aspect {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-input);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--hf-ink-soft);
  background: var(--hf-surface);
}
.hf-reviews-aspect b {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--hf-ink);
}
.hf-reviews-aspect.is-high { border-color: rgba(31, 122, 77, 0.35); }
.hf-reviews-aspect.is-high b { color: var(--hf-success); }

/* ---- review list ---- */

.hf-reviews-list { list-style: none; margin: 28px 0 0; padding: 0; }

.hf-review { border-top: 1px solid var(--hf-border); }
.hf-review:first-child { border-top: 0; }
.hf-review__inner { padding-block: 22px; }

.hf-review__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.hf-review__avatar {
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: block;
}

.hf-review__who { min-width: 0; }

.hf-review__name {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--hf-ink);
}

.hf-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--hf-muted);
  margin-top: 2px;
}

.hf-review__verified {
  background: var(--hf-orange-tint);
  color: var(--hf-orange-text);
  border-radius: 999px;
  padding: 3px 9px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
}

.hf-review__score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hf-review__score b {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.hf-review__body { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--hf-ink-soft); }
.hf-review__body p { margin: 0 0 10px; }
.hf-review__body p:last-child { margin-bottom: 0; }

.hf-review__pending {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--hf-orange-text);
  font-weight: 700;
}

/* ---- review photos ---- */

.hf-review__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.hf-review__photo {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hf-photo);
  cursor: zoom-in;
  transition: transform 300ms var(--hf-ease);
}
.hf-review__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-review__photo:hover { transform: translateY(-2px); }

/* lightbox */
.hf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(20, 17, 15, 0.88);
  padding: 24px;
}
.hf-lightbox.is-open { display: grid; }
.hf-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: var(--hf-radius-card);
  display: block;
}
.hf-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 243, 240, 0.14);
  color: var(--hf-offwhite);
  cursor: pointer;
}
.hf-lightbox__close:hover { background: rgba(245, 243, 240, 0.24); }

/* ---- read all ---- */

.hf-reviews-list .hf-review.is-hidden { display: none; }

.hf-reviews-more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--hf-orange-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hf-reviews-more svg { transition: transform 240ms var(--hf-ease); }
.hf-reviews-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---- empty state ---- */

.hf-reviews-empty { padding: 8px 0 4px; }
.hf-reviews-empty__title {
  margin: 12px 0 4px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
}
.hf-reviews-empty__copy { margin: 0; font-size: 14px; color: var(--hf-muted); }

/* ---- form ---- */

.hf-reviews-form {
  margin-top: 28px;
  border-top: 1px solid var(--hf-border);
  padding-top: 26px;
}

.hf-reviews-form__title {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  margin-bottom: 18px;
}

.hf-reviews-form .comment-reply-title { display: block; }

.hf-review-form { display: grid; gap: 16px; }

.hf-review-form p { margin: 0; }

.hf-review-form label {
  display: block;
  margin-bottom: 8px;
}

.hf-review-form input[type="text"],
.hf-review-form input[type="email"],
.hf-review-form textarea { width: 100%; }

.hf-review-form .comment-form-author,
.hf-review-form .comment-form-email { display: block; }

@media (min-width: 640px) {
  .hf-review-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hf-review-form .comment-form-rating,
  .hf-review-form .comment-form-comment,
  .hf-review-form .comment-form-hf-images,
  .hf-review-form .hf-review-aspects-input,
  .hf-review-form .form-submit,
  .hf-review-form .hf-reviews-form__note,
  .hf-review-form .comment-notes { grid-column: 1 / -1; }
}

.hf-reviews-form__note { font-size: 12px; color: var(--hf-muted); margin: 0; }

/* star picker */
.hf-rating-input__stars { display: inline-flex; gap: 4px; }
.hf-rating-input__select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.hf-rating-input__star {
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 26px;
  line-height: 1;
  color: var(--hf-border);
  cursor: pointer;
  transition: color 140ms linear, transform 140ms var(--hf-ease);
}
.hf-rating-input__star:hover { transform: translateY(-2px); }
.hf-rating-input__star.is-on { color: var(--hf-orange); }

/* Submitted with no rating chosen. */
.hf-rating-input.is-missing .hf-rating-input__star { color: var(--hf-orange-text); opacity: 0.45; }
.hf-rating-input.is-missing > label { color: var(--hf-orange-text); }

/* WooCommerce's own star widget, if it ever appears alongside ours. */
.hf-rating-input p.stars,
.comment-form-rating p.stars { display: none !important; }

/* aspect inputs */
.hf-review-aspects-input__legend {
  display: block;
  margin-bottom: 10px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-ink);
}
.hf-review-aspects-input__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.hf-review-aspects-input__grid label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-input);
  padding: 8px 12px;
  margin: 0;
  font-size: 13px;
}
.hf-review-aspects-input__grid select {
  border: 0 !important;
  padding: 2px 4px;
  font-size: 13px;
  background: transparent;
  box-shadow: none !important;
}

/* photo upload */
.hf-review-upload__control { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; position: relative; }
.hf-review-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.hf-review-upload__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--hf-border);
  border-radius: var(--hf-radius-input);
  padding: 12px 18px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-ink);
  background: var(--hf-surface);
  transition: border-color 200ms, color 200ms;
}
.hf-review-upload:hover .hf-review-upload__button { border-color: var(--hf-orange); color: var(--hf-orange-text); }
.hf-review-upload__hint { font-size: 11px; color: var(--hf-muted); }

.hf-review-upload__previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hf-review-upload__preview {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hf-photo);
}
.hf-review-upload__preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* sticky mobile add-to-cart */
.hf-sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 60px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(227, 221, 213, 0.6);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px;
  box-shadow: var(--hf-shadow-apple);
  transform: translateY(200%);
  transition: transform 500ms var(--hf-spring);
}
.hf-sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 768px) { .hf-sticky-cta { display: none; } }
.hf-sticky-cta img { height: 48px; width: 40px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; }
.hf-sticky-cta .hf-price { flex: 0 0 auto; font-size: 16px; }
.hf-sticky-cta .hf-btn { flex: 1; height: 48px; border-radius: 14px; }

/* Woo tabs (kept, restyled) */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--hf-border);
  display: flex;
  gap: 28px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none; border: 0; border-radius: 0; margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--hf-muted);
  padding: 14px 0;
  display: block;
  border-bottom: 2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--hf-ink);
  border-bottom-color: var(--hf-orange);
}

/* hide Woo's native variation UI — we drive it from the swatches */
.woocommerce div.product form.cart .variations { display: none; }
.woocommerce div.product form.cart .woocommerce-variation-price,
.woocommerce div.product form.cart .woocommerce-variation-availability { display: none; }

/* ============================================================ CART PAGE */

.hf-cart-drawer__overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 17, 15, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}
.hf-cart-drawer__overlay.is-open { opacity: 1; pointer-events: auto; }

.hf-cart-drawer {
  position: fixed;
  z-index: 71;
  display: flex;
  flex-direction: column;
  background: var(--hf-surface);
  box-shadow: 0 8px 32px rgba(20, 17, 15, 0.08);
  transition: transform 300ms var(--hf-ease);
  inset-inline: 0;
  bottom: 0;
  max-height: 88vh;
  border-top: 1px solid var(--hf-border);
  transform: translateY(100%);
}
.hf-cart-drawer.is-open { transform: translateY(0); }

@media (min-width: 768px) {
  .hf-cart-drawer {
    inset-block: 0;
    left: auto;
    right: 0;
    width: 420px;
    max-height: none;
    border-top: 0;
    border-left: 1px solid var(--hf-border);
    transform: translateX(100%);
  }
  .hf-cart-drawer.is-open { transform: translateX(0); }
}

.hf-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hf-border);
  padding: 16px;
}
.hf-cart-drawer__head p {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
}

.hf-ship { border-bottom: 1px solid var(--hf-border); padding: 16px; }
.hf-ship p {
  margin: 0 0 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.hf-ship .is-unlocked { color: var(--hf-orange-text); }
.hf-ship__track { height: 6px; width: 100%; background: var(--hf-surface-alt); }
.hf-ship__fill { height: 100%; background: var(--hf-orange); transition: width 300ms; }

.hf-cart-drawer__body { flex: 1; overflow-y: auto; }
.hf-cart-drawer__foot { border-top: 1px solid var(--hf-border); padding: 16px; }
.hf-cart-drawer__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hf-cart-drawer__subtotal span:first-child {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.hf-cart-drawer__subtotal span:last-child { font-size: 20px; }
.hf-cart-drawer__foot .hf-btn { width: 100%; padding-block: 16px; }
.hf-cart-drawer__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--hf-muted);
}

/* busy state: only the list dims, and only slightly */
.hf-cart-drawer.is-busy .hf-cart-drawer__body { pointer-events: none; }
.hf-cart-drawer.is-busy .hf-cart-drawer__body > ul { opacity: 0.65; transition: opacity 150ms ease; }

/* a removed row collapses instead of the panel flashing */
.hf-mini-item.is-removing {
  height: 0 !important;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom-color: transparent;
  transition: height 280ms var(--hf-ease), opacity 180ms ease,
    padding 280ms var(--hf-ease);
}

/* mini-cart list item */
.hf-mini-item {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--hf-border);
  padding: 16px;
  transition: opacity 180ms ease;
}
.hf-mini-item img { height: 100px; width: 80px; flex: 0 0 auto; object-fit: cover; background: var(--hf-photo); }
.hf-mini-item__body { min-width: 0; flex: 1; }
.hf-mini-item__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  margin: 0;
  color: var(--hf-ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hf-mini-item__variant { margin: 4px 0 0; font-size: 12px; color: var(--hf-muted); }
.hf-mini-item__row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hf-mini-item__qty { display: flex; align-items: center; border: 1px solid var(--hf-border); }
.hf-mini-item__qty a, .hf-mini-item__qty button {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--hf-ink);
  text-decoration: none;
}
.hf-mini-item__qty span { width: 32px; text-align: center; font-size: 13px; }

/* --------------------------------------------- Woo blocks cart + checkout */

.wc-block-cart,
.wc-block-checkout { margin-block: 0; }

/* two-column layout with a breathing sidebar */
.wc-block-components-sidebar-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.wc-block-components-main {
  min-width: 0;
  padding-right: 0 !important;
  max-width: 100% !important;
}

.wc-block-components-sidebar {
  min-width: 0;
  max-width: 100% !important;
}

/* Two columns only on wide screens. Below that Woo switches the layout to
   `flex-direction: column`, where a flex-basis would become a HEIGHT and
   leave a tall empty gap. */
@media (min-width: 801px) {
  .wc-block-components-main { flex: 1 1 420px !important; }

  .wc-block-components-sidebar {
    flex: 0 1 380px !important;
    padding: 24px !important;
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-card);
    position: sticky;
    top: 120px;
  }
}

@media (max-width: 800px) {
  .wc-block-components-sidebar-layout > .wc-block-components-main,
  .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
    flex: 0 0 auto !important;
    width: 100% !important;
    position: static !important;
  }
}

/* Same guard keyed off Woo's own mobile flag, which it sets by container
   width rather than viewport width. */
.wc-block-checkout.is-mobile > .wc-block-components-main,
.wc-block-checkout.is-mobile > .wc-block-components-sidebar,
.wc-block-cart.is-mobile > .wc-block-components-main,
.wc-block-cart.is-mobile > .wc-block-components-sidebar {
  flex: 0 0 auto !important;
  width: 100% !important;
  position: static !important;
}

.wc-block-checkout.is-mobile,
.wc-block-cart.is-mobile { gap: 0 !important; }

/* the totals card's own inner padding would double up */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  padding-inline: 0;
  border-color: var(--hf-border);
}

.wc-block-components-sidebar .wc-block-cart__totals-title,
.wc-block-components-sidebar .wc-block-components-title {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px !important;
  color: var(--hf-ink);
  margin: 0 0 4px;
  padding: 0;
}

.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-block: 6px;
}

.wc-block-components-totals-item__value {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.wc-block-components-totals-footer-item {
  border-top: 1px solid var(--hf-border);
  padding-top: 14px;
  margin-top: 6px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 13px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 22px;
  color: var(--hf-ink);
}

/* buttons fill the card */
.wc-block-cart__submit-container,
.wc-block-cart__submit {
  padding: 0 !important;
  margin-top: 16px;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  width: 100%;
  min-height: 54px;
}

/* coupon accordion */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  padding-inline: 0;
}

/* line items */
.wc-block-cart-items__header {
  border-bottom: 1px solid var(--hf-border);
  font-size: 11px !important;
  letter-spacing: 0.1em;
}

.wc-block-cart-items td,
.wc-block-cart-item__wrap { padding-block: 20px; }

.wc-block-cart-item__image { padding-right: 16px; }
.wc-block-cart-item__image img { width: 90px; border-radius: 10px; }

.wc-block-components-product-metadata { font-size: 12px; color: var(--hf-muted); }

.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-card);
}

/* stop long money strings clipping out of the card */
.wc-block-formatted-money-amount,
.wc-block-components-formatted-money-amount { white-space: nowrap; }

/* One rounded card, not a box inside a box — drop the inner outline.
   Woo puts a 1px border + 5px radius on the order-summary block itself. */
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-sidebar .wc-block-components-order-summary,
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-sidebar > .wc-block-components-totals-wrapper {
  border: 0 !important;
  border-radius: 0 !important;
  padding-inline: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper .wc-block-components-order-summary {
  padding-inline: 0 !important;
}

.wc-block-components-sidebar .wc-block-components-order-summary__content { padding: 0; }

/* ---------------------------------------------- mobile order summary

   On narrow screens WooCommerce shows the summary twice: a collapsed
   toggle in the sidebar at the top, and a slot-filled copy just above
   Place Order. Keep only the one above Place Order. */

.wc-block-checkout.is-mobile
  .wc-block-checkout__sidebar
  > .wp-block-woocommerce-checkout-order-summary-block:not(.checkout-order-summary-block-fill-wrapper) {
  display: none !important;
}

/* the now-empty sidebar shouldn't leave a floating white card behind */
.wc-block-checkout.is-mobile .wc-block-checkout__sidebar {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* give the surviving copy the card treatment */
.wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border) !important;
  border-radius: var(--hf-radius-card) !important;
  padding: 20px !important;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .wc-block-checkout__sidebar
    > .wp-block-woocommerce-checkout-order-summary-block:not(.checkout-order-summary-block-fill-wrapper) {
    display: none !important;
  }

  .wc-block-checkout__sidebar {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* every actionable control in the blocks picks up the shared radius */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button,
.wc-block-components-totals-coupon__button,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-country-input select,
.wc-block-components-state-input select,
.wc-block-components-combobox input,
.wc-block-components-address-form input,
.wp-block-woocommerce-cart .wc-block-components-quantity-selector,
.wc-block-components-quantity-selector {
  border-radius: var(--hf-radius-btn) !important;
  overflow: hidden;
}

.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-shipping-rates-control__package {
  border-radius: var(--hf-radius-input) !important;
}

/* Woo's classic-side controls */
.woocommerce .quantity .qty,
.woocommerce-ordering select,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: var(--hf-radius-input) !important;
}

.hf-icon-btn { border-radius: 12px; }
.hf-footer__promo form,
.hf-newsletter form,
.hf-footer__social a,
.hf-catslider__arrow,
.hf-footer__pay span { border-radius: var(--hf-radius-input); }

.hf-footer__promo form,
.hf-newsletter form { overflow: hidden; }

.hf-nav__custom { border-radius: 999px; }
.hf-mini-item img { border-radius: 10px; }
.hf-ship__track,
.hf-ship__fill { border-radius: 999px; }

/* "Save $121" chip picks up the orange stamp */
.wc-block-components-sale-badge {
  background: var(--hf-orange-tint) !important;
  color: var(--hf-orange-text) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px !important;
  padding: 5px 10px !important;
}

/* order summary panel heading */
.wc-block-components-order-summary .wc-block-components-panel__button,
.wc-block-components-order-summary__title {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px !important;
  color: var(--hf-ink);
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
  font-size: 12px;
  line-height: 1.4;
}

.wc-block-components-order-summary-item__quantity {
  background: var(--hf-ink) !important;
  color: var(--hf-offwhite) !important;
  border-color: var(--hf-ink) !important;
  font-weight: 700;
}

/* checkout section headings */
.wc-block-components-checkout-step__title {
  font-size: 13px !important;
  color: var(--hf-ink);
}

.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option {
  border-color: var(--hf-border);
}

.wc-block-components-title,
.wc-block-cart-items__header,
.wc-block-components-checkout-step__title {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  background: var(--hf-photo);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.wc-block-components-product-name {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--hf-ink);
  text-decoration: none;
}

.wc-block-components-totals-item__label {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.wc-block-components-totals-footer-item { border-top: 1px solid var(--hf-border); }

.wc-block-checkout__form .wc-block-components-checkout-step {
  border-bottom: 1px solid var(--hf-border);
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.wc-block-components-checkout-step__description,
.wc-block-components-checkout-step__heading-content { color: var(--hf-muted); font-size: 13px; }

.wc-block-components-notice-banner { border-radius: var(--hf-radius-card); }

/* ================================================================= HOME */

/* hero */
.hf-hero { background: var(--hf-bg); padding-block: 24px 40px; }
@media (min-width: 768px) { .hf-hero { padding-block: 40px 64px; } }

.hf-hero__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.hf-hero__play {
  display: grid;
  place-items: center;
  height: 56px;
  width: 56px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--hf-border);
}
@media (min-width: 768px) { .hf-hero__play { height: 80px; width: 80px; } }

.hf-hero__title {
  margin: 0 auto;
  max-width: 14ch;
  text-align: center;
  font-size: clamp(34px, 10vw, 86px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--hf-ink);
}

.hf-hero__avatars { display: flex; align-items: center; flex: 0 0 auto; }
.hf-hero__avatars span {
  height: 32px;
  width: 32px;
  border-radius: 999px;
  border: 2px solid var(--hf-bg);
  display: grid;
  place-items: center;
}
@media (min-width: 768px) { .hf-hero__avatars span { height: 36px; width: 36px; } }
.hf-hero__avatars span + span { margin-left: -12px; }
.hf-hero__avatars span:nth-child(1) { background: var(--hf-photo); }
.hf-hero__avatars span:nth-child(2) { background: rgba(20, 17, 15, 0.7); }
.hf-hero__avatars span:nth-child(3) { background: var(--hf-orange); color: var(--hf-offwhite); }

.hf-hero__grid {
  position: relative;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 768px) { .hf-hero__grid { margin-top: 48px; gap: 16px; } }

.hf-hero__col { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 768px) { .hf-hero__col { gap: 16px; } }
.hf-hero__col--center { align-items: center; }
@media (min-width: 768px) { .hf-hero__col--center { margin-top: 96px; } }

.hf-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: var(--hf-photo);
}
@media (min-width: 768px) { .hf-tile { border-radius: 36px; } }
.hf-tile img { height: 100%; width: 100%; object-fit: cover; transition: transform 700ms var(--hf-ease); }
.hf-tile:hover img { transform: scale(1.05); }

.hf-tile--tall { height: 170px; }
.hf-tile--short { height: 100px; }
.hf-tile--drop { margin-top: 24px; height: 230px; }
@media (min-width: 768px) {
  .hf-tile--tall { height: 300px; }
  .hf-tile--short { height: 150px; }
  .hf-tile--drop { margin-top: 48px; height: 420px; }
}

.hf-hero__explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms;
}
@media (min-width: 768px) { .hf-hero__explore { padding: 14px 24px; font-size: 13px; } }
.hf-hero__explore:hover { background: rgba(20, 17, 15, 0.85); color: var(--hf-offwhite); }
.hf-hero__explore svg { color: var(--hf-orange); height: 16px; width: 16px; }

/* trust strip */
.hf-trustbar { border-block: 1px solid var(--hf-border); background: var(--hf-surface-alt); }
.hf-trustbar__inner {
  margin-inline: auto;
  max-width: var(--hf-max);
  padding: 20px var(--hf-pad);
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hf-trustbar__inner::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .hf-trustbar__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
}
.hf-trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-right: 32px;
}
@media (min-width: 768px) { .hf-trustbar__item { padding-right: 0; } }
.hf-trustbar__item svg { height: 20px; width: 20px; flex: 0 0 auto; color: var(--hf-ink); }
.hf-trustbar__item span {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  white-space: nowrap;
}

/* circular category slider */
.hf-catslider { position: relative; }
.hf-catslider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin-inline: -16px;
  padding-inline: 16px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

/* dragging: kill snap + link highlights so the row follows the cursor */
.hf-catslider__track.is-grabbing,
.hf-shelf--products.is-grabbing,
.hf-lookbook__track.is-grabbing,
.hf-gallery__track.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

/* No pointer-events:none here. A trailing click after a drag is already
   swallowed in JS, and disabling hit-testing on the links was killing plain
   clicks outright. */

.hf-catslider__track img,
.hf-shelf--products img,
.hf-lookbook__track img { -webkit-user-drag: none; user-select: none; }

.hf-shelf--products,
.hf-lookbook__track { cursor: grab; }
.hf-catslider__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .hf-catslider__track { gap: 40px; margin-inline: 0; padding-inline: 0; }
}

.hf-catslider__item {
  display: flex;
  width: 104px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
@media (min-width: 768px) { .hf-catslider__item { width: 136px; } }

.hf-catslider__disc {
  display: grid;
  place-items: center;
  height: 104px;
  width: 104px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--hf-photo);
}
@media (min-width: 768px) { .hf-catslider__disc { height: 136px; width: 136px; } }
.hf-catslider__disc img {
  height: 76%;
  width: 76%;
  object-fit: contain;
  transition: transform 600ms var(--hf-ease);
}
.hf-catslider__item:hover .hf-catslider__disc img { transform: scale(1.1); }

.hf-catslider__label {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  font-size: 11px;
  color: var(--hf-ink);
}
@media (min-width: 768px) { .hf-catslider__label { font-size: 12px; } }

.hf-catslider__arrow {
  position: absolute;
  top: 52px;
  display: none;
  height: 40px;
  width: 40px;
  place-items: center;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  color: var(--hf-ink);
  cursor: pointer;
  transition: background-color 200ms;
}
@media (min-width: 1024px) { .hf-catslider__arrow { display: grid; } }
.hf-catslider__arrow:hover { background: var(--hf-surface-alt); }
.hf-catslider__arrow--prev { left: -20px; }
.hf-catslider__arrow--next { right: -20px; }

/* category mosaic */
.hf-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .hf-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.hf-mosaic__tile {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  grid-column: span 1;
}
@media (min-width: 768px) { .hf-mosaic__tile { min-height: 260px; } }
.hf-mosaic__tile img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 600ms var(--hf-ease);
}
.hf-mosaic__tile:hover img { transform: scale(1.05); }
.hf-mosaic__tile .hf-scrim { position: absolute; inset: 0; }

.hf-mosaic__tile--wide { grid-column: span 2; }
.hf-mosaic__tile--feature { grid-column: span 2; }
@media (min-width: 768px) { .hf-mosaic__tile--feature { grid-row: span 2; } }

.hf-mosaic__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.hf-mosaic__label b {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(15px, 2.4vw, 26px);
  color: var(--hf-offwhite);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hf-mosaic__label small {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  color: rgba(245, 243, 240, 0.6);
  margin-top: 2px;
}
.hf-mosaic__label svg { height: 20px; width: 20px; flex: 0 0 auto; color: var(--hf-orange); transition: transform 200ms; }
.hf-mosaic__tile:hover .hf-mosaic__label svg { transform: translateX(4px); }

/* made-to-measure split banner */
.hf-measure { display: grid; background: var(--hf-ink); }
@media (min-width: 768px) { .hf-measure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hf-measure img { height: 256px; width: 100%; object-fit: cover; }
@media (min-width: 768px) { .hf-measure img { height: 100%; } }
.hf-measure__body { padding: 64px 16px; color: var(--hf-offwhite); }
@media (min-width: 768px) { .hf-measure__body { padding: 112px 64px; } }
.hf-measure__body h2 {
  margin: 16px 0 0;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 0.92;
  color: var(--hf-offwhite);
}
.hf-measure__steps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.hf-measure__steps li {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(245, 243, 240, 0.15);
  padding-bottom: 16px;
}
.hf-measure__steps b {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  color: var(--hf-orange);
}
.hf-measure__steps span { font-size: 15px; color: rgba(245, 243, 240, 0.8); }

/* shop the screen */
.hf-screen { display: grid; gap: 64px; margin-top: 56px; }
@media (min-width: 768px) { .hf-screen { gap: 96px; margin-top: 80px; } }

.hf-screen__row { display: grid; align-items: center; gap: 32px; }
@media (min-width: 768px) { .hf-screen__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }
@media (min-width: 768px) { .hf-screen__row--rev .hf-screen__media { order: 2; } }
@media (min-width: 768px) { .hf-screen__row--rev .hf-screen__body { order: 1; padding-right: 32px; } }
@media (min-width: 768px) { .hf-screen__row:not(.hf-screen__row--rev) .hf-screen__body { padding-left: 32px; } }

.hf-screen__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 20px;
}
.hf-screen__media img { height: 100%; width: 100%; object-fit: cover; transition: transform 700ms var(--hf-ease); }
.hf-screen__media:hover img { transform: scale(1.05); }

.hf-screen__body h3 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--hf-offwhite);
  margin: 0;
}
.hf-screen__body p { margin: 16px 0 0; max-width: 42ch; font-size: 15px; line-height: 1.6; color: rgba(245, 243, 240, 0.7); }
.hf-screen__body .hf-btn { margin-top: 28px; height: 48px; }
.hf-screen__body .hf-btn:hover { border-color: var(--hf-orange); background: var(--hf-orange); color: var(--hf-ink); }

/* why grid */
.hf-why { display: grid; gap: 32px; }
@media (min-width: 768px) { .hf-why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hf-why__item { border-top: 1px solid var(--hf-ink); padding-top: 20px; }
.hf-why__item svg { height: 24px; width: 24px; color: var(--hf-ink); }
.hf-why__item h3 { margin: 16px 0 0; font-size: 15px; letter-spacing: 0.05em; }
.hf-why__item p { margin: 8px 0 0; font-size: 14px; color: var(--hf-ink-soft); }

/* reviews block */
.hf-reviews { display: grid; gap: 40px; }
@media (min-width: 768px) { .hf-reviews { grid-template-columns: 280px minmax(0, 1fr); } }
.hf-reviews__score { font-size: 64px; line-height: 1; font-family: "Montserrat", system-ui, sans-serif; font-weight: 800; margin: 0; }
.hf-reviews__grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .hf-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hf-review {
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  padding: 20px;
  margin: 0;
}
.hf-review blockquote { margin: 12px 0 0; font-size: 14px; color: var(--hf-ink-soft); }
.hf-review figcaption { margin-top: 16px; }
.hf-review figcaption b {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.hf-review figcaption span { font-size: 12px; color: var(--hf-muted); }

/* lookbook */
.hf-lookbook { display: grid; gap: 32px; }
@media (min-width: 768px) { .hf-lookbook { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; } }
.hf-lookbook__aside { display: flex; flex-direction: column; justify-content: space-between; }
.hf-lookbook__tag { display: flex; align-items: flex-start; gap: 16px; }
.hf-lookbook__tag > span:first-child {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.hf-lookbook__spark {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border-radius: 999px;
  background: var(--hf-orange);
  color: var(--hf-ink);
}
.hf-lookbook__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .hf-lookbook__title { margin-top: 0; } }
.hf-lookbook__title h2 { font-size: clamp(22px, 3vw, 34px); line-height: 1.05; margin: 0; text-transform: lowercase; }
.hf-lookbook__title span { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 13px; color: var(--hf-muted); }

.hf-lookbook__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: -16px;
  padding-inline: 16px;
}
.hf-lookbook__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .hf-lookbook__track { gap: 24px; margin-inline: 0; padding-inline: 0; } }

.hf-lookbook__item { display: block; width: 62vw; flex: 0 0 auto; scroll-snap-align: start; }
@media (min-width: 768px) { .hf-lookbook__item { width: calc(33.333% - 16px); } }

.hf-lookbook__frame {
  overflow: hidden;
  background: var(--hf-photo);
  height: 300px;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 44px 100%, 0 calc(100% - 44px));
}
.hf-lookbook__frame img { height: 100%; width: 100%; object-fit: cover; transition: transform 600ms var(--hf-ease); }
.hf-lookbook__item:hover .hf-lookbook__frame img { transform: scale(1.05); }

.hf-lookbook__bar { margin-top: 32px; display: flex; align-items: center; gap: 24px; }
.hf-lookbook__bar .hf-track { height: 1px; flex: 1; background: var(--hf-border); }
.hf-lookbook__bar .hf-track > span { display: block; height: 1px; background: var(--hf-ink); transition: width 300ms; }

/* testimonial marquee */
.hf-testi { text-align: center; }
.hf-testi__quote {
  margin: 20px auto 0;
  max-width: 980px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(24px, 4.4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.hf-testi__year {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--hf-muted);
  margin-right: 12px;
  vertical-align: middle;
}
.hf-testi__quote img {
  display: inline-block;
  height: 0.82em;
  width: 0.82em;
  border-radius: 999px;
  border: 2px solid var(--hf-bg);
  object-fit: cover;
  vertical-align: middle;
  margin-inline: -4px;
  transform: translateY(0.06em);
}
.hf-testi__dot {
  display: inline-grid;
  place-items: center;
  height: 0.78em;
  width: 0.78em;
  border-radius: 999px;
  background: var(--hf-orange);
  color: var(--hf-offwhite);
  vertical-align: middle;
  margin-inline: 2px;
  transform: translateY(0.06em);
}
.hf-testi__dots { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.hf-testi__dots button {
  height: 4px;
  width: 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.2);
  cursor: pointer;
  transition: all 200ms;
}
.hf-testi__dots button.is-active { width: 40px; background: var(--hf-ink); }

/* newsletter band */
.hf-newsletter { background: var(--hf-ink); color: var(--hf-offwhite); padding-block: 56px; }
@media (min-width: 768px) { .hf-newsletter { padding-block: 80px; } }
.hf-newsletter__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.hf-newsletter__rule { display: block; height: 2px; width: 64px; background: var(--hf-orange); margin: 0 auto 24px; }
.hf-newsletter h2 { font-size: clamp(24px, 3vw, 40px); color: var(--hf-offwhite); margin: 0; }
.hf-newsletter form {
  margin: 24px auto 0;
  display: flex;
  max-width: 440px;
  border: 1px solid rgba(245, 243, 240, 0.25);
}
.hf-newsletter input {
  height: 48px;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  padding-inline: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hf-offwhite);
}
.hf-newsletter input::placeholder { color: rgba(245, 243, 240, 0.4); }
.hf-newsletter input:focus { box-shadow: none !important; }
.hf-newsletter button {
  flex: 0 0 auto;
  background: var(--hf-orange);
  color: var(--hf-ink);
  border: 0;
  padding-inline: 20px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  cursor: pointer;
}

/* ============================================================== FOOTER */

.hf-footer {
  position: relative;
  overflow: hidden;
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  padding-top: 64px;
}
@media (min-width: 768px) { .hf-footer { padding-top: 96px; } }

.hf-footer__watermark {
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18vw;
  line-height: 1;
  color: rgba(245, 243, 240, 0.04);
  pointer-events: none;
}

.hf-footer__grid {
  position: relative;
  margin-inline: auto;
  max-width: var(--hf-max);
  display: grid;
  gap: 40px;
  padding: 0 var(--hf-pad) 40px;
}
@media (min-width: 768px) { .hf-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.hf-footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); }
@media (min-width: 768px) { .hf-footer__logo { height: 64px; } }

.hf-footer__brand p { margin: 12px 0 0; max-width: 28ch; font-size: 14px; color: rgba(245, 243, 240, 0.7); }

.hf-footer__social { margin-top: 20px; display: flex; gap: 12px; }
.hf-footer__social a {
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  border: 1px solid rgba(245, 243, 240, 0.2);
  color: var(--hf-offwhite);
  transition: all 200ms;
}
.hf-footer__social a:hover { border-color: var(--hf-orange); color: var(--hf-orange); }
.hf-footer__social svg { height: 16px; width: 16px; }

.hf-footer h4 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--hf-orange);
  margin: 0 0 16px;
}

.hf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hf-footer ul a { font-size: 14px; color: rgba(245, 243, 240, 0.7); text-decoration: none; transition: color 200ms; }
.hf-footer ul a:hover { color: var(--hf-offwhite); }

.hf-footer__promo p {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.05;
  margin: 0;
}
.hf-footer__promo form { margin-top: 16px; display: flex; border: 1px solid rgba(245, 243, 240, 0.25); }
.hf-footer__promo input {
  height: 48px;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  padding-inline: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hf-offwhite);
}
.hf-footer__promo input::placeholder { color: rgba(245, 243, 240, 0.4); }
.hf-footer__promo input:focus { box-shadow: none !important; }
.hf-footer__promo button {
  display: grid;
  place-items: center;
  width: 48px;
  flex: 0 0 auto;
  background: var(--hf-orange);
  color: var(--hf-ink);
  border: 0;
  cursor: pointer;
  transition: background-color 200ms;
}
.hf-footer__promo button:hover { background: var(--hf-orange-hover); }

.hf-footer__bottom { position: relative; border-top: 1px solid rgba(245, 243, 240, 0.15); }
.hf-footer__bottom-inner {
  margin-inline: auto;
  max-width: var(--hf-max);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px var(--hf-pad);
  font-size: 12px;
  color: rgba(245, 243, 240, 0.5);
}
@media (min-width: 768px) {
  .hf-footer__bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.hf-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-footer__pay span {
  border: 1px solid rgba(245, 243, 240, 0.2);
  padding: 4px 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}

/* ===================================== FLOATING: WHATSAPP + MOBILE BAR */

.hf-whatsapp {
  position: fixed;
  bottom: 76px;
  left: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  height: 56px;
  width: 56px;
  border-radius: 999px;
  background: var(--hf-orange);
  color: var(--hf-ink);
  transition: background-color 200ms;
  animation: hf-pulse 8s ease-in-out infinite;
}
.hf-whatsapp:hover { background: var(--hf-orange-hover); color: var(--hf-ink); }
.hf-whatsapp svg { height: 24px; width: 24px; }
@media (min-width: 768px) {
  .hf-whatsapp { bottom: 24px; left: auto; right: 24px; }
}

.hf-mobilebar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: stretch;
  height: 60px;
  border-top: 1px solid var(--hf-border);
  background: var(--hf-surface);
  box-shadow: 0 -8px 32px rgba(20, 17, 15, 0.08);
  transition: transform 200ms;
}
.hf-mobilebar.is-hidden { transform: translateY(100%); }
@media (min-width: 768px) { .hf-mobilebar { display: none; } }

.hf-mobilebar a, .hf-mobilebar button {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--hf-ink);
  text-decoration: none;
}
.hf-mobilebar a.is-active { color: var(--hf-orange-text); }
.hf-mobilebar svg { height: 18px; width: 18px; }
.hf-mobilebar span {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
}
.hf-mobilebar .hf-cart-count { top: 8px; right: 16px; }

@media (max-width: 767px) {
  .hf-footer { padding-bottom: 60px; }
}

/* ============================================================= NOTICES */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-left: 3px solid var(--hf-orange);
  border-top: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-card);
  box-shadow: var(--hf-shadow-soft);
  color: var(--hf-ink);
  font-size: 14px;
  padding: 18px 20px;
  margin: 0 0 24px;
  list-style: none;
}

.woocommerce-error { border-left-color: #b3261e; }

/* Woo's default tick/info glyph — swap for a square orange marker */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  position: static;
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--hf-orange);
  border-radius: 999px;
  margin: 0;
  padding: 0;
  top: auto;
  left: auto;
}

.woocommerce-error::before { background: #b3261e; }

/* the inline "View cart" link becomes a proper button */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: auto;
  float: none !important;
  background: var(--hf-ink) !important;
  color: var(--hf-offwhite) !important;
  border-color: var(--hf-ink) !important;
  min-height: 42px;
  padding: 10px 20px;
  font-size: 11px !important;
}

.woocommerce-message .button:hover {
  background: var(--hf-ink-soft) !important;
  color: var(--hf-offwhite) !important;
}

/* block notices (cart + checkout) */
.wc-block-components-notice-banner {
  border-radius: var(--hf-radius-card) !important;
  border-left-width: 3px !important;
  border-left-color: var(--hf-orange) !important;
  background: var(--hf-surface) !important;
  color: var(--hf-ink) !important;
  font-size: 14px;
  box-shadow: var(--hf-shadow-soft);
}

.wc-block-components-notice-banner.is-error { border-left-color: #b3261e !important; }
.wc-block-components-notice-banner > svg { fill: var(--hf-orange-text); }
.wc-block-components-notice-banner.is-error > svg { fill: #b3261e; }

/* size guide table */
.hf-size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hf-size-table th, .hf-size-table td { border: 1px solid var(--hf-border); padding: 11px 13px; text-align: left; }
.hf-size-table thead th {
  background: var(--hf-surface-alt);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.hf-size-table tbody tr:nth-child(even) { background: var(--hf-surface); }

/* ==================================================== CUSTOM ORDER */

.hf-custom-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  background: var(--hf-photo);
  padding-block: 48px;
}
@media (min-width: 768px) { .hf-custom-hero { min-height: 480px; padding-block: 72px; } }
.hf-custom-hero > img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.hf-custom-hero > .hf-scrim { position: absolute; inset: 0; }
.hf-custom-hero .hf-container { position: relative; z-index: 2; }
.hf-custom-hero h1 { color: var(--hf-offwhite); font-size: clamp(34px, 6vw, 76px); margin: 0; }
.hf-custom-hero__sub { margin: 16px 0 0; max-width: 46ch; color: rgba(245, 243, 240, 0.85); font-size: 15px; }

.hf-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.hf-chip {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  color: var(--hf-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  cursor: pointer;
  transition: all 300ms var(--hf-ease);
}
.hf-chip:hover { border-color: var(--hf-orange); }
.hf-chip.is-active {
  background: var(--hf-ink);
  color: var(--hf-offwhite);
  border-color: var(--hf-ink);
  box-shadow: var(--hf-shadow-soft);
}

.hf-fields { display: grid; gap: 12px; }
.hf-fields--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hf-fields input, .hf-fields textarea {
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--hf-shadow-soft);
}
.hf-fields textarea { grid-column: 1 / -1; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }

.hf-wizard {
  border: 1px solid var(--hf-border);
  border-radius: 24px;
  background: var(--hf-surface);
  padding: 24px;
  box-shadow: var(--hf-shadow-soft);
}
@media (min-width: 768px) { .hf-wizard { padding: 40px; } }

.hf-wizard__track { display: flex; gap: 6px; margin-bottom: 28px; }
.hf-wizard__pip { height: 4px; flex: 1; border-radius: 999px; background: var(--hf-border); transition: background-color 300ms; }
.hf-wizard__pip.is-active { background: var(--hf-orange); }

.hf-wizard__step h2 { font-size: clamp(22px, 3vw, 34px); margin: 8px 0 24px; }
.hf-wizard__nav { display: flex; gap: 12px; margin-top: 32px; }
.hf-wizard__nav .hf-btn { min-height: 52px; }

.hf-wizard__done { text-align: center; padding-block: 32px; }
.hf-wizard__done h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 12px; }
.hf-wizard__done p { color: var(--hf-muted); margin: 0 0 24px; }

/* ------------------------------------------------------- contact */

.hf-contact { display: grid; gap: 40px; }
@media (min-width: 768px) { .hf-contact { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.hf-contact form .hf-btn { justify-self: start; }
.hf-contact aside h3 { font-size: 16px; margin: 0 0 12px; }
.hf-contact aside p { font-size: 14px; color: var(--hf-ink-soft); margin: 0 0 20px; }

/* screen-reader helper */
.hf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
