/**
 * Site-wide polish — typography, header, footer, search, notices, mobile.
 * Spec: DM Sans headings, Inter body; H1 80 / H2 60 / H3 25; body/btn 16px; labels 18px.
 */

:root {
  --font-display: "DM Sans", sans-serif;
  --font-body: Inter, sans-serif;
  --type-h1: 80px;
  --type-h2: 60px;
  --type-h3: 25px;
  --type-body: 16px;
  --type-label: 18px;
  --type-btn: 16px;
  --header-h: 78px;
}

/* —— Typography —— */
body,
p,
li,
td,
th,
input,
select,
textarea {
  font-family: var(--font-body) !important;
  font-size: var(--type-body) !important;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.product_title,
.woocommerce div.product .product_title {
  font-family: var(--font-display) !important;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

h1, .page-head h1 { font-size: clamp(42px, 6vw, var(--type-h1)) !important; }
h2 { font-size: clamp(32px, 4.5vw, var(--type-h2)) !important; }
h3, .product-card-premium h3 { font-size: var(--type-h3) !important; }

.eyebrow,
.field-label,
label:not(.consent),
.woocommerce form .form-row label,
.tradition-index {
  font-family: var(--font-body) !important;
  font-size: var(--type-label) !important;
  letter-spacing: 0.08em;
}

/* Card meta stays compact — do not force 18px label size */
.card-category,
.card-volume,
.card-art-caption,
.card-number {
  font-family: var(--font-body) !important;
  font-size: 8px !important;
  letter-spacing: 0.1em;
  line-height: 1.3 !important;
}

.btn,
button.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.card-bottom .button,
.card-bottom button,
.single_add_to_cart_button,
.checkout-button,
.atelier-shop,
.flavor-discover {
  font-family: var(--font-body) !important;
  font-size: var(--type-btn) !important;
  letter-spacing: 0.08em;
}

@media (max-width: 600px) {
  :root {
    --type-h1: 40px;
    --type-h2: 28px;
    --type-h3: 18px;
    --type-body: 14px;
    --type-label: 11px;
    --type-btn: 11px;
  }

  .btn,
  button.btn,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .card-bottom .button,
  .card-bottom button,
  .single_add_to_cart_button,
  .checkout-button,
  .atelier-shop,
  .flavor-discover,
  .email-row button {
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    min-height: 42px !important;
  }
}

/* —— Header: always pinned top (no transparent→solid on scroll) —— */
html {
  scroll-padding-top: var(--header-h);
}

html.admin-bar {
  --header-offset: 32px;
}

@media screen and (max-width: 782px) {
  html.admin-bar {
    --header-offset: 46px;
  }
}

:root {
  --header-offset: 0px;
}

body {
  padding-top: 0;
}

/* Non-hero pages: clear the fixed header */
body:not(.home) #main,
body.woocommerce-page #main,
.site-main--commerce {
  padding-top: calc(var(--header-h) + 12px);
}

body.home #main {
  padding-top: 0;
}

#header,
header#header,
header#header.solid {
  position: fixed !important;
  top: var(--header-offset, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  height: auto !important;
  padding: 14px clamp(18px, 3vw, 40px) !important;
  margin: 0 !important;
  background: #100d0e !important;
  border-bottom: 1px solid #ffffff14 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  transition: none !important;
  overflow: visible !important;
}

#header .brand {
  position: relative;
  z-index: 2;
}

#header nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

#header nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 28px);
  margin: 0;
  padding: 8px 18px;
  list-style: none;
  border: 1px solid #ffffff14;
  border-radius: 999px;
  background: #ffffff08;
}

#header nav .menu a {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#header nav .menu a:hover,
#header nav .menu a.active,
#header nav .menu .current-menu-item > a {
  color: var(--text) !important;
  border-bottom-color: var(--gold);
}

#header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#header .icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  background: #ffffff08;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#header .icon-btn:hover {
  background: #c5a47322;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none !important;
}

#header .account-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ffffff18;
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

#header .account-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: #c5a47318;
}

#header #search-open {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  background: #ffffff08;
  color: var(--text);
}

#header #search-open:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: #c5a47318;
}

#header .cart-link,
#header .cart-link--icon {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  background: #ffffff08;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#header .cart-link:hover,
#header .cart-link--icon:hover {
  border-color: var(--gold);
  background: #c5a47318;
  color: var(--gold);
}

#header .cart-link .cart-ico {
  display: block;
  width: 20px;
  height: 20px;
}

#header .cart-link span,
#header #bag-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #100d0e;
  color: var(--gold);
  font-size: 10px !important;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  #header .menu-toggle {
    display: grid !important;
  }

  #header nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 18px 20px 24px !important;
    background: #100d0e !important;
    border-bottom: 1px solid #ffffff14 !important;
    z-index: 10001 !important;
  }

  #header nav.open {
    display: flex !important;
  }

  #header nav .menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  #header nav .menu li {
    border-bottom: 1px solid #ffffff10;
  }

  #header nav .menu a {
    display: block !important;
    padding: 14px 4px !important;
    font-size: 13px !important;
    letter-spacing: 0.12em;
    border-bottom: 0 !important;
  }
}

/* —— Search dialog —— */
#search-dialog {
  width: min(720px, calc(100vw - 32px));
  padding: 28px 28px 24px !important;
  border: 1px solid #ffffff18 !important;
  border-radius: 20px !important;
  background: linear-gradient(165deg, #24161d 0%, #151013 100%) !important;
  box-shadow: none !important;
  color: var(--text);
}

#search-dialog::backdrop {
  background: #0a0708cc;
  backdrop-filter: blur(6px);
}

#search-dialog .dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

#search-dialog .eyebrow {
  color: var(--gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.16em;
}

#search-dialog label {
  display: block;
  font-family: var(--font-display) !important;
  font-size: 28px !important;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text) !important;
  text-transform: none;
}

#search-dialog .search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid #ffffff22;
  border-radius: 14px;
  background: #100d0e;
}

#search-dialog .search-field input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 16px !important;
  min-height: 48px;
  box-shadow: none !important;
  outline: 0 !important;
}

#search-dialog .search-field .icon-btn,
#search-dialog [data-close] {
  width: 46px;
  height: 46px;
  border-radius: 12px !important;
  border: 1px solid #ffffff22;
  background: #1b1417;
  box-shadow: none !important;
}

#search-dialog .search-field .icon-btn:hover,
#search-dialog [data-close]:hover {
  background: var(--gold);
  color: #1a1114;
  border-color: var(--gold);
}

/* —— Footer —— */
footer {
  margin-top: 0 !important;
  border-top: 0;
  background: linear-gradient(180deg, #151013 0%, #100d0e 40%);
}

.footer-top {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: 40px 32px;
  padding: 64px 0 48px !important;
}

.footer-brand p {
  font-family: var(--font-display) !important;
  font-size: 28px !important;
  line-height: 1.25;
  color: var(--text) !important;
  margin-top: 22px;
}

.footer-brand p em {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  color: var(--gold);
}

footer h3 {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 18px !important;
}

.footer-menu a,
.footer-contact a {
  font-size: 15px !important;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-brand .brand img,
.footer-brand a.brand img,
.footer-brand .custom-logo {
  width: 96px !important;
  height: auto !important;
  max-height: 64px !important;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 !important;
  border-top: 1px solid #ffffff12;
}

.footer-legal .eyebrow,
.footer-legal .footer-menu a {
  font-size: 12px !important;
  letter-spacing: 0.06em;
}

.footer-bottom {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  padding: 18px 0 36px !important;
  border-top: 1px solid #ffffff10;
  font-size: 12px !important;
  color: var(--muted);
  text-align: center;
}

.footer-bottom .footer-credit {
  margin: 0 !important;
  color: var(--muted);
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.footer-bottom .footer-credit a,
.footer-bottom .footer-credit a:not(.brand) {
  display: inline !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: inherit !important;
  color: var(--text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom .footer-credit a:hover {
  color: var(--gold) !important;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr !important;
  }
}

/* —— Contact consent checkbox —— */
.consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 18px 0 22px !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  margin: 2px 0 0 !important;
  border: 1.5px solid #c5a473 !important;
  border-radius: 4px !important;
  background: #1b1417 !important;
  cursor: pointer;
  position: relative;
}

.consent input[type="checkbox"]:checked {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #1a1114;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent span {
  flex: 1;
  font-size: 14px !important;
  line-height: 1.55;
  color: var(--muted);
  text-align: left !important;
}

/* —— FAQ bottles: taller + tight V overlap (hero/cards/tradition untouched) —— */
.roe-faq .faq-visual {
  height: 620px !important;
}

.roe-faq .faq-bottle-ginger {
  height: 510px !important;
  width: 62% !important;
  left: 2% !important;
  right: auto !important;
  top: 56px !important;
  transform: rotate(-16deg) !important;
  z-index: 1;
}

.roe-faq .faq-bottle-sorrel {
  height: 510px !important;
  width: 62% !important;
  right: 2% !important;
  left: auto !important;
  top: 36px !important;
  transform: rotate(12deg) !important;
  z-index: 2;
}

.roe-faq .faq-visual .bottle-portrait,
.roe-faq .faq-bottle-ginger .bottle-portrait,
.roe-faq .faq-bottle-sorrel .bottle-portrait {
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
}

@media (max-width: 1150px) {
  .roe-faq .faq-visual { height: 540px !important; }
  .roe-faq .faq-bottle-ginger,
  .roe-faq .faq-bottle-sorrel {
    height: 440px !important;
    width: 56% !important;
  }
}

@media (max-width: 900px) {
  .roe-faq .faq-visual { height: 480px !important; }
  .roe-faq .faq-bottle-ginger {
    height: 380px !important;
    width: 54% !important;
    left: -2% !important;
    top: 55px !important;
  }
  .roe-faq .faq-bottle-sorrel {
    height: 380px !important;
    width: 54% !important;
    right: -2% !important;
    top: 35px !important;
  }
}

@media (max-width: 600px) {
  .roe-faq .faq-visual { height: 380px !important; }
  .roe-faq .faq-bottle-ginger {
    height: 300px !important;
    width: 50% !important;
    left: 0 !important;
    top: 35px !important;
  }
  .roe-faq .faq-bottle-sorrel {
    height: 300px !important;
    width: 50% !important;
    right: 0 !important;
    top: 18px !important;
  }
}

/* —— Shop chips —— */
.woo-toolbar .chip,
.toolbar .chip,
.filter-buttons .chip,
a.chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* —— Woo notices below fixed header —— */
.woocommerce-notices-wrapper,
.woocommerce .woocommerce-notices-wrapper {
  position: relative;
  z-index: 20;
  width: min(1320px, calc(100% - 48px));
  margin: calc(var(--header-h) + 16px) auto 0 !important;
  padding: 0 !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0 0 14px !important;
  padding: 16px 18px !important;
  background: #1a1317 !important;
  border: 1px solid #ffffff18 !important;
  border-left: 3px solid var(--gold) !important;
  border-radius: 12px;
  color: var(--text) !important;
  box-shadow: none !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message a.button {
  margin: 0 !important;
  min-height: 40px;
  padding: 10px 16px !important;
  background: var(--gold) !important;
  color: #1a1114 !important;
  border: 0 !important;
  float: none !important;
}

body.single-product .site-main--commerce,
body.woocommerce-cart .site-main--commerce,
body.woocommerce-checkout .site-main--commerce {
  /* Clear sticky header only — no extra dead space */
  padding-top: calc(var(--header-h) + 8px);
}

/* —— Cash on delivery readable —— */
.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment div.payment_box {
  background: #24161d !important;
  border: 1px solid #ffffff18 !important;
  border-radius: 10px;
  color: var(--text) !important;
  padding: 14px 16px !important;
}

.woocommerce-checkout #payment .payment_box p,
.woocommerce-checkout #payment .payment_box *,
.woocommerce-checkout #payment div.payment_box::before {
  color: var(--text) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-color: transparent transparent #24161d !important;
}

/* —— Thank you —— */
.woo-thankyou {
  padding-top: 40px;
  padding-bottom: 70px;
}

.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 28px 0 40px !important;
  padding: 0 !important;
  list-style: none !important;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1317;
}

.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 22px 16px !important;
  border: 0 !important;
  border-right: 1px solid #ffffff12 !important;
  border-top: 0 !important;
  min-width: 0;
}

.woocommerce-order-overview li:last-child {
  border-right: 0 !important;
}

.woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  font-size: 14px !important;
  line-height: 1.45;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.woocommerce-order-overview__email strong {
  font-size: 12px !important;
}

.woocommerce-order-details,
.woocommerce-customer-details {
  background: #1a1317;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  padding: 28px 26px;
  margin: 0 !important;
  height: 100%;
}

.woo-thankyou-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 24px !important;
  align-items: stretch;
  width: 100%;
}

.woo-thankyou-grid > *:not(.woocommerce-order-details):not(.woocommerce-customer-details) {
  grid-column: 1 / -1;
}

.woo-thankyou-actions {
  margin-top: 36px;
}

@media (max-width: 900px) {
  .woocommerce-order-overview {
    grid-template-columns: 1fr 1fr !important;
  }
  .woocommerce-order-overview li {
    border-right: 0 !important;
    border-bottom: 1px solid #ffffff12 !important;
  }
  .woo-thankyou-grid {
    grid-template-columns: 1fr !important;
  }
}

/* —— Find Roe button row —— */
.find-grid .email-row,
#location-form .email-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.find-grid .email-row button,
#location-form .email-row button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  min-height: 48px;
  padding: 12px 18px !important;
}

.find-grid .email-row button .roe-ico,
#location-form .email-row button .roe-ico,
.find-grid .email-row button > span,
#location-form .email-row button > span,
.find-grid .email-row button svg {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  margin: 0 0 0 6px !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

.find-grid .email-row button,
#location-form .email-row button,
.email-row button.btn {
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* —— Legal pages: no horizontal scroll —— */
.legal-layout,
.reading,
.woo-pdp-below,
.page-head {
  max-width: 100%;
  overflow-x: hidden;
}

.legal-nav,
.good-to-know,
.legal-chips {
  display: flex;
  flex-wrap: wrap !important;
  gap: 10px 14px;
  max-width: 100%;
  overflow-x: visible !important;
}

.legal-nav a,
.good-to-know a {
  white-space: normal;
}

/* —— Mobile: product grid + sitewide heading scale —— */
@media (max-width: 600px) {
  .product-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  ul.products,
  .woocommerce .related ul.products,
  .woo-pdp-related ul.products {
    grid-template-columns: 1fr !important;
  }

  body,
  body p,
  body li {
    font-size: 14px !important;
  }

  /* Global headings (all pages / sections) */
  h1,
  .page-head h1,
  .woocommerce div.product .product_title,
  .product_title {
    font-size: clamp(32px, 9vw, 40px) !important;
    line-height: 1.1 !important;
  }

  h2,
  .section-head h2,
  .tradition-header h2,
  .flavor-refined h2,
  .gathering h2,
  .newsletter h2,
  .roe-faq .faq-copy h2,
  .faq-copy h2,
  .testimonials-heading h2,
  .signature-intro h2,
  .story-copy h2,
  .account-atmosphere-copy h1,
  .account-entry-panel h2,
  .roe-blog-card__body h2,
  .roe-blog-card__body h3 {
    font-size: clamp(20px, 6vw, 24px) !important;
    line-height: 1.15 !important;
  }

  h3,
  .product-card-premium h3,
  .testimonial-card h3,
  .legal-cards h2,
  .tradition-details h3 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  h4,
  h5,
  h6 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .eyebrow,
  .field-label,
  .tradition-index,
  .testimonial-label,
  .testimonial-card-label,
  .flavor-no > span {
    font-size: 10px !important;
  }

  /* Hero stays expressive but tighter than desktop */
  .atelier-heading h1,
  .hero-atelier .atelier-heading h1 {
    font-size: clamp(42px, 11vw, 56px) !important;
    line-height: 0.95 !important;
  }

  .atelier-flavor-copy h2 {
    font-size: 18px !important;
  }

  /* Journal / blog cards */
  .articles .article-card h3,
  .article-card h3 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .article-stack .article-card h3,
  .article-stack h3 {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .articles .article-card .eyebrow,
  .article-stack .eyebrow,
  .article-card .eyebrow {
    font-size: 8px !important;
  }

  .articles .article-card p,
  .roe-blog-card__body p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_comments_field {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

  .woocommerce-checkout .woocommerce-additional-fields h3 {
    margin: 0 0 12px !important;
  }

  .woocommerce-checkout #order_comments {
    min-height: 110px !important;
  }
}

/* Checkout mobile spacing */
@media (max-width: 768px) {
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields {
    margin-bottom: 20px !important;
  }
  .woocommerce-checkout .woocommerce-additional-fields {
    padding-top: 8px !important;
  }
}

/* —— Journal (blog cards + single) —— */
.roe-journal-page .page-head {
  padding: 100px 0 32px !important;
  text-align: center;
}

.roe-journal-page .page-head .eyebrow,
.roe-journal-page .page-head h1,
.roe-journal-page .page-head p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.roe-journal-page .page-head p {
  max-width: 46ch;
}

.roe-journal-board {
  padding-bottom: 72px !important;
}

.roe-journal-meta__date {
  display: inline-block;
  color: #a3988d;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roe-blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.roe-blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #ffffff14;
  background: #1a1317;
  overflow: hidden;
}

.roe-blog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #151013;
}

.roe-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.45s ease, filter 0.25s ease;
}

.roe-blog-card:hover .roe-blog-card__media img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.roe-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  padding: 20px 18px 22px;
}

.roe-blog-card__body > .roe-journal-meta__date {
  display: block;
  margin-bottom: 10px;
}

.roe-blog-card__body h2,
.roe-blog-card__body h3 {
  margin: 0 0 10px !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.2 !important;
}

.roe-blog-card__body h2 a,
.roe-blog-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.roe-blog-card__body h2 a:hover,
.roe-blog-card__body h3 a:hover {
  color: var(--gold);
}

.roe-blog-card__body p {
  margin: 0 0 16px !important;
  color: #c9bdb4 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  flex: 1;
}

.roe-blog-card__body .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.roe-blog-cards--related {
  margin-top: 8px;
}

.roe-journal-page .navigation.pagination {
  margin-top: 40px;
}

.roe-journal-cta--inset {
  margin-top: 56px;
  padding: 48px 28px;
  border: 1px solid #c5a47328;
  background: linear-gradient(115deg, #30131d, #1b1217 70%);
  text-align: center;
}

.roe-journal-cta--inset h2 {
  margin: 0 0 12px !important;
  font-size: clamp(28px, 4vw, 42px) !important;
}

.roe-journal-cta--inset p {
  max-width: 40ch;
  margin: 0 auto 24px !important;
  color: #c9bdb4 !important;
}

/* Single post — hero + content/aside shell */
.roe-post__hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
  overflow: hidden;
  background: #151013;
}

.roe-post__hero-media {
  position: absolute;
  inset: 0;
}

.roe-post__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

.roe-post__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #100d0ecc 0%, #100d0e55 35%, #100d0ef2 100%),
    linear-gradient(90deg, #100d0ee6 0%, transparent 55%);
}

.roe-post__hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 0 48px;
  max-width: min(900px, 100%);
}

.roe-post__back {
  margin-bottom: 22px;
}

.roe-post__hero-copy .eyebrow {
  margin-bottom: 16px !important;
}

.roe-post__hero-copy h1 {
  margin: 0 0 16px !important;
  font-size: clamp(36px, 6vw, 64px) !important;
  line-height: 1.05 !important;
  max-width: 16ch;
}

.roe-post__deck {
  margin: 0 !important;
  max-width: 48ch;
  color: #d7cbc1 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.roe-post__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: start;
  padding: 48px 0 24px;
}

.roe-post__content {
  min-width: 0;
  padding: 28px 28px 32px;
  border: 1px solid #ffffff12;
  background: #1a1317;
  font-size: 16px !important;
  line-height: 1.85 !important;
  color: #e8dfd4;
}

.roe-post__content > *:first-child {
  margin-top: 0 !important;
}

.roe-post__content p,
.roe-post__content ul,
.roe-post__content ol {
  margin: 0 0 1.15em !important;
}

.roe-post__content h2,
.roe-post__content h3 {
  margin: 1.45em 0 0.5em !important;
}

.roe-post__content a {
  color: var(--gold);
}

.roe-post__content img,
.roe-post__content figure {
  max-width: 100%;
  height: auto;
  margin: 1.4em 0;
}

.roe-post__content blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
  color: #dccfbf;
  font-style: italic;
}

.roe-post__aside {
  display: grid;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.roe-post__aside-block {
  padding: 20px 18px;
  border: 1px solid #ffffff14;
  background: #1a1317;
}

.roe-post__aside-block .eyebrow {
  margin-bottom: 14px !important;
}

.roe-post__aside-block p {
  margin: 0 0 16px !important;
  color: #c9bdb4 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.roe-aside-meta__list,
.roe-aside-latest__list,
.roe-aside-pours__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roe-aside-meta__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ffffff10;
  font-size: 12px !important;
}

.roe-aside-meta__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.roe-aside-meta__list li:first-child {
  padding-top: 0;
}

.roe-aside-meta__list span {
  color: #a3988d;
}

.roe-aside-meta__list strong {
  color: #f3ebdd;
  font-weight: 500;
  text-align: right;
}

.roe-aside-latest__list,
.roe-aside-pours__list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.roe-aside-latest__item,
.roe-aside-pours__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.roe-aside-latest__item img,
.roe-aside-pours__item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  background: #151013;
  border: 1px solid #ffffff10;
}

.roe-aside-latest__item span,
.roe-aside-pours__item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.roe-aside-latest__item strong,
.roe-aside-pours__item strong {
  font-family: var(--font-display) !important;
  font-weight: 500;
  font-size: 15px !important;
  line-height: 1.25;
  color: #f3ebdd;
}

.roe-aside-latest__item:hover strong,
.roe-aside-pours__item:hover strong {
  color: var(--gold);
}

.roe-aside-latest__item small,
.roe-aside-pours__item small {
  color: #a3988d;
  font-size: 10px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roe-aside-cta .btn {
  width: auto;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  justify-content: center;
}

.roe-aside-cta__ghost {
  display: inline-flex;
  margin-top: 14px;
  color: #c9bdb4;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #c5a47355;
  padding-bottom: 4px;
}

.roe-aside-cta__ghost:hover {
  color: var(--gold);
}

.roe-journal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roe-journal-tags a {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid #ffffff18;
  color: #c9bdb4;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.roe-journal-tags a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.roe-post__related {
  padding: 28px 0 88px;
}

.roe-post__related-head {
  margin-bottom: 22px;
}

.roe-post__related-head h2 {
  margin: 0 !important;
  font-size: clamp(28px, 4vw, 40px) !important;
}

@media (max-width: 1000px) {
  .roe-blog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roe-post__shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .roe-post__aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .roe-blog-cards,
  .roe-blog-cards--related {
    grid-template-columns: 1fr;
  }

  .roe-post__hero {
    min-height: 520px;
  }

  .roe-post__hero-copy {
    padding: 100px 0 36px;
  }

  .roe-post__aside {
    grid-template-columns: 1fr;
  }
}

/* —— Legal pages (no tabs) —— */
.roe-legal-page {
  padding-bottom: 88px;
}

.roe-legal-page .page-head {
  padding: 100px 0 28px !important;
  text-align: left;
}

.roe-legal-page .page-head h1 {
  max-width: 18ch;
}

.roe-legal-page .page-head p {
  max-width: 56ch;
  margin-top: 16px;
}

.roe-legal-page > .wrap {
  max-width: min(920px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.legal-nav,
.legal-chip,
.legal-layout .legal-sidebar,
.legal-layout .legal-draft,
.legal-layout .legal-tabs,
.legal-layout [role="tablist"] {
  display: none !important;
}

.legal-layout {
  display: block !important;
}

.legal-layout .legal-content,
.roe-legal-content.reading,
.roe-legal-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 28px 32px 40px !important;
  border: 1px solid #ffffff12;
  background: #1a1317;
  box-sizing: border-box;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #e8dfd4;
}

.roe-legal-content h2,
.roe-legal-block h2 {
  font-size: clamp(22px, 3vw, 28px) !important;
  margin: 28px 0 12px !important;
  line-height: 1.2 !important;
}

.roe-legal-content p,
.roe-legal-block p {
  margin: 0 0 1em !important;
  max-width: none !important;
}

.roe-legal-block {
  margin-bottom: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ffffff10;
}

.roe-legal-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.roe-legal-block .eyebrow {
  color: var(--gold);
  font-size: 11px !important;
  letter-spacing: 0.14em;
  margin-bottom: 8px !important;
}

@media (max-width: 600px) {
  .roe-legal-page > .wrap {
    max-width: calc(100% - 32px);
  }

  .legal-layout .legal-content,
  .roe-legal-content.reading,
  .roe-legal-content {
    padding: 22px 18px 28px !important;
  }
}

/* —— Hero frame clears fixed header —— */
.hero-atelier .atelier-frame {
  top: calc(var(--header-h) + 14px) !important;
  left: 22px !important;
  right: 22px !important;
  bottom: 22px !important;
}

@media (max-width: 600px) {
  .hero-atelier .atelier-frame {
    top: calc(var(--header-h) + 8px) !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 12px !important;
  }
}

/* —— Testimonial quote icons —— */
.testimonial-quote-mark {
  position: absolute !important;
  right: 22px !important;
  top: 22px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--gold) !important;
  opacity: 0.55 !important;
  pointer-events: none;
}

/* —— FAQ questions 18px —— */
.roe-faq .faq-item summary,
.faq-item summary {
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

@media (max-width: 600px) {
  .roe-faq .faq-item summary,
  .faq-item summary {
    font-size: 16px !important;
  }
}

/* —— Newsletter sits flush on footer —— */
.newsletter {
  margin-bottom: 0 !important;
  padding-bottom: 72px !important;
}

.newsletter + footer,
main + footer,
#main + footer {
  margin-top: 0 !important;
}

.roe-faq + .newsletter {
  border-top: 1px solid #c5a47320;
}

/* —— 404 + Search status pages —— */
.roe-status-page .page-head {
  padding: 88px 0 24px !important;
  text-align: center;
}

.roe-status-page .page-head .eyebrow,
.roe-status-page .page-head h1,
.roe-status-page .page-head p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.roe-status-page .page-head p {
  max-width: 42ch;
}

.roe-status-section {
  display: flex;
  justify-content: center;
  padding-bottom: 72px !important;
}

.roe-status-panel {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 40px 36px 44px;
  text-align: center;
  border: 1px solid #ffffff14;
  border-radius: 18px;
  background: #1a1317;
  box-sizing: border-box;
}

.roe-status-panel > .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.roe-status-panel h2 {
  margin: 0 0 14px !important;
  font-size: clamp(28px, 5vw, 36px) !important;
  line-height: 1.15 !important;
}

.roe-status-panel > p {
  max-width: 42ch;
  margin: 0 auto 26px !important;
  color: #c9bdb4 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.roe-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0 0 28px;
}

.roe-status-actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 16px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  width: auto !important;
  white-space: nowrap;
  box-sizing: border-box !important;
}

.roe-status-actions .btn.outline {
  background: transparent !important;
  border: 1px solid #ffffff30 !important;
  color: #f3ebdd !important;
}

.roe-status-actions .btn.outline:hover {
  border-color: #c5a473 !important;
  color: #c5a473 !important;
}

.roe-status-search {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.roe-status-search .field-label {
  display: block;
  margin-bottom: 10px;
  text-align: left;
  font-size: 10px !important;
}

.roe-status-search__row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
}

.roe-status-search__row input[type="search"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  background: #100d0e !important;
  border: 1px solid #ffffff22 !important;
  color: #f3ebdd !important;
  border-radius: 0 !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  line-height: 42px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.roe-status-search__row .btn {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 16px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.roe-search-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 80px !important;
}

.roe-search-again {
  width: min(560px, 100%);
  max-width: 560px;
  margin: 0 auto 36px;
  text-align: left;
}

.roe-search-again .field-label {
  text-align: left;
}

.roe-search-list {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.roe-search-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid #ffffff14;
  border-radius: 0;
  background: #1a1317;
  box-sizing: border-box;
}

.roe-search-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  overflow: hidden;
  background: #151013;
  border: 1px solid #ffffff10;
  flex-shrink: 0;
}

.roe-search-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roe-search-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #c5a473;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #24161d, #151013);
}

.roe-search-card__body {
  min-width: 0;
  text-align: left;
}

.roe-search-card__body .eyebrow {
  display: inline-block;
  margin-bottom: 6px;
}

.roe-search-card__body h2 {
  margin: 0 0 8px !important;
  font-size: clamp(20px, 3vw, 26px) !important;
  line-height: 1.2 !important;
}

.roe-search-card__body h2 a {
  color: inherit;
  text-decoration: none;
}

.roe-search-card__body h2 a:hover {
  color: var(--gold);
}

.roe-search-card__body p {
  margin: 0 0 12px !important;
  color: #c9bdb4 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.roe-search-page .navigation.pagination {
  width: min(720px, 100%);
  margin: 28px auto 0;
}

@media (max-width: 600px) {
  .roe-search-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .roe-search-card__media {
    width: 72px;
    height: 72px;
  }

  .roe-search-card__fallback {
    font-size: 28px;
  }

  .roe-search-card__body h2 {
    font-size: 18px !important;
  }
}

@media (max-width: 600px) {
  .roe-status-panel {
    padding: 28px 18px 32px;
  }

  .roe-status-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .roe-status-actions .btn {
    width: 100% !important;
  }

  .roe-status-search__row {
    flex-direction: column !important;
    height: auto;
  }

  .roe-status-search__row input[type="search"],
  .roe-status-search__row .btn,
  .roe-status-actions .btn {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
