/* September 2026 readability and catalogue refinements. Desktop type is unchanged. */
.nav__sale { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border: 1px solid currentColor; border-radius: 5px; font-size: 14px; font-weight: 700; }
.hero__actions { flex-wrap: wrap; }
.btn--sale-hero { background: #fff; color: var(--elan-green); }
.btn--sale-hero:hover { background: var(--elan-green-tint); }
.banner--sale .banner__copy { padding-bottom: 48px; }
.banner--sale .banner__wash { background: linear-gradient(180deg, #d7eeea, #fbfbfb); }

/* Natural copy height; only the price/CTA group takes the remaining row space.
   No blank title lines or grid-wide height forced by a single long description. */
.grid4, .grid2 { align-items: stretch; grid-auto-rows: auto; }
.rail { align-items: stretch; }
.pcard { min-width: 0; }
.pcard__well { flex-shrink: 0; }
.pcard .pcard__name { min-height: 0; line-height: 1.15; }
.pcard .pcard__sub { min-height: 0; line-height: 1.4; margin-top: 8px; }
.pcard .price { margin-top: auto; padding-top: 14px; }
.pcard .btn--block { margin-block-start: 14px; flex-shrink: 0; }
.rail:has(> .pcard) { scroll-snap-type: x mandatory; }
.rail > .pcard { scroll-snap-align: start; }
@media (min-width: 768px) {
	.rail > .pcard { width: calc((100% - 3 * var(--grid-product-gap)) / 4); }
}
@media (min-width: 768px) and (max-width: 1099px) {
	.rail > .pcard { width: calc((100% - var(--grid-product-gap)) / 2); }
}
.rev__body { min-width: 0; }
.rev--no-photo .rev__ph { display: none; }
.rev__q { overflow-wrap: anywhere; }

/* A contained search panel with clear hierarchy and direct category shortcuts. */
.nav__search { left: auto; right: max(24px, calc((100% - var(--page-width)) / 2 + var(--page-gutter))); width: min(720px, calc(100% - 48px)); padding: 28px; border: 1px solid #dbe5e2; border-radius: 16px; box-shadow: 0 18px 60px rgba(14, 52, 46, .16); background: #fff; color: var(--elan-ink); }
.nav__searchhead { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.nav__searchtitle { font-family: var(--font-display); font-size: 30px; line-height: 1.2; }
.nav__searchclose { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #f0f5f3; flex: none; }
.nav__searchform { padding: 6px 6px 6px 16px; gap: 12px; border: 1px solid #a7bfb9; border-radius: 10px; background: #f7faf9; }
.nav__searchform:focus-within { border-color: var(--elan-green); box-shadow: 0 0 0 3px #dceee9; }
.nav__searchform > .ico { width: 22px; height: 22px; color: var(--elan-green); flex: none; }
.nav__searchinput { border: 0; font-size: 18px; outline: none; }
.nav__searchgo { border-radius: 7px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.nav__searchsuggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.nav__searchsuggestions > span { flex-basis: 100%; font-size: 13px; color: #61716d; margin-bottom: 4px; }
.nav__search .nav__searchsuggestions a { display: inline-flex; padding: 8px 12px; border: 1px solid #dce6e2; border-radius: 20px; font-size: 13px; color: var(--elan-green); }
.nav__search .nav__searchsuggestions a:hover { background: #edf5f2; border-color: #aac6bd; }
.drawer__search { border: 1px solid #a7bfb9; border-radius: 12px; background: #f4f8f6; padding: 8px 8px 8px 14px; gap: 8px; }
.drawer__search:focus-within { box-shadow: 0 0 0 3px #dceee9; }
.drawer__search input { font-size: 16px; min-width: 0; }
.drawer__search button { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; background: var(--elan-green); color: #fff; border-radius: 8px; }
.elan-cart-delivery-note { font-size: 14px; line-height: 1.5; color: #53615d; margin-bottom: 16px; }

/* Top-layer search escapes every hero/banner overflow context. */
.nav__search:popover-open { display: block; position: fixed; margin: 0; inset: auto; overflow-y: auto; overscroll-behavior: contain; }
.nav__nav .nav__sub:popover-open { display: block; position: fixed; inset: auto; margin: 0; opacity: 1; visibility: visible; transform: none; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #dce6e1; box-shadow: 0 12px 32px rgba(14,52,46,.14); }
.nav__nav .nav__sub:popover-open a { color: var(--elan-ink); }
.nav__nav .nav__sub:popover-open a:hover { color: var(--elan-green); }
@supports not selector(:popover-open) {
	.banner:has(.nav__search:not([hidden])) { overflow: visible; z-index: 20; }
	.banner:has(.nav__item--has-sub:hover), .banner:has(.nav__item--has-sub:focus-within) { overflow: visible; z-index: 20; }
}

/* Checkout: a compact order summary with full-width delivery choices. */
.woocommerce #order_review { padding: 28px; background: #f5f8f6; border: 1px solid #dce6e1; border-radius: 16px; box-shadow: none; min-width: 0; position: static; }
.woocommerce #order_review_heading { margin-bottom: 0; }
.woocommerce #order_review table.shop_table,
.woocommerce #order_review table.shop_table thead,
.woocommerce #order_review table.shop_table tbody,
.woocommerce #order_review table.shop_table tfoot { display: block; width: 100%; }
.woocommerce #order_review table.shop_table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; align-items: start; border-bottom: 1px solid #dce6e1; }
.woocommerce #order_review table.shop_table th,
.woocommerce #order_review table.shop_table td { display: block; padding: 16px 0; border: 0; min-width: 0; line-height: 1.5; }
.woocommerce #order_review table.shop_table thead th { padding-top: 0; font-size: 12px; letter-spacing: .04em; }
.woocommerce #order_review .product-name { overflow-wrap: anywhere; }
.woocommerce #order_review .product-total,
.woocommerce #order_review .amount { white-space: nowrap; }
.woocommerce #order_review dl.variation { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; font-size: 13px; color: #64746e; }
.woocommerce #order_review dl.variation dt,
.woocommerce #order_review dl.variation dd,
.woocommerce #order_review dl.variation p { margin: 0; padding: 0; font-size: inherit; line-height: 1.5; }
.woocommerce #order_review table.shop_table .woocommerce-shipping-totals { grid-template-columns: minmax(0, 1fr); gap: 0; }
.woocommerce #order_review table.shop_table .woocommerce-shipping-totals th { padding-bottom: 10px; text-align: left; }
.woocommerce #order_review table.shop_table .woocommerce-shipping-totals td { padding-top: 0; text-align: left; }
.woocommerce #order_review ul#shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.woocommerce #order_review ul#shipping_method li { position: relative; list-style: none; margin: 0; padding: 0; border: 1px solid #d5dfda; border-radius: 10px; background: #fff; }
.woocommerce #order_review ul#shipping_method li:has(input:checked) { border-color: var(--elan-green); background: #eaf3ef; }
.woocommerce #order_review ul#shipping_method input[type="radio"] { position: absolute; left: 14px; top: 17px; width: 17px; height: 17px; margin: 0; accent-color: var(--elan-green); }
.woocommerce #order_review ul#shipping_method label { display: block; padding: 14px 14px 14px 42px; font-size: 14px; line-height: 1.55; text-align: left; cursor: pointer; color: var(--elan-ink); }
.woocommerce #order_review ul#shipping_method li:has(input[type="hidden"]) label { padding-left: 14px; }
.woocommerce #order_review ul#shipping_method li:focus-within { outline: 2px solid var(--elan-green); outline-offset: 2px; }
.woocommerce #order_review .order-total { align-items: center; }
.woocommerce #order_review .order-total td { font-size: 24px; color: var(--elan-green); }
.woocommerce #order_review #payment { margin-top: 20px; }
.woocommerce #order_review #payment .woocommerce-info { padding: 14px 16px; margin: 0 0 18px; font-size: 14px; line-height: 1.6; border-radius: 8px; }
@media (max-width: 767px) {
	.woocommerce #order_review { padding: 20px 16px; }
	.woocommerce #order_review table.shop_table tr { column-gap: 12px; }
	.woocommerce #order_review ul#shipping_method label { font-size: 15px; }
}

@media (max-width: 767px) {
	/* Body copy is 16px; secondary labels never fall to the old 8–11px scale. */
	body { font-size: 16px; line-height: 1.6; }
	.body, .lede, .acc__b, .promise__b, .proc__b, .rev__q,
	.entry p, .entry li, .journal-entry > p:first-of-type { font-size: 16px; line-height: 1.6; }
	.eyebrow, .hero__eyebrow, .meta, .readlink, .recipe-facts small { font-size: 13px; line-height: 1.5; }
	.hero__eyebrow { font-size: 14px; }
	.acc__t, .faq .acc__t, .promise__t { font-size: 16px; line-height: 1.4; }
	.proc__t { font-size: 22px; line-height: 1.25; }
	.proc__step { width: 260px; }
	.chip, .pill, .tab, .size { font-size: 14px; line-height: 1.3; }
	.pill, .tab, .size { height: auto; min-height: 40px; padding: 8px 12px; }
	.btn { min-height: 44px; height: auto; font-size: 15px; padding: 12px 18px; line-height: 1.3; }
	.arw { width: 44px; height: 44px; flex: none; }
	.arw .ico-arrow { width: 18px; }
	.bcard { width: min(300px, 82vw); }
	.bcard__img { height: 200px; }
	.bcard__t { font-size: 23px; line-height: 1.25; }
	.rev { width: min(350px, 88vw); padding: 22px; gap: 20px; }
	.rev__ph { width: 100px; height: 122px; border-radius: 12px; }
	.rev__n { font-size: 14px; line-height: 1.45; }
	.rev__r { font-size: 13px; line-height: 1.5; color: #555; }
	.sec--reviews .sechead--top .arrows { margin-top: 0; }

	/* Dark scrims protect white text even over the lightest video/photo frames. */
	.hero { height: auto; min-height: 0; }
	.hero__in { padding: 40px var(--page-gutter-mobile) 160px; }
	.hero__grad { background: linear-gradient(180deg, rgba(0,0,0,.46), rgba(0,0,0,.30)); }
	.cta__grad { background: rgba(0,0,0,.38); }
	.hero .lede, .hero__eyebrow, .hero-t, .cta .lede, .cta__t { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
	.hero .lede, .hero__eyebrow, .hero-t, .cta .lede, .cta .body, .cta .eyebrow, .cta__t { color: #fff; }
	.hero__actions { gap: 14px; }
	.cta__in { padding: 48px var(--page-gutter-mobile); }
	.cta__in .chips { flex-wrap: wrap; }
	.nav__utils { gap: 12px; }
	.nav__sale { min-height: 40px; padding: 0 10px; font-size: 14px; }

	.grid4 { gap: 28px 16px; }
	.rail > .pcard { width: min(320px, 100%); }
	.pcard .pcard__name { font-size: 20px; min-height: 0; }
	.rail .pcard .pcard__name { font-size: 28px; min-height: 0; }
	.pcard .pcard__sub, .rail .pcard .pcard__sub { font-size: 14px; line-height: 1.45; }
	.pcard__cat { font-size: 12px; line-height: 1.4; min-height: 0; }
	.pcard .price b { font-size: 20px; }
	.pcard .price s { font-size: 13px; }
	.pcard .price { flex-wrap: wrap; gap: 6px; }
	.pcard .btn--block { min-height: 44px; height: auto; font-size: 14px; padding: 10px 6px; white-space: normal; line-height: 1.3; margin-block-start: 14px; }
	.pdp__cta { flex-wrap: wrap; }
	.pdp__cta .btn { min-height: 48px; height: auto; font-size: 14px; padding: 12px; flex: 1 1 160px; }
	.qty { min-height: 40px; }
	.qty button { min-width: 32px; min-height: 40px; font-size: 18px; }
	.ft__news .body, .ft__col p, .ft__col a, .ft__links a { font-size: 16px; line-height: 1.6; }
	.ft__legal { font-size: 13px; line-height: 1.5; gap: 12px; flex-wrap: wrap; }
	.ft__input { font-size: 16px; }
	.ft__form { flex-wrap: wrap; }
	.woocommerce, .woocommerce p, .woocommerce table.shop_table, .woocommerce .form-row label { font-size: 16px; line-height: 1.5; }
	.woocommerce input.input-text, .woocommerce select, .woocommerce textarea, .select2-container .select2-selection { font-size: 16px; }
	.woocommerce .button { font-size: 15px; min-height: 44px; }
	.woocommerce table.shop_table_responsive td::before { font-size: 13px; }
	.woocommerce ul#shipping_method label { font-size: 15px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
	.bcard:hover, .bcard:hover .bcard__img img { transform: none; }
}
/* Native price-by-size products: retain the existing compact buying controls. */
.pdp__variation-controls .variations { margin: 0; }
.pdp__variation-controls .stepper input.qty { display: inline-block; margin: 0; min-height: 0; }
.pdp__variation-option label { display: block; margin-bottom: 8px; font-size: 14px; }
.pdp__variation-option select { padding: 8px 12px; border: 1px solid var(--elan-border); border-radius: 4px; }
.pdp__variation-option.is-enhanced > label,
.pdp__variation-option.is-enhanced > select { display: none; }
.pdp__size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp__size-options .size { cursor: pointer; border: 0; }
.pdp__size-options .size.is-active { background: var(--elan-green-tint); box-shadow: var(--ring-brand-half); color: var(--elan-green); }
.pdp__size-options .size:disabled { opacity: .4; cursor: not-allowed; }
.pdp__size-options .size:focus-visible { outline: 2px solid var(--elan-green); outline-offset: 3px; }
.pdp__form .reset_variations { display: none !important; }
.pdp__form .single_variation { margin-top: 24px; }
.pdp__form .woocommerce-variation-price .price { display: flex; align-items: baseline; gap: 8px; font-size: 32px; }
.pdp__form .woocommerce-variation-price ins { text-decoration: none; }
.pdp__form .woocommerce-variation-price del { font-size: 18px; color: var(--elan-ink-soft); }
.pdp__form .woocommerce-variation-availability .stock { margin: 8px 0 0; font-size: 14px; }
.pdp__form .woocommerce-variation-availability .in-stock { display: none; }
.pdp__form .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 767px) {
 .pdp__size-options .size { font-size: 14px; }
 .pdp__form .woocommerce-variation-price .price { font-size: 26px; }
}
/* Product gallery: quiet overlay arrows plus horizontal mouse/touch gestures. */
.gal__main { position: relative; touch-action: pan-y; user-select: none; }
.gal__main[tabindex] { cursor: grab; }
.gal__main.is-dragging { cursor: grabbing; }
.gal__main > img { transition: transform 180ms ease, opacity 180ms ease; pointer-events: none; }
.gal__main.is-dragging > img { transition: none; }
.gal__arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; pointer-events: none; }
.gal__arrow { position: relative; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(20, 46, 42, .14); border-radius: 50%; background: rgba(255, 255, 255, .78); color: var(--elan-green); box-shadow: 0 4px 16px rgba(14, 52, 46, .10); backdrop-filter: blur(5px); opacity: .72; pointer-events: auto; transition: opacity 160ms ease, background 160ms ease; }
.gal__arrow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.gal__arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.gal__arrow--next::before { transform: translate(-65%, -50%) rotate(45deg); }
.gal__arrow:hover, .gal__arrow:focus-visible { opacity: 1; background: rgba(255, 255, 255, .94); }
.gal__arrow:focus-visible, .gal__main:focus-visible { outline: 2px solid var(--elan-green); outline-offset: 3px; }
@media (max-width: 767px) {
 .gal__arrows { padding-inline: 10px; }
 .gal__arrow { width: 38px; height: 38px; opacity: .82; }
}
@media (prefers-reduced-motion: reduce) {
 .gal__main > img, .gal__arrow { transition: none; }
}
