/*
Theme Name: Heritage Fine Jewellery Child
Theme URI: http://local.heritagefinejewellery.co.uk/
Description: Child theme for Heritage Fine Jewellery.
Author: Heritage Fine Jewellery
Template: hfj
Version: 1.0.1
Text Domain: hfj-child
*/

:root {
  --hfj-dark: #1f1b18;
  --hfj-muted: #6f675f;
  --hfj-border: rgba(31, 27, 24, 0.14);
  --hfj-cream: #f8f4ee;
  --hfj-soft: #f3eee8;
  --hfj-white: #fff;
  --hfj-accent: #8b735b;
  --hfj-font: "Poppins", "Segoe UI", Arial, sans-serif;
  --hfj-masthead-height: 192px; /* Desktop: 34px utility + 104px main + 54px nav */
}

* {
  box-sizing: border-box;
}

html {
  background: #f5f4f2;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #f5f4f2;
  color: var(--hfj-dark);
  font-family: var(--hfj-font);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--hfj-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f4f2;
  box-shadow: none;
  overflow-x: clip;
  padding-top: var(--hfj-masthead-height, 0px);
}

.site-main,
.hfj-home {
  flex: 1 0 auto;
}

/* Retail header */
.hfj-retail-header {
  --hfj-utility-row-height: 34px;
  --hfj-main-row-height: 104px;
  --hfj-nav-row-height: 54px;
  --hfj-masthead-height: calc(var(--hfj-utility-row-height) + var(--hfj-main-row-height) + var(--hfj-nav-row-height));
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  background: #f5f4f2;
  border-bottom: 0;
  font-family: var(--hfj-font);
  transform: translateY(0);
  transition:
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    border-color 220ms ease;
  will-change: transform;
}

.hfj-retail-header__inner,
.hfj-retail-footer__inner,
.hfj-retail-footer__bottom,
.hfj-home--retail .hfj-home-section__inner {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
}

.hfj-retail-header__utility {
  background: #e8ddd2;
  color: #16120f;
  font-size: 15px;
  font-weight: 400;
  max-height: 34px;
  overflow: hidden;
  transform: translateY(0);
  transition:
    max-height 500ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hfj-retail-header__utility .hfj-retail-header__inner {
  min-height: 31px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hfj-retail-header__utility-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  white-space: nowrap;
}

.hfj-retail-header__utility-group--center {
  justify-content: center;
  font-weight: 500;
  gap: 0;
}

.hfj-retail-header__utility-group--right {
  justify-content: flex-end;
}

.hfj-retail-header__utility a {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  text-decoration: none;
}

.hfj-retail-header__main,
.primary-navigation {
  max-height: 140px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 800ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 580ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hfj-retail-header__utility .material-symbols-outlined {
  font-size: 15px;
}

.hfj-retail-header__usp-rotator {
  position: relative;
  width: 260px;
  min-height: 1.3em;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
}

.hfj-retail-header__usp-item {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hfj-retail-header__usp-item .material-symbols-outlined {
  font-size: 16px;
}

.hfj-retail-header__usp-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hfj-retail-header__main-inner {
  min-height: 104px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(280px, auto) minmax(0, 1fr);
  grid-template-areas: "brand tools";
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  transition: min-height 180ms ease, padding 180ms ease;
}

.hfj-retail-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  grid-area: brand;
}

.hfj-retail-brand__logo {
  display: block;
  width: min(250px, 46vw);
  height: auto;
  transform-origin: left center;
  transition: transform 180ms ease;
}

.hfj-retail-header__nav {
  border-top: 1px solid var(--hfj-border);
  border-bottom: 1px solid var(--hfj-border);
  background: #f5f4f2;
}

.hfj-retail-header__nav-inner {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hfj-retail-header:not(.main-hidden) .primary-navigation {
  overflow: visible;
}

.hfj-retail-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 1.8vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hfj-retail-menu a {
  color: var(--hfj-dark);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.hfj-retail-menu__item {
  position: static;
}

.hfj-retail-menu__item > a {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
}

.hfj-mega-menu {
  position: absolute;
  z-index: 90;
  top: 100%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hfj-retail-menu__item--has-mega:hover .hfj-mega-menu,
.hfj-retail-menu__item--has-mega:focus-within .hfj-mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hfj-mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(1.6rem, 2.6vw, 2.5rem);
  padding-bottom: clamp(1.6rem, 2.6vw, 2.5rem);
  border: 1px solid rgba(31, 27, 24, 0.08);
  border-top: 0;
  background: rgba(252, 252, 252, 0.98);
  box-shadow: 0 18px 38px rgba(31, 27, 24, 0.11);
}

.hfj-mega-menu__title {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: #1f1b18;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.hfj-mega-menu__links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hfj-mega-menu__links a {
  display: inline-flex;
  color: #4c4640;
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-decoration: none;
  text-transform: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.hfj-mega-menu__links a:hover,
.hfj-mega-menu__links a:focus-visible,
.hfj-mega-product:hover .hfj-mega-product__title,
.hfj-mega-product:focus-visible .hfj-mega-product__title {
  color: #6f675f;
  opacity: 0.86;
}

.hfj-mega-menu__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.hfj-mega-product {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
  color: #1f1b18;
  text-decoration: none;
}

.hfj-mega-product__image {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f4f2;
}

.hfj-mega-product__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hfj-mega-product__image img[src*="hfj-favicon"],
.hfj-mega-product__image img[src*="woocommerce-placeholder"] {
  width: 46%;
  height: 46%;
  object-fit: contain;
}

.hfj-mega-product__title {
  color: #1f1b18;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.28;
  text-wrap: balance;
  transition: color 180ms ease, opacity 180ms ease;
}

.hfj-mega-product__price {
  color: #5f5851;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
}

.hfj-mega-menu__empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #6f675f;
  font-size: 0.95rem;
}

.hfj-retail-header__tools {
  grid-area: tools;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 2.5rem;
  transition: gap 180ms ease;
}

.hfj-retail-header__secondary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 1.85rem);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

.hfj-retail-header__secondary a {
  text-decoration: none;
}

.hfj-retail-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.68rem;
}

.hfj-retail-header__search {
  min-width: min(220px, 24vw);
  height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(31, 27, 24, 0.08);
  background: #f8f7f5;
}

.hfj-retail-header__search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--hfj-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 300;
}

.hfj-retail-header__search input[type="search"]::placeholder {
  color: #9b938c;
}

.hfj-retail-header__search button {
  width: 40px;
  height: 100%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--hfj-dark);
  cursor: pointer;
}

.hfj-retail-header__icon-link {
  position: relative;
  width: 34px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--hfj-dark);
  text-decoration: none;
}

.material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.cart-link__count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #818181;
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}

.hfj-retail-header__icon-link .cart-link__count {
  position: absolute;
  top: 3px;
  right: -3px;
}

.hfj-retail-header.utility-hidden .hfj-retail-header__utility {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
}

@media (min-width: 1181px) {
  .hfj-retail-header.utility-hidden .hfj-retail-header__main-inner {
    min-height: var(--hfj-main-row-height);
    padding: 12px 0;
  }
}

.hfj-retail-header.main-hidden .hfj-retail-header__main,
.hfj-retail-header.main-hidden .primary-navigation {
  pointer-events: none;
}

.hfj-retail-header.main-hidden {
  border-bottom-color: transparent;
  transform: translateY(-100%);
}

.hfj-retail-header.is-scrolled {
  box-shadow: none;
}

.hfj-retail-header.is-scrolled .hfj-retail-header__utility {
  max-height: 34px;
  opacity: 1;
}

.hfj-retail-header.is-scrolled .hfj-retail-header__main-inner {
  min-height: 104px;
  padding: 12px 0;
}

.hfj-retail-header.is-scrolled .hfj-retail-brand__logo {
  width: min(250px, 46vw);
}

.hfj-retail-header.is-scrolled .hfj-retail-header__tools {
  gap: 2.5rem;
}

.mobile-menu-toggle,
.mobile-menu__close {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--hfj-dark);
  cursor: pointer;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  place-items: center;
}

.mobile-menu-toggle__line,
.mobile-menu-toggle__line::before,
.mobile-menu-toggle__line::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.mobile-menu-toggle__line {
  position: relative;
}

.mobile-menu-toggle__line::before,
.mobile-menu-toggle__line::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-toggle__line::before {
  top: -8px;
}

.mobile-menu-toggle__line::after {
  top: 8px;
}

.mobile-menu-overlay,
.hfj-search-overlay,
.hfj-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.36);
}

.mobile-menu,
.hfj-search-dialog,
.hfj-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(420px, 92vw);
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 180ms ease;
  visibility: hidden;
}

.mobile-menu {
  right: auto;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(400px, 90vw);
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  overflow: hidden;
  background: #fff;
  transform: translateX(-100%);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 320ms;
  z-index: 110;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 220ms ease,
    visibility 0s linear 0s;
}

body.mobile-menu-open .mobile-menu,
body.hfj-search-open .hfj-search-dialog,
body.hfj-cart-drawer-open .hfj-cart-drawer {
  box-shadow: -20px 0 50px rgba(31, 27, 24, 0.18);
  transform: translateX(0);
  visibility: visible;
}

body.mobile-menu-open .mobile-menu {
  box-shadow: none;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.mobile-menu__header,
.hfj-search-dialog__header,
.hfj-cart-drawer__header {
  min-height: 76px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--hfj-border);
}

.mobile-menu__header {
  min-height: 70px;
  padding: 1rem 1.25rem;
}

.mobile-menu__close,
.hfj-search-dialog__close,
.hfj-cart-drawer__close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu__close span[aria-hidden="true"] {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
}

.mobile-menu__close span[aria-hidden="true"]::before,
.mobile-menu__close span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}

.mobile-menu__close span[aria-hidden="true"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span[aria-hidden="true"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.mobile-navigation,
.mobile-menu__footer,
.hfj-search-dialog__inner,
.hfj-cart-drawer__inner {
  padding: 1.25rem;
}

.mobile-navigation {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__list,
.hfj-retail-mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hfj-border);
  color: var(--hfj-dark);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

.mobile-menu__footer {
  flex: 0 0 auto;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--hfj-border);
  background: #f5f4f2;
}

.mobile-menu__footer a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(31, 27, 24, 0.08);
  color: var(--hfj-dark);
  font-size: 0.92rem;
  font-weight: 400;
  text-decoration: none;
}

.mobile-menu__footer a:last-child {
  border-bottom: 0;
}

.mobile-menu__cart-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #818181;
  color: #fff;
  font-size: 0.7rem;
}

body.hfj-search-open,
body.hfj-cart-drawer-open {
  overflow: hidden;
}

body.mobile-menu-open {
  touch-action: none;
}

/* Search and cart drawer */
.hfj-search-dialog__eyebrow {
  margin: 0 0 0.2rem;
  color: var(--hfj-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hfj-search-dialog h2,
.hfj-cart-drawer h2 {
  margin: 0;
}

.hfj-search-dialog__form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hfj-search-dialog__input,
.hfj-search-dialog__submit,
.hfj-home-newsletter__form input,
.hfj-home-newsletter__form button {
  min-height: 42px;
}

.hfj-search-dialog__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 0.85rem;
  border: 1px solid var(--hfj-border);
  font: inherit;
}

.hfj-search-dialog__submit,
.hfj-home-newsletter__form button,
.hfj-home-button,
.hfj-home-text-link,
.hfj-home-section__header a,
.hfj-home-category-tabs__nav a,
.hfj-home-product-card__button,
.hfj-cart-drawer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--hfj-dark);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
}

.hfj-search-dialog__results {
  display: grid;
  gap: 0.75rem;
}

.hfj-search-dialog__result {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--hfj-dark);
  text-decoration: none;
}

.hfj-search-dialog__result-image img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: var(--hfj-soft);
}

.hfj-cart-drawer__content,
.hfj-cart-drawer__items {
  display: grid;
  gap: 1rem;
}

.hfj-cart-drawer__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hfj-cart-drawer__item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.85rem;
}

.hfj-cart-drawer__remove {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hfj-cart-drawer__item-image img {
  width: 74px;
  height: 74px;
  object-fit: cover;
}

.hfj-cart-drawer__subtotal,
.hfj-cart-drawer__actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Retail homepage skeleton */
.hfj-home--retail {
  background: #f5f4f2;
  color: var(--hfj-dark);
}

.hfj-home--retail * {
  min-width: 0;
}

.hfj-home--retail .hfj-home-section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.hfj-home-section--reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}

.hfj-home-section--reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hfj-home-section--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hfj-home--retail .hfj-home-hero,
.hfj-home--retail .hfj-home-trust {
  padding: 0;
}

.hfj-home-section__header,
.hfj-home-feature__inner,
.hfj-home-brand-story__inner,
.hfj-home-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hfj-home-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 39vw, 620px);
  display: grid;
  align-items: center;
  background: #f3f1ee;
}

.hfj-home--retail .hfj-home-hero .hfj-home-section__inner {
  width: 100%;
}

.hfj-home-hero__inner {
  position: relative;
  min-height: clamp(500px, 39vw, 620px);
  display: grid;
  align-items: center;
}

.hfj-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hfj-home-hero__picture,
.hfj-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

.hfj-home-hero__image {
  object-fit: cover;
  object-position: center center;
}

.hfj-home-hero__copy {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.4rem) 0;
  text-align: center;
}

.hfj-home-hero .hfj-home-section__eyebrow {
  margin-bottom: 0.8rem;
  color: #3a3a3a;
  font-size: 27px;
  font-weight: 300;
  line-height: 1.15;
}

.hfj-home-hero__copy h1 {
  margin-bottom: 1rem;
  color: #000;
  font-size: 58px;
  font-weight: 300;
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hfj-home-hero__copy p:not(.hfj-home-section__eyebrow) {
  max-width: 40rem;
  margin: 0 auto 2.2rem;
  color: #3a3a3a;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.28;
}

.hfj-home-hero .hfj-home-button {
  min-width: 330px;
  min-height: 58px;
  border-radius: 5px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hfj-home-section__center {
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
}

.hfj-home-section__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--hfj-muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hfj-home--retail h1,
.hfj-home--retail h2,
.hfj-home--retail h3,
.hfj-home--retail p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.hfj-home-feature {
  background: #f5f4f2;
  display: flex;
  align-items: center;
}

.hfj-home-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
}

.hfj-home-feature__media {
  position: relative;
  aspect-ratio: 1 / 0.75;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hfj-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hfj-home-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hfj-home-feature__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hfj-home-feature__copy h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.85rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hfj-home-feature__copy p {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  color: var(--hfj-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.hfj-home-feature .hfj-home-button {
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.hfj-home-style-card__media,
.hfj-home-journal-card__image,
.hfj-home-instagram__grid span {
  min-height: 160px;
  background: var(--hfj-soft);
}

.hfj-home-trust__grid,
.hfj-home-product-grid,
.hfj-home-product-rail__viewport,
.hfj-home-style-grid__cards,
.hfj-home-card-grid,
.hfj-home-instagram__grid {
  display: grid;
  gap: 1rem;
}

.hfj-home-trust {
  border: 0;
  background: #f5f4f2;
}

.hfj-home-trust__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
}

.hfj-home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hfj-home-product-rail {
  background: #f5f4f2;
  overflow: hidden;
}

.hfj-home-product-rail .hfj-home-section__header {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.hfj-home-product-rail .hfj-home-section__header h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  font-weight: 300;
  letter-spacing: 0.09em;
  line-height: 1.18;
  text-transform: uppercase;
}

.hfj-home-style-grid h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.12;
  text-transform: uppercase;
}

.hfj-home-product-rail .hfj-home-section__header p {
  max-width: 38rem;
  margin-bottom: 0;
}

.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link {
  display: inline-flex;
  order: 1;
  flex: 0 1 auto;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--hfj-dark);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  text-underline-offset: 0.24em;
  text-transform: none;
}

.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link {
  transition: color 180ms ease, opacity 180ms ease, text-decoration-color 180ms ease;
}

.hfj-home-style-card__link span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 180ms ease;
}

.hfj-home-product-rail__actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.hfj-home-product-rail__controls {
  position: relative;
  z-index: 5;
  display: flex;
  order: 2;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 0.45rem;
  pointer-events: auto;
}

.hfj-home-product-rail__control {
  position: relative;
  z-index: 6;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--hfj-dark);
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.hfj-home-product-rail__control .material-symbols-outlined {
  font-size: 31px;
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 32;
}

.hfj-home-product-rail__control:disabled {
  color: #d5d2ce;
  opacity: 1;
  cursor: default;
}

.hfj-home-product-rail__viewport {
  --hfj-product-rail-container: min(1600px, calc(100vw - 48px));
  --hfj-product-rail-peek: calc((100vw - var(--hfj-product-rail-container)) / 2);
  --hfj-product-card-width: clamp(278px, calc((var(--hfj-product-rail-container) - 7.75rem) / 4), 368px);
  --hfj-product-rail-end-space: max(0px, calc(100vw - var(--hfj-product-rail-peek) - var(--hfj-product-card-width)));
  width: 100vw;
  margin-left: calc(var(--hfj-product-rail-peek) * -1);
  padding-left: var(--hfj-product-rail-peek);
  padding-right: var(--hfj-product-rail-end-space);
  grid-auto-flow: column;
  grid-auto-columns: var(--hfj-product-card-width);
  grid-template-columns: none;
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline-start: var(--hfj-product-rail-peek);
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.hfj-home-product-rail__viewport::-webkit-scrollbar {
  display: none;
}

.hfj-home-product-rail__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.hfj-home-product-rail__viewport img,
.hfj-home-product-rail__viewport a {
  -webkit-user-drag: none;
}

.hfj-home-product-rail__viewport .hfj-home-product-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hfj-home-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hfj-home-style-grid {
  background: #f5f4f2;
}

.hfj-home-style-grid__cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hfj-home-instagram__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hfj-home-product-card,
.hfj-home-journal-card,
.hfj-home-brand-story__aside,
.hfj-home-empty {
  padding: 1rem;
  border: 1px solid var(--hfj-border);
}

.hfj-home-trust__item {
  min-height: 112px;
  display: grid;
  grid-template-rows: minmax(1.65rem, auto) minmax(2.8rem, auto);
  align-content: center;
  justify-items: center;
  padding: 1.35rem 1.1rem;
  border: 0;
  text-align: center;
}

.hfj-home-trust__item:last-child {
  border-right: 0;
}

.hfj-home-trust__item h2 {
  margin-bottom: 0.2rem;
  align-self: end;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
  overflow-wrap: break-word;
}

.hfj-home-trust__item p {
  align-self: start;
  margin-bottom: 0;
  color: var(--hfj-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.35;
  overflow-wrap: break-word;
}

@media (max-width: 1240px) {
  .hfj-home-trust__item h2 {
    font-size: 18px;
  }

  .hfj-home-trust__item p {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .hfj-home-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .hfj-home-trust__item:nth-child(2n) {
    border-right: 0;
  }

  .hfj-home-trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hfj-border);
  }

  .hfj-home-trust__item h2 {
    white-space: normal;
  }
}

.hfj-home-product-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.05rem;
  border-radius: 8px;
  background: #f6f2ec;
  overflow: hidden;
}

.hfj-home-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.hfj-home-product-rail .hfj-home-product-card__image img[src*="hfj-favicon"],
.hfj-home-product-rail .hfj-home-product-card__image img[src*="woocommerce-placeholder"],
.hfj-home-category-tabs .hfj-home-product-card__image img[src*="hfj-favicon"],
.hfj-home-category-tabs .hfj-home-product-card__image img[src*="woocommerce-placeholder"] {
  position: absolute;
  inset: 0;
  width: 44%;
  height: 44%;
  margin: auto;
  padding: 0;
}

.hfj-home-product-card__badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.hfj-home-product-card__icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f5f4f2;
  color: var(--hfj-dark);
  box-shadow: 0 5px 14px rgba(31, 27, 24, 0.08);
}

.hfj-home-product-card__icon .material-symbols-outlined {
  font-size: 18px;
}

.hfj-home-product-card {
  display: grid;
  grid-template-rows: auto minmax(2.65rem, auto) minmax(3.45rem, auto) auto;
  align-content: stretch;
  padding: 0;
  border: 0;
  background: transparent;
}

.hfj-home-product-card__title {
  min-height: 2.65rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.hfj-home-product-card__title a {
  text-decoration: none;
}

.hfj-home-product-card__meta {
  min-height: 3.45rem;
  margin-bottom: 0.45rem;
  color: var(--hfj-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hfj-home-product-card__price {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.hfj-home-product-card__footer {
  display: flex;
  align-items: center;
  align-self: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.hfj-home-product-card__footer .hfj-home-product-card__price {
  margin-bottom: 0;
}

.hfj-home-product-card__button {
  width: auto;
  min-width: 126px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  background: #1f1b18;
  border-color: #1f1b18;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    background-color 250ms ease,
    color 250ms ease,
    border-color 250ms ease,
    transform 180ms ease;
}

.hfj-home-product-rail .hfj-home-product-card__button::before,
.hfj-home-category-tabs .hfj-home-product-card__button::before {
  content: "shopping_bag";
  font-family: "Material Symbols Outlined";
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.hfj-home-product-card__button:hover,
.hfj-home-product-card__button:focus,
.hfj-home-product-card__button:active {
  background: transparent;
  color: #1f1b18;
  border-color: #1f1b18;
  transform: translateY(-1px);
}

.hfj-home-style-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #1f1b18;
  color: #fff;
  text-decoration: none;
}

.hfj-home-style-card__media {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  overflow: hidden;
  background: #1f1b18;
}

.hfj-home-style-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.58) 100%);
  pointer-events: none;
}

.hfj-home-style-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.hfj-home-style-card:hover .hfj-home-style-card__media img,
.hfj-home-style-card:focus-visible .hfj-home-style-card__media img {
  transform: scale(1.035);
}

.hfj-home-style-card__link {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  z-index: 4;
  display: grid;
  gap: 0.14rem;
  color: #fff;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-decoration: none;
  text-underline-offset: 0.24em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  transition: color 180ms ease, opacity 180ms ease, text-decoration-color 180ms ease;
}

.hfj-home-style-card__link-action {
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hfj-home-style-card:hover .hfj-home-style-card__link,
.hfj-home-style-card:focus-visible .hfj-home-style-card__link {
  opacity: 0.78;
  text-decoration: none;
}

.hfj-home-style-card:hover .hfj-home-style-card__link span[aria-hidden="true"],
.hfj-home-style-card:focus-visible .hfj-home-style-card__link span[aria-hidden="true"] {
  transform: translateX(4px);
}

.hfj-home-category-tabs {
  background: #f5f4f2;
}

.hfj-home-category-tabs .hfj-home-section__center {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.hfj-home-category-tabs h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.12;
  text-transform: uppercase;
}

.hfj-home-category-tabs .hfj-home-section__center p {
  max-width: 46rem;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--hfj-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.hfj-home-category-tabs__nav,
.hfj-home-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.hfj-home-category-tabs__nav {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.hfj-home-category-tabs__nav::-webkit-scrollbar {
  display: none;
}

.hfj-home-category-tabs__nav a {
  flex: 0 0 auto;
  min-height: auto;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--hfj-muted);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: none;
  white-space: nowrap;
}

.hfj-home-category-tabs__nav a:hover,
.hfj-home-category-tabs__nav a:focus-visible,
.hfj-home-category-tabs__nav a.is-active {
  border-color: currentColor;
  color: var(--hfj-dark);
}

.hfj-home-category-tabs__nav--primary {
  gap: clamp(1.35rem, 3vw, 3.2rem);
  justify-content: center;
  margin-bottom: 1.2rem;
}

.hfj-home-category-tabs__nav--primary a {
  font-size: clamp(1.25rem, 1.7vw, 1.56rem);
}

.hfj-home-category-tabs__nav--secondary {
  position: relative;
  gap: 0;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 0 max(40px, clamp(0.85rem, 2vw, 1.35rem));
  background: #fcfcfc;
}

.hfj-home-category-tabs__nav--secondary::before,
.hfj-home-category-tabs__nav--secondary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  width: 40px;
  pointer-events: none;
}

.hfj-home-category-tabs__nav--secondary::before {
  left: 0;
  background: linear-gradient(90deg, #f5f4f2 0%, #fcfcfc 100%);
}

.hfj-home-category-tabs__nav--secondary::after {
  right: 0;
  background: linear-gradient(270deg, #f5f4f2 0%, #fcfcfc 100%);
}

.hfj-home-category-tabs__nav--secondary a {
  position: relative;
  z-index: 2;
  padding: 1.05rem clamp(0.7rem, 1.3vw, 1.25rem);
  border-bottom-color: transparent;
  color: #151515;
  font-size: clamp(1rem, 1.25vw, 1.19rem);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.hfj-home-category-tabs__nav--secondary a:hover,
.hfj-home-category-tabs__nav--secondary a:focus-visible,
.hfj-home-category-tabs__nav--secondary a.is-active {
  border-bottom-color: #151515;
  color: #151515;
}

.hfj-home-category-tabs__nav--secondary a.is-active {
  background: #f3f3f3;
}

.hfj-home-category-tabs__panel {
  display: grid;
  gap: 1.45rem;
}

.hfj-home-category-tabs__panel.is-loading {
  opacity: 0.68;
}

.hfj-home-category-tabs__loading {
  min-height: 180px;
  display: grid;
  gap: 0.75rem;
  place-items: center;
  align-content: center;
  color: rgba(31, 27, 24, 0.72);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hfj-home-category-tabs__loading img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.78;
  animation: hfj-category-loading-pulse 1400ms ease-in-out infinite;
}

@keyframes hfj-category-loading-pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hfj-home-category-tabs__loading img {
    animation: none;
  }
}

.hfj-home-category-tabs__panel-header {
  display: block;
}

.hfj-home-category-tabs__panel-header h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hfj-home-category-tabs__panel-header a {
  color: var(--hfj-dark);
}

.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link {
  display: inline-flex;
  order: 1;
  flex: 0 1 auto;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  text-underline-offset: 0.24em;
  text-transform: none;
}

.hfj-home-category-tabs__panel-header a:hover,
.hfj-home-category-tabs__panel-header a:focus-visible {
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link:hover,
.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link:focus-visible,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link:hover,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link:focus-visible {
  opacity: 0.78;
  text-decoration: none;
  text-underline-offset: 0.24em;
}

.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link:active,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link:active {
  opacity: 0.64;
}

.hfj-home-category-tabs__products {
  gap: 1.25rem;
}

.hfj-home-category-tabs__controls {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.hfj-home-category-tabs__panel-header .hfj-home-product-rail__actions {
  width: min(100%, min(1600px, calc(100vw - 48px)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hfj-home-newsletter__form {
  display: flex;
  gap: 0.5rem;
}

.hfj-home-newsletter__form input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.85rem 1.25rem;
  border: 1px solid #ccc;
  border-radius: 32px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
}

/* Retail footer */
.hfj-retail-footer {
  margin-top: auto;
  background: #111;
  color: var(--hfj-cream);
  font-family: var(--hfj-font);
}

.hfj-retail-footer__inner {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.hfj-retail-footer__brand p {
  max-width: 22rem;
  color: rgba(248, 244, 238, 0.72);
}

.hfj-retail-footer__menus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.hfj-retail-footer__menu h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hfj-retail-footer__menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hfj-retail-footer__menu-list li + li {
  margin-top: 0.55rem;
}

.hfj-retail-footer a,
.hfj-retail-footer__menu-list li {
  color: rgba(248, 244, 238, 0.72);
  font-size: 0.86rem;
  text-decoration: none;
}

.hfj-retail-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hfj-retail-footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(248, 244, 238, 0.16);
  color: rgba(248, 244, 238, 0.58);
  font-size: 0.78rem;
}

.hfj-retail-footer__bottom p {
  margin: 0;
}

@media (max-width: 979px) {
  .hfj-home-feature__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hfj-home-feature__media {
    aspect-ratio: 1 / 0.8;
    order: -1;
  }

  .hfj-home-feature__copy h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
  }
}

@media (max-width: 1180px) {
  :root {
    --hfj-masthead-height: 104px; /* Mobile: 34px utility + 70px main + 0px nav */
  }

  .hfj-retail-header {
    --hfj-utility-row-height: 34px;
    --hfj-main-row-height: 70px;
    --hfj-nav-row-height: 0px;
  }

  .hfj-retail-header__utility {
    display: block;
    max-height: 34px;
    opacity: 1;
  }

  .hfj-retail-header.is-scrolled .hfj-retail-header__utility {
    max-height: 34px;
    opacity: 1;
  }

  .hfj-retail-header__utility .hfj-retail-header__inner {
    width: min(100% - 16px, 760px);
    min-height: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, auto) minmax(0, 1fr);
    gap: 0.35rem;
  }

  .hfj-retail-header__utility-group {
    gap: 0.35rem;
    font-size: 12px;
  }

  .hfj-retail-header__utility-group--left {
    justify-content: flex-start;
  }

  .hfj-retail-header__utility-group--right {
    justify-content: flex-end;
  }

  .hfj-retail-header__utility-group--center {
    min-width: 0;
    justify-content: center;
  }

  .hfj-retail-header__utility-group--left a,
  .hfj-retail-header__utility-group--right a {
    min-height: 30px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hfj-retail-header__usp-rotator {
    width: min(210px, 38vw);
    font-size: 12px;
  }

  .hfj-retail-header__usp-item {
    gap: 0.2rem;
  }

  .hfj-retail-header__usp-item .material-symbols-outlined {
    font-size: 14px;
  }

  .hfj-retail-header.is-scrolled .hfj-retail-header__main-inner {
    min-height: 70px;
    padding: 4px 0;
  }

  .hfj-retail-header.is-scrolled .hfj-retail-brand__logo {
    width: min(142px, 42vw);
  }

  .hfj-retail-header__main-inner {
    min-height: 70px;
    padding: 4px 0;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "menu brand actions";
    gap: 0.35rem;
  }

  .hfj-retail-header__menu-toggle,
  .mobile-menu-toggle {
    grid-area: menu;
    display: inline-grid;
  }

  .hfj-retail-header__nav {
    display: none;
  }

  .hfj-retail-brand {
    grid-area: brand;
    justify-self: center;
  }

  .hfj-retail-brand__logo {
    width: min(142px, 42vw);
    transform-origin: center center;
  }

  .hfj-retail-header__tools {
    grid-area: actions;
  }

  .hfj-retail-header__secondary {
    display: none;
  }

  .hfj-retail-header__actions {
    gap: 0.05rem;
  }

  .hfj-retail-header__search {
    min-width: 36px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
  }

  .hfj-retail-header__search input[type="search"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hfj-retail-header__search button {
    width: 36px;
  }

  .hfj-retail-header__icon-link {
    width: 36px;
    height: 36px;
  }

  .hfj-retail-header__actions .material-symbols-outlined {
    font-size: 21px;
  }

  .hfj-retail-header__actions .hfj-retail-header__icon-link:nth-child(2),
  .hfj-retail-header__actions .hfj-retail-header__icon-link:nth-child(3) {
    display: none;
  }
}

@media (max-width: 980px) {
  .hfj-retail-header {
    --hfj-utility-row-height: 34px;
    --hfj-main-row-height: 70px;
    --hfj-nav-row-height: 0px;
  }

  .hfj-retail-header__utility {
    display: block;
    max-height: 34px;
    opacity: 1;
  }

  .hfj-retail-header.is-scrolled .hfj-retail-header__utility {
    max-height: 34px;
    opacity: 1;
  }

  .hfj-retail-header__utility .hfj-retail-header__inner {
    width: min(100% - 16px, 760px);
    min-height: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, auto) minmax(0, 1fr);
    gap: 0.35rem;
  }

  .hfj-retail-header__utility-group {
    gap: 0.35rem;
    font-size: 12px;
  }

  .hfj-retail-header__utility-group--left {
    justify-content: flex-start;
  }

  .hfj-retail-header__utility-group--right {
    justify-content: flex-end;
  }

  .hfj-retail-header__utility-group--center {
    min-width: 0;
    justify-content: center;
  }

  .hfj-retail-header__utility-group--left a,
  .hfj-retail-header__utility-group--right a {
    min-height: 30px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hfj-retail-header__usp-rotator {
    width: min(210px, 38vw);
    font-size: 12px;
  }

  .hfj-retail-header__usp-item {
    gap: 0.2rem;
  }

  .hfj-retail-header__usp-item .material-symbols-outlined {
    font-size: 14px;
  }

  .hfj-retail-header.is-scrolled .hfj-retail-header__main-inner {
    min-height: 70px;
    padding: 4px 0;
  }

  .hfj-retail-header.is-scrolled .hfj-retail-brand__logo {
    width: min(142px, 42vw);
  }

  .hfj-retail-header__main-inner {
    min-height: 70px;
    padding: 4px 0;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "menu brand actions";
    gap: 0.35rem;
  }

  .hfj-retail-header__menu-toggle,
  .mobile-menu-toggle {
    grid-area: menu;
    display: inline-grid;
  }

  .hfj-retail-header__nav {
    display: none;
  }

  .hfj-retail-brand {
    grid-area: brand;
    justify-self: center;
  }

  .hfj-retail-brand__logo {
    width: min(142px, 42vw);
    transform-origin: center center;
  }

  .hfj-retail-header__tools {
    grid-area: actions;
  }

  .hfj-retail-header__secondary {
    display: none;
  }

  .hfj-retail-header__actions {
    gap: 0.05rem;
  }

  .hfj-retail-header__search {
    min-width: 36px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
  }

  .hfj-retail-header__search input[type="search"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hfj-retail-header__search button {
    width: 36px;
  }

  .hfj-retail-header__icon-link {
    width: 36px;
    height: 36px;
  }

  .hfj-retail-header__actions .material-symbols-outlined {
    font-size: 21px;
  }

  .hfj-retail-header__actions .hfj-retail-header__icon-link:nth-child(2),
  .hfj-retail-header__actions .hfj-retail-header__icon-link:nth-child(3) {
    display: none;
  }

  .hfj-home-hero,
  .hfj-home-hero__inner {
    min-height: 300px;
  }

  .hfj-home-hero__copy {
    width: min(286px, calc(100% - 32px));
    max-width: calc(100vw - 32px);
  }

  .hfj-home-hero .hfj-home-section__eyebrow {
    margin-bottom: 0.45rem;
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hfj-home-hero__copy h1 {
    margin-bottom: 0.6rem;
    font-size: clamp(20px, 5.5vw, 22px);
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hfj-home-hero__copy p:not(.hfj-home-section__eyebrow) {
    margin-bottom: 1.05rem;
    font-size: clamp(16px, 4.2vw, 17px);
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hfj-home-section__header a,
  .hfj-home-button,
  .hfj-home-text-link {
    width: 100%;
  }

  .hfj-home-hero .hfj-home-button {
    width: min(238px, 100%);
    min-width: 0;
    min-height: 43px;
    padding: 0.55rem 0.9rem;
    font-size: 14px;
    line-height: 1.2;
  }

  .hfj-home-section__header,
  .hfj-home-hero__inner,
  .hfj-home-feature__inner,
  .hfj-home-brand-story__inner,
  .hfj-home-newsletter__inner,
  .hfj-home-trust__grid,
  .hfj-home-product-grid,
  .hfj-home-style-grid__cards,
  .hfj-home-card-grid,
  .hfj-home-instagram__grid,
  .hfj-retail-footer__inner,
  .hfj-retail-footer__menus {
    grid-template-columns: 1fr;
  }

  .hfj-home--retail {
    display: flex;
    flex-direction: column;
    overflow-x: clip;
  }

  .hfj-home--retail > .hfj-home-hero {
    order: 10;
  }

  .hfj-home--retail > .hfj-home-product-rail {
    order: 20;
  }

  .hfj-home--retail > .hfj-home-trust {
    order: 30;
  }

  .hfj-home--retail > .hfj-home-style-grid {
    order: 40;
  }

  .hfj-home--retail > .hfj-home-category-tabs {
    order: 50;
  }

  .hfj-home--retail > .hfj-home-feature {
    order: 60;
  }

  .hfj-home--retail > .hfj-home-brand-story {
    order: 70;
  }

  .hfj-home--retail > .hfj-home-journal {
    order: 80;
  }

  .hfj-home--retail > .hfj-home-instagram {
    order: 90;
  }

  .hfj-home--retail > .hfj-home-newsletter {
    order: 100;
  }

  .hfj-home-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfj-home-style-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfj-home-category-tabs__nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hfj-home-category-tabs__nav--primary a {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }

  .hfj-home-category-tabs__nav--secondary {
    gap: 0.35rem;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 0;
    background:
      linear-gradient(90deg, #f5f4f2 0, #fcfcfc 40px, #fcfcfc calc(100% - 40px), #f5f4f2 100%);
  }

  .hfj-home-category-tabs__nav--secondary::before,
  .hfj-home-category-tabs__nav--secondary::after {
    content: none;
  }

  .hfj-home-category-tabs__nav--secondary a {
    padding: 0.9rem 0.8rem;
    font-size: clamp(0.94rem, 4.1vw, 1.06rem);
  }

  .hfj-home-product-rail .hfj-home-section__inner {
    width: calc(100vw - 48px);
  }

  .hfj-home-product-rail .hfj-home-section__header {
    width: 100%;
  }

  .hfj-home-product-rail__actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
  }

  .hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link {
    flex: 0 1 auto;
    max-width: none;
    min-width: 0;
    white-space: normal;
  }

  .hfj-home-product-rail__controls {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .hfj-home-product-rail__control {
    width: 38px;
    height: 38px;
  }

  .hfj-home-category-tabs__panel-header {
    align-items: center;
    flex-direction: row;
  }

  .hfj-home-category-tabs__panel-header .hfj-home-product-rail__actions {
    width: min(100%, calc(100vw - 48px));
  }

  .hfj-home-category-tabs__panel-header .hfj-home-product-rail__link {
    flex: 0 1 auto;
    min-width: 0;
    white-space: normal;
  }

  .hfj-home-product-rail__viewport {
    --hfj-product-rail-peek: 0px;
    --hfj-product-card-width: calc((100vw - 3rem) / 2.15);
    --hfj-product-rail-end-space: max(0px, calc(100vw - var(--hfj-product-card-width)));
    width: 100vw;
    margin-left: 0;
    grid-auto-columns: var(--hfj-product-card-width);
    margin-right: -16px;
    padding-left: 0;
    padding-right: var(--hfj-product-rail-end-space);
    scroll-padding-inline-start: 0;
  }

  .hfj-home-style-grid__cards {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    gap: 4px;
  }

  .hfj-home-style-card {
    border-radius: 0;
  }

  .hfj-home-style-card__link {
    gap: 0.1rem;
    font-size: 0.82rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .hfj-home-trust__item {
    display: grid;
    place-content: center;
    border-right: 0;
    border-bottom: 1px solid var(--hfj-border);
    min-height: 132px;
    padding: 1.2rem 1rem;
  }

  .hfj-home-trust__item:nth-child(odd) {
    border-right: 1px solid var(--hfj-border);
  }

  .hfj-home-trust__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hfj-home-trust__item h2 {
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.28;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hfj-home-trust__item p {
    margin-top: 0.4rem;
    font-size: clamp(12px, 3.45vw, 14px);
    line-height: 1.42;
    overflow-wrap: break-word;
    word-break: normal;
  }

}

@media (max-width: 550px) {
  .hfj-home-product-rail__viewport {
    --hfj-product-card-width: min(74vw, calc(100vw - 48px));
    --hfj-product-rail-end-space: max(0px, calc(100vw - var(--hfj-product-card-width)));
  }

  .hfj-home-product-card__footer {
    gap: 0.5rem;
  }

  .hfj-home-product-card__price {
    font-size: 0.9rem;
  }

  .hfj-home-product-card__button {
    min-width: 104px;
    min-height: 42px;
    padding: 0.55rem 0.72rem;
    font-size: 13px;
    letter-spacing: 0;
  }

  .hfj-home-product-rail .hfj-home-product-card__button::before,
  .hfj-home-category-tabs .hfj-home-product-card__button::before {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .hfj-home-category-tabs h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    letter-spacing: 0.045em;
  }

  .hfj-home-category-tabs .hfj-home-section__center p {
    font-size: 0.9rem;
  }

  .hfj-home-style-grid h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    letter-spacing: 0.045em;
  }

  .hfj-retail-header__utility .hfj-retail-header__inner {
    width: min(100% - 10px, 640px);
    grid-template-columns: 74px minmax(0, 1fr) 74px;
    gap: 0;
  }

  .hfj-retail-header__utility-group {
    gap: 0;
  }

  .hfj-retail-header__utility-group--left,
  .hfj-retail-header__utility-group--right {
    width: 74px;
  }

  .hfj-retail-header__utility-group--left a,
  .hfj-retail-header__utility-group--right a {
    width: 35px;
    min-height: 30px;
    justify-content: center;
  }

  .hfj-retail-header__utility-group--left a span:not(.material-symbols-outlined),
  .hfj-retail-header__utility-group--right a span:not(.material-symbols-outlined) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hfj-retail-header__usp-rotator {
    width: min(210px, calc(100vw - 160px));
  }
}

@media (max-width: 360px) {
  .hfj-retail-header__utility .hfj-retail-header__inner {
    width: min(100% - 8px, 360px);
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    gap: 0;
  }

  .hfj-retail-header__utility-group--left a,
  .hfj-retail-header__utility-group--right a {
    width: 29px;
    min-height: 30px;
    justify-content: center;
  }

  .hfj-retail-header__utility-group--left,
  .hfj-retail-header__utility-group--right {
    width: 60px;
  }

  .hfj-retail-header__utility-group--left a span:not(.material-symbols-outlined),
  .hfj-retail-header__utility-group--right a span:not(.material-symbols-outlined) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hfj-retail-header__usp-rotator {
    width: min(178px, calc(100vw - 128px));
    font-size: 11px;
  }

  .hfj-retail-header__usp-item {
    gap: 0.14rem;
  }

  .hfj-retail-header__usp-item .material-symbols-outlined {
    font-size: 13px;
  }
}

/* Signed-off lower homepage and footer refinements */
.hfj-home-feature {
  background: #f5f4f2;
}

.hfj-home-feature__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(2rem, 5vw, 5.25rem);
  align-items: stretch;
}

.hfj-home-feature__media {
  min-height: clamp(360px, 35vw, 520px);
  aspect-ratio: auto;
  border-radius: 0;
}

.hfj-home-feature__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(2rem, 5vw, 4.75rem);
  background: #fff;
}

.hfj-home-feature__eyebrow {
  margin-bottom: 0.65rem;
  color: var(--hfj-muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hfj-home-feature__copy h2 {
  max-width: 14ch;
  color: #111;
  font-size: clamp(2rem, 3.4vw, 4rem);
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.hfj-home-feature__copy p {
  max-width: 36rem;
  color: #3a3734;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
}

.hfj-home-feature .hfj-home-button,
.hfj-home-brand-story__actions .hfj-home-button:not(.hfj-home-button--outline) {
  background: #1f1b18;
  color: #fff;
  border-color: #1f1b18;
}

.hfj-home-button--outline {
  background: transparent;
  color: #1f1b18;
  border-color: #1f1b18;
}

.hfj-home-brand-story {
  background: #f5f4f2;
}

.hfj-home-brand-story__inner {
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.hfj-home-brand-story__copy h2 {
  margin-bottom: 1.1rem;
  color: #111;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
}

.hfj-home-brand-story__copy h2 span {
  display: block;
}

.hfj-home-brand-story__copy p {
  max-width: 62rem;
  margin-bottom: 0.9rem;
  color: #1f1b18;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.48;
}

.hfj-home-badge-list {
  gap: 0.75rem;
  margin: 1.4rem 0 1.6rem;
}

.hfj-home-badge-list li {
  min-height: 36px;
  padding: 0.55rem 1.15rem;
  border: 1px solid #d6d1cc;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.62);
  color: #1f1b18;
  font-size: 0.9rem;
  list-style: none;
}

.hfj-home-brand-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.hfj-home-brand-story__testimonial {
  max-width: 670px;
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(31, 27, 24, 0.14);
}

.hfj-home-brand-story__testimonial strong,
.hfj-home-brand-story__testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
}

.hfj-home-brand-story__testimonial p {
  margin: 0.75rem 0 0.8rem;
  color: #6d6761;
  font-style: italic;
}

.hfj-home-brand-story__aside {
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 0;
  background: #fff;
}

.hfj-home-brand-story__aside h3 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 300;
  text-align: center;
}

.hfj-home-brand-story__contact {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
  color: #6d6761;
  list-style: none;
}

.hfj-home-brand-story__contact a {
  color: inherit;
  text-decoration: none;
}

.mobile-menu__item {
  border-bottom: 1px solid var(--hfj-border);
}

.mobile-menu__item > a {
  border-bottom: 0;
}

.mobile-menu__sublist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: -0.2rem 0 0.65rem;
  padding: 0;
  list-style: none;
}

.mobile-menu__sublist a {
  padding: 0;
  border-bottom: 0;
  color: #6f675f;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}

.hfj-home-brand-story__map {
  display: grid;
  gap: 0.65rem;
  color: #1f1b18;
  font-weight: 700;
  text-align: center;
}

.hfj-home-brand-story__map img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: saturate(0.55) brightness(1.08);
}

.hfj-home-journal {
  background: #f5f4f2;
}

.hfj-home-journal .hfj-home-section__center {
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.hfj-home-journal h2,
.hfj-home-newsletter h2 {
  color: #111;
  font-size: clamp(2.1rem, 3vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.hfj-home-journal .hfj-home-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.5vw, 2rem);
}

.hfj-home-journal-card {
  padding: 0;
  border: 0;
  background: #fff;
  text-align: center;
  box-shadow: none;
}

.hfj-home-journal-card:first-child {
  box-shadow: 0 6px 16px rgba(31, 27, 24, 0.14);
}

.hfj-home-journal-card__image {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.hfj-home-journal-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  display: block;
  object-fit: cover;
}

.hfj-home-journal-card h3 {
  margin: 1.1rem 1rem 0.4rem;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 300;
  line-height: 1.3;
}

.hfj-home-journal-card h3 a {
  color: inherit;
  text-decoration: none;
}

.hfj-home-journal-card p {
  margin: 0 1.2rem 1.15rem;
  color: #6d6761;
  font-size: 0.9rem;
  line-height: 1.35;
}

.hfj-home-journal-card__button {
  width: calc(100% - 2.4rem);
  margin: 0 1.2rem 1.25rem;
  border-color: #1f1b18;
  text-transform: uppercase;
}

.hfj-home-journal__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.75rem, 7vw, 6rem);
}

.hfj-home-journal__more .hfj-home-button {
  min-width: 300px;
  min-height: 54px;
  text-transform: uppercase;
}

.hfj-home-newsletter {
  background: #f5f4f2;
  text-align: center;
}

.hfj-home-newsletter__inner {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  justify-items: center;
}

.hfj-home-newsletter h2 {
  margin-bottom: 0.65rem;
}

.hfj-home-newsletter p {
  color: #2f2a26;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.hfj-home-newsletter__form {
  width: min(600px, 100%);
  gap: 0;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(31, 27, 24, 0.12);
  overflow: hidden;
}

.hfj-home-newsletter__form input {
  min-height: 56px;
  border: 0;
  border-radius: 0;
  padding-left: 1.55rem;
}

.hfj-home-newsletter__form button {
  min-width: 138px;
  min-height: 56px;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: #1f1b18;
  color: #fff;
}

.hfj-retail-footer {
  background: #000;
  color: #fff;
}

.hfj-retail-footer__inner {
  width: min(1600px, calc(100% - 32px));
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 3.65fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(2rem, 4vw, 3.4rem) 0;
}

.hfj-retail-footer .hfj-retail-brand--footer .hfj-retail-brand__logo {
  width: min(300px, 100%);
  filter: invert(1);
}

.hfj-retail-footer__brand p {
  max-width: 320px;
  margin: 1rem 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.hfj-retail-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.hfj-retail-footer__badges span,
.hfj-retail-footer__payments span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
}

.hfj-retail-footer__socials a {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.hfj-retail-footer__menus {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3.6rem);
}

.hfj-retail-footer__menu h2 {
  margin-bottom: 0.9rem;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.hfj-retail-footer a,
.hfj-retail-footer__menu-list li {
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hfj-retail-footer__menu-list li + li {
  margin-top: 0.68rem;
}

.hfj-retail-footer__contact-list li {
  display: grid;
  gap: 0.15rem;
}

.hfj-retail-footer__contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hfj-retail-footer__contact-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.hfj-retail-footer__bottom {
  width: 100%;
  padding: 1rem max(16px, calc((100% - 1600px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.hfj-retail-footer__bottom p {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.hfj-retail-footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.hfj-retail-footer__payments span {
  border-radius: 3px;
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  .hfj-home-feature__inner,
  .hfj-home-brand-story__inner,
  .hfj-retail-footer__inner,
  .hfj-retail-footer__menus {
    grid-template-columns: 1fr;
  }

  .hfj-retail-footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hfj-home-feature__copy {
    padding: 1.6rem;
  }

  .hfj-home-journal .hfj-home-card-grid {
    grid-template-columns: 1fr;
  }

  .hfj-home-newsletter__form {
    border-radius: 18px;
    box-shadow: none;
  }

  .hfj-home-newsletter__form input,
  .hfj-home-newsletter__form button {
    width: 100%;
    border-radius: 999px;
  }

  .hfj-home-newsletter__form {
    display: grid;
    gap: 0.75rem;
    background: transparent;
  }

  .hfj-retail-footer__menus {
    grid-template-columns: 1fr;
  }

  .hfj-retail-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .hfj-retail-footer__payments {
    justify-content: flex-start;
  }
}

/* Feature banner and product-card interaction fixes */
.hfj-home-feature {
  background: #e8e8e8;
}

.hfj-home-feature__inner {
  gap: 0;
  align-items: stretch;
  background: #e8e8e8;
}

.hfj-home-feature__media {
  min-height: clamp(360px, 34vw, 520px);
  border-radius: 0;
  background: #e8e8e8;
}

.hfj-home-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hfj-home-feature__copy {
  background: #e8e8e8;
  padding: clamp(2rem, 5vw, 5rem);
}

.hfj-home-feature__copy h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.25vw, 3.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.hfj-home-feature__copy p {
  max-width: 34rem;
  color: #3a3734;
}

.hfj-home-feature .hfj-home-button {
  background: #1f1b18;
  color: #fff;
  border-color: #1f1b18;
}

.hfj-home-product-card__button {
  width: auto;
  max-width: max-content;
  flex: 0 0 auto;
  min-width: 132px;
}

@media (max-width: 780px) {
  .hfj-home-feature__inner {
    grid-template-columns: 1fr;
  }

  .hfj-home-feature__media {
    min-height: 260px;
  }

  .hfj-home-feature__copy {
    padding: 1.6rem;
  }
}

@media (max-width: 550px) {
  .hfj-home-product-card__button {
    min-width: 104px;
    min-height: 42px;
    padding: 0.55rem 0.72rem;
    font-size: 13px;
  }
}

/* Signed-off feature banner refinement */
.hfj-home--retail .hfj-home-feature {
  padding: 0;
  background: #e8e8e8;
}

.hfj-home--retail .hfj-home-feature .hfj-home-section__inner {
  width: 100%;
  margin: 0;
}

.hfj-home-feature__inner {
  grid-template-columns: minmax(0, 54vw) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  background: #e8e8e8;
}

.hfj-home-feature__media {
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: #e8e8e8;
  overflow: hidden;
}

.hfj-home-feature__media picture,
.hfj-home-feature__media img {
  display: block;
}

.hfj-home-feature__media picture {
  width: 100%;
}

.hfj-home-feature__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center left;
}

.hfj-home-feature__copy {
  align-self: center;
  max-width: 640px;
  padding: clamp(1.5rem, 3.2vw, 3rem) clamp(2rem, 6vw, 6rem);
  background: transparent;
  text-align: center;
}

.hfj-home-feature__copy h2 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 2.6vw, 3.1rem);
  line-height: 1.1;
}

.hfj-home-feature__copy p {
  max-width: 44rem;
  margin: 0 auto 1.65rem;
  font-size: clamp(0.98rem, 1.05vw, 1.16rem);
}

.hfj-home-feature .hfj-home-button {
  min-width: 260px;
  min-height: 50px;
  border-radius: 3px;
}

@media (max-width: 1180px) {
  .hfj-home-feature__inner {
    grid-template-columns: 1fr;
  }

  .hfj-home-feature__copy {
    max-width: none;
    padding: 1.6rem 1.25rem 2rem;
  }
}

/* Feature/category sync, boutique card, map, and footer polish */
@media (max-width: 780px) {
  .hfj-home-feature__copy {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hfj-home-feature__copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.08;
  }

  .hfj-home-feature .hfj-home-button {
    justify-self: center;
    min-width: min(260px, 100%);
  }
}

.hfj-home-brand-story__contact li,
.hfj-retail-footer__contact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
}

.hfj-home-brand-story__contact .material-symbols-outlined,
.hfj-retail-footer__contact-list .material-symbols-outlined {
  margin-top: 0.05rem;
  font-size: 18px;
  line-height: 1;
}

.hfj-home-brand-story__map {
  position: relative;
  display: grid;
  gap: 0.75rem;
  color: #1f1b18;
  font-weight: 700;
  text-align: center;
}

.hfj-home-brand-story__map iframe,
.hfj-home-brand-story__map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  border: 0;
  display: block;
  background: #e8e8e8;
}

.hfj-home-brand-story__map-placeholder {
  display: grid;
  place-items: center;
  color: #6d6761;
}

.hfj-home-brand-story__map-placeholder .material-symbols-outlined {
  font-size: 42px;
}

.hfj-home-brand-story__map.is-loaded .hfj-home-brand-story__map-placeholder {
  display: none;
}

.hfj-home-brand-story__map a {
  display: inline-flex;
  justify-content: center;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hfj-retail-footer__socials {
  gap: 0.75rem;
}

.hfj-retail-footer__socials a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hfj-retail-footer__contact-list .material-symbols-outlined {
  color: #fff;
}

.hfj-retail-footer__payments {
  align-items: center;
}

.hfj-retail-footer__payments img {
  width: auto;
  height: 38px;
  display: block;
  object-fit: contain;
}

.hfj-retail-footer__payments .hfj-payment-badge {
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  color: #111;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.05;
}

.hfj-retail-footer__payments .hfj-payment-badge--ssl {
  max-width: 92px;
  color: #1f1b18;
}

.hfj-retail-footer__payments .hfj-payment-badge--visa {
  color: #173d8f;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.hfj-retail-footer__payments .hfj-payment-badge--mastercard {
  color: #d84020;
}

.hfj-retail-footer__payments .hfj-payment-badge--maestro {
  color: #0b63a7;
}

/* Current homepage/header/footer refinements */
.hfj-retail-header__secondary-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hfj-retail-header__submenu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  z-index: 120;
  min-width: 210px;
  padding: 0.55rem 0;
  border: 1px solid rgba(31, 27, 24, 0.12);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 27, 24, 0.12);
  opacity: 0;
  transform: translate(-50%, 8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.hfj-retail-header__submenu a {
  display: block;
  padding: 0.62rem 1rem;
  color: #1f1b18;
  font-size: 0.92rem;
  white-space: nowrap;
}

.hfj-retail-header__secondary-item:hover .hfj-retail-header__submenu,
.hfj-retail-header__secondary-item:focus-within .hfj-retail-header__submenu {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

.hfj-cart-drawer__header {
  margin-bottom: 0.65rem;
}

.hfj-cart-drawer__inner {
  padding-top: 1rem;
}

.hfj-cart-drawer__items {
  gap: 1.35rem;
}

.hfj-cart-drawer__item {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 1rem;
  padding-top: 0.35rem;
}

.hfj-cart-drawer__item + .hfj-cart-drawer__item {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(31, 27, 24, 0.1);
}

.hfj-cart-drawer__item-image img {
  width: 86px;
  height: 86px;
  border-radius: 6px;
  background: #f5f4f2;
  object-fit: contain;
}

.hfj-cart-drawer__item-details h3,
.hfj-cart-drawer__item-details h3 a {
  color: #1f1b18;
  text-decoration: none;
}

.hfj-cart-drawer__item-details h3 a:hover,
.hfj-cart-drawer__item-details h3 a:focus {
  color: #6d6761;
}

.hfj-cart-drawer__button,
.hfj-cart-drawer__actions a,
.hfj-cart-drawer__actions button {
  border-radius: 4px;
}

.hfj-home-product-card__title {
  min-height: 2.35rem;
  margin-bottom: 0.18rem;
}

.hfj-home-product-card__meta {
  min-height: 2.35rem;
  margin-bottom: 0.18rem;
  line-height: 1.35;
}

.hfj-home-product-card__footer {
  margin-top: 0.1rem;
}

.hfj-home-feature__media img.is-fallback-image {
  width: min(34%, 220px);
  margin: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hfj-home-feature__copy,
.hfj-feature-title,
.hfj-home-feature__copy h2 {
  text-align: center;
}

.hfj-home-feature .hfj-home-button {
  justify-self: center;
}

.hfj-home-brand-story__contact li > span:not(.material-symbols-outlined) > span,
.hfj-retail-footer__contact-list li > span:not(.material-symbols-outlined) > span {
  display: block;
}

.hfj-home-brand-story__map a {
  min-height: 38px;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: background-color 200ms ease, color 200ms ease, transform 180ms ease;
}

.hfj-home-brand-story__map a:hover,
.hfj-home-brand-story__map a:focus,
.hfj-home-brand-story__map a:active {
  background: #1f1b18;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.hfj-retail-footer__socials a svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

@media (max-width: 780px) {
  .hfj-home-feature__copy h2,
  .hfj-feature-title {
    font-size: clamp(1.6rem, 7.5vw, 2.25rem);
    line-height: 1.08;
  }

  .hfj-home-feature__media img.is-fallback-image {
    width: min(40%, 150px);
  }
}

/* Homepage AJAX add-to-cart and inline link cleanup */
.hfj-home-product-card__button.added {
  display: none;
}

.hfj-home-product-card__footer .added_to_cart,
.hfj-home-product-card__footer .wc-forward {
  width: auto;
  min-width: 126px;
  min-height: 48px;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid #1f1b18;
  border-radius: 4px;
  background: transparent;
  color: #1f1b18;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 180ms ease;
}

.hfj-home-product-card__footer .added_to_cart:hover,
.hfj-home-product-card__footer .added_to_cart:focus-visible,
.hfj-home-product-card__footer .wc-forward:hover,
.hfj-home-product-card__footer .wc-forward:focus-visible {
  background: #1f1b18;
  color: #fff;
  transform: translateY(-1px);
}

.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link,
.hfj-home-product-rail__link {
  color: #1f1b18;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  transition: color 180ms ease, opacity 180ms ease;
}

.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link:hover,
.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link:focus-visible,
.hfj-home-product-rail .hfj-home-section__header .hfj-home-product-rail__link:active,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link:hover,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link:focus-visible,
.hfj-home-category-tabs__panel-header .hfj-home-product-rail__link:active,
.hfj-home-product-rail__link:hover,
.hfj-home-product-rail__link:focus-visible,
.hfj-home-product-rail__link:active {
  background: transparent;
  color: #6f675f;
  opacity: 0.85;
  text-decoration: underline;
  transform: none;
}

.mobile-menu__parent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.mobile-menu__parent-row > a {
  border-bottom: 0;
}

.mobile-menu__submenu-toggle {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #1f1b18;
  cursor: pointer;
}

.mobile-menu__submenu-toggle .material-symbols-outlined {
  font-size: 1.45rem;
  transition: transform 180ms ease;
}

.mobile-menu__item.is-open .mobile-menu__submenu-toggle .material-symbols-outlined {
  transform: rotate(180deg);
}

.mobile-menu__sublist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: -0.12rem 0 0.65rem;
  padding: 0 0 0.5rem;
  border-bottom: 0;
}

.mobile-menu__sublist[hidden] {
  display: none;
}

.mobile-menu__sublist a {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.42rem 0 0.42rem 1rem;
  border: 0;
  border-top: 1px solid rgba(31, 27, 24, 0.08);
  border-radius: 0;
  background: transparent;
  color: #4f4943;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.mobile-menu__sublist a:hover,
.mobile-menu__sublist a:focus-visible {
  color: #1f1b18;
  opacity: 0.72;
}

@media (max-width: 360px) {
  .mobile-menu__sublist {
    margin-bottom: 0.45rem;
  }

  .mobile-menu__sublist a {
    min-height: 30px;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
    font-size: 0.78rem;
  }
}

.hfj-home-feature__copy {
  justify-items: center;
  text-align: center;
}

.hfj-home-feature__media img.is-fallback-image,
.hfj-home-feature__eyebrow,
.hfj-home-feature__copy h2,
.hfj-home-feature__copy p,
.hfj-home-feature .hfj-home-button {
  margin-left: auto;
  margin-right: auto;
}

.hfj-home-brand-story__map a {
  width: auto;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f1b18;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 180ms ease, opacity 180ms ease;
}

.hfj-home-brand-story__map a:hover,
.hfj-home-brand-story__map a:focus,
.hfj-home-brand-story__map a:focus-visible,
.hfj-home-brand-story__map a:active {
  background: transparent;
  color: #6f675f;
  opacity: 0.85;
  text-decoration: underline;
  transform: none;
}

/* HFJ WooCommerce retail layer */
.woocommerce-page,
.woocommerce {
  font-family: var(--hfj-font);
  color: #1f1b18;
}

.woocommerce-page #primary,
.woocommerce #primary {
  background: #f5f4f2;
}

.woocommerce .woocommerce-breadcrumb {
  width: min(1600px, calc(100% - 48px));
  margin: clamp(1.5rem, 3vw, 2.4rem) auto 0.55rem;
  color: #8a8178;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #5f5851;
  text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:focus-visible {
  color: #1f1b18;
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.woocommerce-products-header,
.woocommerce .page-title {
  width: min(1600px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.woocommerce .page-title,
.woocommerce-products-header__title {
  margin-top: 0;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  color: #1f1b18;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

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

.woocommerce .hfj-shop-controls {
  width: min(1600px, calc(100% - 48px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.4rem);
  padding: 0.65rem;
  border: 1px solid rgba(31, 27, 24, 0.08);
  border-radius: 6px;
  background: rgba(252, 252, 252, 0.72);
}

.woocommerce .hfj-shop-controls .woocommerce-result-count {
  margin-right: auto;
  color: #6f675f;
  font-size: 0.92rem;
  font-weight: 400;
}

.hfj-product-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hfj-product-view-toggle__button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(31, 27, 24, 0.14);
  border-radius: 4px;
  background: #fff;
  color: #1f1b18;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hfj-product-view-toggle__button.is-active,
.hfj-product-view-toggle__button:hover,
.hfj-product-view-toggle__button:focus-visible {
  border-color: #1f1b18;
  background: #1f1b18;
  color: #fff;
}

.hfj-product-view-toggle__button .material-symbols-outlined {
  font-size: 1.25rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart input.qty {
  min-height: 44px;
  border: 1px solid rgba(31, 27, 24, 0.16);
  border-radius: 4px;
  background: #fff;
  color: #1f1b18;
  font-family: var(--hfj-font);
  font-size: 0.95rem;
  font-weight: 400;
}

.woocommerce .woocommerce-ordering select,
.woocommerce div.product form.cart .variations select {
  min-width: 210px;
  padding: 0 2.2rem 0 0.85rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1f1b18 50%), linear-gradient(135deg, #1f1b18 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.woocommerce ul.products {
  width: min(1600px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  width: auto;
  float: none;
  clear: none;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  border-radius: 6px;
  background: #f7f2ec;
  object-fit: cover;
}

.woocommerce ul.products li.product a img[src*="hfj-favicon"],
.woocommerce ul.products li.product a img[src*="woocommerce-placeholder"] {
  padding: 28%;
  object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.35rem;
  margin: 0 0 0.18rem;
  padding: 0;
  color: #1f1b18;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.28;
  text-wrap: balance;
}

.woocommerce ul.products li.product .hfj-product-attributes {
  min-height: 2.35rem;
  margin: 0 0 0.2rem;
  color: #6f675f;
  font-size: 0.78rem;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  margin: 0.1rem 0 0.75rem;
  color: #1f1b18;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button {
  min-width: 132px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border: 1px solid #1f1b18;
  border-radius: 4px;
  background: #1f1b18;
  color: #fff;
  font-family: var(--hfj-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 180ms ease;
}

.woocommerce ul.products li.product .button::before,
.woocommerce div.product form.cart .button::before,
.woocommerce .single_add_to_cart_button::before {
  content: "shopping_bag";
  font-family: "Material Symbols Outlined";
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible,
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart .button:focus-visible,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:focus-visible {
  background: transparent;
  color: #1f1b18;
  transform: translateY(-1px);
}

.woocommerce ul.products li.product .added_to_cart {
  display: inline-flex;
  margin-left: 0.5rem;
  color: #1f1b18;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.single-product div.product {
  width: min(1600px, calc(100% - 48px));
  margin: clamp(1.5rem, 3vw, 2.5rem) auto clamp(3rem, 6vw, 5rem);
}

.single-product .hfj-product-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto;
  float: none;
  margin: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  border-radius: 8px;
  background: #f7f2ec;
  overflow: hidden;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #f7f2ec;
}

.woocommerce div.product div.images img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.woocommerce div.product div.images img[src*="hfj-favicon"],
.woocommerce div.product div.images img[src*="woocommerce-placeholder"] {
  width: 42%;
  height: 42%;
  margin: auto;
  object-fit: contain;
}

.woocommerce div.product .summary {
  padding: clamp(0.5rem, 1vw, 1rem) 0;
}

.woocommerce div.product .product_title {
  margin: 0 0 0.75rem;
  color: #1f1b18;
  font-size: clamp(2rem, 3.3vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.woocommerce div.product .hfj-product-attributes--single {
  margin: 0 0 1rem;
  color: #6f675f;
  font-size: 0.98rem;
  line-height: 1.45;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #1f1b18;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 600;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 1.4rem 0 1.8rem;
}

.woocommerce div.product form.cart .quantity {
  margin: 0;
}

.woocommerce div.product form.cart input.qty {
  width: 78px;
  padding: 0 0.5rem;
  text-align: center;
}

.woocommerce div.product form.cart .variations {
  width: 100%;
  margin: 0 0 0.75rem;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  padding: 0 0 0.45rem;
  text-align: left;
}

.woocommerce div.product form.cart .variations label {
  color: #1f1b18;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products {
  width: min(1600px, 100%);
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  border-bottom: 1px solid rgba(31, 27, 24, 0.12);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.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 {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0.8rem 0.4rem;
  color: #6f675f;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #1f1b18;
  box-shadow: inset 0 -2px 0 #1f1b18;
}

.woocommerce div.product .woocommerce-Tabs-panel {
  padding: clamp(1rem, 2vw, 1.6rem) 0;
  color: #3f3934;
  line-height: 1.7;
}

.woocommerce div.product .related.products > h2 {
  margin: 0 0 1.5rem;
  color: #1f1b18;
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .single-product .hfj-product-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .woocommerce .hfj-shop-controls {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .woocommerce .hfj-shop-controls .woocommerce-result-count {
    flex: 1 0 100%;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-ordering select {
    width: 100%;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.9rem;
  }

  .woocommerce ul.products li.product .button {
    min-width: 112px;
    min-height: 42px;
    padding: 0.55rem 0.72rem;
    font-size: 13px;
  }

  .woocommerce ul.products li.product .button::before {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .woocommerce .woocommerce-breadcrumb,
  .woocommerce-products-header,
  .woocommerce .page-title,
  .woocommerce .hfj-shop-controls,
  .woocommerce ul.products,
  .single-product div.product {
    width: min(100% - 24px, 1600px);
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product .product_title {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .woocommerce div.product form.cart {
    align-items: stretch;
  }

  .woocommerce div.product form.cart .button,
  .woocommerce .single_add_to_cart_button {
    flex: 1 1 auto;
  }
}

/* HFJ PLP header, toolbar and archive view controls */
.post-type-archive-product .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_tag .woocommerce-breadcrumb {
  margin-top: clamp(1.1rem, 2.2vw, 1.8rem);
  margin-bottom: 0.85rem;
  text-align: center;
}

.post-type-archive-product .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header,
.tax-product_tag .woocommerce-products-header {
  text-align: center;
}

.post-type-archive-product .woocommerce .page-title,
.tax-product_cat .woocommerce .page-title,
.tax-product_tag .woocommerce .page-title,
.post-type-archive-product .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title {
  position: relative;
  margin-bottom: clamp(1.35rem, 2.8vw, 2.2rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.4vw, 5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.post-type-archive-product .woocommerce .page-title::after,
.tax-product_cat .woocommerce .page-title::after,
.tax-product_tag .woocommerce .page-title::after,
.post-type-archive-product .woocommerce-products-header__title::after,
.tax-product_cat .woocommerce-products-header__title::after,
.tax-product_tag .woocommerce-products-header__title::after {
  content: "";
  width: 54px;
  height: 1px;
  display: block;
  margin: 0.42em auto 0;
  background: #9b7a42;
}

.woocommerce .hfj-shop-toolbar {
  width: min(1600px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.4rem);
}

.woocommerce .hfj-shop-toolbar .woocommerce-result-count {
  margin: 0;
  color: #6f675f;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.woocommerce .hfj-shop-toolbar .hfj-shop-controls {
  width: auto;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.38rem;
  border-color: rgba(31, 27, 24, 0.12);
  border-radius: 10px;
  background: rgba(252, 252, 252, 0.82);
}

.woocommerce .hfj-shop-toolbar .woocommerce-ordering select {
  width: clamp(260px, 18vw, 300px);
  min-width: 260px;
  min-height: 46px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
  gap: 0;
  padding: 0.22rem;
  border: 1px solid rgba(31, 27, 24, 0.1);
  border-radius: 8px;
  background: #f8f4ed;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button {
  width: 44px;
  height: 42px;
  border-color: transparent;
  border-radius: 7px;
  background: transparent;
  color: #5f5851;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active {
  background: #d8a115;
  color: #111;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button:hover,
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button:focus-visible {
  border-color: rgba(31, 27, 24, 0.16);
  background: #1f1b18;
  color: #fff;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active:hover,
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active:focus-visible {
  background: #c89412;
  color: #111;
}

body.hfj-products-view-list .woocommerce ul.products {
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

body.hfj-products-view-list .woocommerce ul.products li.product,
body.hfj-products-view-list.woocommerce ul.products li.product,
body.hfj-products-view-list .woocommerce-page ul.products li.product {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  grid-template-rows: auto;
  gap: clamp(1.35rem, 3vw, 2.4rem);
  align-items: center;
}

body.hfj-products-view-list .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

body.hfj-products-view-list .woocommerce ul.products li.product a img {
  grid-row: 1 / span 6;
  margin: 0;
}

body.hfj-products-view-list .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.hfj-products-view-list .woocommerce ul.products li.product .hfj-product-attributes,
body.hfj-products-view-list .woocommerce ul.products li.product .price,
body.hfj-products-view-list .woocommerce ul.products li.product .button,
body.hfj-products-view-list .woocommerce ul.products li.product .added_to_cart {
  grid-column: 2;
  justify-self: start;
}

body.hfj-products-view-list .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  margin-bottom: 0.3rem;
  font-size: clamp(1.15rem, 1.5vw, 1.65rem);
}

body.hfj-products-view-list .woocommerce ul.products li.product .hfj-product-attributes {
  min-height: 0;
  margin-bottom: 0.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .post-type-archive-product .woocommerce-breadcrumb,
  .tax-product_cat .woocommerce-breadcrumb,
  .tax-product_tag .woocommerce-breadcrumb {
    text-align: left;
  }

  .post-type-archive-product .woocommerce .page-title,
  .tax-product_cat .woocommerce .page-title,
  .tax-product_tag .woocommerce .page-title,
  .post-type-archive-product .woocommerce-products-header__title,
  .tax-product_cat .woocommerce-products-header__title,
  .tax-product_tag .woocommerce-products-header__title {
    font-family: var(--hfj-font);
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .woocommerce .hfj-shop-toolbar {
    width: min(100% - 16px, 1600px);
    display: grid;
    gap: 0.65rem;
    justify-items: center;
  }

  .woocommerce .hfj-shop-toolbar .woocommerce-result-count {
    text-align: center;
  }

  .woocommerce .hfj-shop-toolbar .hfj-shop-controls {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem;
  }

  .woocommerce .hfj-shop-toolbar .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }

  body.hfj-products-view-list .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.hfj-products-view-list .woocommerce ul.products li.product,
  body.hfj-products-view-list.woocommerce ul.products li.product,
  body.hfj-products-view-list .woocommerce-page ul.products li.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.hfj-products-view-list .woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: grid;
  }

  body.hfj-products-view-list .woocommerce ul.products li.product a img,
  body.hfj-products-view-list .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.hfj-products-view-list .woocommerce ul.products li.product .hfj-product-attributes,
  body.hfj-products-view-list .woocommerce ul.products li.product .price,
  body.hfj-products-view-list .woocommerce ul.products li.product .button,
  body.hfj-products-view-list .woocommerce ul.products li.product .added_to_cart {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .woocommerce .hfj-shop-toolbar .hfj-shop-controls {
    grid-template-columns: 1fr;
  }

  .woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
    justify-self: start;
  }
}

/* HFJ WooCommerce fixes: deterministic list view, AJAX link cleanup and mega spacing */
.hfj-mega-menu__inner {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.75rem, 3vw, 2.5rem);
}

.hfj-retail-header__submenu {
  padding: 0.65rem 0;
}

.hfj-home-product-card__footer .added_to_cart,
.hfj-home-product-card__footer .wc-forward,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .wc-forward {
  display: none !important;
}

body.hfj-products-view-list ul.products {
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

body.hfj-products-view-list ul.products li.product,
body.hfj-products-view-list ul.products[class*="columns-"] li.product {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  grid-template-rows: auto;
  gap: clamp(1.35rem, 3vw, 2.4rem);
  align-items: center;
}

body.hfj-products-view-list ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

body.hfj-products-view-list ul.products li.product a img {
  grid-column: 1;
  grid-row: 1 / span 6;
  margin: 0;
}

body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title,
body.hfj-products-view-list ul.products li.product .hfj-product-attributes,
body.hfj-products-view-list ul.products li.product .price,
body.hfj-products-view-list ul.products li.product .button {
  grid-column: 2;
  justify-self: start;
}

body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  margin-bottom: 0.25rem;
  font-size: clamp(1.15rem, 1.5vw, 1.65rem);
}

body.hfj-products-view-list ul.products li.product .hfj-product-attributes {
  min-height: 0;
  margin-bottom: 0.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.hfj-products-view-list ul.products li.product .price {
  margin-bottom: 0.45rem;
}

body.hfj-products-view-list ul.products li.product .button {
  width: auto;
  min-width: 168px;
}

@media (max-width: 780px) {
  body.hfj-products-view-list ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.hfj-products-view-list ul.products li.product,
  body.hfj-products-view-list ul.products[class*="columns-"] li.product {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.hfj-products-view-list ul.products li.product a.woocommerce-loop-product__link {
    display: grid;
  }

  body.hfj-products-view-list ul.products li.product a img,
  body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title,
  body.hfj-products-view-list ul.products li.product .hfj-product-attributes,
  body.hfj-products-view-list ul.products li.product .price,
  body.hfj-products-view-list ul.products li.product .button {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }

  body.hfj-products-view-list ul.products li.product .button {
    min-width: 112px;
  }
}

/* HFJ PLP restyle overrides */
.hfj-retail-header__secondary-item {
  z-index: 130;
}

.hfj-retail-header__secondary-item:hover,
.hfj-retail-header__secondary-item:focus-within {
  z-index: 210;
}

.hfj-retail-header__submenu {
  z-index: 220;
}

.post-type-archive-product .woocommerce .page-title,
.tax-product_cat .woocommerce .page-title,
.tax-product_tag .woocommerce .page-title,
.post-type-archive-product .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title {
  font-family: var(--hfj-font);
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.08;
  text-transform: uppercase;
}

.post-type-archive-product .woocommerce .page-title::after,
.tax-product_cat .woocommerce .page-title::after,
.tax-product_tag .woocommerce .page-title::after,
.post-type-archive-product .woocommerce-products-header__title::after,
.tax-product_cat .woocommerce-products-header__title::after,
.tax-product_tag .woocommerce-products-header__title::after {
  width: 62px;
  background: rgba(31, 27, 24, 0.45);
}

.woocommerce .hfj-shop-toolbar {
  align-items: center;
}

.woocommerce .hfj-shop-toolbar .hfj-shop-controls {
  border-color: rgba(31, 27, 24, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
  background: #f5f4f2;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button {
  border-color: rgba(31, 27, 24, 0.1);
  background: #fcfcfc;
  color: #5f5851;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active,
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active:hover,
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active:focus-visible {
  border-color: #1f1b18;
  background: #1f1b18;
  color: #fff;
}

.woocommerce .hfj-shop-toolbar .woocommerce-ordering select {
  background-color: #fcfcfc;
  color: #1f1b18;
  font-family: var(--hfj-font);
  letter-spacing: 0.02em;
}

body.hfj-products-view-list ul.products,
body.hfj-products-view-list.woocommerce ul.products,
body.hfj-products-view-list .woocommerce ul.products {
  grid-template-columns: 1fr;
}

body.hfj-products-view-list ul.products li.product,
body.hfj-products-view-list ul.products[class*="columns-"] li.product,
body.hfj-products-view-list.woocommerce ul.products li.product,
body.hfj-products-view-list .woocommerce ul.products li.product {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  gap: 0.35rem clamp(1.25rem, 3vw, 2.4rem);
  align-items: center;
}

body.hfj-products-view-list ul.products li.product a.woocommerce-loop-product__link,
body.hfj-products-view-list.woocommerce ul.products li.product a.woocommerce-loop-product__link,
body.hfj-products-view-list .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

body.hfj-products-view-list ul.products li.product a img,
body.hfj-products-view-list.woocommerce ul.products li.product a img,
body.hfj-products-view-list .woocommerce ul.products li.product a img {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin: 0;
}

body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title,
body.hfj-products-view-list ul.products li.product .hfj-product-attributes {
  grid-column: 2;
}

body.hfj-products-view-list ul.products li.product .price,
body.hfj-products-view-list ul.products li.product .button {
  grid-column: 3;
  justify-self: end;
}

body.hfj-products-view-list ul.products li.product .button {
  grid-row: 2;
}

@media (max-width: 780px) {
  .post-type-archive-product .woocommerce-breadcrumb,
  .tax-product_cat .woocommerce-breadcrumb,
  .tax-product_tag .woocommerce-breadcrumb {
    text-align: center;
  }

  .post-type-archive-product .woocommerce .page-title,
  .tax-product_cat .woocommerce .page-title,
  .tax-product_tag .woocommerce .page-title,
  .post-type-archive-product .woocommerce-products-header__title,
  .tax-product_cat .woocommerce-products-header__title,
  .tax-product_tag .woocommerce-products-header__title {
    text-align: center;
    letter-spacing: 0.14em;
  }

  .woocommerce .hfj-shop-toolbar {
    justify-items: center;
  }

  .woocommerce .hfj-shop-toolbar .woocommerce-result-count {
    width: 100%;
    text-align: center;
  }

  .woocommerce .hfj-shop-toolbar .hfj-shop-controls {
    justify-items: center;
  }

  .woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
    justify-self: center;
  }

  body.hfj-products-view-list ul.products,
  body.hfj-products-view-list.woocommerce ul.products,
  body.hfj-products-view-list .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  body.hfj-products-view-list ul.products li.product,
  body.hfj-products-view-list ul.products[class*="columns-"] li.product,
  body.hfj-products-view-list.woocommerce ul.products li.product,
  body.hfj-products-view-list .woocommerce ul.products li.product {
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 0.25rem 0.9rem;
    align-items: center;
  }

  body.hfj-products-view-list ul.products li.product a.woocommerce-loop-product__link,
  body.hfj-products-view-list.woocommerce ul.products li.product a.woocommerce-loop-product__link,
  body.hfj-products-view-list .woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: contents;
  }

  body.hfj-products-view-list ul.products li.product a img,
  body.hfj-products-view-list.woocommerce ul.products li.product a img,
  body.hfj-products-view-list .woocommerce ul.products li.product a img {
    grid-column: 1;
    grid-row: 1 / span 4;
    aspect-ratio: 1 / 1;
    margin: 0;
  }

  body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title,
  body.hfj-products-view-list ul.products li.product .hfj-product-attributes,
  body.hfj-products-view-list ul.products li.product .price,
  body.hfj-products-view-list ul.products li.product .button {
    grid-column: 2;
    justify-self: start;
  }

  body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin: 0;
    font-size: 0.95rem;
  }

  body.hfj-products-view-list ul.products li.product .hfj-product-attributes {
    min-height: 0;
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
  }

  body.hfj-products-view-list ul.products li.product .price {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
  }

  body.hfj-products-view-list ul.products li.product .button {
    width: auto;
    min-width: 0;
    min-height: 38px;
    padding: 0.5rem 0.68rem;
    font-size: 12px;
  }

  body.hfj-products-view-list ul.products li.product a img[src*="hfj-favicon"],
  body.hfj-products-view-list ul.products li.product a img[src*="woocommerce-placeholder"] {
    padding: 30%;
  }
}

/* HFJ PLP product cards aligned with homepage carousel cards */
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
  gap: 0.45rem;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  display: grid;
  grid-template-rows: auto minmax(2.65rem, auto) minmax(3.45rem, auto) auto auto;
  align-content: stretch;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 0 1.05rem;
  border-radius: 8px;
  background: #f6f2ec;
  object-fit: contain;
  padding: 1.5rem;
}

.woocommerce ul.products li.product a img[src*="hfj-favicon"],
.woocommerce ul.products li.product a img[src*="woocommerce-placeholder"] {
  padding: 28%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.65rem;
  margin: 0 0 0.35rem;
  padding: 0;
  color: #1f1b18;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.woocommerce ul.products li.product .hfj-product-attributes {
  min-height: 3.45rem;
  margin: 0 0 0.45rem;
  color: var(--hfj-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.woocommerce ul.products li.product .price {
  margin: 0 0 0.85rem;
  color: #1f1b18;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.woocommerce ul.products li.product .button {
  width: auto;
  min-width: 126px;
  min-height: 48px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border: 1px solid #1f1b18;
  border-radius: 4px;
  background: #1f1b18;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible {
  background: transparent;
  color: #1f1b18;
}

body.hfj-products-view-list ul.products li.product,
body.hfj-products-view-list ul.products[class*="columns-"] li.product,
body.hfj-products-view-list.woocommerce ul.products li.product,
body.hfj-products-view-list .woocommerce ul.products li.product {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 0.25rem clamp(1.2rem, 2.6vw, 2rem);
  align-items: center;
}

body.hfj-products-view-list ul.products li.product a img,
body.hfj-products-view-list.woocommerce ul.products li.product a img,
body.hfj-products-view-list .woocommerce ul.products li.product a img {
  grid-column: 1;
  grid-row: 1 / span 4;
  margin: 0;
}

body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title,
body.hfj-products-view-list ul.products li.product .hfj-product-attributes,
body.hfj-products-view-list ul.products li.product .price,
body.hfj-products-view-list ul.products li.product .button {
  grid-column: 2;
  justify-self: start;
}

body.hfj-products-view-list ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  margin-bottom: 0.25rem;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
}

body.hfj-products-view-list ul.products li.product .hfj-product-attributes {
  min-height: 0;
  margin-bottom: 0.35rem;
  letter-spacing: 0;
  text-transform: none;
}

body.hfj-products-view-list ul.products li.product .price {
  margin: 0.25rem 0 0.45rem;
}

body.hfj-products-view-list ul.products li.product .button {
  min-width: 126px;
}

@media (max-width: 780px) {
  body.hfj-products-view-list ul.products li.product,
  body.hfj-products-view-list ul.products[class*="columns-"] li.product,
  body.hfj-products-view-list.woocommerce ul.products li.product,
  body.hfj-products-view-list .woocommerce ul.products li.product {
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 0.2rem 0.85rem;
  }

  body.hfj-products-view-list ul.products li.product .button {
    justify-self: start;
    min-width: 0;
  }
}

/* Final PLP grid card parity with homepage product cards */
body:not(.hfj-products-view-list) .woocommerce ul.products li.product,
body:not(.hfj-products-view-list).woocommerce ul.products li.product,
body:not(.hfj-products-view-list) .woocommerce-page ul.products li.product,
body:not(.hfj-products-view-list) .woocommerce ul.products[class*="columns-"] li.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(2.65rem, auto) minmax(3.45rem, auto) auto;
  align-items: end;
  align-content: stretch;
  column-gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product a img {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 0 1.05rem;
  border-radius: 8px;
  background: #f6f2ec;
  object-fit: contain;
  padding: 1.5rem;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product a img[src*="hfj-favicon"],
body:not(.hfj-products-view-list) .woocommerce ul.products li.product a img[src*="woocommerce-placeholder"] {
  padding: 28%;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product .woocommerce-loop-product__title {
  grid-column: 1 / -1;
  min-height: 2.65rem;
  margin: 0 0 0.35rem;
  padding: 0;
  color: #1f1b18;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product .hfj-product-attributes {
  grid-column: 1 / -1;
  min-height: 3.45rem;
  margin: 0 0 0.45rem;
  color: var(--hfj-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product .price {
  grid-column: 1;
  align-self: center;
  margin: 0;
  color: #1f1b18;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

body:not(.hfj-products-view-list) .woocommerce ul.products li.product .button {
  grid-column: 2;
  align-self: center;
  justify-self: end;
  width: auto;
  min-width: 126px;
  min-height: 48px;
}

@media (max-width: 780px) {
  .hfj-home-product-rail .hfj-home-section__header p {
    display: none;
  }

  body:not(.hfj-products-view-list) .woocommerce ul.products li.product .button {
    min-width: 104px;
    min-height: 42px;
    padding: 0.55rem 0.72rem;
    font-size: 13px;
  }
}

/* Final PLP grid reset: keep archive cards as normal grid cards, not carousel/list fragments */
.hfj-retail-header,
.hfj-retail-header__main,
.hfj-retail-header__main-inner,
.hfj-retail-header__tools,
.hfj-retail-header__secondary {
  overflow: visible;
}

.hfj-retail-header__secondary {
  position: relative;
  z-index: 300;
}

.hfj-retail-header__secondary-item--has-menu {
  position: relative;
  z-index: 310;
}

.hfj-retail-header__submenu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: auto;
  right: 0;
  z-index: 320;
  transform: translateY(8px);
}

.hfj-retail-header__secondary-item:hover .hfj-retail-header__submenu,
.hfj-retail-header__secondary-item:focus-within .hfj-retail-header__submenu {
  transform: translateY(0);
}

.hfj-retail-header__nav,
.primary-navigation {
  position: relative;
  z-index: 100;
}

body.hfj-products-view-grid ul.products,
body:not(.hfj-products-view-list) ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

body.hfj-products-view-grid ul.products li.product,
body.hfj-products-view-grid ul.products[class*="columns-"] li.product,
body:not(.hfj-products-view-list) ul.products li.product,
body:not(.hfj-products-view-list) ul.products[class*="columns-"] li.product {
  width: auto;
  float: none;
  clear: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(3.45rem, auto) auto;
  align-content: stretch;
  align-items: end;
  column-gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.hfj-products-view-grid ul.products li.product a.woocommerce-loop-product__link,
body:not(.hfj-products-view-list) ul.products li.product a.woocommerce-loop-product__link {
  grid-column: 1 / -1;
  display: block;
  color: inherit;
  text-decoration: none;
}

body.hfj-products-view-grid ul.products li.product a img,
body:not(.hfj-products-view-list) ul.products li.product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 0 1.05rem;
  padding: 1.5rem;
  border-radius: 8px;
  background: #f6f2ec;
  object-fit: contain;
}

body.hfj-products-view-grid ul.products li.product a img[src*="hfj-favicon"],
body.hfj-products-view-grid ul.products li.product a img[src*="woocommerce-placeholder"],
body:not(.hfj-products-view-list) ul.products li.product a img[src*="hfj-favicon"],
body:not(.hfj-products-view-list) ul.products li.product a img[src*="woocommerce-placeholder"] {
  padding: 28%;
}

body.hfj-products-view-grid ul.products li.product .woocommerce-loop-product__title,
body:not(.hfj-products-view-list) ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.65rem;
  margin: 0 0 0.35rem;
  padding: 0;
  color: #1f1b18;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

body.hfj-products-view-grid ul.products li.product .hfj-product-attributes,
body:not(.hfj-products-view-list) ul.products li.product .hfj-product-attributes {
  grid-column: 1 / -1;
  min-height: 3.45rem;
  margin: 0 0 0.45rem;
  color: var(--hfj-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

body.hfj-products-view-grid ul.products li.product .price,
body:not(.hfj-products-view-list) ul.products li.product .price {
  grid-column: 1;
  align-self: center;
  margin: 0;
  color: #1f1b18;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

body.hfj-products-view-grid ul.products li.product .button,
body:not(.hfj-products-view-list) ul.products li.product .button {
  grid-column: 2;
  align-self: center;
  justify-self: end;
  width: auto;
  min-width: 126px;
  min-height: 48px;
}

@media (max-width: 1180px) {
  body.hfj-products-view-grid ul.products,
  body:not(.hfj-products-view-list) ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  body.hfj-products-view-grid ul.products,
  body:not(.hfj-products-view-list) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.9rem;
  }

  body.hfj-products-view-grid ul.products li.product .button,
  body:not(.hfj-products-view-list) ul.products li.product .button {
    min-width: 104px;
    min-height: 42px;
    padding: 0.55rem 0.72rem;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  body.hfj-products-view-grid ul.products,
  body:not(.hfj-products-view-list) ul.products {
    grid-template-columns: 1fr;
  }
}

/* Restore WooCommerce View basket links without breaking product-card footers */
.hfj-home-product-card__button.added {
  display: inline-flex;
}

.hfj-home-product-card__footer .added_to_cart,
.hfj-home-product-card__footer .wc-forward,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .wc-forward {
  width: auto;
  min-width: 0;
  min-height: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f1b18;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 0.24em;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.hfj-home-product-card__footer .added_to_cart,
.hfj-home-product-card__footer .wc-forward {
  flex: 1 0 100%;
  margin-top: 0.35rem;
}

.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .wc-forward {
  grid-column: 2;
  justify-self: end;
  margin-top: 0.35rem;
}

.hfj-home-product-card__footer .added_to_cart:hover,
.hfj-home-product-card__footer .added_to_cart:focus-visible,
.hfj-home-product-card__footer .wc-forward:hover,
.hfj-home-product-card__footer .wc-forward:focus-visible,
.woocommerce ul.products li.product .added_to_cart:hover,
.woocommerce ul.products li.product .added_to_cart:focus-visible,
.woocommerce ul.products li.product .wc-forward:hover,
.woocommerce ul.products li.product .wc-forward:focus-visible {
  background: transparent;
  color: #6f675f;
  opacity: 0.85;
  transform: none;
}

body.hfj-products-view-list ul.products li.product .added_to_cart,
body.hfj-products-view-list ul.products li.product .wc-forward {
  grid-column: 2;
  justify-self: start;
}

/* Final HFJ PLP toolbar and Services dropdown stacking refinements */
.hfj-retail-header__secondary {
  position: relative;
  z-index: 220;
}

.hfj-retail-header__secondary-item {
  position: relative;
  z-index: 230;
}

.hfj-retail-header__submenu {
  position: absolute;
  z-index: 240;
}

.primary-navigation,
.hfj-retail-header__nav {
  position: relative;
  z-index: 100;
}

.post-type-archive-product .woocommerce .page-title,
.tax-product_cat .woocommerce .page-title,
.tax-product_tag .woocommerce .page-title,
.post-type-archive-product .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title {
  margin-bottom: clamp(1rem, 2vw, 1.65rem);
  font-family: var(--hfj-font);
  font-size: clamp(2rem, 3.4vw, 3.75rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.woocommerce .hfj-shop-toolbar {
  margin-bottom: clamp(1.25rem, 2.6vw, 2rem);
}

.woocommerce .hfj-shop-toolbar .hfj-shop-controls {
  padding: 0.28rem;
  border-color: rgba(31, 27, 24, 0.08);
  border-radius: 6px;
  background: transparent;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
  border-color: rgba(31, 27, 24, 0.08);
  border-radius: 6px;
  background: rgba(252, 252, 252, 0.72);
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button {
  background: #fcfcfc;
}

.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active,
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active:hover,
.woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button.is-active:focus-visible {
  border-color: #1f1b18;
  background: #1f1b18;
  color: #fff;
}

@media (max-width: 780px) {
  .woocommerce .hfj-shop-toolbar {
    justify-content: center;
    text-align: center;
  }

  .woocommerce .hfj-shop-toolbar .hfj-shop-controls {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .woocommerce .hfj-shop-toolbar .woocommerce-ordering {
    justify-self: center;
  }
}

/* Final homepage AJAX add-to-cart placement and Services submenu stacking */
.hfj-home-product-card__footer .hfj-home-product-card__button.is-replaced-by-view-basket,
.hfj-home-product-card__footer .add_to_cart_button.added {
  display: none !important;
}

.hfj-home-product-card__footer .added_to_cart.wc-forward,
.hfj-home-product-card__footer .wc-forward.added_to_cart,
.hfj-home-product-card__footer .hfj-home-product-card__view-basket {
  width: auto;
  min-width: 126px;
  min-height: 48px;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.65rem 1rem;
  border: 1px solid #1f1b18;
  border-radius: 4px;
  background: transparent;
  color: #1f1b18;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 180ms ease;
}

.hfj-home-product-card__footer .added_to_cart.wc-forward:hover,
.hfj-home-product-card__footer .added_to_cart.wc-forward:focus-visible,
.hfj-home-product-card__footer .wc-forward.added_to_cart:hover,
.hfj-home-product-card__footer .wc-forward.added_to_cart:focus-visible,
.hfj-home-product-card__footer .hfj-home-product-card__view-basket:hover,
.hfj-home-product-card__footer .hfj-home-product-card__view-basket:focus-visible {
  background: #1f1b18;
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

.hfj-retail-header,
.hfj-retail-header__main,
.hfj-retail-header__main-inner,
.hfj-retail-header__tools,
.hfj-retail-header__secondary {
  overflow: visible;
}

.hfj-retail-header__main {
  position: relative;
  z-index: 500;
}

.hfj-retail-header__submenu {
  z-index: 510;
}

/* Final product-card spacing and PLP grid footer alignment */
.hfj-home-product-card__title {
  margin-bottom: 0.12rem;
}

.hfj-home-product-card__meta {
  margin-top: 0;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

body.hfj-products-view-grid .woocommerce ul.products li.product,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product,
body.hfj-products-view-grid.woocommerce ul.products li.product,
body:not(.hfj-products-view-list).woocommerce ul.products li.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(2.35rem, auto) auto;
  row-gap: 0;
  column-gap: 0.75rem;
  align-items: end;
  align-content: stretch;
}

body.hfj-products-view-grid .woocommerce ul.products li.product a.woocommerce-loop-product__link,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product a.woocommerce-loop-product__link,
body.hfj-products-view-grid.woocommerce ul.products li.product a.woocommerce-loop-product__link,
body:not(.hfj-products-view-list).woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

body.hfj-products-view-grid .woocommerce ul.products li.product a img,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product a img,
body.hfj-products-view-grid.woocommerce ul.products li.product a img,
body:not(.hfj-products-view-list).woocommerce ul.products li.product a img {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0.9rem;
}

body.hfj-products-view-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.hfj-products-view-grid.woocommerce ul.products li.product .woocommerce-loop-product__title,
body:not(.hfj-products-view-list).woocommerce ul.products li.product .woocommerce-loop-product__title {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  margin: 0 0 0.12rem;
  line-height: 1.32;
}

body.hfj-products-view-grid .woocommerce ul.products li.product .hfj-product-attributes,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product .hfj-product-attributes,
body.hfj-products-view-grid.woocommerce ul.products li.product .hfj-product-attributes,
body:not(.hfj-products-view-list).woocommerce ul.products li.product .hfj-product-attributes {
  grid-column: 1 / -1;
  grid-row: 3;
  min-height: 0;
  margin: 0 0 0.42rem;
  line-height: 1.35;
}

body.hfj-products-view-grid .woocommerce ul.products li.product .price,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product .price,
body.hfj-products-view-grid.woocommerce ul.products li.product .price,
body:not(.hfj-products-view-list).woocommerce ul.products li.product .price {
  grid-column: 1;
  grid-row: 4;
  align-self: center;
  justify-self: start;
  margin: 0;
  white-space: nowrap;
}

body.hfj-products-view-grid .woocommerce ul.products li.product .button.add_to_cart_button,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product .button.add_to_cart_button,
body.hfj-products-view-grid.woocommerce ul.products li.product .button.add_to_cart_button,
body:not(.hfj-products-view-list).woocommerce ul.products li.product .button.add_to_cart_button {
  grid-column: 2;
  grid-row: 4;
  align-self: center;
  justify-self: end;
  flex: 0 0 auto;
  margin: 0;
}

body.hfj-products-view-grid .woocommerce ul.products li.product .added_to_cart,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product .added_to_cart,
body.hfj-products-view-grid.woocommerce ul.products li.product .added_to_cart,
body:not(.hfj-products-view-list).woocommerce ul.products li.product .added_to_cart {
  grid-column: 2;
  grid-row: 5;
  justify-self: end;
  margin-top: 0.35rem;
}

@media (max-width: 520px) {
  body.hfj-products-view-grid .woocommerce ul.products li.product,
  body:not(.hfj-products-view-list) .woocommerce ul.products li.product,
  body.hfj-products-view-grid.woocommerce ul.products li.product,
  body:not(.hfj-products-view-list).woocommerce ul.products li.product {
    column-gap: 0.55rem;
  }
}

.hfj-home-product-card__meta,
body.hfj-products-view-grid .woocommerce ul.products li.product .hfj-product-attributes,
body:not(.hfj-products-view-list) .woocommerce ul.products li.product .hfj-product-attributes,
body.hfj-products-view-grid.woocommerce ul.products li.product .hfj-product-attributes,
body:not(.hfj-products-view-list).woocommerce ul.products li.product .hfj-product-attributes {
  align-self: start;
}

@media (max-width: 780px) {
  .woocommerce .hfj-shop-toolbar .hfj-shop-controls {
    width: min(100%, calc(100vw - 24px));
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.28rem;
    overflow: hidden;
  }

  .woocommerce .hfj-shop-toolbar .hfj-product-view-toggle {
    flex: 0 0 auto;
    gap: 0.25rem;
  }

  .woocommerce .hfj-shop-toolbar .hfj-product-view-toggle__button {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }

  .woocommerce .hfj-shop-toolbar .woocommerce-ordering {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }

  .woocommerce .hfj-shop-toolbar .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding-left: 0.72rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  .hfj-home--retail > .hfj-home-trust {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .hfj-home--retail > .hfj-home-style-grid {
    padding-top: 1.5rem;
  }
}
