/*
Theme Name: 5Hive WooCommerce
Theme URI: https://5hive.com/
Author: 5Hive LLC
Description: Custom WooCommerce theme for 5Hive — halal grocery, meat, abayas, coffee, tea, crafts, snacks, and gifts.
Version: 1.1.6
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: fivehive
Tags: e-commerce, woocommerce, custom-logo, responsive, halal, grocery
*/

:root {
  --fh-ink: #1c1410;
  --fh-chocolate: #3b2a1f;
  --fh-gold: #b8924a;
  --fh-green: #2f6b47;
  --fh-paper: #f7f4ef;
  --fh-muted: #6b5e54;
  --fh-line: #d9d0c5;
  --fh-white: #ffffff;
  --fh-serif: "Cormorant Garamond", "Times New Roman", serif;
  --fh-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --fh-logo-height: 100px;
  --fh-logo-max-width: 168px;
  --fh-logo-footer-height: 120px;
  --fh-logo-footer-max-width: 160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fh-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fh-ink);
  background: var(--fh-paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--fh-green);
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: var(--fh-white);
  padding: 0.7rem 1rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fh-line);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Homepage: float transparent over hero, solid on scroll */
body.home .site-header,
body.front-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.home .site-header.is-scrolled,
body.front-page .site-header.is-scrolled,
body.home.nav-open .site-header,
body.front-page.nav-open .site-header,
body.home.search-open .site-header,
body.front-page.search-open .site-header {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--fh-line);
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .topbar,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .topbar {
  background: transparent;
  color: rgba(243, 235, 225, 0.92);
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a {
  color: rgba(255, 255, 255, 0.92);
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:hover,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:focus-visible,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current-menu-item > a,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current_page_item > a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:hover,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:focus-visible,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current-menu-item > a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current_page_item > a {
  color: #fff;
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .nav-toggle,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .nav-toggle {
  color: #fff !important;
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn:hover,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn[aria-expanded="true"],
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn:hover,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn[aria-expanded="true"],
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .nav-toggle:hover,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff !important;
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .nav-toggle span:not(.screen-reader-text),
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .nav-toggle span:not(.screen-reader-text) {
  background: #fff;
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .brand img,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .brand img {
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35));
}

body.home .hero-carousel,
body.front-page .hero-carousel {
  margin-top: 0;
}

body.home .hero-layout,
body.front-page .hero-layout {
  padding-top: clamp(6.75rem, 11vw, 10.5rem);
}

.topbar {
  background: var(--fh-ink);
  color: #f3ebe1;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand,
.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img,
.brand .custom-logo,
.custom-logo-link img {
  width: auto;
  height: var(--fh-logo-height);
  max-width: var(--fh-logo-max-width);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fh-chocolate);
  text-decoration: none;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--fh-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-menu-parent > a,
.main-nav .current_page_parent > a,
.main-nav .current_page_ancestor > a {
  color: var(--fh-ink);
  text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after,
.main-nav .current-menu-ancestor > a::after,
.main-nav .current-menu-parent > a::after,
.main-nav .current_page_parent > a::after,
.main-nav .current_page_ancestor > a::after {
  transform: scaleX(1);
  background: var(--fh-gold);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-menu-parent > a,
.main-nav .current_page_parent > a,
.main-nav .current_page_ancestor > a {
  font-weight: 600;
}

.js .main-nav .current-menu-item > a::after,
.js .main-nav .current_page_item > a::after,
.js .main-nav .current-menu-ancestor > a::after,
.js .main-nav .current-menu-parent > a::after,
.js .main-nav .current_page_parent > a::after,
.js .main-nav .current_page_ancestor > a::after {
  animation: fivehive-nav-underline 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fivehive-nav-underline {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.header-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  color: var(--fh-ink) !important;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
  background: var(--fh-paper);
  border-color: var(--fh-line);
  color: var(--fh-ink) !important;
  text-decoration: none;
}

.icon-btn .icon {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-btn-cart .cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--fh-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.header-search {
  border-top: 1px solid var(--fh-line);
  background: var(--fh-white);
  padding: 0.85rem 0;
}

.header-search[hidden] {
  display: none !important;
}

.header-search .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.header-search .search-panel,
.header-search .utility-search {
  margin: 0;
}

.header-search-close {
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--fh-line);
  color: var(--fh-ink) !important;
  text-transform: none;
  letter-spacing: 0;
}

.header-search-close:hover {
  background: var(--fh-ink);
  border-color: var(--fh-ink);
  color: #fff !important;
}

.header-search-close .icon {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--fh-line);
  color: var(--fh-ink) !important;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fh-ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
  background: var(--fh-ink);
  border-color: var(--fh-ink);
}

.nav-toggle:hover span:not(.screen-reader-text) {
  background: #fff;
}

body.nav-open .nav-toggle {
  background: var(--fh-ink);
  border-color: var(--fh-ink);
}

body.nav-open .nav-toggle span:not(.screen-reader-text) {
  background: #fff;
}

body.nav-open .nav-toggle span:not(.screen-reader-text):nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:not(.screen-reader-text):nth-child(3) {
  opacity: 0;
}

body.nav-open .nav-toggle span:not(.screen-reader-text):nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.button,
.wp-block-button__link,
.single_add_to_cart_button,
.checkout-button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--fh-ink);
  color: #fff !important;
  border: 1px solid var(--fh-ink);
  border-radius: 2px;
  padding: 0.85rem 1.35rem;
  font-family: var(--fh-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
button:not(.icon-btn):not(.nav-toggle):not(.header-search-close):not(.hero-control):not(.hero-dot):hover,
input[type="submit"]:hover {
  background: var(--fh-green);
  border-color: var(--fh-green);
  text-decoration: none;
}

.button.secondary,
.button-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.secondary:hover,
.button-ghost:hover {
  background: #fff;
  color: var(--fh-ink) !important;
  border-color: #fff;
}

.button-outline {
  background: transparent;
  color: var(--fh-ink) !important;
  border-color: var(--fh-ink);
}

.button-outline:hover {
  background: var(--fh-ink);
  color: #fff !important;
}



/* Header icon actions override global button styles */
button.icon-btn,
a.icon-btn,
.header-search-close {
  background: transparent !important;
  color: var(--fh-ink) !important;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

button.icon-btn:hover,
a.icon-btn:hover,
button.icon-btn[aria-expanded="true"],
.header-search-close:hover {
  background: var(--fh-paper) !important;
  border-color: var(--fh-line);
  color: var(--fh-ink) !important;
}

.header-search-close {
  border-color: var(--fh-line);
}

.header-search-close:hover {
  background: var(--fh-ink) !important;
  border-color: var(--fh-ink);
  color: #fff !important;
}

/* WooCommerce block cart/checkout controls override global button styles.
   WooCommerce sizes and positions these itself; only the theme's !important
   colour and its hover background need undoing. Primary actions such as
   Proceed to Checkout, Place Order and Apply coupon keep the brand styling. */
.wc-block-cart-item__remove-link,
.wc-block-components-quantity-selector__button,
.wc-block-components-panel__button,
.wc-block-components-address-card__edit,
.wc-block-components-notice-banner__dismiss,
.wc-block-components-totals-coupon-link,
.wc-block-components-chip__remove,
.wc-block-components-drawer__close {
  background: transparent !important;
  color: var(--fh-ink) !important;
}

.wc-block-cart-item__remove-link:hover,
.wc-block-components-quantity-selector__button:hover,
.wc-block-components-panel__button:hover,
.wc-block-components-address-card__edit:hover,
.wc-block-components-notice-banner__dismiss:hover,
.wc-block-components-totals-coupon-link:hover,
.wc-block-components-chip__remove:hover,
.wc-block-components-drawer__close:hover {
  background: transparent !important;
  color: var(--fh-green) !important;
}

/* Shop page grouped by category */
.fh-shop-groups {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

.fh-shop-group .section-heading {
  margin-bottom: 1.5rem;
}

.fh-shop-group .section-title {
  font-size: 1.75rem;
}

.fh-shop-group-text {
  margin: -0.75rem 0 1.5rem;
  max-width: 60ch;
  color: var(--fh-muted);
}

.fh-shop-all {
  margin: 3.5rem 0 0;
  text-align: center;
}

@media (max-width: 560px) {
  .fh-shop-groups {
    gap: 2.5rem;
  }

  .fh-shop-group .section-title {
    font-size: 1.45rem;
  }
}

/* Hero carousel — full bleed */
.hero-carousel {
  position: relative;
  color: #fff;
  background: var(--fh-ink);
  overflow: hidden;
}

.hero-slider {
  position: relative;
}

.hero-track {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 16, 10, 0.55) 0%, rgba(28, 16, 10, 0.28) 48%, rgba(28, 16, 10, 0.12) 100%),
    linear-gradient(145deg, #9a3f1a 0%, #c45c26 45%, #e08a4f 100%);
}

.tone-dark .hero-backdrop {
  background:
    linear-gradient(105deg, rgba(18, 12, 8, 0.72) 0%, rgba(18, 12, 8, 0.4) 55%, rgba(18, 12, 8, 0.2) 100%),
    linear-gradient(160deg, #1c1410 0%, #3b2a1f 55%, #5a4030 100%);
}

/* Slide 1 — burnt orange */
.tone-meat .hero-backdrop {
  background:
    linear-gradient(105deg, rgba(40, 14, 6, 0.58) 0%, rgba(40, 14, 6, 0.28) 50%, rgba(40, 14, 6, 0.1) 100%),
    radial-gradient(ellipse at 78% 30%, rgba(255, 170, 90, 0.35), transparent 55%),
    linear-gradient(145deg, #7a2e12 0%, #b84a1f 42%, #d96b32 72%, #e89a5c 100%);
}

/* Slide 2 — light green */
.tone-lifestyle .hero-backdrop {
  background:
    linear-gradient(105deg, rgba(18, 36, 24, 0.55) 0%, rgba(18, 36, 24, 0.25) 50%, rgba(18, 36, 24, 0.08) 100%),
    radial-gradient(ellipse at 72% 40%, rgba(210, 235, 200, 0.4), transparent 58%),
    linear-gradient(150deg, #3f6b4a 0%, #6fa87a 40%, #9fc9a4 75%, #c8dfc4 100%);
}

/* Slide 3 — light brown */
.tone-pantry .hero-backdrop {
  background:
    linear-gradient(105deg, rgba(42, 28, 16, 0.55) 0%, rgba(42, 28, 16, 0.26) 50%, rgba(42, 28, 16, 0.08) 100%),
    radial-gradient(ellipse at 70% 35%, rgba(240, 220, 185, 0.38), transparent 55%),
    linear-gradient(155deg, #6b4a32 0%, #9a7350 38%, #c4a484 72%, #e2d0b5 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: min(72vh, 640px);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}

.hero-slide:not(.has-image) .hero-layout {
  grid-template-columns: 1fr;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 480px;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 100%;
  height: clamp(280px, 48vh, 520px);
  object-fit: cover;
  display: block;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--fh-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--fh-serif);
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 14ch;
}

.hero-text {
  margin: 0 0 1.5rem;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-controls-wrap {
  position: relative;
  z-index: 3;
  padding: 0 0 1.75rem;
}

.hero-controls {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.hero-control {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
}

.hero-control:hover {
  background: #fff;
  color: var(--fh-ink) !important;
  border-color: #fff;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  text-transform: none;
}

.hero-dot.is-active {
  width: 28px;
  background: #fff;
}

/* Search */
.search-panel,
.utility-search {
  margin: 0;
  display: flex;
  max-width: 100%;
  background: var(--fh-paper);
  border: 1px solid var(--fh-line);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.search-panel input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.9rem 1.1rem;
  font-family: var(--fh-sans);
  font-size: 1rem;
  color: var(--fh-ink);
}

.search-panel input:focus {
  outline: none;
}

.search-panel button {
  border-radius: 0;
  border: 0;
  border-left: 1px solid var(--fh-line);
  padding: 0.85rem 1.1rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--fh-line);
  padding-bottom: 1rem;
}

.section-title {
  margin: 0;
  font-family: var(--fh-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fh-ink);
}

.section-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-muted);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--fh-green);
}

/* Category rail — no cards, no emoji */
.category-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fh-line);
  border-left: 1px solid var(--fh-line);
}

.category-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-right: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
  background: var(--fh-white);
  transition: background 0.2s ease;
}

.category-item:hover {
  background: var(--fh-paper);
  color: var(--fh-ink);
  text-decoration: none;
}

.category-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fh-muted);
}

.category-name {
  font-family: var(--fh-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--fh-ink);
}

/* Products */
.section-products {
  background: var(--fh-white);
  border-top: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
}

.product-grid,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
  margin: 0 !important;
  padding: 0 !important;
}

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

.woocommerce ul.products li.product,
.product-card {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
}

.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  background: var(--fh-paper);
  margin-bottom: 0.85rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--fh-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fh-ink);
  padding: 0;
  margin: 0 0 0.35rem;
}

.woocommerce ul.products li.product .price {
  color: var(--fh-chocolate);
  font-weight: 600;
  font-size: 0.95rem;
}

.woocommerce ul.products li.product .button {
  margin-top: 0.75rem;
  width: 100%;
}

/* Product action icons */
.fh-product-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.fh-product-actions--single {
  margin-top: 0;
  flex: 1 1 auto;
}

.fh-action-btn,
.woocommerce ul.products li.product .fh-action-btn,
.woocommerce .fh-product-actions .fh-cart-btn,
.woocommerce .fh-product-actions .fh-wishlist-btn,
.woocommerce .fh-product-actions .single_add_to_cart_button,
.woocommerce a.button.fh-cart-btn,
.woocommerce button.button.fh-wishlist-btn,
.woocommerce button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 2px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: hidden;
}

.woocommerce ul.products li.product .fh-cart-btn,
.woocommerce .fh-product-actions .single_add_to_cart_button,
.woocommerce a.button.fh-cart-btn {
  background: var(--fh-ink) !important;
  border-color: var(--fh-ink) !important;
  color: #fff !important;
}

.woocommerce ul.products li.product .fh-cart-btn:hover,
.woocommerce .fh-product-actions .single_add_to_cart_button:hover,
.woocommerce a.button.fh-cart-btn:hover {
  background: var(--fh-green) !important;
  border-color: var(--fh-green) !important;
  color: #fff !important;
}

.woocommerce .fh-wishlist-btn,
.woocommerce button.button.fh-wishlist-btn {
  background: var(--fh-white) !important;
  border: 1px solid var(--fh-line) !important;
  color: var(--fh-ink) !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.woocommerce .fh-wishlist-btn:hover,
.woocommerce button.button.fh-wishlist-btn:hover,
.woocommerce .fh-wishlist-btn.is-active {
  background: var(--fh-paper) !important;
  border-color: var(--fh-gold) !important;
  color: var(--fh-ink) !important;
}

.woocommerce .fh-wishlist-btn.is-active .icon path {
  fill: var(--fh-gold);
  stroke: var(--fh-gold);
}

.fh-action-btn .icon,
.woocommerce .fh-product-actions .icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.fh-action-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.woocommerce div.product form.cart .fh-product-actions--single {
  display: inline-flex;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 0 0 auto;
  min-width: 46px;
}

.icon-btn-wishlist .wishlist-count,
.icon-btn-cart .cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--fh-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.icon-btn-wishlist .wishlist-count.is-empty {
  display: none;
}

.fh-wishlist-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--fh-line);
  padding-bottom: 1rem;
}

.fh-wishlist-count {
  margin: 0.35rem 0 0;
  color: var(--fh-muted);
  font-size: 0.92rem;
}

/* Promise band */
.section-promise {
  padding: 5rem 0;
}

.promise-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.promise-brand {
  margin: 0;
  font-family: var(--fh-serif);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--fh-ink);
}

.promise-text {
  margin: 0;
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--fh-muted);
}

/* Footer */
.site-footer {
  background: var(--fh-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-family: var(--fh-sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* .site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
} */

.site-footer p {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.site-footer .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-menu li {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.footer-logo {
  width: auto;
  height: var(--fh-logo-footer-height);
  max-width: var(--fh-logo-footer-max-width);
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 1rem;
  padding: 0.35rem;
}

.fh-social {
  margin-top: 1.25rem;
}

.fh-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .fh-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer .fh-social-link:hover,
.site-footer .fh-social-link:focus-visible {
  color: var(--fh-ink);
  background: #fff;
  border-color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.15rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Utility / empty states */
.empty-state {
  max-width: 820px;
  margin: auto;
  text-align: left;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.empty-state .section-title {
  margin-bottom: 0.75rem;
}

.empty-state p {
  max-width: 48ch;
  color: var(--fh-muted);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

.shortcut-panel {
  margin-top: 2rem;
}

.shortcut-panel h2,
.required-pages h2 {
  font-family: var(--fh-serif);
  color: var(--fh-ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.shortcut-link {
  background: var(--fh-white);
  border: 1px solid var(--fh-line);
  border-radius: 0;
  color: var(--fh-ink);
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: left;
}

.required-pages {
  margin-top: 2.5rem;
}

.required-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.required-page-card {
  background: var(--fh-white);
  border: 1px solid var(--fh-line);
  border-radius: 0;
  padding: 1.25rem;
}

.required-page-card h3 {
  margin-top: 0;
  font-family: var(--fh-serif);
  color: var(--fh-ink);
}

.required-page-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.required-page-card li + li {
  border-top: 1px solid var(--fh-line);
  margin-top: 0.55rem;
  padding-top: 0.55rem;
}

.result-list {
  display: grid;
  gap: 1rem;
}

.result-card,
.card {
  background: var(--fh-white);
  border: 1px solid var(--fh-line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.25rem;
}

.result-card h1,
.result-card h2 {
  margin-top: 0;
  font-family: var(--fh-serif);
  color: var(--fh-ink);
}

.badge {
  display: inline-block;
  background: transparent;
  color: var(--fh-muted);
  border: 1px solid var(--fh-line);
  border-radius: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce-breadcrumb {
  margin: 0 0 1rem !important;
  width: 100%;
  color: var(--fh-muted);
  font-size: 0.85rem;
}

.woocommerce div.product {
  width: 100%;
  margin: 0;
}

.woocommerce div.product .product_title {
  font-family: var(--fh-serif);
  color: var(--fh-ink);
  font-weight: 600;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  width: 100%;
  margin: 0;
  background: var(--fh-white);
  padding: 2rem;
  border: 1px solid var(--fh-line);
  border-radius: 0;
  box-shadow: none;
}

.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
  border-radius: 0;
  box-shadow: none;
  background: var(--fh-white) !important;
  border: 1px solid var(--fh-line) !important;
}

/* WooCommerce theme colors */
:root {
  --woocommerce: var(--fh-green);
  --wc-green: var(--fh-green);
  --wc-orange: var(--fh-gold);
  --wc-red: #9b2c2c;
  --wc-blue: var(--fh-chocolate);
  --wc-primary: var(--fh-ink);
  --wc-primary-text: #ffffff;
  --wc-secondary: var(--fh-paper);
  --wc-secondary-text: var(--fh-ink);
  --wc-highlight: var(--fh-gold);
  --wc-content-bg: var(--fh-white);
  --wc-subtext: var(--fh-muted);
}

/* Scope WooCommerce text/link colors to shop content only.
   Body gets .woocommerce / .woocommerce-page classes, so never target those globally. */
#content .woocommerce,
.section-woocommerce,
.section-woocommerce .woocommerce {
  color: var(--fh-ink);
}

#content .woocommerce a:not(.button):not(.fh-action-btn):not(.fh-cart-btn),
.section-woocommerce a:not(.button):not(.fh-action-btn):not(.fh-cart-btn),
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.woocommerce-breadcrumb a {
  color: var(--fh-green);
}

#content .woocommerce a:not(.button):not(.fh-action-btn):not(.fh-cart-btn):hover,
.section-woocommerce a:not(.button):not(.fh-action-btn):not(.fh-cart-btn):hover,
.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--fh-ink);
}

.site-header a,
.site-header .main-nav a,
.site-header .icon-btn {
  color: var(--fh-chocolate);
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) a,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .icon-btn {
  color: rgba(255, 255, 255, 0.92);
}

.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible,
.site-header .main-nav .current-menu-item > a,
.site-header .main-nav .current_page_item > a {
  color: var(--fh-ink);
}

body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:hover,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:focus-visible,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current-menu-item > a,
body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current_page_item > a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:hover,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav a:focus-visible,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current-menu-item > a,
body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav .current_page_item > a {
  color: #fff;
}

.site-footer,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb {
  color: var(--fh-muted);
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce-Price-amount {
  color: var(--fh-chocolate) !important;
  font-weight: 600;
}

.woocommerce .price del,
.woocommerce div.product p.price del,
.woocommerce ul.products li.product .price del {
  color: var(--fh-muted) !important;
  opacity: 0.75;
}

.woocommerce .price ins,
.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins {
  background: transparent;
  color: var(--fh-green) !important;
  text-decoration: none;
}

/* Buttons: shop, product, cart, checkout */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce .button.product_type_simple,
.woocommerce .button.product_type_variable,
.woocommerce .button.product_type_grouped,
.woocommerce .button.product_type_external,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce button[name="update_cart"],
.woocommerce button[name="apply_coupon"],
.woocommerce button[name="add-to-cart"],
.woocommerce .widget_shopping_cart a.button,
.woocommerce .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register__submit,
.woocommerce .woocommerce-Button,
.woocommerce .woocommerce-button {
  background: var(--fh-ink) !important;
  background-color: var(--fh-ink) !important;
  color: #fff !important;
  border: 1px solid var(--fh-ink) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: var(--fh-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 0.85rem 1.35rem !important;
  line-height: 1.2 !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover,
.woocommerce button[name="update_cart"]:hover,
.woocommerce button[name="apply_coupon"]:hover,
.woocommerce button[name="add-to-cart"]:hover,
.woocommerce .widget_shopping_cart a.button:hover,
.woocommerce .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-register__submit:hover,
.woocommerce .woocommerce-Button:hover,
.woocommerce .woocommerce-button:hover {
  background: var(--fh-green) !important;
  background-color: var(--fh-green) !important;
  border-color: var(--fh-green) !important;
  color: #fff !important;
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button.disabled,
.woocommerce button.button.disabled {
  background: var(--fh-line) !important;
  border-color: var(--fh-line) !important;
  color: var(--fh-muted) !important;
  opacity: 1 !important;
}

.woocommerce ul.products li.product .button:not(.fh-action-btn):not(.fh-cart-btn) {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.woocommerce div.product form.cart .fh-product-actions--single .single_add_to_cart_button {
  flex: 0 0 auto;
  min-width: 46px !important;
  width: 46px !important;
}

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

.woocommerce .quantity .qty {
  width: 4.5rem;
  height: 46px;
  border: 1px solid var(--fh-line);
  border-radius: 0;
  background: var(--fh-white);
  color: var(--fh-ink);
  font-family: var(--fh-sans);
  font-size: 1rem;
  text-align: center;
}

.woocommerce div.product .product_title {
  font-family: var(--fh-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--fh-ink);
  margin-bottom: 0.5rem;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .summary {
  color: var(--fh-ink);
}

.woocommerce div.product .stock {
  color: var(--fh-green);
  font-weight: 600;
}

.woocommerce div.product .stock.out-of-stock {
  color: #9b2c2c;
}

.woocommerce span.onsale {
  background: var(--fh-gold) !important;
  color: var(--fh-ink) !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
  padding: 0.4rem 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--fh-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 1.25rem 0 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--fh-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--fh-ink);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--fh-gold) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--fh-ink);
}

.woocommerce table.shop_table {
  border: 1px solid var(--fh-line) !important;
  border-radius: 0 !important;
  background: var(--fh-white);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--fh-line) !important;
  color: var(--fh-ink);
}

.woocommerce table.shop_table thead th {
  background: var(--fh-paper);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select,
.woocommerce form .input-text {
  border: 1px solid var(--fh-line);
  border-radius: 0;
  background: var(--fh-white);
  color: var(--fh-ink);
  padding: 0.75rem 0.9rem;
  font-family: var(--fh-sans);
  box-shadow: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .input-text:focus {
  border-color: var(--fh-chocolate);
  outline: none;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
  background: var(--fh-white);
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2,
.woocommerce section.related > h2,
.woocommerce section.upsells > h2 {
  font-family: var(--fh-serif);
  color: var(--fh-ink);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  border-top-color: var(--fh-green) !important;
  color: var(--fh-ink) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--fh-green) !important;
}

.woocommerce-error {
  border-top-color: #9b2c2c !important;
}

.woocommerce-error::before {
  color: #9b2c2c !important;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin-right: 0.35rem;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--fh-white);
  border: 1px solid var(--fh-line);
  color: var(--fh-ink);
  min-width: 40px;
  padding: 0.55rem 0.75rem;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--fh-ink);
  border-color: var(--fh-ink);
  color: #fff;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--fh-green);
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: var(--fh-line);
}

/* Shop toolbar + classic/modern selects */
.fh-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.75rem;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid var(--fh-line);
}

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

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0;
  color: var(--fh-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering,
.fh-ordering {
  margin: 0;
  float: none;
}

.fh-ordering-field {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  background: var(--fh-white);
  border: 1px solid var(--fh-line);
  min-width: min(100%, 280px);
}

.fh-ordering-label {
  margin: 0;
  font-family: var(--fh-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fh-muted);
  white-space: nowrap;
}

.fh-select-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.fh-select-wrap .fh-select,
.woocommerce .woocommerce-ordering select.orderby,
.woocommerce select.orderby,
.woocommerce .widget select,
.woocommerce-widget-layered-nav-dropdown__submit,
.woocommerce .woocommerce-widget-layered-nav-dropdown select,
.woocommerce div.product form.cart .variations select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  min-width: 160px;
  margin: 0;
  padding: 0.55rem 2.1rem 0.55rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fh-ink);
  font-family: var(--fh-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  box-shadow: none;
  cursor: pointer;
}

.fh-select-wrap .fh-select:focus,
.woocommerce .woocommerce-ordering select.orderby:focus,
.woocommerce select.orderby:focus,
.woocommerce .widget select:focus,
.woocommerce .woocommerce-widget-layered-nav-dropdown select:focus,
.woocommerce div.product form.cart .variations select:focus {
  outline: none;
  color: var(--fh-ink);
}

.fh-select-chevron {
  position: absolute;
  right: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--fh-chocolate);
  pointer-events: none;
}

.woocommerce .widget {
  margin-bottom: 2rem;
}

.woocommerce .widget .widgettitle,
.woocommerce .widget .widget-title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--fh-line);
  font-family: var(--fh-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fh-ink);
}

.woocommerce .widget select,
.woocommerce .woocommerce-widget-layered-nav-dropdown select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 2.4rem 0.75rem 0.9rem;
  border: 1px solid var(--fh-line);
  background-color: var(--fh-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233B2A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
}

.woocommerce .widget_layered_nav ul,
.woocommerce .woocommerce-widget-layered-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce .widget_layered_nav ul li,
.woocommerce .woocommerce-widget-layered-nav ul li {
  border-bottom: 1px solid var(--fh-line);
}

.woocommerce .widget_layered_nav ul li a,
.woocommerce .woocommerce-widget-layered-nav ul li a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.1rem;
  color: var(--fh-ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.woocommerce .widget_layered_nav ul li a:hover,
.woocommerce .woocommerce-widget-layered-nav ul li a:hover,
.woocommerce .widget_layered_nav ul li.chosen a,
.woocommerce .woocommerce-widget-layered-nav ul li.chosen a {
  color: var(--fh-green);
}

.woocommerce .widget_price_filter .price_slider_amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
  margin: 0;
  order: 2;
}

.woocommerce .widget_price_filter .price_label {
  order: 1;
  flex: 1 1 auto;
  color: var(--fh-muted);
  font-size: 0.88rem;
  font-family: var(--fh-serif);
}

.woocommerce div.product form.cart .variations {
  width: 100%;
  margin-bottom: 0.5rem;
}

.woocommerce div.product form.cart .variations label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

.woocommerce div.product form.cart .variations select {
  min-height: 48px;
  padding: 0.75rem 2.4rem 0.75rem 0.9rem;
  border: 1px solid var(--fh-line);
  background-color: var(--fh-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233B2A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  font-family: var(--fh-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .fh-ordering-field {
    width: 100%;
    min-width: 0;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
    text-align: left;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fh-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--fh-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--fh-ink);
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--fh-paper);
  color: var(--fh-ink);
}

.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: var(--fh-gold);
}

body.woocommerce-shop .site-main,
body.single-product .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main {
  background: var(--fh-paper);
}

body.woocommerce .section > .container,
body.woocommerce-page .section > .container {
  max-width: 1120px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  border: 1px solid transparent;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
  border-color: var(--fh-gold);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.15fr);
    gap: 1.75rem;
  }

  .hero-visual img {
    height: clamp(260px, 42vh, 440px);
  }
}

@media (max-width: 960px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
  }

  .brand {
    grid-column: 1;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
    gap: 0.2rem;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--fh-line);
  }

  body.nav-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--fh-line);
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.9rem 0.25rem;
    transition: color 0.25s ease, padding-left 0.25s ease, background-color 0.25s ease;
  }

  .main-nav a::after {
    left: 0;
    bottom: auto;
    top: 50%;
    width: 2px;
    height: 55%;
    transform: translateY(-50%) scaleY(0);
    transform-origin: center top;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav .current-menu-item > a,
  .main-nav .current_page_item > a,
  .main-nav .current-menu-ancestor > a,
  .main-nav .current-menu-parent > a,
  .main-nav .current_page_parent > a,
  .main-nav .current_page_ancestor > a {
    padding-left: 0.75rem;
    background: transparent;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after,
  .main-nav .current-menu-item > a::after,
  .main-nav .current_page_item > a::after,
  .main-nav .current-menu-ancestor > a::after,
  .main-nav .current-menu-parent > a::after,
  .main-nav .current_page_parent > a::after,
  .main-nav .current_page_ancestor > a::after {
    transform: translateY(-50%) scaleY(1);
    background: var(--fh-gold);
  }

  .js .main-nav .current-menu-item > a::after,
  .js .main-nav .current_page_item > a::after,
  .js .main-nav .current-menu-ancestor > a::after,
  .js .main-nav .current-menu-parent > a::after,
  .js .main-nav .current_page_parent > a::after,
  .js .main-nav .current_page_ancestor > a::after {
    animation: fivehive-nav-bar 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes fivehive-nav-bar {
    from {
      transform: translateY(-50%) scaleY(0);
    }
    to {
      transform: translateY(-50%) scaleY(1);
    }
  }

  .brand img,
  .brand .custom-logo,
  .custom-logo-link img {
    --fh-logo-height: 70px;
    --fh-logo-max-width: 148px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
    padding: 2.75rem 0 1.25rem;
  }

  body.home .hero-layout,
  body.front-page .hero-layout {
    padding-top: clamp(5.75rem, 16vw, 7.25rem);
  }

  body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav,
  body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav {
    border-top-color: rgba(255, 255, 255, 0.18);
  }

  body.home:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav li,
  body.front-page:not(.nav-open):not(.search-open) .site-header:not(.is-scrolled) .main-nav li {
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    height: clamp(220px, 38vh, 340px);
  }

  .hero-controls-wrap {
    padding-bottom: 1.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .category-rail,
  .product-grid,
  .woocommerce ul.products,
  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .required-pages-grid,
  .footer-grid,
  .promise-row {
    grid-template-columns: 1fr 1fr;
  }

  .promise-row {
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, 92%);
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .icon-btn .icon {
    width: 18px;
    height: 18px;
  }

  .hero-title {
    max-width: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .promise-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 0.5rem 0.75rem;
  }

  .nav-wrap {
    padding: 0.7rem 0;
  }

  .brand img,
  .brand .custom-logo,
  .custom-logo-link img {
    --fh-logo-height: 70px;
    --fh-logo-max-width: 128px;
  }

  .hero-layout {
    padding: 2.25rem 0 1rem;
  }

  body.home .hero-layout,
  body.front-page .hero-layout {
    padding-top: clamp(5.25rem, 18vw, 6.5rem);
  }

  .hero-visual img {
    height: clamp(200px, 34vh, 280px);
  }

  .hero-brand {
    margin-bottom: 0.75rem;
  }

  .hero-controls-wrap {
    padding-bottom: 1.25rem;
  }

  .hero-control {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-rail,
  .product-grid,
  .woocommerce ul.products,
  .shortcut-grid,
  .required-pages-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-panel {
    flex-direction: column;
  }

  .search-panel button {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--fh-line);
  }

  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content,
  .woocommerce-account .entry-content {
    padding: 1.25rem;
  }
}


/* Motion: carousel + scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 2px;
  background: var(--fh-gold);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.js .hero-anim {
  opacity: 0;
  transform: translateY(22px);
}

.js .hero-visual.hero-anim {
  transform: translateX(28px);
}

.js .hero-slide.is-animating .hero-anim {
  animation: fivehive-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .hero-slide.is-animating .hero-anim[data-anim="1"] { animation-delay: 0.05s; }
.js .hero-slide.is-animating .hero-anim[data-anim="2"] { animation-delay: 0.14s; }
.js .hero-slide.is-animating .hero-anim[data-anim="3"] { animation-delay: 0.22s; }
.js .hero-slide.is-animating .hero-anim[data-anim="4"] { animation-delay: 0.32s; }
.js .hero-slide.is-animating .hero-anim[data-anim="5"] { animation-delay: 0.42s; }
.js .hero-slide.is-animating .hero-anim[data-anim="6"] {
  animation-name: fivehive-slide-in;
  animation-delay: 0.2s;
  animation-duration: 0.9s;
}

.js .hero-slide.is-animating .hero-visual img {
  animation: fivehive-image-zoom 5.8s ease-out both;
}

@keyframes fivehive-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fivehive-slide-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fivehive-image-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-revealed .reveal-child,
.js .reveal-child.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .category-item,
.js .woocommerce ul.products li.product {
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.js .category-item:hover {
  transform: translateY(-2px);
}

.js .woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-progress {
    display: none;
  }

  .hero-slide,
  .js .reveal,
  .js .reveal-child,
  .js .category-item,
  .js .woocommerce ul.products li.product {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .js .hero-anim,
  .js .hero-slide.is-animating .hero-anim,
  .js .hero-slide.is-animating .hero-visual img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .main-nav a,
  .main-nav a::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Contact page */
.section-contact {
  padding-block: 3.5rem 4.5rem;
}

.fh-contact-hero {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.fh-contact-hero .section-title {
  margin-bottom: 0.35rem;
}

.fh-contact-page-brand {
  font-family: var(--fh-serif);
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.fh-contact-page-kicker {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-gold);
}

.fh-contact-intro,
.fh-contact-page-content {
  color: var(--fh-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.fh-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.fh-contact-details {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--fh-line);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 239, 0.4)),
    radial-gradient(ellipse at top left, rgba(184, 146, 74, 0.08), transparent 55%);
}

.fh-contact-brand {
  margin: 0 0 0.35rem;
  font-family: var(--fh-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fh-ink);
}

.fh-contact-heading {
  margin: 0 0 1.5rem;
  font-family: var(--fh-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-gold);
}

.fh-contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.fh-contact-list li {
  display: grid;
  gap: 0.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fh-line);
}

.fh-contact-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.fh-contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

.fh-contact-value {
  color: var(--fh-ink);
  font-size: 1rem;
  line-height: 1.5;
}

a.fh-contact-value:hover {
  color: var(--fh-green);
}

.fh-contact-address {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.fh-map-pin {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--fh-gold);
}

.fh-map-cta {
  width: 100%;
  text-align: center;
}

.fh-contact-form-panel {
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--fh-line);
  background: var(--fh-white);
}

.fh-contact-form-title {
  margin: 0 0 0.4rem;
  font-family: var(--fh-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.fh-contact-form-text {
  margin: 0 0 1.35rem;
  color: var(--fh-muted);
  font-size: 0.95rem;
}

.fh-contact-notice {
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--fh-line);
  font-size: 0.92rem;
}

.fh-contact-notice--success {
  border-color: rgba(47, 107, 71, 0.35);
  background: rgba(47, 107, 71, 0.08);
  color: var(--fh-green);
}

.fh-contact-notice--error {
  border-color: rgba(140, 50, 40, 0.3);
  background: rgba(140, 50, 40, 0.06);
  color: #8c3228;
}

.fh-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.fh-contact-form .fh-field {
  margin: 0 0 0.9rem;
}

.fh-contact-form .fh-field--full {
  margin-top: 0.1rem;
}

.fh-contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

.fh-contact-form input[type="text"],
.fh-contact-form input[type="email"],
.fh-contact-form input[type="tel"],
.fh-contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--fh-line);
  border-radius: 0;
  background: var(--fh-paper);
  color: var(--fh-ink);
  font-family: var(--fh-sans);
  font-size: 0.98rem;
}

.fh-contact-form input:focus,
.fh-contact-form textarea:focus {
  outline: 2px solid rgba(184, 146, 74, 0.45);
  outline-offset: 1px;
  border-color: var(--fh-gold);
  background: var(--fh-white);
}

.fh-contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.fh-field--actions {
  margin-top: 1.1rem !important;
}

.fh-contact-map {
  border: 1px solid var(--fh-line);
  background: var(--fh-white);
}

.fh-contact-map-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--fh-line);
}

.fh-contact-map-title {
  margin: 0;
  font-family: var(--fh-serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.fh-contact-map-address {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--fh-muted);
  font-size: 0.9rem;
}

.fh-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  background:
    linear-gradient(135deg, #ebe4da, #f7f4ef),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(28, 20, 16, 0.03) 10px,
      rgba(28, 20, 16, 0.03) 11px
    );
}

.fh-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .fh-contact-layout {
    grid-template-columns: 1fr;
  }

  .fh-map-frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .section-contact {
    padding-block: 2.5rem 3.25rem;
  }

  .fh-contact-grid {
    grid-template-columns: 1fr;
  }

  .fh-contact-details,
  .fh-contact-form-panel {
    padding: 1.35rem 1.1rem;
  }
}

/* About page */
.section-about {
  padding-block: 3.5rem 4.5rem;
}

.fh-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 2rem 3rem;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--fh-line);
}

.fh-about-hero-copy {
  max-width: 40rem;
}

.fh-about-brand {
  font-family: var(--fh-serif);
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

.fh-about-kicker {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-gold);
}

.fh-about-intro,
.fh-about-page-content {
  color: var(--fh-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.fh-about-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 2rem;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--fh-line);
}

.fh-about-facts li {
  display: grid;
  gap: 0.3rem;
}

.fh-about-fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

.fh-about-fact-value {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--fh-ink);
}

.fh-about-image {
  width: 100%;
  height: clamp(280px, 42vh, 460px);
  object-fit: cover;
  display: block;
  border: 1px solid var(--fh-line);
}

.fh-about-story {
  display: grid;
  gap: 2rem 3rem;
  align-items: center;
  padding-block: 3rem;
  border-bottom: 1px solid var(--fh-line);
}

.fh-about-story.has-image {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

.fh-about-story-copy {
  max-width: 44rem;
}

.fh-about-story-title {
  margin: 0 0 1rem;
  font-family: var(--fh-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
}

.fh-about-story-copy p {
  margin: 0 0 1rem;
  color: var(--fh-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.fh-about-story-copy p:last-child {
  margin-bottom: 0;
}

.fh-about-story-visual .fh-about-image {
  height: clamp(260px, 38vh, 420px);
}

.fh-about-values {
  padding-block: 3rem;
}

.fh-about-values .section-heading {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 1.25rem;
}

.fh-about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--fh-line);
  border-left: 1px solid var(--fh-line);
}

.fh-about-value {
  padding: 1.6rem 1.5rem;
  border-right: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.6), rgba(247, 244, 239, 0.25));
}

.fh-about-value-index {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--fh-gold);
}

.fh-about-value-title {
  margin: 0 0 0.5rem;
  font-family: var(--fh-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.fh-about-value-text {
  margin: 0;
  color: var(--fh-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.fh-about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--fh-line);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 239, 0.4)),
    radial-gradient(ellipse at top left, rgba(184, 146, 74, 0.08), transparent 55%);
}

.fh-about-cta-copy {
  max-width: 44ch;
}

.fh-about-cta-title {
  margin: 0 0 0.4rem;
  font-family: var(--fh-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
}

.fh-about-cta-text {
  margin: 0;
  color: var(--fh-muted);
  font-size: 0.98rem;
}

.fh-about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (max-width: 860px) {
  .fh-about-hero,
  .fh-about-story.has-image {
    grid-template-columns: 1fr;
  }

  .fh-about-image {
    height: clamp(240px, 40vh, 340px);
  }
}

@media (max-width: 560px) {
  .section-about {
    padding-block: 2.5rem 3.25rem;
  }

  .fh-about-values-grid {
    grid-template-columns: 1fr;
  }

  .fh-about-value {
    padding: 1.35rem 1.1rem;
  }

  .fh-about-cta {
    padding: 1.5rem 1.1rem;
  }

  .fh-about-cta-actions .button {
    width: 100%;
    text-align: center;
  }
}
