/* ============================================================
   Duncans Mills Tea Shop — Child Theme CSS
   v1.0.0
   ============================================================ */

/* ============================================================
    CSS VARIABLES — Midnight Luxe palette
    ============================================================ */
:root {
  --navy:         #1a1a2e;
  --navy-mid:     #22223a;
  --navy-light:   #2c2c48;
  --ivory:        #f5f0e8;
  --ivory-warm:   #efe8dc;
  --ivory-mid:    #e8e0d2;
  --ivory-dark:   #d6ccbc;
  --gold:         #d4a853;
  --gold-dk:      #b8923e;
  --gold-light:   #e8c778;
  --gold-text:    #8a6219;
  --rose:         #c4727f;
  --rose-dk:      #a35b66;
  --rose-text:    #a23d4a;
  --sage:         #6b8f71;
  --text-dark:    #1a1a2e;
  --text-mid:     #5a5870;
  --text-light:   #65637a;  /* darkened from #8a879a for WCAG AA — 5.9:1 on white, 5.2:1 on ivory */
  --white:        #ffffff;
  --logo-green:   #18959b;
  --logo-green-dk:#166f74;

  --radius:       3px;
  --radius-lg:    6px;
  --shadow:       0 2px 20px rgba(26,26,46,0.08);
  --shadow-lg:    0 8px 40px rgba(26,26,46,0.14);
  --trans:        all 0.3s ease;
}

/* ============================================================
    RESET & BASE
    ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 {
  font-family: "DM Serif Display", serif;
  line-height: 1.15;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Images inside labels are icons (payment gateway logos, etc.) — keep inline next to text */
label img { display: inline-block; vertical-align: middle; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select { font-family: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* WP screen-reader-only text — visually hidden, still read by screen readers.
   Without this, WAVE/axe flag every sr-only label (FiboSearch, comment forms,
   etc.) as a contrast error. Standard WP accessibility pattern. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
  color: #000 !important;
  background-color: #fff !important;
}
.screen-reader-text:focus {
  background: var(--white);
  color: var(--text-dark);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  width: auto;
  left: 5px;
  top: 5px;
  padding: 14px 22px;
  text-decoration: none;
  z-index: 100000;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Skip link */
.skip-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100000;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
}
.skip-main:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Editor bar */
.wh-editor-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  background: rgba(26,26,46,0.92);
  color: var(--ivory);
  padding: 8px 20px;
  font-size: 12px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.wh-editor-bar a {
  color: var(--gold);
  margin: 0 10px;
  text-decoration: underline;
  font-weight: 600;
}
/* When editor bar is present, extend the navy footer down so the bar doesn't cover the footer-bottom */
body:has(.wh-editor-bar) .site-footer { padding-bottom: 60px; }
/* Hide the editor bar on mobile — it gets in the way and clients rarely edit on phones.
   Admin links remain available inside the header dropdown's Webhelper section. */
@media (max-width: 768px) {
  .wh-editor-bar { display: none; }
  body:has(.wh-editor-bar) .site-footer { padding-bottom: 0; }
}

/* ============================================================
    HEADER
    ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  background-size: cover;
  background-position: center;
}
.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  min-height: 146px;
  padding: 0 40px;
  transition: min-height 0.3s ease, padding 0.3s ease;
}

/* Logo */
.header-logo { justify-self: start; }
.header-logo img {
  height: 110px;
  width: auto;
  display: block;
  transition: height 0.3s ease, opacity 0.2s;
  filter: brightness(1.1);
}
.header-logo:hover img { opacity: 0.88; }

/* Nav */
.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-item { position: relative; }

/* Hover bridge for dropdowns */
.nav-item::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: -20px;
  right: -20px;
  height: 14px;
  background: transparent;
  display: none;
  z-index: 1;
}
.nav-item:hover::before { display: block; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); }
.chev { font-size: 8px; margin-top: 1px; transition: transform 0.2s; color: var(--gold); opacity: 0.5; }
.nav-item:hover .chev { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown a {
  display: block;
  padding: 4px 22px;
  font-size: 14px;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--ivory); color: var(--text-dark); }
.dropdown-divider { height: 1px; background: var(--ivory-mid); margin: 6px 0; }
.dropdown-label {
  padding: 7px 22px 6px;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--gold);
}

/* Wide 2-col shop dropdown */
.dropdown-wide {
  min-width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 0;
  left: 0;
  transform: translateY(-5px);
}
.nav-item:hover .dropdown-wide { transform: translateY(0); }

/* Header Actions */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hdr-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  color: var(--white);
  transition: var(--trans);
  cursor: pointer;
}
.hdr-btn:hover { background: rgba(212,168,83,0.15); color: var(--gold); }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 17px; height: 17px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdr-sep { width: 1px; height: 20px; background: rgba(245,240,232,0.15); margin: 0 6px; }

/* Logged-in dot indicator on the user icon */
.hdr-btn.is-loggedin::after {
  content: '';
  position: absolute;
  top: 7px; right: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
}

/* My-Profile Dropdown — opens on hover (desktop) and click (touch) */
.wh-acct-wrap { position: relative; }
.wh-acct-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 200;
  text-align: left;
}
.wh-acct-wrap:hover .wh-acct-dropdown,
.wh-acct-wrap.is-open .wh-acct-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wh-acct-dropdown::before {
  content: '';
  position: absolute;
  top: -7px; right: 16px;
  width: 14px; height: 14px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: -2px -2px 6px rgba(26,26,46,0.04);
}
.wh-acct-greet {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--ivory-mid);
  display: flex; align-items: center; gap: 12px;
}
.wh-acct-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 19px;
  flex-shrink: 0;
}
.wh-acct-greet-hi {
  font-family: "DM Serif Display", serif;
  font-size: 17px;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.wh-acct-nav { padding: 8px 0; }
.wh-acct-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 5px 20px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.wh-acct-nav a i {
  width: 18px;
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  transition: color 0.15s ease;
}
.wh-acct-nav a:hover { background: var(--ivory-warm); color: var(--gold-dk); }
.wh-acct-nav a:hover i { color: var(--gold-dk); }
.wh-acct-divider { height: 1px; background: var(--ivory-mid); margin: 4px 0; }

/* Staff section — admin/shop_manager/editor only */
.wh-acct-section-label {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dk);
  padding: 8px 20px 4px;
}
.wh-acct-staff i { color: var(--gold) !important; }
.wh-acct-staff:hover i { color: var(--gold-dk) !important; }

.wh-acct-logout { color: var(--rose-dk) !important; }
.wh-acct-logout i { color: var(--rose) !important; }
.wh-acct-logout:hover { background: rgba(196,114,127,0.08) !important; }
.wh-acct-logout:hover, .wh-acct-logout:hover i { color: var(--rose-dk) !important; }

/* Search dropdown */
.search-drop {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  border-top: 1px solid rgba(245,240,232,0.1);
  background: var(--navy-mid);
}
.search-drop.open { max-height: 72px; }
.search-drop-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  /* padding: 12px 40px; */
  padding: 0px 40px 14px 40px;
}
.search-drop-fibo { flex: 1; }
.search-drop-inner button { color: rgba(245,240,232,0.5); font-size: 14px; padding: 4px; background: none; border: none; cursor: pointer; }
.search-drop-inner button:hover { color: var(--ivory); }

/* FiboSearch (free) — strip outer plugin chrome but keep the input pill's
   internal padding so the plugin's magnifier stays vertically centered. */
body .search-drop-fibo .dgwt-wcas-search-wrapp,
body .search-drop-fibo .dgwt-wcas-search-form {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  margin: 0;
}
/* Kill the white pill on .dgwt-wcas-sf-wrapp WITHOUT touching its padding,
   then style the input itself as a subtle ivory-tinted pill on navy. */
body .search-drop-fibo .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  background: transparent;
  border: none;
  box-shadow: none;
}
body .search-drop-fibo .dgwt-wcas-search-input {
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: 999px;
  color: var(--text-dark);
  box-shadow: none;
}
body .search-drop-fibo .dgwt-wcas-search-input::placeholder { color: var(--text-light); }
/* Magnifier stroke fill — make icons readable on navy */
body .search-drop-fibo .dgwt-wcas-ico-magnifier { fill: rgba(245,240,232,0.6); }

/* Mobile hamburger */
.mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}
.mobile-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: var(--trans);
}

/* ============================================================
    MOBILE MENU
    ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.65);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-panel {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 82vw);
  background: var(--white);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-panel.open { transform: translateX(0); }

.mob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ivory-mid);
  flex-shrink: 0;
  background: var(--navy);
}
.mob-header img { height: 56px; filter: brightness(1.1); }
.mob-close { font-size: 19px; color: rgba(245,240,232,0.6); cursor: pointer; padding: 4px; }

.mob-nav { flex: 1; }
.mob-nav-item { border-bottom: 1px solid var(--ivory-mid); }
.mob-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s;
}
.mob-nav-row:hover { background: var(--ivory); }
.mob-nav-row i { font-size: 10px; color: var(--text-light); transition: transform 0.25s; }
.mob-nav-item.expanded .mob-nav-row i { transform: rotate(90deg); }
.mob-sub { display: none; background: var(--ivory); }
.mob-nav-item.expanded .mob-sub { display: block; }
.mob-sub a {
  display: block;
  padding: 10px 22px 10px 36px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--ivory-mid);
}
.mob-sub a:last-child { border-bottom: none; }
.mob-sub a:hover { color: var(--gold-dk); background: var(--white); }
.mob-sub-label {
  padding: 12px 22px 4px 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.mob-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--ivory-mid);
  flex-shrink: 0;
}
.mob-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.mob-footer a:hover { color: var(--gold-dk); }
.mob-footer i { width: 16px; color: var(--text-light); }

/* ============================================================
    BUTTONS
    ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--trans);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-gold      { background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%); background-size: 100% 200%; background-position: top; color: var(--navy); border-color: var(--gold); transition: background-position 0.4s ease, border-color 0.3s ease, color 0.3s ease; }
.btn-gold:hover { background-position: bottom; border-color: var(--gold-light); }
.btn-outline-w { background: transparent; color: var(--white); border-color: rgba(245,240,232,0.4); }
.btn-outline-w:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-dark      { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-outline-d { background: transparent; color: var(--navy); border-color: rgba(26,26,46,0.3); }
.btn-outline-d:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-white     { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-rose      { background: var(--rose); color: var(--white); border-color: var(--rose); }
.btn-rose:hover { background: var(--rose-dk); border-color: var(--rose-dk); }
.btn-lg { padding: 15px 34px; font-size: 13px; }
.btn-sm { padding: 8px 18px; font-size: 11px; }

/* ============================================================
    WH-BUTTONS — namespaced standalone buttons (Webhelper convention)
    Use these in editor content / contentholders so plugin/Bootstrap .btn
    rules can't override. Single class, no base class required, work fine
    inside a wrapper <div>.
    ============================================================ */
.wh-button-gold,
.wh-button-transparent,
.wh-button-dark {
  display: inline-block;
  padding: 13px 28px;
  margin: 6px 5px;
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.3s ease;
  vertical-align: middle;
}
.wh-button-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  background-size: 100% 200%;
  background-position: top;
  color: var(--navy);
  border-color: var(--gold);
}
.wh-button-gold:hover {
  background-position: bottom;
  border-color: var(--gold-light);
  color: var(--navy);
}
.wh-button-transparent {
  background: transparent;
  color: var(--white);
  border-color: rgba(245,240,232,0.55);
}
.wh-button-transparent:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.wh-button-dark {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.wh-button-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--ivory);
}
/* In cta-banner — sit above the radial overlay */
.cta-banner .wh-button-gold,
.cta-banner .wh-button-transparent,
.cta-banner .wh-button-dark { position: relative; z-index: 1; }

/* Webhelper snippet blocks that wrap a button: render inline so multiple
   button snippets line up side-by-side (snippet block is a <div> by default). */
.wh-snippet-block[data-wh-snippet^="button-"] { display: inline-block; }

/* ============================================================
    WOOCOMMERCE — CART, CHECKOUT, ORDER RECEIVED
    Ported from TII pattern, repainted to DMTS Midnight Luxe palette.
    ============================================================ */

/* Progress bar — cart / checkout / order received */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { font-family: "Outfit", sans-serif; }

div.progress {
  background-color: var(--ivory-mid);
  min-height: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
div.progress-complete { display: none; }
body.woocommerce-order-received div.progress-complete { display: block; }
body.woocommerce-order-received div.progress-checkout { display: none; }
.progress-bar-success {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  color: var(--navy);
  min-height: 28px;
  font-size: 13px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius) 0 0 var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}
p.backtocart { margin-top: 8px; font-size: 14px; }
p.backtocart a { color: var(--gold-dk); text-decoration: underline; }
p.backtocart a:hover { color: var(--gold); }

/* --- Cart & checkout — section cards --- */
.woocommerce-cart .cart-collaterals,
.woocommerce-cart table.shop_table,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: var(--radius-lg);
  padding: 28px 28px 12px;
  margin-bottom: 24px;
}
.woocommerce-cart table.shop_table { padding: 0; }

/* --- Section headings --- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-cart h2.cart_totals-heading,
.woocommerce-cart .cart_totals h2 {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text-dark);
  padding: 0 0 14px 0;
  margin: 0 0 20px 0;
  border-bottom: 2px solid var(--gold);
  letter-spacing: 0;
  text-transform: none;
}
.woocommerce-checkout #order_review_heading {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-bottom: 2px solid var(--gold);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 22px 28px;
  margin-bottom: 0;
}
.woocommerce-checkout #order_review {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: none;
  padding-top: 0;
}

/* --- Form rows: labels above fields --- */
.woocommerce-checkout .woocommerce-billing-fields .form-row,
.woocommerce-checkout .woocommerce-shipping-fields .form-row,
.woocommerce-checkout .woocommerce-additional-fields .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.woocommerce-checkout .woocommerce-billing-fields .form-row label,
.woocommerce-checkout .woocommerce-shipping-fields .form-row label,
.woocommerce-checkout .woocommerce-additional-fields .form-row label {
  width: 100%;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

/* --- Modern input fields --- */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.woocommerce-cart .coupon input[type="text"] {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-cart .coupon input[type="text"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
  outline: none;
}

/* Select2 dropdowns */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  height: 46px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
}

/* --- Order review / cart totals tables --- */
.woocommerce-checkout-review-order table,
.woocommerce-cart .cart_totals table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.woocommerce-checkout-review-order table th,
.woocommerce-cart .cart_totals th {
  background: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  padding: 12px 18px;
  border-bottom: 1px solid var(--ivory-mid);
}
.woocommerce-checkout-review-order table td,
.woocommerce-cart .cart_totals td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ivory-mid);
  font-size: 15px;
  color: var(--text-dark);
}
.woocommerce-checkout-review-order table .order-total th,
.woocommerce-checkout-review-order table .order-total td,
.woocommerce-cart .order-total th,
.woocommerce-cart .order-total td {
  background: var(--ivory-warm);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 18px;
  border-bottom: none;
}

/* --- Notes textarea --- */
.woocommerce-checkout #order_comments {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: "Outfit", sans-serif;
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce-checkout #order_comments:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
  outline: none;
}

/* --- Login + coupon toggle notices --- */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-cart .woocommerce-info {
  background: var(--ivory);
  border-top: 3px solid var(--gold);
  color: var(--text-dark);
  padding: 14px 18px 14px 46px;
  font-size: 14px;
  border-radius: var(--radius);
  position: relative;
  list-style: none;
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-cart .woocommerce-info::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  content: "\f05a";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--gold-dk);
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
.woocommerce-cart .woocommerce-info a { color: var(--gold-dk); text-decoration: underline; }

/* --- Checkout 2-column layout ---
   form-checkout.php uses Bootstrap classes (row / col-12 / col-xl-6).
   We don't load Bootstrap, so reproduce just the bits that template needs. */
.woocommerce-checkout form.checkout > .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 1100px) {
  .woocommerce-checkout form.checkout > .row {
    grid-template-columns: 1fr 1fr;
  }
}
.woocommerce-checkout form.checkout > .row > .col-12 { min-width: 0; }
.woocommerce-checkout #customer_details {
  padding: 0;
  margin: 0;
  max-width: none;
}
.woocommerce-checkout #customer_details > .row { display: block; }
.woocommerce-checkout #customer_details .col-lg-12 { width: 100%; }

/* --- Payment section --- */
.woocommerce-checkout #payment {
  background: var(--ivory);
  border-radius: var(--radius);
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--ivory-mid);
}
.woocommerce-checkout #payment div.payment_box {
  background: var(--ivory-warm);
  color: var(--text-dark);
  border-radius: var(--radius);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ivory-warm); }

/* Strip browser default fieldset border on WC forms (Square card form, my-account password change, etc.) */
.woocommerce-checkout #payment fieldset,
.woocommerce-account fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.woocommerce-account fieldset legend {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0;
  margin: 24px 0 12px;
}

/* Payment gateway icons (Square / SkyVerge / others) — keep card logos inline next to label text */
.woocommerce-checkout #payment ul.payment_methods label img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}
.woocommerce-checkout #payment ul.payment_methods label img:first-of-type { margin-left: 6px; }

/* --- Ship to different address --- */
.woocommerce-checkout #ship-to-different-address label { font-weight: 600; cursor: pointer; }

/* PayPal / Venmo / GPay button group spacing */
.ppc-button-wrapper {
  padding: 16px 0;
  margin: 16px 0 0 0;
  border-top: 1px solid var(--ivory-mid);
}
.ppc-button-wrapper:first-child { margin-top: 0; border-top: none; }
#ppc-button-ppcp-gateway { margin-bottom: 8px; }
.ppcp-button-apm { margin-top: 10px; }

/* --- Primary action buttons (Proceed to Checkout, Place Order, .button.alt) --- */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order,
.woocommerce-page #payment #place_order,
#payment #place_order,
#place_order,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button.alt,
.woocommerce .button.alt,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  background-size: 100% 200%;
  background-position: top;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  transition: background-position 0.4s ease, border-color 0.3s ease, color 0.3s ease;
  opacity: 1;
  cursor: pointer;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #place_order:hover,
.woocommerce-page #payment #place_order:hover,
#payment #place_order:hover,
#place_order:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.button.alt:hover {
  background-position: bottom;
  border-color: var(--gold-light);
  color: var(--navy);
}

/* --- Secondary buttons (Update Cart, Apply Coupon, generic .button) --- */
.woocommerce .cart .coupon .button,
.woocommerce .cart button[name="update_cart"],
.woocommerce button.button:not(.alt),
.woocommerce input.button:not(.alt),
.woocommerce a.button:not(.alt) {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.woocommerce .cart .coupon .button:hover,
.woocommerce .cart button[name="update_cart"]:hover,
.woocommerce button.button:not(.alt):hover,
.woocommerce input.button:not(.alt):hover,
.woocommerce a.button:not(.alt):hover {
  background: var(--navy);
  color: var(--ivory);
}

/* Shipping calculator state full-width */
#calc_shipping_state_field { width: 100%; }

/* ============================================================
    SIDE CART (Xoo WooCommerce Side Cart) — keep buttons styled
    even on pages where the plugin CSS doesn't enqueue (home, custom
    templates). The plugin's buttons carry both `.button` and `.btn`
    classes, so our DMTS `.btn` rule clobbers them. Force the right
    look explicitly.
    ============================================================ */
.xoo-wsc-modal .xoo-wsc-ft-btn,
.xoo-wsc-cont .xoo-wsc-ft-btn,
a.xoo-wsc-ft-btn.btn,
a.xoo-wsc-ft-btn.button {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 16px 20px;
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.xoo-wsc-modal .xoo-wsc-ft-btn:hover,
.xoo-wsc-cont .xoo-wsc-ft-btn:hover,
a.xoo-wsc-ft-btn.btn:hover,
a.xoo-wsc-ft-btn.button:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}

/* Coupon code input — Woo's default width is tiny; give it room */
.woocommerce-cart .coupon { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.woocommerce-cart .coupon #coupon_code,
.woocommerce-cart .coupon input[type="text"] {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 320px;
}

/* Cart product thumbnail — bump from Woo's default 32px to 60px */
.woocommerce-cart .shop_table .product-thumbnail img,
.woocommerce-cart table.cart .product-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--ivory-mid);
}
.woocommerce-cart .shop_table .product-thumbnail { width: 80px; }

/* Cart row quantity inputs — bigger than Woo's default cramped size */
.woocommerce-cart input.qty,
.woocommerce-cart input[type="number"].qty,
.woocommerce-cart .quantity .qty {
  width: 90px;
  min-width: 80px;
  padding: 10px 12px;
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  text-align: center;
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce-cart input.qty:focus,
.woocommerce-cart input[type="number"].qty:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
  outline: none;
}

@media (max-width: 768px) {
  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart table.shop_table,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review { padding: 20px 16px 8px; }
  .woocommerce-checkout #order_review_heading { padding: 16px; }
  .woocommerce-checkout-review-order table th,
  .woocommerce-checkout-review-order table td,
  .woocommerce-cart .cart_totals th,
  .woocommerce-cart .cart_totals td { padding: 10px 12px; }
}

/* ============================================================
    MAILCHIMP — embedded signup form (page-mailing-list.php)
    Strips Mailchimp's classic CSS/inline-style chrome and repaints to
    DMTS palette. Constrains form to 560px so it doesn't sprawl.
    ============================================================ */
.mc-signup-page .mc-signup-intro { margin-bottom: 28px; }

#mc_embed_signup {
  background: transparent !important;
  width: 100% !important;
  max-width: 560px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
}
#mc_embed_signup .indicates-required { text-align: left; }
#mc_embed_signup form { padding: 0; margin: 0; }
#mc_embed_signup #mc_embed_signup_scroll { padding: 0; }

#mc_embed_signup h2 { display: none; } /* heading comes from page editor content above */

#mc_embed_signup .indicates-required {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
  margin: 0 0 12px;
}
#mc_embed_signup .asterisk { color: var(--rose); margin-left: 4px; font-weight: 600; text-decoration: none; }

#mc_embed_signup .mc-field-group {
  margin-bottom: 18px;
  width: 100%;
  padding: 0;
}
#mc_embed_signup .mc-field-group label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"],
#mc_embed_signup input.email,
#mc_embed_signup input.text {
  width: 100%;
  padding: 11px 14px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  color: var(--text-dark);
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}
#mc_embed_signup input[type="email"]:focus,
#mc_embed_signup input[type="text"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
  outline: none;
}

#mc_embed_signup .mc-submit { margin-top: 16px; }
#mc_embed_signup input[type="submit"],
#mc_embed_signup #mc-embedded-subscribe {
  display: inline-block;
  padding: 13px 32px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  background-size: 100% 200%;
  background-position: top;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-position 0.4s ease, border-color 0.3s ease, color 0.3s ease;
  width: auto;
  height: auto;
  box-shadow: none;
}
#mc_embed_signup input[type="submit"]:hover,
#mc_embed_signup #mc-embedded-subscribe:hover {
  background-position: bottom;
  border-color: var(--gold-light);
  color: var(--navy);
}

#mc_embed_signup .response {
  padding: 12px 16px;
  margin: 14px 0 0;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}
#mc_embed_signup #mce-error-response {
  background: rgba(196,114,127,0.08);
  border-left: 3px solid var(--rose);
  color: var(--rose-dk);
}
#mc_embed_signup #mce-success-response {
  background: var(--ivory);
  border-left: 3px solid var(--sage);
  color: var(--text-dark);
}

/* ============================================================
    GRAVITY FORMS — DMTS palette overrides
    Targets default Gravity Forms markup (.gform_wrapper, legacy or modern).
    ============================================================ */
.gform_wrapper { font-family: "Outfit", sans-serif; }

.gform_wrapper .gfield_label {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.02em;
}
.gform_wrapper .gform-field-label--type-sub,
.gform_wrapper .gfield_label_before_complex + .ginput_complex .gform-field-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: none;
  margin-bottom: 4px;
}
.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_asterisk { color: var(--rose-text); margin-left: 4px; font-weight: 600; }

.gform_wrapper .gform_fields li.gfield,
.gform_wrapper .gfield { margin-bottom: 18px; }

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  padding: 11px 14px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  color: var(--text-dark);
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gform_wrapper textarea { line-height: 1.6; min-height: 140px; }
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
}

/* Submit button — mirrors wh-button-gold */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"].gform_button {
  display: inline-block;
  padding: 13px 32px;
  margin-top: 6px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  background-size: 100% 200%;
  background-position: top;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-position 0.4s ease, border-color 0.3s ease, color 0.3s ease;
  width: auto;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"].gform_button:hover {
  background-position: bottom;
  border-color: var(--gold-light);
  color: var(--navy);
}

/* Validation / error state */
.gform_wrapper .gfield_error input[type="text"],
.gform_wrapper .gfield_error input[type="email"],
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select { border-color: var(--rose); }
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message { color: var(--rose); font-size: 13px; margin-top: 6px; }
.gform_wrapper .gform_validation_errors {
  background: rgba(196,114,127,0.08);
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--rose-dk);
  margin-bottom: 18px;
}

/* Confirmation message after submit */
.gform_confirmation_wrapper,
.gform_confirmation_message {
  background: var(--ivory);
  border: 1px solid var(--ivory-mid);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--text-dark);
}

/* ============================================================
    VISIT PAGE — hours table, things-to-do grid, full-width map
    ============================================================ */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--ivory-mid);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 600; color: var(--text-dark); }
.hours-table td:last-child { text-align: right; }

.things-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.thing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: var(--radius);
  transition: var(--trans);
}
.thing-item:hover { border-color: var(--gold); }
.thing-item i {
  color: var(--gold-dk);
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.thing-item span { font-size: 14px; color: var(--text-dark); font-weight: 500; }

.map-section {
  position: relative;
  padding-bottom: 30%;
  height: 0;
  overflow: hidden;
  background: var(--navy);
}
.map-section iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}

/* ============================================================
    404 — Not Found page
    ============================================================ */
.page-content.not-found { padding: 40px 0 80px; text-align: center; }
.not-found-inner { max-width: 640px; margin: 0 auto; }
.not-found-num {
  font-family: "DM Serif Display", serif;
  font-size: clamp(60px, 9vw, 100px);
  line-height: 1;
  color: var(--gold-text);
  opacity: 0.85;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.page-content.not-found h1 { margin-bottom: 14px; }
.page-content.not-found p { font-size: 17px; max-width: 520px; margin: 0 auto 28px; }
.not-found-buttons { margin-bottom: 40px; }
.not-found-search { padding-top: 24px; border-top: 1px solid var(--ivory-mid); }
.not-found-search-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
/* FiboSearch (free) — strip outer plugin chrome on 404 page, mirrors header treatment */
.not-found-search .dgwt-wcas-search-wrapp { max-width: 460px; margin: 0 auto; }
body .not-found-search .dgwt-wcas-search-wrapp,
body .not-found-search .dgwt-wcas-search-form {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}
body .not-found-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  background: transparent;
  border: none;
  box-shadow: none;
}
/* Thin border on the input pill so it reads against the ivory 404 page.
   Selector specificity must match the plugin's Pirx rule to override. */
body .not-found-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  border: 1px solid var(--ivory-dark);
  box-shadow: none;
}

/* ============================================================
    SECTION UTILITIES
    ============================================================ */
.eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 2.5vw, 40px);
  color: var(--text-dark);
  line-height: 1.15;
}
.view-all-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.view-all-link:hover { gap: 10px; }

/* ============================================================
    HERO — FULL-WIDTH SLIDER (home)
    ============================================================ */
.hero-slider {
  position: relative;
  height: calc(100vh - 146px);
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  background-color: var(--navy);
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1.04);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26,26,46,0.72) 0%, rgba(26,26,46,0.50) 60%, rgba(26,26,46,0.35) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 52px;
}
.hero-slide-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-slide-eyebrow::before,
.hero-slide-eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.hero-slide-content h1 {
  font-size: clamp(45px, 5vw, 72px);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-slide-content p {
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Slider Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,240,232,0.25);
  background: rgba(26,26,46,0.3);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--trans);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,240,232,0.4);
  background: transparent;
  cursor: pointer;
  transition: var(--trans);
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-dot:hover { border-color: var(--gold); }

/* ============================================================
    STORE INFO BAR (home)
    ============================================================ */
.store-bar {
  background: var(--navy);
  padding: 0;
}
.store-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.store-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 22px 20px;
  border-right: 1px solid rgba(245,240,232,0.10);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}
.store-bar-item:last-child { border-right: none; }
.store-bar-item:hover,
.store-bar-item:focus {
  background: rgba(245,240,232,0.04);
  text-decoration: none;
  color: inherit;
}
.store-bar-item i {
  color: var(--gold);
  font-size: 19px;
  margin-bottom: 2px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.store-bar-item:hover i,
.store-bar-item:focus i {
  transform: translateY(-3px) scale(1.08);
  color: var(--gold-light);
}
.store-bar-item span {
  font-size: 13px;
  color: rgba(245,240,232,0.55);
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.store-bar-item:hover span,
.store-bar-item:focus span {
  color: rgba(245,240,232,0.85);
}

/* ============================================================
    SHOP BY TYPE — portrait tiles (home)
    ============================================================ */
.section-types { padding: 84px 0; background: var(--ivory); }
.types-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 14px;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.type-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
  background: var(--ivory-mid);
  text-decoration: none;
  color: inherit;
  display: block;
}
.type-tile.tall { aspect-ratio: 2/3; grid-column: span 2; }

.type-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  filter: brightness(0.78);
}
.type-tile:hover .type-tile-bg { transform: scale(1.07); filter: brightness(0.65); }
.type-tile-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 16px 16px;
  background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, transparent 100%);
  text-align: center;
}
.type-tile-label > span:first-child {
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  display: block;
}
.type-tile-label small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-top: 3px;
}
.tile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.4);
  color: var(--white);
  font-size: 10px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}
.type-tile:hover .tile-btn { opacity: 1; transform: translateY(0); }
.type-tile:hover .tile-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================
    PROMO BLOCK — Navy + Gold (home)
    ============================================================ */
.promo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.promo-block::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.promo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 60px 72px 72px;
  position: relative;
  z-index: 1;
}
.promo-text .eyebrow { color: var(--gold); margin-bottom: 14px; }
.promo-number {
  font-family: "DM Serif Display", serif;
  font-size: clamp(64px, 8vw, 112px);
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: 4px;
}
.promo-number sup {
  font-size: 0.38em;
  vertical-align: top;
  margin-top: 0.3em;
}
.promo-off {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 28px;
}
.promo-text h2 {
  font-size: clamp(29px, 3vw, 45px);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 16px;
}
.promo-text p {
  font-size: 15px;
  color: var(--ivory);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 360px;
}
.promo-img {
  position: relative;
  overflow: hidden;
}
.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.5s ease;
}
.promo-block:hover .promo-img img { transform: scale(1.04); }

/* ============================================================
    PRODUCT CARDS (shared — home + related)
    ============================================================ */
.section-products { padding: 84px 0; background: var(--ivory); }
.section-products.alt { background: var(--ivory); }

/* ============================================================
    ARCHIVE / SEARCH RESULTS PAGES (woocommerce/archive-product.php)
    ============================================================ */
.archive-header { padding: 48px 0 8px; background: var(--ivory); text-align: center; }
.archive-title  { font-size: 42px; color: var(--text-dark); margin-bottom: 8px; }
.archive-subtitle { font-size: 16px; color: var(--text-mid); margin-bottom: 6px; }
.archive-count    { font-size: 13px; color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase; }
.archive-page-text {
  padding: 12px 0 24px;
  background: var(--ivory);
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
}
.archive-page-text p { margin-bottom: 12px; }
.archive-page-text p:last-child { margin-bottom: 0; }

/* Archive grid section: drop the top padding so it sits closer to the page-text/header above. */
.section-products.archive-products { padding-top: 20px; }

/* Shop hub page (page-shop-online.php) — WP editor content above the tile grid */
.shop-intro {
  padding: 36px 0 8px;
  background: var(--ivory);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}
.shop-intro h1, .shop-intro h2, .shop-intro h3, .shop-intro h4 {
  color: var(--text-dark);
  margin-bottom: 14px;
}
.shop-intro h1 { font-size: 38px; }
.shop-intro h2 { font-size: 28px; }
.shop-intro h3 { font-size: 22px; }
.shop-intro p { margin-bottom: 14px; }
.shop-intro p:last-child { margin-bottom: 0; }
.shop-intro a { color: var(--gold-text); text-decoration: underline; }
.shop-intro a:hover { color: var(--gold-dk); }
.shop-intro ul, .shop-intro ol { margin: 0 0 14px 22px; }
.shop-intro li { margin-bottom: 6px; }

.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.archive-pagination-top { margin-top: 0; margin-bottom: 32px; }
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--trans);
}
.archive-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-dk); }
.archive-pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}
.archive-pagination .page-numbers.dots { border: none; background: none; }

.archive-empty {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  padding: 24px 16px 16px;
}
.archive-empty-msg { font-size: 18px; color: var(--text-dark); margin-bottom: 8px; }
.archive-empty p   { color: var(--text-mid); margin-bottom: 16px; }
.archive-empty a   { color: var(--gold-text); text-decoration: underline; }
.archive-empty-search { max-width: 400px; margin: 20px auto 0; }
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
  flex-wrap: wrap;
  gap: 14px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.product-card {
  flex: 0 0 calc(25% - 15px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--trans);
  border: 1px solid var(--ivory-mid);
  display: flex;
  flex-direction: column;
}
.section-products.alt .product-card { border-color: var(--ivory-mid); }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
}
.pc-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ivory-mid);
  border-bottom: 1px solid var(--ivory-mid);
  box-sizing: border-box;
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
@media (hover: hover) {
  .product-card:hover .pc-img img { transform: scale(1.06); }
}
.pc-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 2;
}
.bg-sale    { background: var(--rose); color: white; }
.bg-new     { background: var(--navy); color: var(--gold); }
.bg-organic { background: var(--sage); color: white; }
.pc-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(26,26,46,0.72) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(5px);
  transition: var(--trans);
  z-index: 2;
  display: none;
}
@media (hover: hover) {
  .product-card:hover .pc-actions { opacity: 1; transform: translateY(0); }
}
.atc-btn {
  width: 100%;
  padding: 9px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  background-size: 100% 200%;
  background-position: top;
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-position 0.4s ease, color 0.3s ease;
}
.atc-btn:hover { background-position: bottom; }

/* Loading state for AJAX add-to-cart (also handles WC native .loading class) */
.atc-btn.is-loading,
.atc-btn.loading,
.atc-main.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.atc-btn.is-loading > i,
.atc-btn.loading > i,
.atc-main.is-loading > i { visibility: hidden; }
.atc-btn.is-loading::after,
.atc-btn.loading::after,
.atc-main.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid var(--navy);
  border-right-color: transparent;
  border-radius: 50%;
  animation: dmtsAtcSpin 0.6s linear infinite;
}
.atc-main.is-loading::after { border-color: var(--ivory); border-right-color: transparent; }
@keyframes dmtsAtcSpin { to { transform: rotate(360deg); } }
.pc-icons {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateX(5px);
  transition: var(--trans);
  z-index: 2;
}
@media (hover: hover) {
  .product-card:hover .pc-icons { opacity: 1; transform: translateX(0); }
}
.pc-icon {
  width: 30px; height: 30px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--navy);
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  transition: var(--trans);
  border: none;
  cursor: pointer;
}
.pc-icon:hover { background: var(--gold); color: var(--navy); }

/* Always-visible Add to Bag below card body */
.pc-atc { padding: 0 16px 16px; display: flex; gap: 6px; }
.pc-atc .atc-btn { border-radius: var(--radius); flex: 1; }
.atc-btn-info {
  background: var(--navy) !important;
  color: var(--ivory) !important;
  border-color: var(--navy) !important;
}
.atc-btn-info:hover {
  background: var(--navy-light) !important;
}

.pc-body { padding: 14px 16px 18px; flex: 1; }
.pc-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 4px;
}
section.other-cats .pc-body h3 {
  text-align: center;
}
.pc-body h3 {
  font-family: "DM Serif Display", serif;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.pc-tagline {
  font-size: 12px;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 10px;
}
.pc-price-row { display: flex; align-items: center; justify-content: space-between; }
.pc-price {
  font-family: "DM Serif Display", serif;
  font-size: 17px;
  color: var(--text-dark);
}
.pc-per {
  font-size: 11px;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 4px;
}
.pc-min {
  font-size: 11px;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 2px;
}

/* ============================================================
    SPLIT BANNERS (home)
    ============================================================ */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
.split-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--navy);
}
.split-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.split-cell:hover .split-bg { transform: scale(1.05); }
.split-overlay {
  position: absolute;
  inset: 0;
}
.split-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 52px 56px;
}
.split-content .eyebrow { color: var(--white); margin-bottom: 10px; }
.split-content h2 {
  font-size: clamp(27px, 2.5vw, 38px);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.split-content p {
  font-size: 14px;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 300px;
}

/* ============================================================
    COMMUNITY BANNER (home)
    ============================================================ */
.community-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.community-text-side {
  background: var(--logo-green-dk);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px 72px;
  position: relative;
  overflow: hidden;
}
.community-text-side::before {
  content: "";
  position: absolute;
  bottom: -160px; left: -160px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.community-text-side .eyebrow { color: var(--white); margin-bottom: 14px; }
.community-text-side h2 {
  font-size: clamp(32px, 3vw, 48px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.community-text-side p {
  font-size: 15px;
  color: var(--white);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 36px;
}

.community-img-side {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
}
.community-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-light);
  transition: transform 0.6s ease;
}
.community-banner:hover .community-img-bg { transform: scale(1.03); }
.community-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.50);
}
.community-img-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 52px 56px;
  gap: 12px;
}

/* ============================================================
    OTHER CATEGORIES (home)
    ============================================================ */
.other-cats .product-card { border: 1px solid var(--ivory-mid); text-decoration: none; color: inherit; }
@media (hover: hover) {
  .other-cats .product-card:hover { border-color: var(--gold); }
}
.other-cats .pc-subtitle {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 2px;
  text-align: center;
}

/* ============================================================
    TRUST STRIP (home)
    ============================================================ */
.trust-strip {
  background: var(--navy);
  padding: 56px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-icon {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 12px;
}
.trust-item h4 {
  font-family: "DM Serif Display", serif;
  font-size: 16px;
  color: var(--ivory);
  margin-bottom: 6px;
}
.trust-item p {
  font-size: 13px;
  color: var(--ivory);
  line-height: 1.65;
}

/* ============================================================
    BREADCRUMB (shared)
    ============================================================ */
.breadcrumb-bar {
  background: var(--ivory);
  border-bottom: 1px solid var(--ivory-mid);
  padding: 14px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-mid);
}
.breadcrumb-inner a { color: var(--text-mid); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--text-dark); text-decoration: underline; }
.breadcrumb-inner i { font-size: 9px; color: var(--text-light); opacity: 0.4; }
.breadcrumb-inner span { color: var(--text-dark); font-weight: 500; }

/* ============================================================
    PAGE HERO — short banner for inner pages
    ============================================================ */
#page-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Pure black (no navy hue) + stretched gradient so text stays legible on
     short heroes regardless of underlying image brightness. */
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.38) 90%, rgba(0,0,0,0.28) 100%);
}
/* No overlay when there's no eyebrow/title/subtitle/button to read over the image */
#page-hero.no-overlay::before { display: none; }
#page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold), var(--navy), var(--navy-mid));
  z-index: 5;
}
.page-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: wh-fadeUp 0.6s 0.3s forwards ease-out;
}
.ph-line {
  width: 30px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.6;
}
.page-hero-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(35px, 5vw, 58px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  opacity: 0;
  animation: wh-fadeUp 0.6s 0.45s forwards ease-out;
}

/* Page hero slider (multiple hero images) */
.page-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.page-hero-slide.active { opacity: 1; }
.page-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,240,232,0.25);
  background: rgba(26,26,46,0.35);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--trans);
  backdrop-filter: blur(4px);
}
.page-hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.page-hero-arrow.prev { left: 20px; }
.page-hero-arrow.next { right: 20px; }
.page-hero-sub {
  position: relative;
  z-index: 3;
  font-size: 16px;
  color: rgba(245,240,232,0.85);
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  animation: wh-fadeUp 0.6s 0.6s forwards ease-out;
}

/* Breadcrumb when there is no hero — sits at top of page, slightly more padding */
.breadcrumb-bar.no-hero { padding: 22px 0; }

/* ============================================================
    INFO BLOCKS — TOP (3-col image cards on ivory bg)
    ============================================================ */
.ib-top {
  padding: 52px 0 64px;
  background: var(--ivory);
}
.ib-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ib-top-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--trans);
}
.ib-top-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.ib-top-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-mid); }
.ib-top-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ib-top-card:hover .ib-top-img img { transform: scale(1.05); }
.ib-top-body { padding: 22px 24px 26px; }
.ib-top-title {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}
.ib-top-desc {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}
.ib-top-desc p { margin-bottom: 8px; }
.ib-top-desc p:last-child { margin-bottom: 0; }

/* ============================================================
    INFO BLOCKS — BOTTOM (navy bg, simpler full-width stack)
    ============================================================ */
.ib-bottom {
  padding: 60px 0 72px;
  background: var(--navy);
  color: var(--ivory);
}
.ib-bottom-stack { display: flex; flex-direction: column; gap: 24px; }
.ib-bottom-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--navy-mid);
  border: 1px solid rgba(245,240,232,0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: var(--trans);
}
.ib-bottom-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.ib-bottom-img { flex: 0 0 200px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy-light); }
.ib-bottom-img img { width: 100%; height: 100%; object-fit: cover; }
.ib-bottom-body { flex: 1; }
.ib-bottom-title {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1.2;
}
.ib-bottom-desc {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: rgba(245,240,232,0.78);
  line-height: 1.7;
}
.ib-bottom-desc p { margin-bottom: 8px; }
.ib-bottom-desc p:last-child { margin-bottom: 0; }

/* ============================================================
    PAGE GALLERY (lightgallery)
    ============================================================ */
.page-gallery { padding: 52px 0 72px; background: var(--ivory); }
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.page-gallery-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ivory-mid);
  background: var(--ivory-mid);
}
.page-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.page-gallery-thumb:hover img { transform: scale(1.06); }

/* ============================================================
    PAGE CONTENT (inner pages)
    ============================================================ */
.page-content {
  padding: 20px 0 72px;
  background: var(--ivory);
}
.page-content:has(+ .section-products) { padding-bottom: 0; }
.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
}
.page-content h1 {
  font-size: 42px;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.page-content h2 {
  font-size: 36px;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.page-content h3 {
  font-size: 36px;
  line-height: 1.2;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.page-content h4 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.page-content h5 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.page-content h5::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
.page-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.page-content .eyebrow {
  margin-bottom: 10px;
}

/* WordPress image alignments inside page content (Classic Editor markup) */
.page-content .alignleft,
.page-content figure.alignleft,
.page-content .wp-caption.alignleft {
  float: left;
  margin: 4px 32px 18px 0;
  max-width: 50%;
}
.page-content .alignright,
.page-content figure.alignright,
.page-content .wp-caption.alignright {
  float: right;
  margin: 4px 0 18px 32px;
  max-width: 50%;
}
.page-content .aligncenter,
.page-content figure.aligncenter,
.page-content .wp-caption.aligncenter {
  display: block;
  margin: 12px auto 24px;
  max-width: 100%;
}
.page-content .alignnone,
.page-content figure.alignnone {
  display: block;
  margin: 12px 0 24px;
  max-width: 100%;
}

/* Captioned figure — polaroid-style card (matches test-007 prototype) */
.page-content figure,
.page-content .wp-caption {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--ivory-mid);
  box-shadow: var(--shadow);
  background: var(--white);
}
.page-content figure img,
.page-content .wp-caption img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.page-content figcaption,
.page-content .wp-caption-text {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-mid);
  padding: 10px 12px 15px;
  margin: 0;
  background: var(--white);
}

/* Plain aligned <img> (no caption wrapper) — same polaroid border/shadow */
.page-content img.alignleft,
.page-content img.alignright,
.page-content img.aligncenter,
.page-content img.alignnone {
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid var(--ivory-mid);
  box-shadow: var(--shadow);
}

/* Clearfix the page-content container so floats don't bleed past the section */
.page-content .container::after {
  content: '';
  display: block;
  clear: both;
}

/* Two-column layout for inner pages */
.page-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Info cards */
.info-card {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--trans);
}
.info-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 18px;
}
.info-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.info-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0;
  max-width: none;
}
.info-card-split {
  display: flex;
  gap: 24px;
  align-items: center;
}
.info-card-split .info-card-text { flex: 1; }
.info-card-img {
  flex: 0 0 180px;
  border-radius: var(--radius);
  overflow: hidden;
}
.info-card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.info-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* CTA banner (inner pages) */
.cta-banner {
  background: var(--navy);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.cta-banner .eyebrow { color: var(--gold); margin-bottom: 14px; }
.cta-banner h2 {
  font-size: clamp(29px, 3vw, 42px);
  color: var(--ivory);
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-banner p {
  font-size: 15px;
  color: rgba(245,240,232,0.55);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.cta-banner .btn { position: relative; z-index: 1; margin: 6px 5px; }
.cta-banner.cta-green { background: var(--logo-green-dk); }
.cta-banner.cta-green::before {
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 55%);
}
.cta-banner.cta-green .eyebrow { color: var(--ivory); }
.cta-banner.cta-green h2 { color: var(--white); }
.cta-banner.cta-green p { color: var(--ivory); }

/* H5 used inside the cta-banner — auto white line on left, white text. */
.cta-banner h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 14px;
}
.cta-banner h5::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--white);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ============================================================
    FOOTER (shared)
    ============================================================ */
.site-footer { background: var(--navy-mid); color: var(--ivory); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 72px; filter: brightness(1.1); }
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ivory);
  margin-bottom: 18px;
}
.footer-hours { font-size: 13px; color: var(--ivory); line-height: 2; }
.footer-col-title {
  font-family: "DM Serif Display", serif;
  font-size: 17px;
  margin-bottom: 18px;
  color: var(--ivory);
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 14px; color: var(--ivory); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-newsletter p { font-size: 14px; color: var(--ivory); margin-bottom: 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.soc-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 14px;
  transition: var(--trans);
}
.soc-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom {
  text-align: center;
  padding: 18px;
  font-size: 12px;
  color: #ffffff;
}
.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.5);
}
.footer-contact a {
  color: #ffffff;
  text-decoration: underline;
}
.footer-contact a:hover { color: var(--gold); }

/* ============================================================
    SCROLL REVEAL
    ============================================================ */
.wh-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.wh-reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
    LOGIN POPUP (Magnific + LWA shortcode + vanilla tabs)
    ============================================================ */
.wh-login-mfp.mfp-bg { background: rgba(26,26,46,0.85); }
.wh-login-mfp .mfp-container { padding: 20px 12px; }
.wh-login-mfp .mfp-content { vertical-align: middle; }

#wh-login-popup.white-popup {
  position: relative;
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  margin: 30px auto;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  overflow: hidden;
}
.wh-login-register-wrapper { padding: 0; }

/* Magnific close button — top-right corner of popup, clear of the REGISTER tab.
   Tab strip has padding-right to leave a clean gutter for the X (see .nav-tabs below). */
.wh-login-mfp .mfp-close {
  width: 40px;
  height: 40px;
  line-height: 40px;
  top: 6px;
  right: 6px;
  color: var(--text-mid) !important;
  opacity: 0.75;
  font-size: 30px;
  font-weight: 300;
  text-shadow: none;
  background: transparent;
  border-radius: 50%;
  z-index: 5;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.wh-login-mfp .mfp-close:hover,
.wh-login-mfp .mfp-close:focus {
  color: var(--navy) !important;
  opacity: 1;
  background: rgba(26,26,46,0.08);
}

/* Tab nav — active tab merges with content panel below (no underline bar) */
#wh-login-popup .nav-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 56px 0 0;        /* right gutter for the X close button */
  background: var(--ivory-warm);
}
#wh-login-popup .nav-item { flex: 1; }
#wh-login-popup .nav-link {
  display: block;
  padding: 18px 14px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-decoration: none;
  background: transparent;
  border-bottom: 1px solid var(--ivory-mid);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
#wh-login-popup .nav-link:hover {
  color: var(--navy);
  background: rgba(255,255,255,0.5);
}
#wh-login-popup .nav-link.active {
  color: var(--navy);
  background: #ffffff;
  font-weight: 700;
  border-bottom-color: #ffffff;  /* hides the strip's bottom line at this tab — visually merges with content */
}

/* Tab panes */
#wh-login-popup .tab-content { padding: 28px 28px 26px; }
#wh-login-popup .tab-pane { display: none; }
#wh-login-popup .tab-pane.active { display: block; }

.wh-login-header { text-align: center; margin-bottom: 18px; }
.wh-login-header img { max-width: 110px; height: auto; }

/* Register pane */
.wh-register-intro {
  text-align: center;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.wh-register-btn {
  display: block;
  width: 100%;
  padding: 13px 22px;
  background: linear-gradient(180deg, #e8c778 0%, var(--gold) 45%, var(--gold-dk) 100%);
  color: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}
.wh-register-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: var(--navy);
  text-decoration: none;
}

/* Inline registration form (popup) */
.wh-register-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.wh-register-form .wh-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wh-register-form .wh-form-error {
  background: #fef0ee;
  color: #a14424;
  border: 1px solid #f0c6bd;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}
.wh-register-form .wh-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wh-register-form .wh-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wh-register-form .wh-field label {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}
.wh-register-form .wh-field .req { color: var(--gold-dk); }
.wh-register-form .wh-field input[type="text"],
.wh-register-form .wh-field input[type="email"],
.wh-register-form .wh-field input[type="password"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--ivory-mid);
  border-radius: 4px;
  background: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
.wh-register-form .wh-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.18);
}
.wh-register-form .wh-help { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.wh-register-form .wh-check-row { font-size: 13px; line-height: 1.5; }
.wh-register-form .wh-check { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.wh-register-form .wh-check input[type="checkbox"] {
  margin-top: 3px;
  width: 14px; height: 14px;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.wh-register-form .wh-check span { color: var(--text-mid); }
.wh-register-form .wh-check a { color: var(--gold-dk); text-decoration: underline; }
.wh-register-form .wh-check a:hover { color: var(--gold); }
.wh-register-form .wh-submit-row { margin-top: 4px; }
.wh-register-form .wh-register-btn { width: 100%; }
@media (max-width: 480px) {
  .wh-register-form .wh-field-row { grid-template-columns: 1fr; }
}

/* LWA shortcode output — strip pixelbones margins, restyle */
#wh-login-popup .lwa-wrapper,
#wh-login-popup .lwa { width: 100%; }
#wh-login-popup .lwa-form { margin: 0; }
#wh-login-popup .lwa-title { font-size: 14px; color: var(--text-mid); text-align: center; margin: 0 0 12px; }
#wh-login-popup .lwa-username,
#wh-login-popup .lwa-password,
#wh-login-popup .lwa-remember-email {
  margin-bottom: 14px;
}
#wh-login-popup .lwa label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  font-family: "Outfit", sans-serif;
}
#wh-login-popup .lwa input[type="text"],
#wh-login-popup .lwa input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--ivory-mid);
  border-radius: 4px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: #ffffff;
  box-sizing: border-box;
}
#wh-login-popup .lwa input[type="text"]:focus,
#wh-login-popup .lwa input[type="password"]:focus {
  border-color: var(--gold);
  outline: none;
}

/* Submit button — gold gradient */
#wh-login-popup .lwa input[type="submit"],
#wh-login-popup .lwa .button-primary {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #e8c778 0%, var(--gold) 45%, var(--gold-dk) 100%);
  color: var(--navy);
  border: 1px solid var(--gold);
  padding: 12px 20px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  margin: 6px 0 0;
  transition: filter 0.2s ease, transform 0.2s ease;
}
#wh-login-popup .lwa input[type="submit"]:hover,
#wh-login-popup .lwa .button-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
#wh-login-popup .grid-container.submit { display: block; margin-top: 8px; }
#wh-login-popup .lwa-submit-button { margin-bottom: 10px; }

/* Remember-me row */
#wh-login-popup .lwa-rememberme-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
  cursor: pointer;
}
#wh-login-popup .lwa-rememberme,
#wh-login-popup input[type="checkbox"].lwa-rememberme {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--ivory-mid) !important;
  background: #ffffff !important;
  accent-color: var(--gold-dk);
  flex-shrink: 0;
}
#wh-login-popup .lwa-rememberme-label .label-body {
  display: inline-block;
  line-height: 1;
}

/* Status messages from LWA */
#wh-login-popup .lwa-status {
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
}
#wh-login-popup .lwa-status.lwa-error {
  background: #fdf0ef;
  color: #c0392b;
  border-left: 3px solid #c0392b;
}
#wh-login-popup .lwa-status.lwa-success {
  background: #eafaf1;
  color: #1f6b3a;
  border-left: 3px solid #27ae60;
}

/* Forgot password link */
.wh-login-extra {
  text-align: center;
  margin-top: 8px;
}
.wh-login-extra a {
  font-size: 13px;
  color: var(--gold-dk);
  text-decoration: underline;
}
.wh-login-extra a:hover { color: var(--navy); }

@media (max-width: 480px) {
  #wh-login-popup .tab-content { padding: 22px 20px 20px; }
  #wh-login-popup .nav-link { padding: 14px 10px; font-size: 12px; letter-spacing: 0.08em; }
  .wh-login-header img { max-width: 95px; }
  .wh-login-mfp .mfp-container { padding: 12px 8px; }
}

/* ============================================================
    MY ACCOUNT (WooCommerce)
    Renders inside page.php → .page-content > .container, so we
    don't add our own outer padding — just clearfix the WC wrapper.
    ============================================================ */
.woocommerce-account .woocommerce::after { content: ""; display: table; clear: both; }

/* Layout — sidebar nav left, content right */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 240px;
  margin-right: 30px;
  margin-bottom: 30px;
}
.woocommerce-account .woocommerce-MyAccount-content {
  overflow: hidden;
  color: var(--text-mid);
}
.woocommerce-account .woocommerce-MyAccount-content p { margin-bottom: 14px; line-height: 1.7; }
.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--gold-dk);
  text-decoration: underline;
}
.woocommerce-account .woocommerce-MyAccount-content a:hover { color: var(--navy); }
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: "DM Serif Display", serif;
  color: var(--navy);
  margin: 0 0 14px;
}
.woocommerce-account .wh-account-hello { font-size: 18px; color: var(--navy); }

/* Sidebar nav */
nav.wh-account-nav {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
  width: 240px;
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
}
a.wh-account-nav-link {
  display: block;
  padding: 13px 20px;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
a.wh-account-nav-link:last-child { border-bottom: none; }
a.wh-account-nav-link:hover {
  background: rgba(212,168,83,0.12);
  color: var(--gold);
  padding-left: 24px;
}
a.wh-account-nav-link.active {
  background: rgba(212,168,83,0.18);
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 17px;
}

/* Login + Register two-column */
.woocommerce-account .u-columns,
.woocommerce-account #customer_login {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2,
.woocommerce-account .u-columns .col-1,
.woocommerce-account .u-columns .col-2 {
  flex: 1;
  min-width: 300px;
  max-width: calc(50% - 20px);
}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: 1px solid var(--ivory-mid);
  background: var(--ivory);
  padding: 30px;
  border-radius: 6px;
}

/* Form rows — labels above fields */
.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row,
.woocommerce-account .woocommerce-MyAccount-content .form-row,
.woocommerce-account .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-address-fields .form-row {
  display: block;
  float: none;
  width: 100%;
  max-width: 460px;
  margin-bottom: 16px;
}
.woocommerce-account .woocommerce-form-login .form-row label,
.woocommerce-account .woocommerce-form-register .form-row label,
.woocommerce-account .woocommerce-MyAccount-content .form-row label,
.woocommerce-account .woocommerce-EditAccountForm .form-row label,
.woocommerce-account .woocommerce-address-fields .form-row label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.woocommerce-account .woocommerce-form-login .form-row input.input-text,
.woocommerce-account .woocommerce-form-register .form-row input.input-text,
.woocommerce-account .woocommerce-MyAccount-content .form-row .input-text,
.woocommerce-account .woocommerce-MyAccount-content .form-row select,
.woocommerce-account .woocommerce-EditAccountForm .form-row .input-text,
.woocommerce-account .woocommerce-address-fields .form-row .input-text,
.woocommerce-account .woocommerce-address-fields .form-row select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ivory-mid);
  border-radius: 4px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  background: #ffffff;
  color: var(--text-dark);
}
.woocommerce-account .woocommerce-form-login .form-row input.input-text:focus,
.woocommerce-account .woocommerce-form-register .form-row input.input-text:focus,
.woocommerce-account .woocommerce-EditAccountForm .form-row .input-text:focus,
.woocommerce-account .woocommerce-address-fields .form-row .input-text:focus {
  border-color: var(--gold);
  outline: none;
}

/* Buttons — gold gradient to match site (submit buttons only) */
.woocommerce-account .woocommerce-form-login .woocommerce-button,
.woocommerce-account .woocommerce-form-register .woocommerce-button,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
.woocommerce-account .woocommerce-EditAccountForm button[type="submit"] {
  display: inline-block;
  background: linear-gradient(180deg, #e8c778 0%, var(--gold) 45%, var(--gold-dk) 100%);
  color: var(--navy);
  border: 1px solid var(--gold);
  padding: 12px 28px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.woocommerce-account .woocommerce-form-login .woocommerce-button:hover,
.woocommerce-account .woocommerce-form-register .woocommerce-button:hover,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover,
.woocommerce-account .woocommerce-EditAccountForm button[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Show-password eye icon — replace WC's proprietary glyph with FA eye/eye-slash.
   `!important` is required to beat WC's `.woocommerce form .show-password-input::before` specificity. */
.woocommerce-EditAccountForm .password-input {
  position: relative;
  display: block;
  width: 100%;
}
.woocommerce-EditAccountForm .show-password-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
}
.woocommerce-EditAccountForm .show-password-input::before {
  content: "\f070" !important;            /* FA eye-slash = password hidden */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  color: var(--gold-dk) !important;
  line-height: 1 !important;
  /* Kill WC's SVG bg-image on ::before (current WC versions render the eye that way) */
  background: transparent !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
}
.woocommerce-EditAccountForm .show-password-input.display-password::before {
  content: "\f06e" !important;            /* FA eye = password visible */
  background-image: none !important;
}
.woocommerce-EditAccountForm .show-password-input:hover::before {
  color: var(--navy) !important;
}

/* Lost password + remember-me row */
.woocommerce-account .woocommerce-LostPassword { margin-top: 14px; font-size: 13px; }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-size: 14px; }

/* Addresses page */
.woocommerce-account .woocommerce-Addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  flex: 1;
  min-width: 250px;
  background: var(--ivory);
  border: 1px solid var(--ivory-mid);
  border-radius: 6px;
  padding: 22px;
}
.woocommerce-account .woocommerce-Addresses header h2,
.woocommerce-account .woocommerce-Addresses header h3 {
  font-family: "DM Serif Display", serif;
  color: var(--navy);
  font-size: 22px;
  margin: 0 0 10px;
}
.woocommerce-account .woocommerce-Addresses header a { font-size: 13px; }

/* Mobile */
@media (max-width: 992px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  nav.wh-account-nav {
    float: none;
    width: 100%;
    margin-right: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  a.wh-account-nav-link {
    flex: 1 0 50%;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    border-right: 1px solid rgba(255,255,255,0.10);
  }
  a.wh-account-nav-link.active {
    border-left: none;
    border-top: 3px solid var(--gold);
    padding-left: 20px;
  }
}
@media (max-width: 768px) {
  .woocommerce-account .u-columns .u-column1,
  .woocommerce-account .u-columns .u-column2,
  .woocommerce-account .u-columns .col-1,
  .woocommerce-account .u-columns .col-2 {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
  }
  a.wh-account-nav-link { flex: 1 0 100%; }
}

/* ============================================================
    BREADCRUMB (product)
    ============================================================ */
.breadcrumb { background: var(--ivory); border-bottom: 1px solid var(--ivory-mid); padding: 12px 0; }
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-mid);
}
.breadcrumb-inner a { color: var(--text-mid); transition: color 0.2s; text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--text-dark); text-decoration: underline; }
.breadcrumb-inner i { font-size: 9px; color: var(--text-light); opacity: 0.4; }
.breadcrumb-inner span { color: var(--text-dark); font-weight: 500; }

/* ============================================================
    PRODUCT LAYOUT (single product)
    ============================================================ */
.product-section {
  padding: 52px 0 72px;
  background: var(--ivory);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: 160px; }
.gallery-main {
  position: relative;
  aspect-ratio: 1;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--ivory-mid);
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 1;
  background: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb:hover { border-color: var(--gold-dk); }

/* Product Info */
.prod-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 8px;
  display: block;
}
.prod-title {
  font-size: clamp(32px, 3.5vw, 45px);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}
.prod-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 20px;
}
.prod-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.prod-price {
  font-family: "DM Serif Display", serif;
  font-size: 30px;
  color: var(--text-dark);
}
.prod-price-per {
  font-size: 13px;
  color: var(--text-mid);
}
.prod-short-desc {
  font-size: 15px;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
  padding-top: 10px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ivory-mid);
}

/* Field labels */
.prod-field { margin-bottom: 20px; }
.prod-field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: block;
  margin-bottom: 9px;
}

/* Quantity */
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ivory-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s;
  border: none; background: var(--white);
}
.qty-btn:hover { background: var(--ivory); }
.qty-min-note { display: block; font-size: 12px; color: var(--text-mid); margin-top: 6px; }
.qty-val {
  width: 44px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border: none;
  border-left: 1.5px solid var(--ivory-mid);
  border-right: 1.5px solid var(--ivory-mid);
  padding: 0;
  height: 42px;
  background: var(--white);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-val::-webkit-outer-spin-button,
.qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Add to bag (single product) */
.atc-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 16px;
}
.atc-main {
  flex: 1;
  padding: 15px 24px;
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: var(--trans);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.atc-main:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.atc-heart {
  width: 50px; height: 50px;
  border: 1.5px solid var(--ivory-mid);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--trans);
  background: var(--white);
  flex-shrink: 0;
}
.atc-heart:hover { border-color: var(--rose); color: var(--rose); }
.atc-heart.active { color: var(--rose); border-color: var(--rose); }

/* Hide WooCommerce's "View cart" success link — side cart + cart icon already handle this */
a.added_to_cart.wc-forward { display: none; }

/* ============================================================
   PRODUCT IMAGE ZOOM — trigger + lightbox
   ============================================================ */
/* Gallery main is clickable to open lightbox; zoom icon hint on hover */
.gallery-main { cursor: zoom-in; }
.prod-zoom-icon {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.72);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-main:hover .prod-zoom-icon { opacity: 1; }
@media (hover: none) { .prod-zoom-icon { opacity: 1; } }

/* Thumbnail buttons — reset default <button> styles */
.gallery-thumb {
  padding: 0;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* ── Product image lightbox (gallery-style: prev/next, caption, counter) ── */
#prodLightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(26, 26, 46, 0.94);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#prodLightbox.active { opacity: 1; visibility: visible; }

.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 70px 80px 16px;
  min-height: 0;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.lb-caption-bar {
  flex: 0 0 auto;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(244, 237, 228, 0.10);
  padding: 14px 24px 18px;
  text-align: center;
  color: var(--ivory);
}
.lb-caption {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 1em;
}
.lb-counter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(244, 237, 228, 0.15);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 9001;
}
.lb-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
}
.lb-close:hover { background: var(--gold); color: var(--navy); }

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 18px;
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-prev:hover,
.lb-next:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 700px) {
  .lb-stage { padding: 56px 8px 8px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 15px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 18px; }
  .lb-caption { font-size: 14px; }
  .lb-caption-bar { padding: 12px 14px 14px; }
}

/* ============================================================
    ACCORDION (single product)
    ============================================================ */
.accordion { border-top: 1px solid var(--ivory-mid); }
.accordion-item { border-bottom: 1px solid var(--ivory-mid); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--gold-dk); }
.accordion-icon {
  width: 22px; height: 22px;
  border: 1.5px solid var(--ivory-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--text-mid);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.accordion-item.open .accordion-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}
.accordion-item.open .accordion-body {
  max-height: 600px;
}
.accordion-content {
  padding: 0 0 22px;
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
}
.accordion-content ul {
  list-style: none;
  padding: 0;
}
.accordion-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--text-mid);
}
.accordion-content ul li::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.accordion-content .steep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}
.steep-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  border: 1px solid var(--ivory-mid);
}
.steep-card i { font-size: 19px; color: var(--gold-dk); margin-bottom: 8px; }
.steep-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.steep-card span { font-size: 12px; color: var(--text-mid); }
.steep-note,
.wellness-note { padding-top: 10px; }
.ingredients-note { padding-top: 20px; }
.wellness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.wellness-item {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
  border: 1px solid var(--ivory-mid);
}
.wellness-item i { color: var(--gold-dk); font-size: 14px; flex-shrink: 0; }

.ingredients-text {
  padding-bottom: 20px;
}
.ingredients-text p { margin: 0 0 8px; }
.ingredients-text p:last-child { margin-bottom: 0; }
.allergen-heading {
  font-weight: 600;
  padding-bottom: 8px;
}
.allergen-heading p:last-child { margin-bottom: 0; }
.allergen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.allergen-item {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
  border: 1px solid var(--ivory-mid);
}
.allergen-item i { color: var(--rose); font-size: 14px; flex-shrink: 0; }

/* ============================================================
    RELATED PRODUCTS (single product)
    ============================================================ */
.section-related {
  padding: 72px 0;
  background: var(--ivory-warm);
  border-top: 1px solid var(--ivory-mid);
}
.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
    RESPONSIVE
    ============================================================ */
@media (max-width: 1100px) {
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .type-tile.tall { aspect-ratio: 3/4; }
  .product-card { flex: 0 0 calc(33.333% - 14px); }
  .product-layout { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 950px) {
  .header-inner { grid-template-columns: auto 1fr auto; padding: 0 16px; min-height: 90px; }
  .header-logo img { height: 78px; }
  .nav-main { display: none; }
  .mobile-btn { display: flex; }
  .hdr-sep { display: none; }
  .header-actions { gap: 2px; }
}

@media (max-width: 900px) {
  .hero-slider { height: auto; min-height: 420px; }
  .hero-slide-content { padding: 48px 80px; }
  .hero-slide-content p { display: none; }
  .hero-btns .btn { padding: 10px 22px; font-size: 12px; }
  .hero-slide-content h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
  .promo-block { grid-template-columns: 1fr; }
  .promo-img { min-height: 260px; }
  .split-block { grid-template-columns: 1fr; }
  .split-cell { min-height: 300px; }
  .community-banner { grid-template-columns: 1fr; }
  .community-text-side { padding: 52px 32px; }
  .community-img-side { min-height: 300px; }
  .community-img-content { padding: 36px 28px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .store-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .store-bar-item { border-bottom: 1px solid rgba(245,240,232,0.10); padding: 14px 16px; }
  .store-bar-item:nth-child(2n) { border-right: none; }
  .store-bar-item:nth-last-child(-n+2) { border-bottom: none; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery { position: static; }
  .page-two-col { grid-template-columns: 1fr; gap: 36px; }
  .info-card-grid { grid-template-columns: 1fr; }
  .page-content { padding: 20px 0 52px; }
  .page-content .alignleft,
  .page-content .alignright,
  .page-content figure.alignleft,
  .page-content figure.alignright,
  .page-content .wp-caption.alignleft,
  .page-content .wp-caption.alignright {
    float: none;
    margin: 12px auto 24px;
    max-width: 100%;
  }
  .ib-top-grid { grid-template-columns: 1fr; gap: 20px; }
  .ib-bottom-card { flex-direction: column; }
  .ib-bottom-img { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; }
  .page-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .things-grid { grid-template-columns: repeat(2, 1fr); }
  .map-section { padding-bottom: 60%; }
}

@media (max-width: 768px) {
  .header-inner { min-height: 70px; }
  .header-logo img { height: 58px; }
  .hdr-btn { width: 36px; height: 36px; font-size: 15px; }
  .hdr-sep { margin: 0 3px; }
  .hero-slider { min-height: 380px; }
  .hero-slide-content { padding: 40px 72px; }
  .hero-slide-eyebrow { font-size: 10px; letter-spacing: 0.2em; }
  .hero-slide-eyebrow::before,
  .hero-slide-eyebrow::after { width: 24px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 13px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-dots { bottom: 18px; }
  .container { padding: 0 20px; }
  .section-types { padding-top: 30px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .type-tile.tall { aspect-ratio: 1; }
  .product-grid { gap: 12px; }
  .product-card { flex: 0 0 calc(50% - 6px); }
  .promo-text { padding: 48px 28px; }
  .split-content { padding: 36px 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .store-bar-item { padding: 16px 14px; }
  .product-section { padding: 32px 0 52px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .accordion-content .steep-grid { grid-template-columns: repeat(3, 1fr); }
  #page-hero { height: 280px; }
  .page-hero-title { font-size: clamp(29px, 7vw, 42px); }
  .info-card { padding: 24px; }
  .info-card-split { flex-direction: column-reverse; gap: 0; padding: 0; }
  .info-card-split .info-card-text { padding: 24px; width: 100%; }
  .info-card-split .info-card-img { flex: none; width: 100%; border-radius: 0; }
  .info-card-split .info-card-img img { border-radius: 0; }
}

@media (max-width: 520px) {
  .atc-row { flex-wrap: wrap; }
  .atc-main { min-width: 100%; }
  .wellness-grid { grid-template-columns: 1fr; }
  .allergen-grid { grid-template-columns: 1fr; }
  .accordion-content .steep-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-slide-content { padding: 32px 56px; }
  .hero-slide-content h1 { font-size: 27px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .product-card { flex: 0 0 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .store-bar-item span { font-size: 12px; }
  .pc-atc .atc-btn { font-size: 10px; letter-spacing: 0.04em; padding: 8px 6px; }
  .pc-atc .atc-btn i { display: none; }
}

/* ============================================================
   ADA — underline inline text links inside content areas
   (overrides the global `a { text-decoration: none }` reset)
   ============================================================ */
.page-content p a:not([class*="btn"]):not([class*="button"]),
.page-content li a:not([class*="btn"]):not([class*="button"]),
.page-content td a:not([class*="btn"]):not([class*="button"]),
.prod-short-desc a:not([class*="btn"]):not([class*="button"]),
.accordion-content p a:not([class*="btn"]):not([class*="button"]),
.accordion-content li a:not([class*="btn"]):not([class*="button"]) {
  text-decoration: underline;
}

