/* Daisy Mae's - Rustic Farmhouse theme (shared by the storefront SPA and the
   server-rendered pages in lib/view.php). Loaded after each page's own styles,
   so it restyles existing components without changing their markup hooks.
   Palette: weathered wood, cream, ivory, beige, muted sage, warm brown, gold. */

:root {
  --fh-wood-img: url('/images/wood-farmhouse.webp?v=20261109-farm-1');
  --fh-cream: #fbf5ea;
  --fh-ivory: #fffdf8;
  --fh-beige: #efe2cc;
  --fh-beige-deep: #e3d0b1;
  --fh-sage: #8c9c7a;
  --fh-sage-dark: #5d6c50;
  --fh-brown: #8a5a36;
  --fh-brown-dark: #5c3a20;
  --fh-brown-deep: #452a15;
  --fh-gold: #c9a24c;
  --fh-gold-soft: #e6cf94;
  --fh-text: #3b2f25;
  --fh-muted: #6f6152;
  --fh-line: #e3d4bb;
  --fh-radius: 18px;
  --fh-radius-sm: 12px;
  --fh-shadow: 0 10px 28px rgba(52, 33, 16, 0.22), 0 2px 6px rgba(52, 33, 16, 0.12);
  --fh-shadow-sm: 0 4px 12px rgba(52, 33, 16, 0.16);
  --fh-btn: linear-gradient(180deg, #b07b4d 0%, #8a5a36 52%, #6e4527 100%);
  --fh-btn-hover: linear-gradient(180deg, #bf8a5b 0%, #976440 52%, #7a4d2c 100%);
  --fh-btn-sage: linear-gradient(180deg, #a3b28f 0%, #7f906c 55%, #66765a 100%);
  --fh-btn-sage-hover: linear-gradient(180deg, #afbe9b 0%, #8b9b77 55%, #708163 100%);
  --fh-btn-cream: linear-gradient(180deg, #fffdf8 0%, #f4e8d3 100%);
  --fh-bar: linear-gradient(180deg, rgba(122, 82, 50, 0.97) 0%, rgba(86, 55, 31, 0.98) 100%);
  --fh-bottom-h: 62px;

  /* Re-map the original storefront variables onto the farmhouse palette. */
  --color-cream: #fbf5ea;
  --color-terracotta: #8a5a36;
  --color-terracotta-dark: #6b4226;
  --color-sage: #7f906c;
  --color-gold: #c9a24c;
  --color-text: #3b2f25;
  --color-light-text: #6f6152;
  --color-border: #e3d4bb;
  --color-error: #8a4b1f;
  --radius: 12px;
  --radius-lg: 18px;
}

/* ---------- Page background: mid-tone weathered wood ---------- */
html { background-color: #9a7149; }
body {
  color: var(--fh-text);
  background-color: #9a7149 !important;
  background-image: linear-gradient(rgba(246, 232, 208, 0.16), rgba(246, 232, 208, 0.16)), var(--fh-wood-img) !important;
  background-repeat: repeat !important;
  background-size: auto, 560px auto !important;
  background-position: 0 0, center top !important;
}
body.dm-admin-mode { background: #f6efe3 !important; }

a { color: var(--fh-brown); }
a:hover { color: var(--fh-brown-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--fh-text); }

:focus-visible,
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fh-gold) !important;
  outline-offset: 2px;
}

.fh-script { font-family: 'Allura', 'Brush Script MT', cursive; font-weight: 400; }

@keyframes fhRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Gradient buttons (every CTA) ---------- */
.btn-primary,
.fh-btn,
button.btn-add-cart,
.btn-add-cart,
.dm-menu-cta,
#dm-contact-form button[type="submit"],
.final-cta .btn-primary,
.hero-cta-row .btn-primary,
.cart-footer .btn-primary {
  background: var(--fh-btn) !important;
  color: #fffaf1 !important;
  border: 1px solid rgba(69, 42, 21, 0.55) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 236, 205, 0.45), 0 4px 12px rgba(69, 42, 21, 0.28) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(46, 26, 10, 0.35);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover,
.fh-btn:hover,
.btn-add-cart:hover,
.dm-menu-cta:hover,
#dm-contact-form button[type="submit"]:hover,
.final-cta .btn-primary:hover,
.cart-footer .btn-primary:hover {
  background: var(--fh-btn-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 236, 205, 0.5), 0 7px 18px rgba(69, 42, 21, 0.32) !important;
}
.btn-primary:active, .fh-btn:active, .btn-add-cart:active { transform: translateY(0) scale(0.98); }
.btn-primary[disabled], .btn-add-cart[disabled] { opacity: 0.55; transform: none; }

.btn-secondary,
.fh-btn-sage,
.btn-view-details,
.btn-sm.btn-secondary {
  background: var(--fh-btn-sage) !important;
  color: #fffdf6 !important;
  border: 1px solid rgba(70, 84, 57, 0.6) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, 0.4), 0 3px 10px rgba(52, 62, 40, 0.24) !important;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(40, 48, 30, 0.35);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover,
.fh-btn-sage:hover,
.btn-view-details:hover {
  background: var(--fh-btn-sage-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-primary, .btn-secondary { padding: 12px 26px; }

/* ---------- Announcement bar ---------- */
.top-brand-bar,
.fh-topbar {
  background: linear-gradient(90deg, #6f4a2c 0%, #8a5f3b 50%, #6f4a2c 100%) !important;
  color: #fbf0dc !important;
  font-size: 0.82em !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  padding: 6px 14px !important;
  text-align: center;
  border-bottom: 1px solid rgba(201, 162, 76, 0.55);
}

/* ---------- Header ---------- */
.fh-header,
nav.center-logo-nav.fh-header {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 70px !important;
  padding: 8px 14px !important;
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.93) 0%, rgba(243, 230, 207, 0.92) 100%),
    var(--fh-wood-img) center / 520px auto repeat !important;
  border-bottom: 1px solid rgba(138, 90, 54, 0.35) !important;
  box-shadow: 0 4px 16px rgba(52, 33, 16, 0.22) !important;
  height: auto !important;
}
.fh-brand,
.center-logo-nav .fh-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: var(--fh-text);
  flex: 0 1 auto;
  min-width: 0;
}
.fh-brand img.fh-brand-mark,
.center-logo-nav .center-nav-logo img.fh-brand-mark {
  width: 62px !important;
  height: auto !important;
  max-width: none !important;
  aspect-ratio: 320 / 177;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(60, 40, 20, 0.18));
}
.fh-brand:hover img.fh-brand-mark { transform: none; }
.fh-brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.fh-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.42rem;
  color: #2f2a26;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.fh-brand-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a6a35;
  margin-top: 4px;
  white-space: nowrap;
}

.fh-header .nav-right,
.fh-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  position: relative;
}

/* Call button with verified hours underneath */
.fh-call {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none !important;
  line-height: 1;
}
.fh-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--fh-btn-sage);
  color: #fffdf6;
  font-weight: 700;
  font-size: 0.86rem;
  border: 1px solid rgba(70, 84, 57, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, 0.4), 0 3px 8px rgba(52, 62, 40, 0.22);
  text-shadow: 0 1px 1px rgba(40, 48, 30, 0.3);
  transition: background 0.2s ease, transform 0.15s ease;
}
.fh-call:hover .fh-call-btn { background: var(--fh-btn-sage-hover); transform: translateY(-1px); }
.fh-call-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.fh-call-hours {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--fh-muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Cart button */
.fh-header .nav-cart-button,
.fh-cart {
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: var(--fh-btn-cream) !important;
  border: 1px solid rgba(138, 90, 54, 0.35) !important;
  box-shadow: 0 3px 10px rgba(52, 33, 16, 0.16) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--fh-brown-dark);
  text-decoration: none !important;
}
.fh-header .nav-cart-button svg, .fh-cart svg { stroke: var(--fh-brown-dark); }
#cart-count {
  background: var(--fh-btn) !important;
  border: 1px solid #fff6e6;
}

/* Hamburger + "Menu" button */
.fh-menu-btn,
button.menu-toggle.dm-menu-btn.fh-menu-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 15px !important;
  border-radius: 999px !important;
  background: var(--fh-btn) !important;
  color: #fffaf1 !important;
  border: 1px solid rgba(69, 42, 21, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 236, 205, 0.45), 0 4px 12px rgba(69, 42, 21, 0.28) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none;
  cursor: pointer;
  list-style: none;
  line-height: 1;
}
.fh-menu-btn::-webkit-details-marker { display: none; }
.fh-menu-btn:hover { background: var(--fh-btn-hover) !important; }
.fh-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; width: 17px; }
.fh-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.2s ease;
}
body.dm-menu-open .fh-burger span:nth-child(1),
details[open] > .fh-menu-btn .fh-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.dm-menu-open .fh-burger span:nth-child(2),
details[open] > .fh-menu-btn .fh-burger span:nth-child(2) { opacity: 0; }
body.dm-menu-open .fh-burger span:nth-child(3),
details[open] > .fh-menu-btn .fh-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menu dropdown: rounded gradient buttons */
.dm-menu-panel,
.fh-menu-panel {
  background: linear-gradient(180deg, #fffaf1 0%, #f3e6cf 100%) !important;
  border: 1px solid rgba(138, 90, 54, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 44px rgba(40, 24, 10, 0.32) !important;
  min-width: 230px !important;
}
.dm-menu-links,
.fh-menu-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 4px 12px 12px !important;
}
.dm-menu-link,
.fh-menu-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px !important;
  border-radius: 999px;
  background: var(--fh-btn-cream);
  border: 1px solid rgba(138, 90, 54, 0.28);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(52, 33, 16, 0.1);
  color: var(--fh-brown-deep) !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.dm-menu-link:hover, .dm-menu-link:focus-visible,
.fh-menu-link:hover, .fh-menu-link:focus-visible {
  background: var(--fh-btn) !important;
  color: #fffaf1 !important;
  transform: translateX(2px);
}
.dm-menu-link:hover .dm-menu-arrow, .fh-menu-link:hover .dm-menu-arrow { color: #fffaf1; }
.dm-menu-arrow { color: var(--fh-brown) !important; }
.dm-menu-footer,
.fh-menu-footer {
  background: rgba(239, 226, 204, 0.75) !important;
  border-top: 1px solid rgba(138, 90, 54, 0.22) !important;
  padding: 12px 14px 14px !important;
}
.dm-menu-hours, .fh-menu-hours { color: var(--fh-muted) !important; }

/* Desktop header links */
.fh-header .nav-desktop-link,
.fh-desktop-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--fh-brown-deep) !important;
  border-radius: 999px !important;
  padding: 9px 14px !important;
  text-decoration: none !important;
}
.fh-header .nav-desktop-link::after { display: none !important; }
.fh-header .nav-desktop-link:hover,
.fh-desktop-link:hover {
  background: var(--fh-btn) !important;
  color: #fffaf1 !important;
}

@media (min-width: 900px) {
  .fh-header { padding: 8px 26px !important; min-height: 78px !important; }
  .fh-brand img.fh-brand-mark, .center-logo-nav .center-nav-logo img.fh-brand-mark { width: 72px !important; }
  .fh-brand-name { font-size: 1.65rem; }
  .fh-brand-sub { font-size: 0.66rem; }
}
/* The legacy global nav{} rule makes this inner <nav> sticky, white and 70px tall. */
.fh-header nav.nav-desktop-links {
  position: static !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  backdrop-filter: none !important;
  z-index: auto !important;
}
@media (max-width: 1023px) { .fh-header .nav-desktop-links { display: none !important; } }
@media (max-width: 420px) {
  .fh-header, nav.center-logo-nav.fh-header { padding: 7px 10px !important; gap: 6px; min-height: 64px !important; }
  .fh-brand { gap: 6px; }
  .fh-brand img.fh-brand-mark, .center-logo-nav .center-nav-logo img.fh-brand-mark { width: 46px !important; }
  .fh-brand-name { font-size: 1.12rem; }
  .fh-brand-sub { font-size: 0.5rem; letter-spacing: 0.17em; margin-top: 3px; }
  .fh-header .nav-right, .fh-header-actions { gap: 6px; }
  .fh-call-btn { padding: 7px 10px; font-size: 0.78rem; gap: 4px; }
  .fh-call-btn svg { width: 12px; height: 12px; }
  .fh-call-hours { font-size: 0.56rem; }
  .fh-header .nav-cart-button, .fh-cart { width: 38px !important; height: 38px !important; }
  .fh-menu-btn, button.menu-toggle.dm-menu-btn.fh-menu-btn { padding: 9px 11px !important; font-size: 0.84rem !important; gap: 6px; }
}
@media (max-width: 359px) {
  .fh-brand-sub { display: none; }
  .fh-brand-name { font-size: 1.02rem; }
}

/* ---------- Floating bottom bar (Shop / Contact / Checkout) ---------- */
.fh-bottom-bar {
  position: fixed;
  top: auto;
  left: 0;
  right: 0;
  height: auto;
  margin: 0 auto;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 880;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(440px, calc(100% - 20px));
  padding: 6px;
  border-radius: 999px;
  background: var(--fh-bar);
  border: 1px solid rgba(201, 162, 76, 0.6);
  box-shadow: 0 10px 26px rgba(30, 18, 8, 0.38), inset 0 1px 0 rgba(255, 228, 190, 0.25);
  animation: fhRise 0.35s ease both;
}
.fh-bottom-bar a,
.fh-bottom-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 236, 205, 0.18);
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.16) 0%, rgba(255, 244, 224, 0.04) 100%);
  color: #fff6e6 !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.fh-bottom-bar a:hover, .fh-bottom-bar button:hover,
.fh-bottom-bar a:focus-visible, .fh-bottom-bar button:focus-visible {
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.3) 0%, rgba(255, 244, 224, 0.1) 100%);
  transform: translateY(-1px);
}
.fh-bottom-bar .fh-bb-checkout {
  background: linear-gradient(180deg, #e2c27a 0%, #c9a24c 55%, #a9832f 100%) !important;
  color: #3a2410 !important;
  border-color: rgba(255, 240, 200, 0.6);
  text-shadow: 0 1px 0 rgba(255, 245, 220, 0.5);
}
.fh-bottom-bar svg { width: 17px; height: 17px; flex: 0 0 auto; }
.fh-bb-count {
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: #3a2410; color: #fff3dc;
  font-size: 0.72rem; line-height: 18px; text-align: center;
}
.fh-bb-count[hidden] { display: none; }
body.fh-has-bottom-bar { padding-bottom: calc(var(--fh-bottom-h) + 22px + env(safe-area-inset-bottom, 0px)) !important; }
body.dm-admin-mode .fh-bottom-bar { display: none !important; }
body.dm-admin-mode.fh-has-bottom-bar { padding-bottom: 0 !important; }
#mobile-cta { display: none !important; }
#toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }

/* ---------- Cream containers on wood (SPA) ---------- */
#main-content > .page > section,
#main-content > .page > .fh-section {
  padding: 14px 12px !important;
  background: transparent !important;
  border: 0 !important;
}
#main-content > .page > section > .container,
#main-content > .page > .fh-section > .container {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.97) 0%, rgba(250, 242, 228, 0.97) 100%);
  border: 1px solid rgba(201, 162, 76, 0.35);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow);
  padding: 26px 18px;
}
#main-content > .page > section:first-child,
#main-content > .page > .fh-section:first-child { padding-top: 16px !important; }
#main-content > .page > section:last-child { padding-bottom: 24px !important; }
@media (min-width: 769px) {
  #main-content > .page > section,
  #main-content > .page > .fh-section { padding: 18px 20px !important; }
  #main-content > .page > section > .container,
  #main-content > .page > .fh-section > .container { padding: 36px 40px; }
}
.fh-page-title,
#main-content .fh-page-title {
  font-size: clamp(1.9rem, 6vw, 2.5rem) !important;
  text-align: center;
  margin: 0 0 18px !important;
  color: var(--fh-text);
}
.fh-page-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--fh-sage), var(--fh-gold), var(--fh-sage));
}

/* Cards */
.card,
.product-card,
.policy-card,
.value-card,
.review-card,
.faq-item {
  background: var(--fh-ivory) !important;
  border: 1px solid var(--fh-line) !important;
  border-radius: var(--fh-radius-sm) !important;
  box-shadow: var(--fh-shadow-sm) !important;
}
.product-card { transition: transform 0.2s ease, box-shadow 0.2s ease; overflow: hidden; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(52, 33, 16, 0.22) !important; }
.product-image { background: #fbf6ee; }
.product-price, .detail-price { color: var(--fh-brown) !important; }
.product-badge, .detail-badge {
  background: linear-gradient(180deg, #a3b28f, #6f805e) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.badge-bestseller { background: linear-gradient(180deg, #e2c27a, #b38b35) !important; color: #3a2410 !important; }
.badge-local { background: linear-gradient(180deg, #b07b4d, #7a4d2c) !important; }
.section-title h2 { color: var(--fh-text); }
.section-title p { color: var(--fh-muted); }
.section-title h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--fh-sage), var(--fh-gold), var(--fh-sage));
}

/* Home hero */
.hero-section {
  padding: 20px 0 10px !important;
  background: transparent !important;
}
.fh-hero { text-align: center; position: relative; overflow: hidden; }
.fh-hero .container { position: relative; }
.fh-hero-logo,
.hero-section .hero-logo.fh-hero-logo {
  width: min(290px, 70vw) !important;
  height: auto !important;
  aspect-ratio: 520 / 419;
  margin: 0 auto 6px !important;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(80, 52, 24, 0.18));
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
}
.fh-hero-script {
  display: block;
  font-family: 'Allura', 'Brush Script MT', cursive;
  font-size: clamp(2.1rem, 9vw, 4rem);
  line-height: 1.05;
  white-space: nowrap;
  color: var(--fh-brown);
  margin: 4px 0 4px;
  text-shadow: 0 1px 0 #fff;
}
.hero-title.fh-hero-title {
  font-size: clamp(1.35rem, 4.6vw, 2.2rem) !important;
  line-height: 1.25 !important;
  margin: 0 auto 10px !important;
  max-width: 760px;
  color: var(--fh-text) !important;
}
.hero-tagline { color: var(--fh-muted) !important; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-eyebrow { color: var(--fh-sage-dark) !important; }
.hero-cta-row { justify-content: center; gap: 12px !important; }
.hero-cta-row .btn-primary,
.hero-cta-row .btn-secondary,
.final-cta .btn-primary,
.final-cta .btn-secondary { font-size: 1rem !important; padding: 14px 28px !important; min-height: 50px; display: inline-flex !important; align-items: center; justify-content: center; }
.final-cta .cta-call { margin-top: 12px; }
.fh-hero-sprig {
  position: absolute;
  width: 120px;
  opacity: 0.16;
  pointer-events: none;
  top: 8px;
}
.fh-hero-sprig.left { left: -18px; transform: rotate(-18deg); }
.fh-hero-sprig.right { right: -18px; transform: scaleX(-1) rotate(-18deg); }

/* Trust strip */
.trust-strip { background: transparent !important; border: 0 !important; padding: 0 12px !important; }
.trust-strip-inner {
  background: var(--fh-bar) !important;
  color: #fbefd8 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(201, 162, 76, 0.5);
  box-shadow: var(--fh-shadow-sm);
  padding: 10px 18px !important;
}
.trust-strip-inner strong { color: #fbefd8 !important; }

/* Final CTA */
.final-cta { background: transparent !important; color: var(--fh-text) !important; }
.final-cta h2, .final-cta p { color: var(--fh-text) !important; }

/* Policy / value icons */
.policy-card .icon { background: linear-gradient(180deg, #eef1e6, #dfe5d3) !important; color: var(--fh-sage-dark) !important; }
.policy-card .icon svg { stroke: var(--fh-sage-dark) !important; }
.value-card h3, .policy-card h3 { color: var(--fh-brown-dark); }

/* Shop controls */
.category-dropdown, .search-box input, .sort-select,
.form-group input, .form-group select, .form-group textarea,
#page-contact textarea {
  background: #fffdf8 !important;
  border: 1px solid var(--fh-beige-deep) !important;
  border-radius: 12px !important;
}
.category-dropdown:focus, .search-box input:focus, .sort-select:focus,
.form-group input:focus, .form-group textarea:focus { border-color: var(--fh-brown) !important; box-shadow: 0 0 0 3px rgba(201, 162, 76, 0.25) !important; }

/* Cart drawer */
.cart-drawer { background: linear-gradient(180deg, #fffaf1, #f6ead6) !important; border-radius: 18px !important; border: 1px solid rgba(138, 90, 54, 0.3) !important; }
.cart-continue-link { color: var(--fh-brown) !important; }

/* Product detail */
.fh-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fh-btn-cream) !important;
  border: 1px solid rgba(138, 90, 54, 0.3) !important;
  color: var(--fh-brown-dark) !important;
  font-weight: 700; font-size: 0.92em;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  margin-bottom: 18px !important;
  cursor: pointer;
  box-shadow: var(--fh-shadow-sm);
}
.fh-cosmetic-note { font-size: 0.84em; color: var(--fh-muted); margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--fh-line); }
.disclaimer { background: #f8f1e3 !important; color: #5d4e37 !important; }

/* FAQ accordion */
.faq-item { margin-bottom: 10px !important; overflow: hidden; }
.faq-q { color: var(--fh-text) !important; }
.faq-q .chev { color: var(--fh-brown) !important; }
.faq-item.open { border-color: rgba(201, 162, 76, 0.6) !important; }

/* ---------- Product Guide accordion ---------- */
.fh-guide-grid {
  grid-auto-flow: row dense;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 769px) { .fh-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .fh-guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fh-guide-card {
  background: var(--fh-ivory);
  border: 1px solid var(--fh-line);
  border-radius: 14px;
  box-shadow: var(--fh-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fh-guide-card:hover { transform: translateY(-2px); }
.fh-guide-card[open] { grid-column: 1 / -1; border-color: rgba(201, 162, 76, 0.65); animation: fhRise 0.25s ease both; }
.fh-guide-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 76px;
  padding: 13px 34px 12px 13px;
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, #f4e8d3 100%);
}
.fh-guide-card > summary::-webkit-details-marker { display: none; }
.fh-guide-card > summary::after {
  content: '';
  position: absolute;
  right: 13px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--fh-brown);
  border-bottom: 2px solid var(--fh-brown);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.fh-guide-card[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.fh-guide-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--fh-text);
}
.fh-guide-count { font-size: 0.78rem; font-weight: 600; color: var(--fh-sage-dark); }
.fh-guide-body { padding: 4px 14px 16px; }
.fh-guide-body p { color: var(--fh-muted); font-size: 0.94em; line-height: 1.6; margin: 8px 0 12px; }
.fh-guide-products { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
@media (min-width: 600px) { .fh-guide-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fh-guide-products a,
.fh-guide-products button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--fh-line);
  background: #fffaf1;
  color: var(--fh-text) !important;
  font: inherit;
  font-size: 0.92em;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}
.fh-guide-products a:hover, .fh-guide-products button:hover { background: #f4e8d3; border-color: rgba(138, 90, 54, 0.35); }
.fh-guide-products .fh-price { color: var(--fh-brown); font-weight: 700; white-space: nowrap; }
.fh-guide-body .btn-primary { display: inline-flex; padding: 10px 22px; }

/* ---------- About ---------- */
.fh-about-logo {
  display: block;
  width: min(250px, 64vw);
  height: auto;
  aspect-ratio: 520 / 419;
  margin: 0 auto 22px;
  filter: drop-shadow(0 6px 10px rgba(80, 52, 24, 0.16));
}
.fh-story-card {
  background: linear-gradient(180deg, #fffdf8, #f7eddb);
  border: 1px solid rgba(201, 162, 76, 0.45);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--fh-shadow-sm);
  margin: 22px 0;
  font-size: 1.05em;
  line-height: 1.75;
  position: relative;
}
.fh-story-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(201, 162, 76, 0.45);
  border-radius: 12px;
  pointer-events: none;
}
.founder-block {
  background: var(--fh-ivory) !important;
  border: 1px solid var(--fh-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--fh-shadow-sm) !important;
}
.founder-block .founder-eyebrow { color: var(--fh-sage-dark) !important; }
.founder-signature { color: var(--fh-brown) !important; }

/* ---------- Contact ---------- */
.fh-contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 768px) { .fh-contact-grid { grid-template-columns: 1fr; gap: 18px; } }
.fh-contact-side {
  background: #f6ecda;
  border: 1px solid var(--fh-line);
  border-radius: 14px;
  padding: 18px;
}
.fh-contact-side h3 { font-size: 1.15em; margin-bottom: 8px; }
.fh-contact-side p { margin-bottom: 10px; font-size: 0.95em; }
#dm-contact-form button[type="submit"] { width: 100%; padding: 14px 20px; font-size: 1rem; }
#dm-contact-form label { font-weight: 600; color: var(--fh-text); }

/* ---------- Footer (lighter farmhouse) ---------- */
footer.site-footer.fh-footer,
.fh-footer {
  position: relative;
  overflow: hidden;
  margin: 10px 12px 12px;
  width: auto !important;
  max-width: none;
  padding: 30px 18px 18px !important;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.97) 0%, rgba(243, 232, 212, 0.97) 100%) !important;
  border: 1px solid rgba(201, 162, 76, 0.45) !important;
  box-shadow: var(--fh-shadow);
  color: var(--fh-text) !important;
  text-align: center;
}
.fh-footer::before {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 260px;
  height: 144px;
  background: url('/images/daisy-flower.webp?v=20261109-farm-1') center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.fh-footer-inner { position: relative; max-width: 960px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.fh-footer-logo { width: min(230px, 62vw); height: auto; aspect-ratio: 520 / 419; display: block; margin: 0 auto; }
.fh-footer-nav { width: 100%; max-width: 640px; }
.fh-footer-shop { display: inline-flex; padding: 11px 30px; margin-bottom: 14px; }
.fh-footer-info {
  width: 100%;
  border: 1px solid var(--fh-line);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.85);
  text-align: left;
}
.fh-footer-info > summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fh-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fh-footer-info > summary::-webkit-details-marker { display: none; }
.fh-footer-info > summary::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 2px solid var(--fh-brown);
  border-bottom: 2px solid var(--fh-brown);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.fh-footer-info[open] > summary::after { transform: rotate(-135deg); }
.fh-footer-links {
  list-style: none;
  margin: 0;
  padding: 2px 14px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}
.fh-footer-links a,
.fh-footer-links button,
.fh-footer-links .fw-analytics-settings {
  display: inline-block;
  padding: 6px 0;
  color: var(--fh-brown-dark) !important;
  font: inherit;
  font-size: 0.93rem !important;
  font-weight: 500 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  width: auto !important;
}
.fh-footer-links a:hover, .fh-footer-links button:hover { text-decoration: underline; color: var(--fh-brown) !important; }
@media (min-width: 769px) {
  .fh-footer { margin: 14px auto 18px; width: min(1160px, calc(100% - 24px)) !important; max-width: 1160px; }
  .fh-footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.fh-footer-meta { font-size: 0.82rem; color: var(--fh-muted); line-height: 1.6; }
.fh-footer-meta p { margin: 0; color: var(--fh-muted) !important; }
.fh-footer .footer-credit, .fh-footer-credit { margin: 4px 0 0 !important; font-size: 0.82rem; }
.fh-footer .footer-credit a, .fh-footer-credit a { color: var(--fh-muted) !important; text-decoration: none; }
.fh-footer .footer-credit a:hover, .fh-footer-credit a:hover { color: var(--fh-brown) !important; text-decoration: underline; }

/* ---------- Server-rendered pages (lib/view.php) ---------- */
body.fh-server main { padding: 16px 12px 28px !important; min-height: 50vh; }
body.fh-server main > .container,
body.fh-server main > .container-narrow {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.97) 0%, rgba(250, 242, 228, 0.97) 100%);
  border: 1px solid rgba(201, 162, 76, 0.35);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow);
  padding: 24px 18px 28px;
}
body.fh-server main > .container { max-width: 1160px; }
body.fh-server main > .container > h1:first-child,
body.fh-server main > .container-narrow > h1:first-child { text-align: center; font-size: clamp(1.8rem, 6vw, 2.4rem); }
body.fh-server main > .container > h1:first-child::after,
body.fh-server main > .container-narrow > h1:first-child::after {
  content: '';
  display: block;
  width: 64px; height: 3px; margin: 10px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--fh-sage), var(--fh-gold), var(--fh-sage));
}
@media (min-width: 769px) {
  body.fh-server main { padding: 22px 20px 34px !important; }
  body.fh-server main > .container, body.fh-server main > .container-narrow { padding: 34px 40px; }
}
body.fh-server input[type=text], body.fh-server input[type=email], body.fh-server input[type=password],
body.fh-server input[type=tel], body.fh-server input[type=number], body.fh-server select, body.fh-server textarea {
  background: #fffdf8; border-color: var(--fh-beige-deep); border-radius: 12px;
}
.fh-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.fh-chip-row .btn-secondary:not(.is-active) { background: var(--fh-btn-cream) !important; color: var(--fh-brown-dark) !important; border-color: rgba(138, 90, 54, 0.3) !important; text-shadow: none; }

/* Compact storefront: shared by the home favorites, hash shop, and /shop. */
.fh-header, nav.center-logo-nav.fh-header { min-height: 60px !important; }
.fh-header .fh-menu-btn, .fh-header button.menu-toggle.dm-menu-btn.fh-menu-btn { min-height: 42px; }
.fh-header .dm-menu-panel, .fh-header .fh-menu-panel {
  top: calc(100% + 6px);
  min-width: min(208px, calc(100vw - 24px)) !important;
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.fh-header .dm-menu-links, .fh-header .fh-menu-links { gap: 4px; padding: 7px !important; flex-shrink: 0; }
.fh-header .dm-menu-link, .fh-header .fh-menu-link {
  min-height: 42px;
  padding: 5px 12px !important;
  font-size: 0.95rem;
  line-height: 1.2;
}
.dm-menu-header { padding: 4px 7px 0; }
.dm-menu-close { width: 40px; height: 34px; }
body.dm-menu-open .fh-bottom-bar { visibility: hidden; }
@media (min-width: 1024px) {
  .fh-header .nav-right, .fh-header .fh-header-actions { display: none; }
  .fh-header nav.nav-desktop-links, .fh-header .fh-desktop-nav { flex: 0 1 auto; }
}

.fh-bottom-bar {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.4fr);
  width: min(422px, calc(100% - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
}
@media (max-width: 375px) {
  .fh-bottom-bar a, .fh-bottom-bar button { font-size: 0.83rem; gap: 4px; padding-inline: 4px; }
  .fh-bottom-bar svg { width: 15px; height: 15px; }
}
:root:has(.fh-has-bottom-bar) { scroll-padding-bottom: calc(var(--fh-bottom-h) + 22px + env(safe-area-inset-bottom, 0px)); }

#main-content #page-shop .fh-shop-section > .container,
body.fh-server main > .fh-shop-shell { padding: clamp(12px, 2.3vw, 26px); }
#main-content #page-shop .fh-page-title,
body.fh-server main > .fh-shop-shell > h1:first-child { margin: 0 0 12px !important; }
.fh-shop-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 7px;
  margin: 0 0 14px;
}
.fh-shop-tools > * { min-width: 0; }
.fh-shop-tools > .category-dropdown-wrap { grid-column: 1 / -1; grid-row: 2; }
.fh-shop-tools > .fh-shop-category { grid-column: 1 / -1; }
.fh-shop-tools input[type=search], .fh-shop-tools select {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #a88e70 !important;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--fh-text);
  font: inherit;
  font-size: 1rem;
  box-shadow: none;
}
.fh-shop-tools select { font-size: 0.88rem; }
.fh-search-field { position: relative; }
.fh-search-field:has(button) input { padding-inline-end: 42px; }
.fh-search-field button {
  position: absolute;
  inset: 1px 1px 1px auto;
  width: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--fh-btn-cream);
  color: var(--fh-brown-deep);
  cursor: pointer;
}
@media (min-width: 650px) {
  .fh-shop-tools { grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr) minmax(150px, 1fr); gap: 10px; }
  .fh-shop-tools > .category-dropdown-wrap { grid-column: 3; grid-row: 1; }
  .fh-shop-tools > .fh-shop-category { grid-column: auto; }
}
.fh-visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.fh-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(8px, 1.5vw, 18px);
}
@media (min-width: 650px) { .fh-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fh-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fh-product-card.card { position: relative; padding: 0 !important; margin: 0; min-width: 0; overflow: hidden; transform: none; }
.fh-product-media { position: relative; display: block; width: 100%; height: clamp(118px, 36vw, 182px); padding: 0; border: 0; background: #f8f0e4; cursor: pointer; }
.fh-product-media img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; border-radius: 8px; }
.fh-product-body { display: grid; gap: 3px; padding: clamp(7px, 1.2vw, 13px); }
.fh-product-name, .fh-product-body .fh-product-name { margin: 0 !important; min-height: 3lh; font: 700 clamp(0.88rem, 1.35vw, 1.03rem)/1.23 Inter, system-ui, sans-serif; color: var(--fh-text); overflow-wrap: anywhere; }
@media (min-width: 650px) { .fh-product-body .fh-product-name { min-height: 2lh; } }
.fh-product-name a, .fh-product-name button { font: inherit; color: inherit; text-align: left; }
.fh-product-name button, .fh-product-full:is(button) { padding: 0; border: 0; background: none; cursor: pointer; }
.fh-product-name a:hover, .fh-product-name button:hover, .fh-product-full:hover { text-decoration: underline; }
.fh-product-body .fh-product-price { margin: 0; color: var(--fh-brown-dark); font-size: 1.08rem; font-weight: 700; }
.fh-product-body .fh-product-tag { position: absolute; top: 8px; left: 8px; right: auto; margin: 0; padding: 3px 7px; border-radius: 999px; font-size: 0.62rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; pointer-events: none; }
.fh-product-body .fh-product-tag.badge-local { background: linear-gradient(180deg, #805331, #674125) !important; color: #fffaf1; }
.fh-product-tag.badge-new { background: #dbe6d0; color: #34442b; }
.fh-product-tag.badge-bundle { background: #eee0cc; color: var(--fh-brown-deep); }
.fh-category-index { margin-top: 16px; }
.fh-category-index summary { cursor: pointer; font-weight: 650; }
.fh-category-index .fh-chip-row { margin: 9px 0 0; }
.fh-product-details summary { cursor: pointer; color: var(--fh-brown-deep); font-size: 0.82rem; font-weight: 650; padding: 7px 0; min-height: 34px; }
.fh-product-details summary::marker { color: var(--fh-brown); }
.fh-product-copy { color: var(--fh-muted); font-size: 0.85rem; overflow-wrap: anywhere; padding-bottom: 8px; }
.fh-product-copy p { margin: 0 0 7px; white-space: pre-line; }
.fh-product-full { color: var(--fh-brown-deep); font: inherit; font-weight: 650; text-decoration: underline; }
.fh-product-body .btn-add-cart { width: 100%; min-height: 42px; padding: 6px !important; font-size: 0.84rem; }
.fh-showcase { display: block; width: min(100%, 960px); height: auto; aspect-ratio: 16 / 9; border-radius: 14px; margin: clamp(16px, 3vw, 28px) auto 0; box-shadow: var(--fh-shadow); }

/* A single review surface with a fixed summary and scrollable item list. */
body.fh-cart-is-open { overflow: hidden; }
.fh-cart-dialog {
  position: fixed;
  inset: auto max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) auto;
  width: min(388px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ae9273;
  border-radius: 16px;
  background: #fffbf3;
  color: var(--fh-text);
  box-shadow: 0 14px 42px rgba(41, 24, 12, 0.33);
}
.fh-cart-dialog[open], .fh-cart-review { display: flex; flex-direction: column; }
.fh-cart-dialog::backdrop { background: rgba(44, 29, 19, 0.5); }
@media (max-width: 460px) { .fh-cart-dialog { inset-inline: 0; margin-inline: auto; } }
.fh-cart-heading { display: flex; align-items: center; justify-content: space-between; padding: 5px 9px 5px 14px; border-bottom: 1px solid #e0ceb7; }
.fh-cart-heading h2 { margin: 0; font-size: 1.32rem; }
.fh-cart-close { width: 42px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--fh-brown-deep); font-size: 1.6rem; cursor: pointer; }
.fh-cart-review { min-height: 0; }
.fh-cart-review [hidden] { display: none !important; }
.fh-cart-lines { overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 0 12px; }
.fh-cart-line { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eadbc7; }
.fh-cart-line:last-child { border-bottom: 0; }
.fh-cart-thumb { width: 48px; height: 48px; object-fit: contain; background: #f8eee0; border-radius: 7px; }
.fh-cart-line-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 5px; font-size: 0.88rem; line-height: 1.25; }
.fh-cart-name { overflow-wrap: anywhere; }
.fh-cart-line-price { color: var(--fh-brown-deep); text-align: right; }
.fh-cart-line-price small { display: block; margin-top: 2px; }
.fh-cart-line-controls { display: flex; align-items: center; gap: 3px; margin-top: 3px; }
.fh-cart-line-controls button, .fh-cart-keep-shopping { border: 0; color: var(--fh-brown-deep); background: transparent; cursor: pointer; }
.fh-cart-line-controls .fh-cart-increase, .fh-cart-line-controls .fh-cart-decrease { width: 39px; height: 34px; padding: 0; border: 1px solid #b9a28a; border-radius: 7px; background: #fff; font-size: 1.05rem; }
.fh-cart-line-controls button:disabled { opacity: 0.45; cursor: default; }
.fh-cart-quantity { min-width: 22px; text-align: center; font-size: 0.9rem; }
.fh-cart-line-controls .fh-cart-remove { margin-inline-start: auto; min-height: 34px; padding: 0 2px 0 6px; font-size: 0.78rem; text-decoration: underline; }
.fh-cart-summary { flex: none; padding: 9px 13px 4px; border-top: 1px solid #e0ceb7; background: #f7ebd9; }
.fh-cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; }
.fh-cart-summary p { margin: 1px 0 7px; color: var(--fh-muted); font-size: 0.77rem; }
.fh-cart-summary .btn-primary { width: 100%; min-height: 43px; padding: 7px 12px !important; }
.fh-cart-keep-shopping { display: block; margin: 0 auto; min-height: 34px; text-decoration: underline; font-size: 0.82rem; }
.fh-cart-empty { padding: 15px; text-align: center; }
.fh-cart-empty p { margin: 0 0 9px; }
#cart-page-content { max-width: 480px; margin-inline: auto; }
#cart-page-content .fh-cart-summary { border-radius: 0 0 12px 12px; padding-bottom: 12px; }
.fh-cart-dialog button:focus-visible, .fh-product-card :is(button, a, summary):focus-visible,
.fh-shop-tools :is(button, input, select):focus-visible { outline: 2px solid #6b4328; outline-offset: -2px; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .fh-bottom-bar, .fh-guide-card[open] { animation: none; }
  .btn-primary, .btn-secondary, .fh-btn, .dm-menu-link, .fh-menu-link, .product-card { transition: none; }
}

@media print {
  .fh-bottom-bar, .fh-header, .fh-topbar { display: none !important; }
  body { background: #fff !important; }
}

/* Privacy settings link (analytics module) sits in the footer list as plain text */
.fh-privacy-slot:empty { display: none; }
.fh-privacy-slot .fw-analytics-settings { display: inline-block !important; text-decoration: none !important; }
.fh-privacy-slot .fw-analytics-settings[hidden] { display: none !important; }
/* Consent banner: farmhouse colors and clear of the floating bottom bar */
.fw-analytics-choice { border-color: #d9c49b !important; background: #fffaf1 !important; color: var(--fh-text) !important; }
.fw-analytics-choice a { color: var(--fh-brown) !important; }
.fw-analytics-actions button { border-color: var(--fh-brown) !important; color: var(--fh-brown-dark) !important; background: #fffdf8 !important; border-radius: 999px !important; }
.fw-analytics-actions button:hover { background: #f4e8d3 !important; }
body.fh-has-bottom-bar .fw-analytics-choice { bottom: calc(var(--fh-bottom-h) + 24px + env(safe-area-inset-bottom, 0px)); }
