/* =========================================================================
   Emerald Ejuice Hub — utility CSS
   Only what theme.json can't express: card/button treatments, the mega-menu,
   the brand marquee, warning strip, and WooCommerce card polish.
   Palette mirrors src/styles.css.
   ========================================================================= */

:root{
  --brand-lime:#c6ff00; --brand-lime-soft:#9acd00; --brand-leaf:#7ea800;
  --brand-leaf-dark:#4d7c0f; --brand-ink:#0a0a0a; --brand-hairline:#ededed;
  --brand-muted:#f5f5f5; --brand-muted-text:#5c5c5c;
  --emerald-cat-accent:#4d7c0f;
}

/* ---------- Reusable treatments (ported from styles.css @utility) -------- */
.card-hairline{ background:#fff; border:1px solid var(--brand-hairline); border-radius:12px; }
.band-lime{ background:var(--brand-lime); color:var(--brand-ink); }
.btn-lime{
  background:var(--brand-lime); color:var(--brand-ink); font-weight:600;
  border-radius:10px; transition:transform .15s ease, filter .15s ease;
}
.btn-lime:hover{ filter:brightness(.95); }
.btn-lime:active{ transform:translateY(1px); }
.btn-ink{ background:var(--brand-ink); color:#fff; font-weight:600; border-radius:10px; }
.btn-ink:hover{ background:#1a1a1a; }

/* ---------- Top warning / compliance strip ------------------------------ */
.emerald-warning-strip{
  background:var(--brand-ink); color:#fff; text-align:center;
  font-size:12px; letter-spacing:.02em; padding:8px 16px;
}
.emerald-warning-strip strong{ color:var(--brand-lime); }

/* ======================= Header (approved template) ===================== */
header.wp-block-template-part:has(.emerald-hd){ position:sticky; top:0; z-index:200; }
.emerald-hd{ background:#fff; border-bottom:1px solid var(--brand-hairline); font-family:"articulat-cf",system-ui,sans-serif; position:sticky; top:0; z-index:200; }
.emerald-hd .wrap{ max-width:1280px; margin:0 auto; padding:0 24px; }
.emerald-hd__warn{ background:var(--brand-ink); color:#fff; text-align:center; font-size:12px; padding:8px 16px; }
.emerald-hd__warn strong{ color:var(--brand-lime); }

.emerald-hd__top .wrap{ display:flex; align-items:center; gap:24px; padding-top:16px; padding-bottom:16px; }
.emerald-hd__logo{ display:flex; flex-direction:column; align-items:center; text-decoration:none; color:var(--brand-ink); flex:0 0 auto; line-height:1; }
.emerald-hd__logo .l1{ display:flex; align-items:center; gap:6px; }
.emerald-hd__logo .bolt{ display:block; }
.emerald-hd__logo .nm{ font-size:22px; font-weight:800; letter-spacing:-.02em; }
.emerald-hd__logo .nm .g{ color:var(--brand-leaf-dark); }
.emerald-hd__logo .l2{ display:flex; align-items:center; gap:6px; margin-top:4px; }
.emerald-hd__logo .l2 .dash{ height:2px; width:26px; background:var(--brand-ink); border-radius:2px; }
.emerald-hd__logo .l2 .badge{ background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink); border-radius:6px; font-size:11px; font-weight:900; letter-spacing:5px; padding:2px 3px 2px 8px; }
.emerald-hd__search{ flex:1; display:flex; align-items:center; gap:10px; background:#f5f5f5; border:1px solid var(--brand-hairline); border-radius:999px; padding:11px 18px; color:#8a8a8a; }
.emerald-hd__search input[type=search]{ flex:1; border:none; background:transparent; outline:none; font-size:14px; color:var(--brand-ink); }
.emerald-hd__actions{ display:flex; align-items:center; gap:18px; flex:0 0 auto; }
.emerald-hd__actions .login{ display:inline-flex; align-items:center; gap:8px; color:var(--brand-ink); text-decoration:none; font-size:14px; font-weight:600; }
.emerald-hd__actions .login:hover{ color:var(--brand-leaf-dark); }
.emerald-hd__actions .cart{ display:inline-flex; align-items:center; gap:8px; background:var(--brand-lime); color:var(--brand-ink); font-weight:700; font-size:14px; border-radius:999px; padding:10px 18px; text-decoration:none; }
.emerald-hd__actions .cart .n{ background:var(--brand-ink); color:#fff; border-radius:999px; font-size:12px; padding:1px 7px; }
.emerald-hd__burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.emerald-hd__burger span{ width:24px; height:2px; background:var(--brand-ink); border-radius:2px; }

.emerald-hd__nav{ border-top:1px solid var(--brand-hairline); }
.emerald-hd__nav .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.emerald-hd__nav .menu{ list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:4px; }
.emerald-hd__nav .menu > li{ position:relative; }
.emerald-hd__nav .menu > li > a{ display:inline-flex; align-items:center; gap:6px; padding:16px 14px; font-size:15px; font-weight:600; color:var(--brand-ink); text-decoration:none; }
.emerald-hd__nav .menu > li > a:hover{ color:var(--brand-leaf-dark); }
.emerald-hd__nav .menu > li > a.pill{ background:var(--brand-lime); border-radius:999px; padding:9px 18px; margin-right:8px; }
.emerald-hd__apply{ display:inline-flex; align-items:center; gap:8px; background:var(--brand-ink); color:#fff; font-weight:700; font-size:14px; border-radius:999px; padding:12px 22px; text-decoration:none; flex:0 0 auto; }
.emerald-hd__apply:hover{ color:#fff; background:#1a1a1a; }

/* Mega menu (full-width panel, columns + dark featured tile) */
.emerald-hd__nav .wrap{ position:relative; }
.emerald-hd__nav .menu > li.has-mega{ position:static; }
.emerald-hd__nav .has-mega .mega{ position:absolute; left:0; right:0; top:100%; background:#fff; border:1px solid var(--brand-hairline); border-radius:14px; box-shadow:0 20px 44px rgba(0,0,0,.12); overflow:hidden; display:none; grid-template-columns:1fr 320px; z-index:80; margin-top:2px; }
.emerald-hd__nav .has-mega:hover .mega, .emerald-hd__nav .has-mega:focus-within .mega{ display:grid; }
/* Transparent bridge over the gap between the link row and the panel so the
   mega doesn't close when the cursor crosses into it. */
.emerald-hd__nav .has-mega .mega::before{ content:""; position:absolute; left:0; right:0; top:-16px; height:16px; background:transparent; }
.emerald-hd__nav .mega .cols{ display:flex; padding:6px; }
.emerald-hd__nav .mega .col{ flex:1; display:flex; flex-direction:column; padding:24px; border-right:1px solid var(--brand-hairline); }
.emerald-hd__nav .mega .cols .col:last-child{ border-right:none; }
.emerald-hd__nav .mega .h{ display:block; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-leaf-dark); margin-bottom:14px; }
.emerald-hd__nav .mega .col a{ color:var(--brand-ink); text-decoration:none; font-size:14px; padding:7px 0; }
.emerald-hd__nav .mega .col a:hover{ color:var(--brand-leaf-dark); }
.emerald-hd__nav .mega .feat{ background:var(--brand-ink); color:#fff; padding:26px; display:flex; flex-direction:column; text-decoration:none; min-height:220px; }
.emerald-hd__nav .mega .feat .lbl{ font-size:11px; font-weight:800; letter-spacing:.14em; color:var(--brand-lime); }
.emerald-hd__nav .mega .feat b{ font-family:"articulat-cf",system-ui,sans-serif; font-size:21px; font-weight:800; line-height:1.15; margin-top:8px; }
.emerald-hd__nav .mega .feat .sub{ font-size:14px; color:rgba(255,255,255,.6); margin-top:8px; }
.emerald-hd__nav .mega .feat .go{ margin-top:auto; align-self:flex-start; background:var(--brand-lime); color:var(--brand-ink); font-weight:700; font-size:14px; border-radius:10px; padding:9px 16px; }

/* Responsive */
@media(max-width:980px){
  .emerald-hd__burger{ display:flex; }
  .emerald-hd__search{ order:3; flex-basis:100%; }
  .emerald-hd__top .wrap{ flex-wrap:wrap; }
  .emerald-hd__actions .login span, .emerald-hd__actions .login{ }
  .emerald-hd__nav .wrap{ display:block; }
  .emerald-hd__nav{ border-top:none; }
  .emerald-hd__nav .menu{ display:none; flex-direction:column; align-items:stretch; padding:8px 0; }
  .emerald-hd__toggle:checked ~ .emerald-hd__nav .menu{ display:flex; border-top:1px solid var(--brand-hairline); }
  /* When the mobile menu is open, unstick the header so its full height joins
     the page flow and can be scrolled (a sticky header clips its own overflow). */
  .emerald-hd:has(.emerald-hd__toggle:checked){ position:static; }
  header.wp-block-template-part:has(.emerald-hd__toggle:checked){ position:static; }
  .emerald-hd__nav .menu > li > a{ padding:12px 4px; }
  .emerald-hd__nav .menu > li > a.pill{ width:max-content; }
  .emerald-hd__nav .has-mega .mega{ position:static; display:grid; box-shadow:none; border:none; border-radius:0; padding:6px 0 10px 12px; min-width:0; grid-template-columns:1fr; gap:6px; }
  .emerald-hd__nav .has-mega .mega::before{ display:none; }
  /* Mobile: only reveal a mega when its parent item is tapped-open, not all at once. */
  .emerald-hd__nav .has-mega .mega{ display:none; }
  .emerald-hd__nav .has-mega:hover .mega, .emerald-hd__nav .has-mega:focus-within .mega{ display:grid; }
  .emerald-hd__nav .mega .feat{ display:none; }
  .emerald-hd__apply{ display:none; }
  .emerald-hd__toggle:checked ~ .emerald-hd__nav .wrap .emerald-hd__apply{ display:inline-flex; margin:8px 0 12px; }
}


/* ---------- Brand marquee ----------------------------------------------- */
.emerald-marquee{ overflow:hidden; background:#fff; }
.emerald-marquee__track{
  display:flex; gap:56px; align-items:center; width:max-content;
  padding:18px 28px; animation:emerald-scroll 32s linear infinite;
}
.emerald-marquee__track span{
  font-family:"articulat-cf",system-ui,sans-serif; font-weight:700;
  font-size:18px; color:#111; letter-spacing:.01em; white-space:nowrap; opacity:.55;
}
@keyframes emerald-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Category accent badge --------------------------------------- */
.emerald-cat-badge{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; color:var(--emerald-cat-accent);
  border:1px solid var(--brand-hairline); border-radius:999px; padding:3px 10px;
}

/* ---------- WooCommerce card + grid polish ------------------------------ */
.woocommerce ul.products li.product,
.wc-block-grid__product,
.wp-block-woocommerce-product-template li{
  border:1px solid var(--brand-hairline)!important; border-radius:12px;
  padding:14px; background:#fff;
}
.woocommerce ul.products li.product a img{ border-radius:8px; }
.woocommerce span.onsale, .wc-block-components-product-sale-badge{
  background:var(--brand-lime); color:var(--brand-ink); border-radius:999px;
  font-weight:700; min-height:auto; padding:4px 10px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price{
  color:var(--brand-ink); font-weight:700;
}
.woocommerce .button, .woocommerce a.button, .woocommerce button.button,
.wc-block-components-button{
  background:var(--brand-lime)!important; color:var(--brand-ink)!important;
  border-radius:10px!important; font-weight:600!important; border:none!important;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover{
  filter:brightness(.95);
}
/* Ink secondary button variant */
.woocommerce a.button.alt.emerald-ink, .btn-ink.button{
  background:var(--brand-ink)!important; color:#fff!important;
}

/* ---------- Footer ------------------------------------------------------- */
.emerald-foot{ font-family:"articulat-cf",system-ui,sans-serif; }
.emerald-foot__news{ background:var(--brand-lime); color:var(--brand-ink); }
.emerald-foot__news .wrap{ max-width:1280px; margin:0 auto; padding:40px 24px; display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; }
.emerald-foot__news .badge{ display:inline-block; background:var(--brand-ink); color:var(--brand-lime); font-size:11px; font-weight:800; letter-spacing:.08em; padding:6px 14px; border-radius:999px; }
.emerald-foot__news h3{ font-size:26px; letter-spacing:-.01em; margin:14px 0 6px; }
.emerald-foot__news p{ margin:0; font-size:15px; color:#1a1a1a; }
.emerald-foot__news .signup{ display:flex; align-items:center; background:#fff; border-radius:999px; padding:6px 6px 6px 16px; gap:8px; }
.emerald-foot__news .signup .mail{ color:#888; }
.emerald-foot__news .signup input{ flex:1; border:none; outline:none; font-size:15px; background:transparent; padding:10px 0; }
.emerald-foot__news .signup button{ background:var(--brand-ink); color:#fff; border:none; border-radius:999px; padding:12px 22px; font-weight:700; font-size:14px; cursor:pointer; white-space:nowrap; }
.emerald-foot__news .fine{ font-size:12px; color:#2a2a2a; margin-top:10px; }

.emerald-foot__dark{ background:#0a0a0a; }
.emerald-foot__main{ color:#b8b8b8; }
.emerald-foot__main{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; max-width:1280px; margin:0 auto; padding:56px 24px 32px; }
.emerald-foot__main .col{ display:flex; flex-direction:column; }
.emerald-foot__main .h{ color:var(--brand-lime); font-size:12px; font-weight:800; letter-spacing:.12em; margin-bottom:16px; }
.emerald-foot__main a{ color:#d4d4d4; text-decoration:none; font-size:15px; padding:7px 0; }
.emerald-foot__main a:hover{ color:var(--brand-lime); }
.emerald-foot__main a.hl{ color:var(--brand-lime); }
.emerald-foot__main .ico{ display:flex; align-items:center; gap:10px; }
.emerald-foot__main .ico svg{ color:var(--brand-lime); flex:0 0 auto; }
.emerald-foot__main .wa{ display:inline-flex; align-items:center; gap:8px; background:#25d366; color:#fff; font-weight:700; border-radius:999px; padding:11px 22px; margin-top:14px; width:max-content; }
.emerald-foot__main .wa svg{ color:#fff; }
.emerald-foot__main .wa:hover{ color:#fff; filter:brightness(.95); }

.emerald-foot__pay{ background:transparent; }
.emerald-foot__pay{ max-width:1280px; margin:0 auto; padding:24px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:1px solid #222; flex-wrap:wrap; }
.emerald-foot__pay .pills{ display:flex; gap:8px; flex-wrap:wrap; }
.emerald-foot__pay .pill{ background:#fff; color:#0a0a0a; font-size:11px; font-weight:800; padding:8px 14px; border-radius:999px; }
.emerald-foot__pay .pill.zelle{ color:#6d1ed4; }
.emerald-foot__pay .powered{ color:#8a8a8a; font-size:13px; display:flex; align-items:center; gap:10px; }
.emerald-foot__pay .powered img{ display:block; height:26px; width:auto; }
.emerald-foot__pay .powered a{ display:flex; align-items:center; opacity:.95; transition:opacity .15s; }
.emerald-foot__pay .powered a:hover{ opacity:1; }
/* Payment marks: real logo images when present, word pill as fallback. */
.emerald-foot__pay .pill img{ display:block; height:22px; width:auto; }
.emerald-foot__pay .pill.has-logo{ padding:6px 12px; display:flex; align-items:center; }
.emerald-foot__pay .pill[data-pay="paypal"] img{ height:20px; }
/* Zelle's mark is white-on-purple, so its pill carries the brand purple. */
.emerald-foot__pay .pill[data-pay="zelle"]{ background:#6d1ed4; padding:0; overflow:hidden; }
.emerald-foot__pay .pill[data-pay="zelle"] img{ height:32px; }
.emerald-foot__pay .pill[data-pay="wire"]{ color:#0a0a0a; display:flex; align-items:center; gap:7px; }

.emerald-foot__legal{ background:transparent; }
.emerald-foot__legal{ max-width:1280px; margin:0 auto; padding:24px; border-top:1px solid #222; }
.emerald-foot__legal p{ color:#7a7a7a; font-size:12px; line-height:1.7; margin:0; }
.emerald-foot__legal a{ color:#9acd00; }
.emerald-foot__copy{ color:#6a6a6a; text-align:center; font-size:12px; padding:24px; }
@media(max-width:900px){ .emerald-foot__news .wrap{ grid-template-columns:1fr; } .emerald-foot__main{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){
  /* 2-column footer; payment + powered-by become the even 6th cell. */
  .emerald-foot__main{ grid-template-columns:1fr 1fr; gap:24px 20px; padding:40px 20px 24px; }
  .emerald-foot__pay{ flex-direction:column; align-items:flex-start; gap:14px; padding:20px; }
}

/* ---------- Generic hairline section rhythm ----------------------------- */
.emerald-section{ padding-block:8px; }

/* ---------- Product: trust pills under add-to-cart ---------------------- */
.emerald-trust{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.emerald-trust span{
  display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#3f3f3f;
  border:1px solid var(--brand-hairline); border-radius:999px; padding:6px 12px;
}
.emerald-trust span svg{ width:15px; height:15px; color:var(--brand-leaf-dark); flex:0 0 auto; }
.emerald-msrp{ font-size:13px; color:var(--brand-muted-text); margin:2px 0 0; }
.emerald-msrp a{ color:var(--brand-leaf-dark); font-weight:600; }
.emerald-hero-bulk{ display:flex; align-items:center; justify-content:center; gap:9px; box-sizing:border-box; width:100%; max-width:100%; margin-top:10px; padding:14px; background:var(--brand-lime); border:1.5px solid var(--brand-ink); border-radius:12px; font-weight:800; font-size:14.5px; line-height:1.2; color:var(--brand-ink); text-decoration:none; }
.emerald-hero-bulk:hover{ background:var(--brand-ink); color:#fff; }
/* While ordering is gated, keep it as an outline button so it doesn't compete
   with the primary "Log in to order" CTA. */
.emerald-gated .emerald-hero-bulk{ background:#fff; }
.emerald-gated .emerald-hero-bulk:hover{ background:var(--brand-lime); color:var(--brand-ink); }

/* Kill stray icon-font glyphs injected before/after cart buttons (renders as a tofu box) */
.woocommerce a.button::before, .woocommerce a.button::after,
.woocommerce button.button::before, .woocommerce button.button::after,
.woocommerce .single_add_to_cart_button::before, .woocommerce .single_add_to_cart_button::after,
.wc-block-components-product-button .wp-element-button::before,
.wc-block-components-product-button .wp-element-button::after,
.emerald-hero-bulk::before, .emerald-hero-bulk::after,
.emerald-bulk__add::before, .emerald-bulk__add::after{ content:none !important; }

/* Cart icon on the Add-to-cart button (higher specificity beats the kill rule) */
.woocommerce div.product form.cart .single_add_to_cart_button::before{
  content:"" !important; display:inline-block; width:18px; height:18px; margin-right:9px; vertical-align:-4px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.4 12.4a1 1 0 0 0 1 .8h8.2a1 1 0 0 0 1-.8L20 7H6'/%3E%3C/svg%3E") no-repeat center/contain;
}
/* Layers/mix icon sits inline in the hero bulk button markup */
.emerald-hero-bulk svg{ width:18px; height:18px; flex:none; }

/* ---------- Product: lime spec band ------------------------------------- */
.emerald-specband{
  background:var(--brand-lime); color:var(--brand-ink); border-radius:14px;
  display:grid; grid-template-columns:repeat(5,1fr); gap:8px;
  padding:22px 20px; margin:32px 0;
}
.emerald-specband .cell{ text-align:center; border-right:1px solid rgba(10,10,10,.14); }
.emerald-specband .cell:last-child{ border-right:none; }
.emerald-specband .cell b{
  display:block; font-family:"articulat-cf",system-ui,sans-serif;
  font-size:26px; font-weight:700; line-height:1; letter-spacing:-.02em;
}
.emerald-specband .cell span{ display:block; margin-top:6px; font-size:11px; font-weight:700; letter-spacing:.1em; opacity:.72; }
@media(max-width:781px){ .emerald-specband{ grid-template-columns:repeat(2,1fr); } .emerald-specband .cell{ border-right:none; } }

/* ---------- Product: bulk-pricing tiers --------------------------------- */
.emerald-bulk{ border:1px solid var(--brand-hairline); border-radius:14px; padding:24px; margin:32px 0; }
.emerald-bulk h3{ font-family:"articulat-cf",system-ui,sans-serif; font-size:20px; margin:0; }
.emerald-bulk p.note{ font-size:13px; color:var(--brand-muted-text); margin:4px 0 18px; }
.emerald-bulk .tiers{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.emerald-bulk .tier{ border:1px solid var(--brand-hairline); border-radius:12px; padding:16px; }
.emerald-bulk .tier.active{ border-color:var(--brand-ink); box-shadow:0 0 0 2px rgba(198,255,0,.5) inset; }
.emerald-bulk .tier .qty{ font-size:12px; font-weight:700; letter-spacing:.06em; color:var(--brand-leaf-dark); text-transform:uppercase; }
.emerald-bulk .tier .price{ font-family:"articulat-cf",system-ui,sans-serif; font-size:22px; font-weight:700; margin-top:6px; }
.emerald-bulk .tier .price small{ font-size:12px; font-weight:500; color:var(--brand-muted-text); }
@media(max-width:781px){ .emerald-bulk .tiers{ grid-template-columns:1fr; } }

/* ---------- Product: why-buy strip -------------------------------------- */
/* ---------- Product: why-buy strip (centered, icon-led) ---------------- */
.emerald-whybuy{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin:28px 0 8px; text-align:center; }
.emerald-whybuy .item svg{ width:26px; height:26px; color:var(--brand-leaf-dark); margin:0 auto 10px; display:block; }
.emerald-whybuy .item b{ display:block; font-family:"articulat-cf",system-ui,sans-serif; font-size:16px; color:var(--brand-ink); }
.emerald-whybuy .item p{ margin:6px auto 0; font-size:14px; line-height:1.6; color:#3f3f3f; }
@media(max-width:781px){ .emerald-whybuy{ grid-template-columns:1fr; } }

/* ---------- Product: who we are ---------------------------------------- */
.emerald-whoare{ display:flex; gap:40px; flex-wrap:wrap; align-items:center; margin:40px 0 8px; }
.emerald-whoare .txt{ flex:1.4; min-width:300px; }
.emerald-whoare .eyebrow{ font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--brand-leaf-dark); }
.emerald-whoare h2{ font-family:"articulat-cf",system-ui,sans-serif; font-size:26px; letter-spacing:-.02em; margin:6px 0 10px; }
.emerald-whoare p{ font-size:16px; line-height:1.75; color:#3f3f3f; margin:0; }
.emerald-brands{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.emerald-brands span{ font-size:12px; font-weight:700; letter-spacing:.02em; color:var(--brand-ink); border:1px solid var(--brand-hairline); border-radius:999px; padding:6px 12px; }
.emerald-brand-eyebrow{ font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--brand-leaf-dark); margin-bottom:2px; }
.emerald-brand-eyebrow a{ color:var(--brand-leaf-dark); text-decoration:none; }

/* ================= Category archive ================= */
.emerald-cathero .eyebrow{ color:var(--brand-leaf-dark); font-size:12px; font-weight:800; letter-spacing:.16em; }
.emerald-cathero h1{ font-family:"articulat-cf",system-ui,sans-serif; font-size:clamp(2rem,1.4rem+2.6vw,3rem); letter-spacing:-.02em; margin:12px 0 0; }
.emerald-cathero .copy{ margin-top:18px; font-size:17px; line-height:1.75; color:#3f3f3f; }
.emerald-cathero .copy p{ margin:0 0 14px; }

.emerald-statsband{ background:var(--brand-lime); color:var(--brand-ink); }
.emerald-statsband .wrap{ max-width:1280px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:20px 24px; align-items:center; }
.emerald-statsband .stat{ text-align:center; border-right:1px solid rgba(10,10,10,.14); }
.emerald-statsband .stat:last-child{ border-right:none; }
.emerald-statsband .stat b{ display:block; font-family:"articulat-cf",system-ui,sans-serif; font-size:26px; font-weight:800; letter-spacing:-.01em; line-height:1.1; }
.emerald-statsband .stat span{ display:block; margin-top:6px; font-size:11px; font-weight:700; letter-spacing:.1em; opacity:.72; }
@media(max-width:781px){ .emerald-statsband .wrap{ grid-template-columns:repeat(2,1fr); } .emerald-statsband .stat{ border-right:none; padding:8px 0; } }

.emerald-shop__toolbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; flex-wrap:wrap; }
.emerald-shop__toolbar .count{ font-size:14px; color:var(--brand-muted-text); }
.emerald-sort{ position:relative; }
.emerald-sort .sortbtn{ display:inline-flex; align-items:center; gap:6px; background:#f4f6ec; color:var(--brand-leaf-dark); border:none; border-radius:999px; padding:8px 16px; font-size:14px; font-weight:600; cursor:pointer; }
.emerald-sort .sortmenu{ position:absolute; right:0; top:calc(100% + 6px); z-index:20; background:#fff; border:1px solid var(--brand-hairline); border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.12); padding:6px; min-width:200px; }
.emerald-sort .sortmenu button{ display:block; width:100%; text-align:left; background:none; border:none; padding:9px 12px; border-radius:8px; font-size:14px; cursor:pointer; color:var(--brand-ink); }
.emerald-sort .sortmenu button:hover{ background:#f5f5f5; }

.emerald-shop__body{ display:grid; grid-template-columns:190px 1fr; gap:32px; align-items:start; }
@media(max-width:900px){ .emerald-shop__body{ grid-template-columns:1fr; } }

.emerald-filters .fhead{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.emerald-filters .fhead span{ font-size:11px; font-weight:800; letter-spacing:.14em; }
.emerald-filters .fclear{ background:none; border:none; color:var(--brand-leaf-dark); font-size:12px; cursor:pointer; }
.emerald-filters .fgroup{ margin-bottom:18px; }
.emerald-filters .ftitle{ font-size:11px; font-weight:800; letter-spacing:.14em; color:var(--brand-ink); margin-bottom:8px; text-transform:uppercase; }
.emerald-filters label{ display:flex; align-items:center; gap:8px; font-size:14px; color:#3f3f3f; padding:4px 0; cursor:pointer; }
.emerald-filters .fsearch{ width:100%; background:#f5f5f5; border:none; border-radius:8px; padding:9px 12px; font-size:14px; }

.emerald-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media(max-width:1024px){ .emerald-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .emerald-grid{ grid-template-columns:1fr; } }
.emerald-grid-foot{ display:flex; justify-content:center; margin-top:28px; }
.emerald-loadmore{ background:#fff; border:1.5px solid var(--brand-lime); color:#3a5200; border-radius:10px; padding:12px 26px; font-size:14px; font-weight:700; cursor:pointer; }
.emerald-loadmore:hover{ background:#faffe8; }
.emerald-grid .rcardp{ position:relative; border:1px solid var(--brand-hairline); border-radius:16px; padding:16px; text-decoration:none; color:var(--brand-ink); display:flex; flex-direction:column; }
.emerald-grid .rcardp__lnk{ position:absolute; inset:0; z-index:1; border-radius:16px; }
.emerald-grid .rcardp:hover{ border-color:#cfcfcf; }
.emerald-grid .thumb{ position:relative; background:#eef1e8; border-radius:12px; height:170px; display:flex; align-items:center; justify-content:center; overflow:hidden; margin-bottom:14px; }
.emerald-grid .thumb img{ max-height:150px; max-width:100%; width:auto; object-fit:contain; }
.emerald-grid .thumb .glyph{ background:#0a0a0a; color:var(--brand-lime); font-family:"articulat-cf",system-ui,sans-serif; font-weight:800; font-size:22px; width:70px; height:120px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.emerald-grid .badge{ position:absolute; top:12px; left:12px; background:#0a0a0a; color:var(--brand-lime); font-size:11px; font-weight:700; letter-spacing:.04em; padding:5px 10px; border-radius:999px; }
.emerald-grid .cat{ position:absolute; top:12px; right:12px; background:#fff; border:1px solid var(--brand-hairline); color:#5c5c5c; font-size:10px; font-weight:700; letter-spacing:.06em; padding:5px 10px; border-radius:999px; }
.emerald-grid .brand{ color:var(--brand-leaf-dark); font-size:12px; font-weight:700; letter-spacing:.08em; }
.emerald-grid{ align-items:start; }
/* Neutralize any <p> wpautop injects inside cards, on any grid page (empty ones vanish, wrappers pass children through) */
.emerald-grid .rcardp > p{ display:contents; }
.emerald-grid .rcardp > p:empty{ display:none; }
.emerald-shop .emerald-grid{ align-items:stretch !important; }
.emerald-shop .emerald-grid .rcardp{ height:auto !important; align-self:stretch !important; }
.emerald-shop .emerald-grid .name{ min-height:2.6em !important; }
.emerald-shop .emerald-grid .bulk{ margin-top:0 !important; }
.emerald-grid .name{ font-family:"articulat-cf",system-ui,sans-serif; font-size:17px; font-weight:700; margin:2px 0 10px; }
.emerald-grid .meta{ display:flex; align-items:center; justify-content:space-between; margin:0 0 14px; }

/* ===== Shop All: category pills ===== */
.emerald-catpills{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.emerald-catpill{ display:inline-flex; align-items:center; background:#f4f6ec; color:var(--brand-leaf-dark); border:none; border-radius:999px; padding:9px 18px; font-size:14px; font-weight:600; cursor:pointer; }
.emerald-catpill.deals{ background:#fff; color:#3a5200; border:1.5px solid var(--brand-lime); }
.emerald-catpill.is-active{ background:var(--brand-lime); color:var(--brand-ink); border-color:var(--brand-lime); }

/* ===== Brands directory ===== */
.emerald-branddir__ctrls{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.emerald-branddir .bd-search{ display:flex; align-items:center; gap:8px; background:#f5f5f5; border-radius:10px; padding:0 12px; min-width:280px; color:#888; }
.emerald-branddir .bdsearch{ flex:1; background:none; border:none; padding:11px 0; font-size:14px; outline:none; color:var(--brand-ink); }
.emerald-branddir .bd-letters{ display:flex; flex-wrap:wrap; gap:5px; }
.emerald-branddir .bdletter{ min-width:28px; height:28px; padding:0 8px; border:none; border-radius:999px; background:#f4f6ec; color:var(--brand-leaf-dark); font-size:12px; font-weight:600; cursor:pointer; }
.emerald-branddir .bdletter.is-active{ background:var(--brand-lime); color:var(--brand-ink); }
.emerald-branddir .bdletter.is-off{ background:#f5f5f5; color:#c0c0c0; cursor:not-allowed; }
.emerald-branddir .bd-group{ margin-bottom:36px; }
.emerald-branddir .bd-grouphead{ display:flex; align-items:center; gap:8px; font-size:11px; font-weight:800; letter-spacing:.14em; color:var(--brand-ink); margin-bottom:14px; }
.emerald-branddir .bd-grouphead .dot{ width:8px; height:8px; border-radius:999px; display:inline-block; }
.emerald-branddir .bd-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.emerald-branddir .bd-tile{ display:block; border:1px solid var(--brand-hairline); border-radius:12px; padding:14px; text-decoration:none; color:var(--brand-ink); transition:box-shadow .12s ease; }
.emerald-branddir .bd-tile:hover{ box-shadow:0 6px 18px rgba(0,0,0,.08); }
.emerald-branddir .bd-top{ display:flex; align-items:center; gap:12px; }
.emerald-branddir .bd-top .mono{ display:flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:12px; font-size:15px; font-weight:800; letter-spacing:.04em; }
.emerald-branddir .bd-top .logo{ display:flex; align-items:center; justify-content:center; width:56px; height:56px; flex:0 0 auto; border-radius:12px; background:#fafafa; border:1px solid var(--brand-hairline); overflow:hidden; }
.emerald-branddir .bd-top .logo img{ width:84%; height:84%; object-fit:contain; }
/* Brands-directory green strip bleeds full-width via the "Full Width (no title)" page template */
.emerald-hide-title .emerald-statsband{ margin:28px 0; border-radius:0; }
.emerald-hide-title .emerald-statsband .wrap{ max-width:1280px; }
/* On the full-width template, keep the directory content centered at 1280 (only the strip bleeds) */
.emerald-hide-title .emerald-branddir{ max-width:1280px !important; width:auto !important; margin-left:auto !important; margin-right:auto !important; padding-left:24px; padding-right:24px; }

/* ===== Homepage ===== */
/* Hero stays in the same centered 1280 column as the rest of the page */
.home .emerald-hero-carousel,
.home .emerald-hero-split{ width:auto; max-width:100%; margin-left:0; margin-right:0; box-sizing:border-box; }
.home .emerald-hero-carousel{ border-radius:14px; }
.emerald-hero-carousel{ position:relative; border-radius:14px; overflow:hidden; color:#fff; }
.emerald-hero-carousel .ehc-slide{ display:none; min-height:230px; flex-direction:column; justify-content:center; padding:40px 64px; }
.emerald-hero-carousel .ehc-kind{ color:var(--brand-lime); font-size:10px; font-weight:700; letter-spacing:.2em; }
.emerald-hero-carousel h2{ font-family:"articulat-cf",system-ui,sans-serif; font-size:28px; line-height:1.15; letter-spacing:-.02em; margin:12px 0 0; max-width:520px; }
.emerald-hero-carousel p{ margin:12px 0 0; font-size:14px; color:#dcdcdc; max-width:460px; }
.emerald-hero-carousel .ehc-cta{ display:inline-flex; margin-top:20px; background:var(--brand-lime); color:#0a0a0a; font-weight:700; font-size:13px; padding:10px 18px; border-radius:8px; text-decoration:none; width:max-content; }
.emerald-hero-carousel .ehc-prev,.emerald-hero-carousel .ehc-next{ position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border:none; border-radius:999px; background:rgba(255,255,255,.15); color:#fff; font-size:20px; cursor:pointer; }
.emerald-hero-carousel .ehc-prev{ left:12px; } .emerald-hero-carousel .ehc-next{ right:12px; }
.emerald-hero-carousel .ehc-dots{ position:absolute; bottom:14px; right:18px; display:flex; gap:6px; }
.emerald-hero-carousel .ehc-dot{ height:6px; width:6px; border:none; border-radius:999px; background:rgba(255,255,255,.5); cursor:pointer; transition:width .2s; }
.emerald-hero-carousel .ehc-dot.is-active{ width:18px; background:var(--brand-lime); }

.emerald-hero-split{ display:grid; grid-template-columns:1fr 220px; gap:24px; }
.emerald-hero-split .panel{ background:#0f0f0f; color:#fff; border-radius:14px; padding:40px; display:flex; flex-direction:column; justify-content:center; }
.emerald-hero-split .panel .eyebrow{ color:var(--brand-lime); font-size:11px; font-weight:700; letter-spacing:.2em; }
.emerald-hero-split .panel h1{ font-family:"articulat-cf",system-ui,sans-serif; font-size:40px; line-height:1.05; letter-spacing:-.02em; margin:16px 0 0; }
.emerald-hero-split .panel p{ margin:16px 0 0; font-size:14px; color:#cfcfcf; }
.emerald-hero-split .panel .btns{ margin-top:24px; display:flex; flex-wrap:wrap; gap:12px; }
.emerald-hero-split .panel .btn-lime{ background:var(--brand-lime); color:#0a0a0a; font-weight:700; border-radius:10px; padding:10px 18px; font-size:13px; text-decoration:none; }
.emerald-hero-split .panel .btn-ghost{ border:1.5px solid rgba(255,255,255,.3); color:#fff; border-radius:10px; padding:10px 18px; font-size:13px; font-weight:600; text-decoration:none; }
.emerald-hero-split .rail{ display:flex; flex-direction:column; gap:12px; }
.emerald-hero-split .rail .chip{ border:1px solid var(--brand-hairline); border-radius:12px; padding:12px; font-size:12px; font-weight:600; color:#0a0a0a; }
.emerald-hero-split .rail .chip span{ color:var(--brand-leaf-dark); }
.emerald-hero-split .rail .new{ background:var(--brand-lime); border-radius:12px; padding:16px; }
.emerald-hero-split .rail .new b{ font-size:14px; } .emerald-hero-split .rail .new p{ margin:4px 0 0; font-size:12px; }
.emerald-hero-split .rail .new a{ display:flex; justify-content:center; margin-top:12px; background:#0a0a0a; color:#fff; border-radius:10px; padding:8px; font-size:12px; font-weight:700; text-decoration:none; }
@media(max-width:900px){ .emerald-hero-split{ grid-template-columns:1fr; } .emerald-hero-split .panel h1{ font-size:30px; } }

.emerald-quicknav{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.emerald-quicknav a{ border:1px solid var(--brand-hairline); border-radius:12px; padding:24px; text-align:center; font-family:"articulat-cf",system-ui,sans-serif; font-size:18px; font-weight:800; text-decoration:none; transition:box-shadow .12s; }
.emerald-quicknav a:hover{ box-shadow:0 6px 18px rgba(0,0,0,.08); }
@media(max-width:781px){ .emerald-quicknav{ grid-template-columns:1fr 1fr; } }

.emerald-homerow{ margin:0 auto 40px !important; max-width:1280px !important; padding:0 24px; box-sizing:border-box; }
.emerald-homerow__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.emerald-homerow__head .t{ display:flex; align-items:center; gap:8px; }
.emerald-homerow__head .dot{ width:8px; height:8px; border-radius:999px; }
.emerald-homerow__head h2{ font-family:"articulat-cf",system-ui,sans-serif; font-size:20px; margin:0; }
.emerald-homerow__head .view{ font-size:14px; font-weight:600; text-decoration:none; }
.emerald-homerow__body{ display:flex; gap:16px; align-items:stretch; }
.emerald-homerow__rail{ display:flex; }
.emerald-homerow__rail .promo{ height:auto; flex:1; }
.emerald-homerow__grid{ flex:1; min-width:0; }
.emerald-homerow__grid .emerald-grid.home{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }
.emerald-homerow__grid .emerald-grid.home .rcardp{ height:auto; }
.emerald-homerow__grid .emerald-grid.home .name{ min-height:2.6em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.emerald-homerow__grid .emerald-grid.home .bulk{ margin-top:auto; }
.emerald-homerow__grid .emerald-grid.home > *:empty{ display:none; }
.emerald-homerow__grid .emerald-grid.home .rcardp p:empty{ display:none !important; }
.emerald-homerow__grid .emerald-grid.home .rcardp p{ margin:0 !important; }
.emerald-homerow p:empty, .emerald-homerow__grid p:empty{ display:none !important; margin:0 !important; }
.emerald-homerow__body{ align-items:flex-start; }
.emerald-homerow__grid{ align-self:flex-start; }
.emerald-homerow__rail{ align-self:flex-start; display:flex; }
.emerald-homerow__rail{ width:180px; flex:0 0 180px; }
.emerald-homerow__rail .promo{ border:1px solid var(--brand-hairline); border-radius:12px; padding:20px; height:auto; display:flex; flex-direction:column; }
.emerald-homerow__rail .lbl{ font-size:10px; font-weight:700; letter-spacing:.14em; }
.emerald-homerow__rail .ttl{ font-family:"articulat-cf",system-ui,sans-serif; font-weight:800; font-size:18px; line-height:1.2; margin-top:8px; }
.emerald-homerow__rail .sub{ font-size:13px; color:#5c5c5c; margin-top:4px; }
.emerald-homerow__rail .cta{ margin-top:auto; padding-top:16px; font-size:14px; font-weight:600; text-decoration:none; }
@media(max-width:900px){ .emerald-homerow__body{ flex-direction:column; } .emerald-homerow__rail{ width:auto; flex:none; } .emerald-homerow__grid .emerald-grid.home{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){
  .emerald-homerow{ padding-left:16px !important; padding-right:16px !important; box-sizing:border-box; overflow-x:hidden; }
  .emerald-homerow__body{ width:100%; box-sizing:border-box; }
  .emerald-homerow__grid{ width:100%; min-width:0; }
  .emerald-homerow__grid .emerald-grid.home{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px; width:100%; }
  .emerald-homerow__grid .emerald-grid.home .rcardp{ min-width:0; }
  .emerald-homerow__grid .emerald-grid.home .name{ min-height:0; }
  .emerald-grid .thumb{ height:130px; }
  .emerald-grid .thumb img{ max-height:110px; max-width:100%; }
}

.emerald-marquee{ max-width:1280px; margin:0 auto; padding:0 24px; }
.emerald-marquee .bm-eyebrow{ text-align:center; font-size:10px; font-weight:700; letter-spacing:.2em; color:var(--brand-leaf-dark); margin-bottom:14px; }
.emerald-marquee .bm-viewport{ position:relative; overflow:hidden; }
.emerald-marquee .bm-track{ display:flex; width:max-content; animation:emerald-bm 30s linear infinite; }
.emerald-marquee .bm-viewport:hover .bm-track{ animation-play-state:paused; }
.emerald-marquee .bm-tile{ width:120px; height:52px; display:flex; align-items:center; justify-content:center; border:1px solid var(--brand-hairline); border-radius:12px; margin:0 8px; color:#9a9a9a; font-size:13px; font-weight:700; flex:0 0 auto; }
.emerald-marquee .bm-fade{ position:absolute; top:0; height:100%; width:40px; }
.emerald-marquee .bm-fade.l{ left:0; background:linear-gradient(to right,#fff,rgba(255,255,255,0)); }
.emerald-marquee .bm-fade.r{ right:0; background:linear-gradient(to left,#fff,rgba(255,255,255,0)); }
@keyframes emerald-bm{ 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@media(prefers-reduced-motion:reduce){ .emerald-marquee .bm-track{ animation:none; } }
/* Homepage: one shared container width; inner sections must not double-constrain.
   Targeted without the .home prefix so it applies even if the front-page body
   class is missing (these sections only render on the homepage). */
.emerald-marquee, .emerald-quicknav{ max-width:none !important; margin-left:0 !important; margin-right:0 !important; padding-left:0 !important; padding-right:0 !important; }
/* Hide the duplicate page title on brands-directory pages */
.emerald-hide-title .wp-block-post-title,
.emerald-hide-title .wp-block-query-title,
.emerald-hide-title .wp-block-page-title,
.emerald-hide-title h1.entry-title{ display:none !important; }
.emerald-branddir .bd-top .bname{ font-size:14px; font-weight:700; line-height:1.3; }
.emerald-branddir .bd-bot{ display:flex; align-items:center; justify-content:space-between; margin-top:16px; }
.emerald-branddir .bd-bot .pill{ padding:3px 8px; border-radius:6px; font-size:9px; font-weight:700; letter-spacing:.08em; }
.emerald-branddir .bd-bot .go{ font-size:11px; font-weight:600; }
.emerald-branddir .bd-empty{ padding:40px; text-align:center; color:#3f3f3f; border:1px solid var(--brand-hairline); border-radius:12px; }
@media(max-width:560px){ .emerald-branddir__ctrls{ flex-direction:column; align-items:stretch; } .emerald-branddir .bd-search{ min-width:0; } }
.emerald-grid .meta .price{ font-family:"articulat-cf",system-ui,sans-serif; font-size:18px; font-weight:700; }
.emerald-grid .meta .in{ color:var(--brand-leaf-dark); font-size:13px; font-weight:600; }
.emerald-grid .meta .low{ color:#b7791f; font-size:13px; font-weight:600; }
.emerald-grid .meta .out{ color:#b42318; font-size:13px; font-weight:600; }
.emerald-grid .bulk{ display:block; text-align:center; background:var(--brand-lime); color:#0a0a0a; font-weight:700; border-radius:10px; padding:12px; font-size:14px; }
.emerald-grid .rcardp:hover .bulk{ filter:brightness(.95); }
/* Section headings always left-aligned (shortcode wrappers can inherit centering) */
.emerald-sec-h{ text-align:left !important; }
.wp-block-shortcode{ text-align:left; }

/* Category SEO content */
.emerald-seo-copy{ font-size:17px; line-height:1.75; color:#3f3f3f; }
.emerald-seo-copy p{ margin:0 0 14px; }
.emerald-seo-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:20px; }
.emerald-seo-grid b{ display:block; font-size:15px; color:var(--brand-ink); }
.emerald-seo-grid p{ margin:8px 0 0; font-size:15px; line-height:1.7; color:#3f3f3f; }
@media(max-width:781px){ .emerald-seo-grid{ grid-template-columns:1fr; } }

/* Fill the wide container (constrained parent otherwise caps these at content width) */
.emerald-cathero, .emerald-shop, .emerald-statsband{ max-width:none !important; width:100%; }

/* ===== Approved-template match: carded lower sections ===== */
.emerald-pcard{ box-sizing:border-box; max-width:1280px !important; margin-left:auto !important; margin-right:auto !important; border:1px solid var(--brand-hairline); border-radius:16px; padding:32px 24px; margin-top:56px; }
/* Neutralize any WP block wrapper padding/width that could offset the About/FAQ boxes */
.home .wp-block-group:has(> .emerald-pcard), .home .wp-block-group > .emerald-pcard{ max-width:none; padding-left:0; padding-right:0; margin-left:auto; margin-right:auto; }
.emerald-eyebrow{ color:var(--brand-leaf-dark); font-size:12px; font-weight:700; letter-spacing:.24em; }
.emerald-eyebrow.center{ text-align:center; font-size:13px; }
.emerald-whybuy{ border-top:none !important; padding-top:0 !important; margin:24px 0 0 !important; }
.emerald-whoare{ border-top:none !important; padding-top:0 !important; display:grid !important; grid-template-columns:1fr 1fr; gap:40px; align-items:start; margin:0 !important; }
.emerald-whoare .txt{ min-width:0 !important; }
.emerald-whoare .txt h3{ font-family:"articulat-cf",system-ui,sans-serif; font-size:24px; letter-spacing:-.02em; margin:8px 0 12px; }
.emerald-whoare .txt p{ font-size:15px; line-height:1.7; color:#3f3f3f; margin:0 0 8px; }
.emerald-whoare .wa-stats{ display:flex; gap:24px; margin-top:20px; }
.emerald-whoare .wa-stats b{ font-family:"articulat-cf",system-ui,sans-serif; font-size:24px; color:var(--brand-ink); display:block; }
.emerald-whoare .wa-stats b i{ font-style:normal; color:#7ea800; }
.emerald-whoare .wa-stats span{ font-size:12px; letter-spacing:.5px; color:#5c5c5c; }
.emerald-whoare .brands .lbl{ text-align:center; font-size:12px; letter-spacing:1.5px; color:#5c5c5c; margin-bottom:10px; }
.emerald-whoare .brands .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.emerald-whoare .brands .tile{ display:flex; align-items:center; justify-content:center; min-height:52px; background:#fafafa; border:1px solid var(--brand-hairline); border-radius:12px; font-size:12px; color:#5c5c5c; text-align:center; }
.emerald-whoare .brands .tile.ph{ border:1px dashed #ddd; }
.emerald-reviews__pill{ display:inline-block; background:#fdf6e3; border:1px solid #f0e4bf; color:#8a6d1f; font-size:12px; padding:4px 12px; border-radius:9999px; margin:12px 0 0; }
.emerald-reviews__grid{ margin-top:20px; }
@media(max-width:781px){ .emerald-whoare{ grid-template-columns:1fr !important; } }

/* Reviews: 6 cards, two columns (matches approved template) */
.emerald-reviews__grid{ grid-template-columns:repeat(2,1fr) !important; }
@media(max-width:781px){ .emerald-reviews__grid{ grid-template-columns:1fr !important; } }

/* Specifications table */
.emerald-sec-h{ font-family:"articulat-cf",system-ui,sans-serif; font-size:22px; letter-spacing:-.02em; margin:0 0 4px; }
.emerald-specs{ width:100%; border:1px solid var(--brand-hairline); border-radius:12px; border-collapse:separate; border-spacing:0; overflow:hidden; margin-top:14px; }
.emerald-specs th,.emerald-specs td{ padding:12px 16px; font-size:14px; border-top:1px solid var(--brand-hairline); text-align:left; }
.emerald-specs tr:first-child th,.emerald-specs tr:first-child td{ border-top:none; }
.emerald-specs th{ background:#fafafa; font-weight:700; width:34%; color:var(--brand-ink); }
.emerald-specs td{ color:#3f3f3f; }
.emerald-pcard .emerald-flavorguide{ margin-top:14px; }

/* Wholesale & bulk pricing panel */
.emerald-wholesale{ display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 16px; }
.emerald-wholesale .chip{ display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--brand-ink); border:1px solid var(--brand-hairline); border-radius:999px; padding:8px 14px; }
.emerald-wholesale .chip::before{ content:""; width:7px; height:7px; border-radius:999px; background:var(--brand-leaf-dark); }
.emerald-wholesale .chip.hl{ background:var(--brand-lime); border-color:var(--brand-ink); font-weight:700; }
.emerald-wholesale .chip.hl::before{ background:var(--brand-ink); }
.emerald-wholesale-copy{ font-size:15px; line-height:1.75; color:#3f3f3f; margin:0; max-width:none; }

/* Product long-description (post-content) — brand typography, full width */
.wp-block-post-content{ font-size:16px; line-height:1.75; color:#3f3f3f; max-width:none; }
.wp-block-post-content > *{ max-width:none !important; }
.wp-block-post-content h1,.wp-block-post-content h2,.wp-block-post-content h3,.wp-block-post-content h4{ font-family:"articulat-cf",system-ui,sans-serif; color:var(--brand-ink); letter-spacing:-.01em; margin:1.6em 0 .5em; }
.wp-block-post-content h2{ font-size:24px; }
.wp-block-post-content h3{ font-size:20px; }
.wp-block-post-content p{ margin:0 0 1em; }
.wp-block-post-content ul,.wp-block-post-content ol{ margin:0 0 1.2em; padding-left:1.25em; }
.wp-block-post-content li{ margin:.35em 0; }
.wp-block-post-content strong{ color:var(--brand-ink); }
.wp-block-post-content a{ color:var(--brand-leaf-dark); font-weight:600; }

/* ===== Upsell banner ===== */
.emerald-viewall{ display:block; clear:both; margin-top:28px; color:var(--brand-leaf-dark); font-weight:700; font-size:15px; text-decoration:none; }
.emerald-viewall:hover{ text-decoration:underline; }
.emerald-upsell{ display:flex; align-items:center; gap:24px; background:#0a0a0a; color:#fff; border-radius:16px; padding:24px; flex-wrap:wrap; }
.emerald-upsell .glyph{ flex:0 0 auto; width:108px; height:108px; background:#000; border:1px solid #262626; border-radius:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; overflow:hidden; }
.emerald-upsell .glyph .b{ color:var(--brand-lime); font-size:11px; font-weight:700; letter-spacing:.1em; }
.emerald-upsell .glyph .t{ font-family:"articulat-cf",system-ui,sans-serif; font-size:26px; font-weight:800; }
.emerald-upsell .glyph .img{ width:100%; height:100%; object-fit:contain; border-radius:10px; }
.emerald-upsell .body{ flex:1; min-width:240px; }
.emerald-upsell .body .eyebrow{ color:var(--brand-lime); font-size:12px; font-weight:700; letter-spacing:.18em; }
.emerald-upsell .body h3{ font-family:"articulat-cf",system-ui,sans-serif; font-size:26px; margin:6px 0 8px; letter-spacing:-.01em; }
.emerald-upsell .body p{ color:#c9c9c9; font-size:15px; margin:0; }
.emerald-upsell .cta{ flex:0 0 auto; text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.emerald-upsell .cta .price{ font-family:"articulat-cf",system-ui,sans-serif; font-size:26px; font-weight:800; }
.emerald-upsell .cta .price .woocommerce-Price-amount{ color:#fff; }
.emerald-upsell .cta .btn{ background:var(--brand-lime); color:#0a0a0a; font-weight:700; border-radius:10px; padding:11px 30px; text-decoration:none; }
.emerald-upsell .cta .btn:hover{ filter:brightness(.95); }

/* ===== Stock these too (approved product cards) ===== */
.emerald-related{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:stretch; }
.emerald-related .rcardp{ border:1px solid var(--brand-hairline); border-radius:16px; padding:16px; text-decoration:none; color:var(--brand-ink); display:flex; flex-direction:column; }
.emerald-related .rcardp:hover{ border-color:#cfcfcf; }
.emerald-related .thumb{ position:relative; background:#eef1e8; border-radius:12px; height:150px; display:flex; align-items:center; justify-content:center; overflow:hidden; margin-bottom:14px; }
.emerald-related .thumb img{ max-height:130px; max-width:100%; width:auto; object-fit:contain; }
.emerald-related .thumb .glyph{ background:#0a0a0a; color:var(--brand-lime); font-family:"articulat-cf",system-ui,sans-serif; font-weight:800; font-size:22px; width:70px; height:120px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.emerald-related .badge{ position:absolute; top:12px; left:12px; background:#0a0a0a; color:var(--brand-lime); font-size:11px; font-weight:700; letter-spacing:.04em; padding:5px 10px; border-radius:999px; }
.emerald-related .cat{ position:absolute; top:12px; right:12px; background:#fff; border:1px solid var(--brand-hairline); color:#5c5c5c; font-size:10px; font-weight:700; letter-spacing:.06em; padding:5px 10px; border-radius:999px; }
.emerald-related .brand{ color:var(--brand-leaf-dark); font-size:12px; font-weight:700; letter-spacing:.08em; }
.emerald-related .name{ font-family:"articulat-cf",system-ui,sans-serif; font-size:17px; font-weight:700; margin:2px 0 10px; }
.emerald-related .meta{ margin-top:auto; }
.emerald-related .bulk{ margin-top:12px; }
.emerald-related .meta{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.emerald-related .meta .price{ font-family:"articulat-cf",system-ui,sans-serif; font-size:18px; font-weight:700; }
.emerald-related .meta .in{ color:var(--brand-leaf-dark); font-size:13px; font-weight:600; }
.emerald-related .meta .low{ color:#b7791f; font-size:13px; font-weight:600; }
.emerald-related .meta .out{ color:#b42318; font-size:13px; font-weight:600; }
.emerald-related .bulk{ display:block; text-align:center; background:var(--brand-lime); color:#0a0a0a; font-weight:700; border-radius:10px; padding:12px; font-size:14px; }
.emerald-related .rcardp:hover .bulk{ filter:brightness(.95); }
@media(max-width:1024px){ .emerald-related{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .emerald-related{ grid-template-columns:1fr; } }
@media(max-width:781px){ .emerald-upsell .cta{ align-items:flex-start; text-align:left; } }

/* ===== FAQ accordion (full width, responsive) ===== */
.emerald-faq{ border-top:1px solid var(--brand-hairline); padding:18px 40px 18px 0; position:relative; }
.emerald-faq:last-child{ border-bottom:1px solid var(--brand-hairline); }
.emerald-faq summary{ list-style:none; cursor:pointer; font-family:"articulat-cf",system-ui,sans-serif; font-weight:700; font-size:18px; color:var(--brand-ink); }
.emerald-faq summary::-webkit-details-marker{ display:none; }
.emerald-faq summary::after{ content:"+"; position:absolute; right:4px; top:16px; font-size:24px; line-height:1; color:var(--brand-leaf-dark); }
.emerald-faq[open] summary::after{ content:"\2212"; }
.emerald-faq p{ margin:12px 0 0; font-size:15px; line-height:1.7; color:#3f3f3f; }

/* Hairline dividers between the stacked lower sections (mock rhythm) */
.emerald-whoare{ border-top:1px solid var(--brand-hairline); padding-top:32px; }
.emerald-whybuy{ border-top:1px solid var(--brand-hairline); padding-top:28px; }
.emerald-whoare .stats{ flex:1; min-width:260px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.emerald-whoare .stats > div{ border:1px solid var(--brand-hairline); border-radius:12px; padding:16px; text-align:center; }
.emerald-whoare .stats b{ display:block; font-family:"articulat-cf",system-ui,sans-serif; font-size:22px; letter-spacing:-.02em; }
.emerald-whoare .stats span{ display:block; margin-top:4px; font-size:10px; font-weight:700; letter-spacing:.1em; color:#5c5c5c; }
@media(max-width:781px){ .emerald-whoare{ flex-direction:column; align-items:stretch; } }

/* ---------- Product: retailer reviews (matches approved template) ------- */
.emerald-reviews{ background:#fafafa; border:1px solid var(--brand-hairline); border-radius:12px; padding:28px; }
.emerald-reviews__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 20px; flex-wrap:wrap; }
.emerald-reviews .eyebrow{ color:var(--brand-leaf-dark); font-size:12px; font-weight:700; letter-spacing:.24em; }
.emerald-reviews .score{ display:flex; align-items:center; gap:6px; margin-top:8px; }
.emerald-reviews .score b{ font-family:"articulat-cf",system-ui,sans-serif; font-size:24px; color:var(--brand-ink); }
.emerald-reviews .score .star{ color:#e0b400; font-size:18px; }
.emerald-reviews .score .count{ color:#5c5c5c; font-size:14px; }
.emerald-reviews .write{ background:#fff; border:1px solid #d8d8d8; border-radius:10px; padding:8px 16px; font-size:14px; color:var(--brand-ink); text-decoration:none; }
.emerald-reviews .write:hover{ border-color:var(--brand-ink); }
.emerald-reviews__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.emerald-reviews .rcard{ background:#fff; border:1px solid var(--brand-hairline); border-radius:12px; padding:14px; }
.emerald-reviews .rcard .s{ color:#e0b400; font-size:13px; letter-spacing:1px; }
.emerald-reviews .rcard p{ font-size:15px; line-height:1.55; color:#3f3f3f; margin:6px 0 8px; }
.emerald-reviews .rcard .name{ font-size:13px; font-weight:600; color:var(--brand-ink); }
@media(max-width:900px){ .emerald-reviews__grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .emerald-reviews__grid{ grid-template-columns:1fr; } }

.emerald-pcard:empty{ display:none; }
/* Product-page reviews block keeps its card inset (the Reviews-page rule below
   sets horizontal padding to 0, which was making the cards touch the border). */
.single-product .emerald-reviews{ padding:28px !important; }
.single-product .emerald-reviews__grid{ gap:16px; }
/* Normalize the standalone Why-buy card's top gap to match the 1.25rem
   rhythm of the other product sections (it was using a larger default block gap). */
.single-product .emerald-pcard:has(.emerald-whybuy){ margin-top:1.25rem !important; }

/* ---------- Reviews page ------------------------------------------------ */
.emerald-reviews{ padding:40px 0 56px; }
.emerald-reviews__inner{ max-width:1280px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
.emerald-reviews__inner:first-of-type > *{ margin-top:0 !important; margin-bottom:0 !important; }
.emerald-reviews__band + .emerald-reviews__inner{ padding-top:28px; }
.emerald-reviews__pills{ margin-bottom:22px !important; }
.emerald-reviews__eyebrow{ color:var(--brand-leaf-dark); font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }
.emerald-reviews__title{ font-family:"articulat-cf",system-ui,sans-serif; font-size:clamp(2rem,1.2rem+3vw,2.75rem); line-height:1.08; letter-spacing:-.02em; font-weight:800; color:#0a0a0a; margin:10px 0 0 !important; }
.emerald-reviews__lead{ color:#3f3f3f; font-size:17px; line-height:1.7; margin:16px 0 0 !important; max-width:760px; }
.emerald-reviews__band{ background:var(--brand-lime); margin:32px 0 0; }
.emerald-reviews__band-row{ max-width:1280px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:24px; box-sizing:border-box; }
.emerald-reviews__band-row .stat{ text-align:center; border-right:1px solid rgba(10,10,10,.14); }
.emerald-reviews__band-row .stat:last-child{ border-right:none; }
.emerald-reviews__band-row .stat b{ display:block; font-size:30px; font-weight:800; letter-spacing:-.01em; color:#0a0a0a; }
.emerald-reviews__band-row .stat span{ display:block; margin-top:6px; font-size:11px; font-weight:700; letter-spacing:.1em; opacity:.72; text-transform:uppercase; color:#0a0a0a; }
.emerald-reviews__pills{ display:flex; flex-wrap:wrap; gap:10px; margin:32px 0 24px; }
.emerald-reviews__pill{ border:1px solid var(--brand-hairline); background:#fff; border-radius:999px; padding:9px 18px; font-size:13px; font-weight:600; color:#0a0a0a; cursor:pointer; font-family:inherit; }
.emerald-reviews__pill.on{ background:#0a0a0a; color:#fff; border-color:#0a0a0a; }
.emerald-reviews__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch; }
.emerald-reviews__card{ border:1px solid var(--brand-hairline); border-radius:16px; padding:22px; display:flex; flex-direction:column; gap:12px; background:#fff; }
.emerald-reviews__who{ margin-top:auto; }
.emerald-reviews__cat{ font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-leaf-dark); }
.emerald-reviews__stars{ display:flex; align-items:center; gap:4px; color:var(--brand-leaf-dark); }
.emerald-reviews__stars svg{ width:16px; height:16px; }
.emerald-reviews__rating{ margin-left:6px; font-size:13px; font-weight:800; color:#0a0a0a; }
.emerald-reviews__stars svg.leaf{ color:var(--brand-hairline); }
.emerald-reviews__hs{ position:relative; display:inline-flex; width:16px; height:16px; }
.emerald-reviews__hs svg{ position:absolute; inset:0; width:16px; height:16px; }
.emerald-reviews__hs svg:last-child{ color:var(--brand-leaf-dark); clip-path:inset(0 50% 0 0); }
.emerald-reviews__quote{ font-size:15px; line-height:1.65; color:#0a0a0a; margin:0; }
.emerald-reviews__who{ display:flex; align-items:center; gap:12px; padding-top:14px; border-top:1px solid var(--brand-hairline); }
.emerald-reviews__ava{ width:40px; height:40px; border-radius:10px; background:var(--brand-lime); border:1.5px solid #0a0a0a; display:flex !important; align-items:center; justify-content:center; font-weight:800; font-size:14px; flex:none; color:#0a0a0a; line-height:1; }
.emerald-reviews__who > div span{ display:block; font-size:12px; color:#3f3f3f; margin-top:2px; }
.emerald-reviews__who b{ display:block; font-size:14px; color:#0a0a0a; }
.emerald-reviews__who span:not(.emerald-reviews__ava){ display:block; font-size:12px; color:#3f3f3f; margin-top:2px; }
.emerald-reviews__cta{ margin-top:44px !important; background:#0a0a0a; border-radius:18px; padding:40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.emerald-reviews__cta h3{ color:#fff; font-size:26px; margin:0; letter-spacing:-.01em; font-family:"articulat-cf",system-ui,sans-serif; }
.emerald-reviews__cta p{ color:#c9c9c9; margin:6px 0 0; font-size:14px; }
.emerald-reviews__cta a{ background:var(--brand-lime); color:#0a0a0a; font-weight:800; border-radius:10px; padding:14px 24px; text-decoration:none; font-size:15px; border:1.5px solid #0a0a0a; }
@media(max-width:900px){ .emerald-reviews__grid{ grid-template-columns:1fr 1fr; } .emerald-reviews__band-row{ grid-template-columns:1fr 1fr; gap:16px 8px; } }
@media(max-width:600px){ .emerald-reviews__grid{ grid-template-columns:1fr; } }

/* ---------- Single blog post: one uniform column for every block --------- */
.single main .alignwide{ max-width:1280px !important; margin-left:auto !important; margin-right:auto !important; padding-left:24px !important; padding-right:24px !important; box-sizing:border-box; }
/* Force title, eyebrow, date, featured image, body copy, separator + footer row
   all to the same inner width, overriding WordPress's baked content-size centering */
.single main .alignwide > *,
.single main .wp-block-post-content,
.single main .wp-block-post-content > *{
	max-width:1232px !important;
	margin-left:auto !important;
	margin-right:auto !important;
	box-sizing:border-box;
}

/* ---------- Blog single (post body) ------------------------------------- */
.single .wp-block-post-content{ font-size:17px; line-height:1.8; color:#2a2a2a; }
.single .wp-block-post-content > *{ margin-top:0; margin-bottom:20px; }
.single .wp-block-post-content h2{ font-family:"articulat-cf",system-ui,sans-serif; font-size:26px; line-height:1.2; letter-spacing:-.01em; font-weight:800; color:#0a0a0a; margin-top:40px; margin-bottom:14px; }
.single .wp-block-post-content h3{ font-size:20px; font-weight:700; color:#0a0a0a; margin-top:28px; margin-bottom:10px; }
.single .wp-block-post-content ul, .single .wp-block-post-content ol{ padding-left:22px; }
.single .wp-block-post-content li{ margin-bottom:10px; }
.single .wp-block-post-content a{ color:var(--brand-leaf-dark); text-decoration:underline; }
.single .wp-block-post-content strong{ color:#0a0a0a; }
.single .wp-block-post-featured-image img{ width:100%; height:auto; border-radius:16px; display:block; }
.single .wp-block-post-terms a{ color:var(--brand-leaf-dark); text-decoration:none; }

/* ---------- Contact page ------------------------------------------------ */
.emerald-contact{ --ink:#0a0a0a; --lime:var(--brand-lime); --leaf:var(--brand-leaf-dark); --hair:var(--brand-hairline); --muted:#3f3f3f; padding:40px 24px 56px; box-sizing:border-box; }
.emerald-contact *{ box-sizing:border-box; }
.emerald-contact .inner{ max-width:1280px; margin:0 auto; }
.emerald-contact .eyebrow{ color:var(--leaf); font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }
.emerald-contact h1{ font-size:40px; line-height:1.1; letter-spacing:-.02em; color:var(--ink); margin:12px 0 0; font-weight:800; }
.emerald-contact .lead{ color:var(--muted); font-size:17px; line-height:1.7; margin:16px 0 0; max-width:none; }
.emerald-contact .tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:32px; }
.emerald-contact .tile{ border:1px solid var(--hair); border-radius:16px; padding:20px; }
.emerald-contact .tile .ic{ width:40px; height:40px; border-radius:10px; background:var(--lime); border:1.5px solid var(--ink); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.emerald-contact .tile b{ display:block; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); }
.emerald-contact .tile a, .emerald-contact .tile span{ display:block; margin-top:6px; color:var(--muted); font-size:15px; text-decoration:none; line-height:1.5; }
.emerald-contact .tile a:hover{ color:var(--leaf); }
.emerald-contact .grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:24px; margin-top:24px; align-items:start; }
.emerald-contact .card{ border:1px solid var(--hair); border-radius:16px; background:#fff; padding:24px; }
.emerald-contact .card + .card{ margin-top:24px; }
.emerald-contact .sub{ color:var(--ink); font-size:12px; letter-spacing:.2em; text-transform:uppercase; font-weight:800; margin:0 0 14px; }
.emerald-contact label.f{ display:block; margin-bottom:6px; font-size:13px; color:var(--ink); font-weight:600; }
.emerald-contact label.f .req{ color:var(--leaf); }
.emerald-contact input, .emerald-contact select, .emerald-contact textarea{ width:100%; border:1px solid var(--hair); border-radius:10px; padding:0 12px; height:40px; font-size:14px; color:var(--ink); background:#fff; outline:none; transition:border-color .15s, box-shadow .15s; font-family:inherit; }
.emerald-contact textarea{ height:auto; padding:10px 12px; }
.emerald-contact input:focus, .emerald-contact select:focus, .emerald-contact textarea:focus{ border-color:var(--leaf); box-shadow:0 0 0 3px rgba(198,255,0,.4); }
.emerald-contact .row{ display:grid; gap:16px; margin-bottom:16px; }
.emerald-contact .row.two{ grid-template-columns:1fr 1fr; }
.emerald-contact .submit{ margin-top:4px; width:100%; background:var(--lime); color:var(--ink); border:1.5px solid var(--ink); border-radius:10px; padding:13px 16px; font-size:15px; font-weight:800; cursor:pointer; }
.emerald-contact .hours{ list-style:none; margin:0; padding:0; }
.emerald-contact .hours li{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--hair); color:var(--muted); font-size:14px; }
.emerald-contact .hours li:last-child{ border-bottom:none; }
.emerald-contact .hours li b{ color:var(--ink); font-weight:700; }
.emerald-contact .soft{ background:#fafafa; }
.emerald-contact .soft a{ color:var(--leaf); font-weight:600; text-decoration:none; }
.emerald-contact .map{ height:180px; border-radius:12px; }
@media(max-width:900px){ .emerald-contact .grid{ grid-template-columns:1fr; } .emerald-contact .row.two{ grid-template-columns:1fr; } .emerald-contact .tiles{ grid-template-columns:1fr 1fr; } .emerald-contact h1{ font-size:32px; } }

/* ---------- Blog / Journal --------------------------------------------- */
.emerald-blogintro{ max-width:1280px !important; margin-left:auto !important; margin-right:auto !important; padding-left:24px !important; padding-right:24px !important; box-sizing:border-box; }
.emerald-blogintro > *{ max-width:none !important; margin-left:0 !important; margin-right:0 !important; text-align:left !important; }
.emerald-blog{ --ink:#0a0a0a; --lime:var(--brand-lime); --leaf:var(--brand-leaf-dark); --hair:var(--brand-hairline); --muted:#3f3f3f; max-width:1280px !important; width:100%; margin:0 auto !important; padding:8px 24px 56px; box-sizing:border-box; }
.emerald-blog *{ box-sizing:border-box; }
.emerald-blog__empty{ color:var(--muted); font-size:16px; padding:40px 0; }
.emerald-blog__ph{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:repeating-linear-gradient(45deg,#f5f5f5,#f5f5f5 12px,#eee 12px,#eee 24px); color:#adadad; font-size:12px; letter-spacing:.1em; font-weight:700; }
.emerald-blog img{ width:100%; height:100%; object-fit:cover; display:block; }
.emerald-blog__chip{ display:inline-flex; align-items:center; background:var(--lime); border:1.5px solid var(--ink); color:var(--ink); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; border-radius:999px; padding:5px 12px; width:max-content; }
/* Featured — two side by side */
.emerald-blog__feat2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:20px; }
.emerald-blog__feat{ display:flex; flex-direction:column; margin:0; }
.emerald-blog__feat-img{ display:block; width:100%; aspect-ratio:16/9; border:1px solid var(--hair); border-radius:16px; overflow:hidden; min-height:0; background:#0a0a0a; }
.emerald-blog__feat-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.emerald-blog__feat-body{ display:block; width:100%; margin-top:16px; }
.emerald-blog__feat-body h2{ font-size:26px; line-height:1.16; letter-spacing:-.02em; margin:14px 0 0; font-weight:800; max-width:none; }
.emerald-blog__feat-body h2 a{ color:var(--ink); text-decoration:none; }
.emerald-blog__feat-body h2 a:hover{ color:var(--leaf); }
.emerald-blog__feat-body p{ color:var(--muted); font-size:16px; line-height:1.7; margin:12px 0 0; max-width:none; }
.emerald-blog__meta{ color:#8a8a8a; font-size:13px; margin-top:18px; }
.emerald-blog__rd{ display:inline-flex; align-items:center; gap:8px; margin-top:20px; color:var(--ink); font-weight:800; font-size:15px; text-decoration:none; border-bottom:2px solid var(--lime); width:max-content; padding-bottom:2px; }
.emerald-blog__divider{ height:1px; background:var(--hair); margin:40px 0 0; }
.emerald-blog__lbl{ font-size:12px; letter-spacing:.16em; text-transform:uppercase; font-weight:800; color:var(--ink); margin-top:32px; }
/* Category pills */
.emerald-blog__cats{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.emerald-blog__cats button{ border:1px solid var(--hair); border-radius:999px; padding:8px 16px; font-size:13px; font-weight:600; color:var(--muted); background:#fff; cursor:pointer; font-family:inherit; }
.emerald-blog__cats button.on{ background:var(--ink); color:#fff; border-color:var(--ink); }
/* Grid */
.emerald-blog__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:24px; align-items:stretch; }
.emerald-blog__card{ border:1px solid var(--hair); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; background:#fff; text-decoration:none; color:inherit; height:100%; }
.emerald-blog__card-img{ display:block; height:180px; border-bottom:1px solid var(--hair); background:#0a0a0a; flex:none; }
.emerald-blog__card-img img{ width:100%; height:100%; object-fit:contain; display:block; }
.emerald-blog__card-c{ padding:20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.emerald-blog__cat{ color:var(--leaf); font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.emerald-blog__title{ font-size:18px; line-height:1.3; letter-spacing:-.01em; font-weight:800; color:var(--ink); }
.emerald-blog__card:hover .emerald-blog__title{ color:var(--leaf); }
.emerald-blog__ex{ color:var(--muted); font-size:14px; line-height:1.6; }
.emerald-blog__foot{ color:#9a9a9a; font-size:12px; margin-top:auto; }
/* Newsletter */
.emerald-blog__news{ background:var(--lime); border-radius:18px; padding:32px; margin-top:40px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.emerald-blog__news h3{ font-size:24px; letter-spacing:-.02em; margin:0; }
.emerald-blog__news p{ margin:6px 0 0; font-size:14px; color:#2c3b00; }
.emerald-blog__news-form{ display:flex; gap:10px; }
.emerald-blog__news-form input{ border:1.5px solid var(--ink); border-radius:10px; height:46px; padding:0 14px; font-size:14px; min-width:240px; font-family:inherit; }
.emerald-blog__news-form button{ background:var(--ink); color:#fff; border:none; border-radius:10px; padding:0 20px; font-weight:800; font-size:14px; cursor:pointer; }
@media(max-width:900px){ .emerald-blog__feat2{ grid-template-columns:1fr; } .emerald-blog__feat{ grid-template-columns:1fr; } .emerald-blog__grid{ grid-template-columns:1fr; } }
/* ---------- Product description: flavor guide + who-we-are stats -------- */
.emerald-flavorguide{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px 22px; margin:14px 0 8px; }
.emerald-flavorguide .fg{ display:flex; align-items:center; gap:10px; font-size:15px; color:var(--brand-ink); padding:8px 0; border-bottom:1px solid var(--brand-hairline); }
.emerald-flavorguide .fg .dot{ width:12px; height:12px; border-radius:999px; flex:0 0 auto; }
/* flavor guide with descriptions (2a cards) */
.emerald-flavorguide.has-desc{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.emerald-flavorguide.has-desc .fgc{ display:flex; gap:12px; align-items:flex-start; border:1px solid var(--brand-hairline); border-radius:12px; padding:14px 16px; }
.emerald-flavorguide.has-desc .fgc .dot{ width:12px; height:12px; border-radius:999px; flex:0 0 auto; margin-top:5px; }
.emerald-flavorguide.has-desc .fgc b{ font-size:15px; color:var(--brand-ink); }
.emerald-flavorguide.has-desc .fgc span{ display:block; font-size:14px; color:#3f3f3f; line-height:1.5; margin-top:2px; }
@media(max-width:781px){ .emerald-flavorguide.has-desc{ grid-template-columns:1fr; } }
@media(max-width:781px){ .emerald-flavorguide{ grid-template-columns:1fr 1fr; } }

.emerald-whoarestats{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.emerald-whoarestats > div{ border:1px solid var(--brand-hairline); border-radius:12px; padding:16px; text-align:center; }
.emerald-whoarestats b{ display:block; font-family:"articulat-cf",system-ui,sans-serif; font-size:22px; letter-spacing:-.02em; }
.emerald-whoarestats span{ display:block; margin-top:4px; font-size:10px; font-weight:700; letter-spacing:.1em; color:var(--brand-muted-text); }

/* Breadcrumbs — muted text, chevron separators (matches template) */
.woocommerce-breadcrumb{ font-size:14px; color:#5c5c5c; margin-bottom:14px; }
.woocommerce-breadcrumb a{ color:#5c5c5c; text-decoration:none; }
.woocommerce-breadcrumb a:hover{ color:var(--brand-leaf-dark); }

/* ---------- Product gallery: hairline borders, no forced stretch -------- */
.woocommerce-product-gallery,.woocommerce-product-gallery__wrapper{ overflow:visible; }
.woocommerce-product-gallery__image img,
.wp-block-woocommerce-product-image-gallery img{
  border:1px solid var(--brand-hairline); border-radius:12px; box-sizing:border-box;
  width:100%; height:auto; object-fit:contain;
}
/* Cap the main image so a tall/portrait shot can't run super long */
.woocommerce-product-gallery__image:first-child img,
.wp-block-woocommerce-product-image-gallery .wc-block-components-product-image img{
  max-height:560px; width:auto; max-width:100%; margin-inline:auto; display:block;
}
/* Thumbnails (classic slider nav) */
.woocommerce-product-gallery ol.flex-control-thumbs{
  display:flex !important; flex-wrap:nowrap !important; gap:10px !important; overflow-x:auto; scroll-behavior:smooth;
  margin:14px 0 0 !important; padding:0 !important; list-style:none; width:100% !important; height:auto !important;
  scrollbar-width:none; -ms-overflow-style:none;
}
.woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar{ display:none; }
.woocommerce-product-gallery ol.flex-control-thumbs li{ flex:0 0 84px !important; width:84px !important; height:auto !important; float:none !important; margin:0 !important; }
/* arrow-scroll wrapper */
.emerald-thumbstrip{ position:relative; margin-top:14px; }
.emerald-thumbstrip .thumb-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:6; width:34px; height:34px; border-radius:999px;
  background:#fff; border:1px solid var(--brand-hairline); color:var(--brand-ink); font-size:16px; line-height:1;
  display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.1);
}
.emerald-thumbstrip .thumb-arrow.prev{ left:-6px; }
.emerald-thumbstrip .thumb-arrow.next{ right:-6px; }
.emerald-thumbstrip .thumb-arrow:hover{ border-color:var(--brand-ink); }
.emerald-thumbstrip .thumb-arrow[disabled]{ opacity:.3; cursor:default; }

/* FAQ details — clean chevron instead of the default ▶ marker */
.wp-block-details summary{ list-style:none; cursor:pointer; font-weight:600; position:relative; padding-right:28px; }
.wp-block-details summary::-webkit-details-marker{ display:none; }
.wp-block-details summary::after{ content:"+"; position:absolute; right:4px; top:0; font-size:20px; line-height:1.2; color:var(--brand-leaf-dark); }
.wp-block-details[open] summary::after{ content:"\2212"; }
/* Hide any sale/category badge overlaid on the main gallery image */
.woocommerce-product-gallery .onsale{ display:none !important; }
/* Hide the magnifying-glass lightbox trigger; the image itself still opens the lightbox */
.woocommerce-product-gallery__trigger{ display:none !important; }
.woocommerce-product-gallery__image a{ cursor:zoom-in; }
.woocommerce-product-gallery ol.flex-control-thumbs li img{ display:block; width:100%; border-radius:8px; border:1px solid var(--brand-hairline); cursor:pointer; }

/* ======================================================================= *
   WooCommerce single-product elements — match hairline / ink / lime system
   ======================================================================= */

/* Quantity stepper on the hero add-to-cart form */
.woocommerce div.product form.cart .quantity .qty,
.wc-block-components-quantity-selector input{
  height:44px; width:72px; text-align:center;
  border:1px solid var(--brand-hairline); border-radius:10px; font-size:15px;
}
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button{
  background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink);
  border-radius:10px; font-weight:700; font-size:15px; padding:12px 24px; letter-spacing:.01em;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{ filter:brightness(.95); background:var(--brand-lime); }

/* Variation label above the dropdown (not beside it) */
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td{ display:block; width:100%; text-align:left; padding-left:0; }
.woocommerce div.product form.cart .variations th.label{ margin:0 0 6px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-muted-text); }

/* Variation dropdown */
.woocommerce div.product form.cart .variations{ border:none; margin-bottom:14px; }
.woocommerce div.product form.cart .variations th.label{
  font-size:13px; font-weight:700; color:var(--brand-ink); vertical-align:middle; padding:8px 12px 8px 0;
}
.woocommerce div.product form.cart .variations td.value select{
  min-width:240px; height:44px; padding:0 12px; border:1px solid var(--brand-hairline);
  border-radius:10px; background:#fff; font-size:14px; color:var(--brand-ink);
}
.woocommerce div.product form.cart .reset_variations{ font-size:13px; color:var(--brand-leaf-dark); }
.woocommerce div.product .woocommerce-variation-price .price{ font-weight:700; color:var(--brand-ink); }

/* Tabs → clean underline tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs{ margin:0 0 24px; padding:0; border-bottom:1px solid var(--brand-hairline); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before{ border-color:var(--brand-hairline); }
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:transparent; border:none; border-radius:0; margin:0 22px 0 0; padding:0 0 12px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{ display:none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  font-family:"articulat-cf",system-ui,sans-serif; font-weight:600; font-size:15px;
  color:var(--brand-muted-text); padding:0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{ color:var(--brand-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{ box-shadow:inset 0 -2px 0 0 var(--brand-ink); }
.woocommerce div.product .woocommerce-tabs .panel h2{ font-family:"articulat-cf",system-ui,sans-serif; }

/* Specifications table (Additional information / attributes) */
.woocommerce div.product .woocommerce-product-attributes,
.woocommerce table.shop_attributes{
  border:1px solid var(--brand-hairline); border-radius:12px; overflow:hidden; border-collapse:separate; border-spacing:0;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td{ border:none; border-top:1px solid var(--brand-hairline); padding:12px 16px; font-size:14px; }
.woocommerce table.shop_attributes tr:first-child th,
.woocommerce table.shop_attributes tr:first-child td{ border-top:none; }
.woocommerce table.shop_attributes th{ background:#fafafa; color:var(--brand-ink); font-weight:700; width:34%; }
.woocommerce table.shop_attributes td{ color:#3f3f3f; font-style:normal; }
.woocommerce table.shop_attributes tr:nth-child(even) td{ background:#fafafa; }

/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text{
  border:1px solid var(--brand-hairline); border-radius:12px; padding:18px 20px;
}
.woocommerce #reviews h2,.woocommerce #reviews h3{ font-family:"articulat-cf",system-ui,sans-serif; }
.woocommerce #review_form #respond textarea,
.woocommerce #review_form #respond input[type=text],
.woocommerce #review_form #respond input[type=email]{
  border:1px solid var(--brand-hairline); border-radius:10px; padding:10px 12px;
}
.woocommerce #review_form #respond .form-submit input{
  background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink);
  border-radius:10px; font-weight:700;
}
.woocommerce .star-rating span,.woocommerce p.stars a{ color:var(--brand-leaf-dark); }

/* Sale badge on single product */
.woocommerce span.onsale{ background:var(--brand-lime); color:var(--brand-ink); border-radius:999px; font-weight:700; }

/* Gate UI — Log in / Apply buttons shown instead of add-to-cart */
.emerald-gate{ display:flex; flex-direction:column; gap:9px; margin:14px 0 4px; max-width:100%; box-sizing:border-box; }
.emerald-gate__btn{
  box-sizing:border-box; max-width:100%;
  display:flex; align-items:center; justify-content:center; gap:9px; width:100%;
  border:1.5px solid var(--brand-ink); border-radius:12px; padding:14px;
  font-weight:800; font-size:14.5px; line-height:1.2; text-decoration:none; cursor:pointer;
  transition:background .15s, color .15s;
}
.emerald-gate__btn--dark{ background:var(--brand-ink); color:#fff; }
.emerald-gate__btn--dark:hover{ background:#222; color:#fff; }
.emerald-gate__btn--ghost{ background:#fff; color:var(--brand-ink); }
.emerald-gate__btn--ghost:hover{ background:var(--brand-lime); }
/* While ordering is gated the bulk link renders inside .emerald-gate instead, so
   the three buttons match exactly — hide the template's sibling copy. */
.emerald-gated .emerald-hero-bulk{ display:none !important; }
.emerald-gate__note{
  margin:4px 0 0; background:#f7f7f5; border:1px solid var(--brand-hairline);
  border-radius:11px; padding:12px 13px; font-size:12.8px; line-height:1.55; color:var(--brand-muted-text);
}
.emerald-gate__note b{ color:var(--brand-ink); }
/* In the bulk-table footer the gate sits where the submit button was — show the
   two buttons side by side so they balance the totals on the left. */
.emerald-bulk__foot .emerald-gate{ flex-direction:row; flex-wrap:wrap; width:auto; max-width:none; margin:0 0 0 auto; gap:10px; }
.emerald-bulk__foot .emerald-gate__btn{ width:auto; flex:0 1 auto; padding:13px 22px; white-space:nowrap; }
/* Hide the real add-to-cart button + quantity box when purchasing is gated
   (the flavor dropdown stays visible). Selectors stay shallow because the block
   template doesn't wrap the form in `.woocommerce div.product form.cart`. */
.emerald-gated .single_add_to_cart_button,
.emerald-gated .woocommerce-variation-add-to-cart .quantity,
.emerald-gated form.cart > .quantity,
.emerald-gated form.cart .quantity,
.emerald-gated .wp-block-woocommerce-add-to-cart-form .quantity,
.emerald-gated .emerald-bulk__add{ display:none !important; }
/* Reset the row that held qty + button so the gate buttons sit flush. */
.emerald-gated .woocommerce-variation-add-to-cart{ display:block !important; padding:0 !important; margin:0 !important; min-height:0 !important; }
/* The variation detail block (price/description/availability) is empty for gated
   visitors but still reserves height — collapse it entirely. */
.emerald-gated .woocommerce-variation,
.emerald-gated .woocommerce-variation-price{ display:none !important; margin:0 !important; padding:0 !important; height:0 !important; }
.emerald-gated .single_variation_wrap{ margin:0 !important; padding:0 !important; }
.emerald-gated .variations_form,
.emerald-gated form.cart{ margin:0 !important; padding:0 !important; width:100% !important; max-width:none !important; box-sizing:border-box; }
/* The block wrapper around the add-to-cart form carries padding, which made the
   gate buttons narrower than the sibling "Build a bulk order" link. */
.emerald-gated .wp-block-woocommerce-add-to-cart-form,
.emerald-gated .wp-block-add-to-cart-form,
.emerald-gated .wc-block-add-to-cart-form{ padding:0 !important; margin:0 !important; width:100% !important; max-width:none !important; box-sizing:border-box; }
.emerald-gated .single_variation_wrap > *,
.emerald-gated .woocommerce-variation-add-to-cart{ width:100% !important; box-sizing:border-box; }
.emerald-gated .emerald-gate{ margin-top:14px; }

/* Search typeahead dropdown */
.emerald-hd__search{ position:relative; }
.emerald-ta{
  position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:300;
  background:#fff; border:1px solid var(--brand-hairline); border-radius:14px;
  box-shadow:0 20px 44px rgba(0,0,0,.14); overflow:hidden; max-height:min(70vh,520px); overflow-y:auto;
}
.emerald-ta__grp{ font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-muted-text); padding:12px 16px 6px; }
.emerald-ta__row{ display:flex; align-items:center; gap:12px; padding:10px 16px; text-decoration:none; color:var(--brand-ink); }
.emerald-ta__row:hover, .emerald-ta__row.is-active{ background:#fafafa; }
.emerald-ta__row img, .emerald-ta__row .ph{ width:44px; height:44px; border-radius:8px; object-fit:cover; border:1px solid var(--brand-hairline); background:#fafafa; flex:none; }
.emerald-ta__row .txt{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.emerald-ta__row .t{ font-weight:700; font-size:13.5px; line-height:1.25; }
.emerald-ta__row .s{ font-size:12px; color:var(--brand-muted-text); }
.emerald-ta__row .p{ margin-left:auto; font-weight:800; font-size:13.5px; white-space:nowrap; }
.emerald-ta__chips{ display:flex; gap:8px; flex-wrap:wrap; padding:6px 16px 12px; }
.emerald-ta__chips .chip{ border:1px solid var(--brand-hairline); border-radius:999px; padding:6px 12px; font-size:12px; font-weight:600; text-decoration:none; color:var(--brand-ink); }
.emerald-ta__chips .chip:hover{ background:var(--brand-lime); }
.emerald-ta__all{ display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--brand-hairline); padding:13px 16px; font-weight:800; font-size:13.5px; color:#3a5200; background:#fbfff0; text-decoration:none; }
.emerald-ta__all:hover, .emerald-ta__all.is-active{ background:var(--brand-lime); }
.emerald-ta__none{ padding:16px; font-size:13.5px; color:var(--brand-muted-text); }

/* Search results page */
/* The Full Width page template has no container, so constrain the section to the
   same 1280 box the shop + category pages use. */
.emerald-search,
body .emerald-shop.emerald-search{
  box-sizing:border-box !important; max-width:1280px !important;
  margin-left:auto !important; margin-right:auto !important;
  padding-left:24px !important; padding-right:24px !important;
}
/* Native select needs styling here (the shop page uses a custom sort menu). */
.emerald-search .emerald-sort{ border:1px solid var(--brand-hairline); border-radius:999px; padding:9px 14px; font-size:13px; font-weight:700; background:#fff; }
.emerald-search .emerald-shop__toolbar{ align-items:center; }
/* Centre the load-more under the card grid (it's a sibling of the sidebar). */
.emerald-search .emerald-grid-foot{ grid-column:2 / -1; display:flex; justify-content:center; margin-top:24px; }
@media(max-width:900px){ .emerald-search .emerald-grid-foot{ grid-column:1 / -1; } }
.emerald-search .emerald-loadmore{ white-space:nowrap; }
/* Equal-height cards with the bulk button pinned to the bottom, so 1-line and
   2-line product names still line their buttons up across a row. */
.emerald-search .emerald-grid{ align-items:stretch; }
.emerald-search .emerald-grid .rcardp{ display:flex; flex-direction:column; height:100%; }
.emerald-search .emerald-grid .rcardp .meta{ margin-top:auto; }
.emerald-search .emerald-grid .rcardp .bulk{ margin-top:12px; }
.emerald-search__crumb{ font-size:13px; color:var(--brand-muted-text); margin:0 0 8px; }
.emerald-search__crumb a{ color:var(--brand-muted-text); text-decoration:none; }
.emerald-search__crumb a:hover{ color:var(--brand-leaf-dark); }
.emerald-search__h1{ font-size:clamp(1.9rem,1.2rem+1.8vw,2.5rem); font-weight:800; letter-spacing:-.02em; line-height:1.1; margin:0 0 14px !important; padding-top:0 !important; }
.emerald-search__crumb{ margin-top:0 !important; }
.emerald-search__none{ text-align:center; padding:48px 24px; }
.emerald-search__none h2{ font-size:24px; margin:0 0 8px; }
.emerald-search__none p{ color:var(--brand-muted-text); margin:0 0 18px; }
.emerald-search__none .links{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.emerald-search__none .links a{ border:1.5px solid var(--brand-ink); border-radius:10px; padding:11px 20px; font-weight:800; font-size:13.5px; text-decoration:none; color:var(--brand-ink); }
.emerald-search__none .links a:first-child{ background:var(--brand-lime); }
.emerald-search__empty{ color:var(--brand-muted-text); padding:24px 0; }

/* Form success / error notices (Apply + Contact) */
.emerald-formnotice{ border-radius:12px; padding:14px 16px; font-size:14px; line-height:1.5; margin:0 0 18px; }
.emerald-formnotice.ok{ background:#f2fbe6; border:1px solid var(--brand-lime); color:#2f4a00; }
.emerald-formnotice.err{ background:#fff5f5; border:1px solid #fca5a5; color:#991b1b; }

/* Cart page: tighten whitespace around the title */
.woocommerce-cart main.wp-block-group.has-global-padding{ padding-top:12px !important; padding-bottom:20px !important; }
.woocommerce-cart .wp-block-post-title{ margin-top:0 !important; margin-bottom:6px !important; }
.emerald-cart-crumb{ font-size:13px; color:var(--brand-muted-text); margin:0 auto 6px; text-align:left !important; }
.emerald-cart-crumb a{ color:var(--brand-muted-text); text-decoration:none; }
.emerald-cart-crumb a:hover{ color:var(--brand-leaf-dark); }
.emerald-cart-crumb span{ margin:0 2px; }
.emerald-cart-sub{ font-size:16px; color:var(--brand-muted-text); margin:0 auto 14px !important; text-align:left !important; max-width:none; }
.woocommerce-cart .entry-content{ margin-top:0 !important; }
.woocommerce-cart .entry-content > p{ display:none !important; margin:0 !important; }
.woocommerce-cart .wc-block-store-notices:empty{ display:none !important; margin:0 !important; }
.woocommerce-cart .woocommerce{ margin-top:0 !important; }

/* =======================================================================
   CART PAGE — branded classic cart
   ======================================================================= */
.emerald-cart{ margin:0; }
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals{ width:100%; }
/* Two-column layout: items + sticky summary */
.woocommerce-cart .woocommerce{ display:grid; grid-template-columns:minmax(0,1fr) 380px; grid-template-rows:auto 1fr; gap:24px; align-items:start; width:100%; max-width:1280px; margin:0 auto; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper{ grid-column:1 / -1; grid-row:1; }
.woocommerce-cart .woocommerce > form.woocommerce-cart-form{ grid-column:1; grid-row:2; }
.emerald-cart__collaterals{ width:100%; }
.woocommerce-cart .woocommerce > .cart-collaterals{ grid-column:2; grid-row:2; width:100%; }
@media(max-width:900px){ .woocommerce-cart .woocommerce{ grid-template-columns:1fr; } .woocommerce-cart .woocommerce > form.woocommerce-cart-form,.woocommerce-cart .woocommerce > .cart-collaterals{ grid-column:1; grid-row:auto; } .emerald-summary{ position:static; } }
@media(max-width:560px){
  .emerald-cart__head{ display:none; }
  .emerald-cart__row{ grid-template-columns:1fr; gap:14px; }
  .emerald-cart__qty,.emerald-cart__lt,.emerald-cart__rm{ justify-self:start; }
  .emerald-cart__actions{ flex-direction:column; align-items:stretch; }
  .emerald-cart__actions .coupon{ min-width:0; }
  .emerald-cart__update{ margin-left:0; }
}

.emerald-cart__items{ border:1px solid var(--brand-hairline); border-radius:16px; overflow:hidden; }
.emerald-cart__head{
  display:grid; grid-template-columns:1fr 140px 120px 44px; gap:12px; align-items:center;
  padding:14px 20px; background:#fafafa; border-bottom:1px solid var(--brand-hairline);
  font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-muted-text); font-weight:700;
}
.emerald-cart__head span:not(:first-child){ text-align:center; }
.emerald-cart__row{
  display:grid; grid-template-columns:1fr 140px 120px 44px; gap:12px; align-items:center;
  padding:18px 20px; border-bottom:1px solid var(--brand-hairline);
}
.emerald-cart__row:last-of-type{ border-bottom:none; }
.emerald-cart__prod{ display:flex; gap:14px; align-items:center; }
.emerald-cart__thumb{ flex:none; }
.emerald-cart__prod img{ width:72px; height:72px; border-radius:10px; object-fit:cover; border:1px solid var(--brand-hairline); }
.emerald-cart__meta .nm{ display:block; font-family:"articulat-cf",system-ui,sans-serif; font-weight:700; font-size:15px; line-height:1.3; color:var(--brand-ink); text-decoration:none; margin:0 0 3px; }
.emerald-cart__meta .nm:hover{ color:var(--brand-leaf-dark); }
.emerald-cart__meta .var{ font-size:12.5px; color:var(--brand-muted-text); margin-top:3px; }
.emerald-cart__meta .var p{ margin:0; }
.emerald-cart__meta .var .wc-item-meta,
.emerald-cart__meta .var dl{ margin:0; }
.emerald-cart__meta .unit{ font-size:12.5px; color:var(--brand-muted-text); margin-top:2px; }
.emerald-cart__meta .unit del{ opacity:.6; margin-right:5px; }
.emerald-cart__meta .unit .per{ opacity:.7; }
.emerald-cart__meta .save{ display:inline-block; margin-top:6px; background:#052e16; color:var(--brand-lime); font-size:10.5px; font-weight:800; letter-spacing:.04em; padding:2px 9px; border-radius:999px; text-transform:uppercase; }
.emerald-cart__meta .backorder_notification{ font-size:12px; color:#b54708; margin:6px 0 0; }

.emerald-cart__qty{ justify-self:center; }
.emerald-cart__qty .quantity{ display:inline-flex; align-items:center; border:1px solid var(--brand-hairline); border-radius:10px; overflow:hidden; }
.emerald-cart__qty .quantity .emerald-step{ width:34px; height:40px; border:none; background:#fff; color:var(--brand-ink); font-size:17px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
.emerald-cart__qty .quantity .emerald-step:hover{ background:var(--brand-lime); }
.emerald-cart__qty .quantity .qty{ width:46px; height:40px; border:none; border-left:1px solid var(--brand-hairline); border-right:1px solid var(--brand-hairline); text-align:center; font-weight:700; font-size:14px; -moz-appearance:textfield; border-radius:0; }
.emerald-cart__qty .quantity .qty::-webkit-outer-spin-button,
.emerald-cart__qty .quantity .qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.emerald-cart__qty .n{ font-weight:700; }
.emerald-cart__lt{ justify-self:center; font-weight:700; font-size:15px; color:var(--brand-ink); }
.emerald-cart__rm{ justify-self:center; }
.emerald-cart__rm .remove{ display:inline-flex; color:#98a2b3 !important; background:none !important; font-size:0; }
.emerald-cart__rm .remove:hover{ color:#b91c1c !important; background:none !important; }
.emerald-cart__rm .remove svg{ width:18px; height:18px; }

.emerald-cart__actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding:18px 20px; background:#fafafa; }
.emerald-cart__actions .coupon{ display:flex; gap:8px; flex:1; min-width:220px; }
.emerald-cart__actions .coupon input{ flex:1; height:42px; border:1px solid var(--brand-hairline); border-radius:10px; padding:0 12px; font-size:14px; }
.emerald-cart__actions .coupon .button{ height:42px; border:1.5px solid var(--brand-ink); background:#fff; color:var(--brand-ink); border-radius:10px; padding:0 16px; font-weight:700; font-size:13px; cursor:pointer; }
.emerald-cart__actions .coupon .button:hover{ background:var(--brand-lime); }
.emerald-cart__update{ height:42px; border:1.5px solid var(--brand-ink); background:#fff; color:var(--brand-ink); border-radius:10px; padding:0 18px; font-weight:700; font-size:13px; cursor:pointer; margin-left:auto; }
.emerald-cart__update:hover{ background:var(--brand-lime); }

/* Order summary */
.emerald-cart__collaterals .cart_totals.emerald-summary,
.emerald-summary{ box-sizing:border-box; width:100% !important; max-width:100%; float:none !important; margin:0 !important; border:1px solid var(--brand-hairline); border-radius:16px; padding:22px; position:sticky; top:20px; overflow:hidden; }
.emerald-summary *{ box-sizing:border-box; }
.emerald-summary__checkout, .emerald-summary__checkout a.checkout-button{ max-width:100%; }
.emerald-summary h2{ font-family:"articulat-cf",system-ui,sans-serif; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-muted-text); margin:0 0 16px; font-weight:800; }
.emerald-summary__row{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; font-size:14px; padding:8px 0; color:var(--brand-muted-text); }
.emerald-summary__row > span:first-child{ flex:1 1 auto; }
.emerald-summary__row > span:last-child{ color:var(--brand-ink); text-align:right; white-space:nowrap; flex:none; }
.emerald-summary__save span:last-child{ color:var(--brand-leaf-dark); font-weight:700; white-space:nowrap; }
.emerald-summary__total{ border-top:1px solid var(--brand-hairline); margin-top:8px; padding-top:14px; font-size:18px; font-weight:800; color:var(--brand-ink); align-items:flex-start; }
.emerald-summary__total > span:first-child{ white-space:nowrap; }
.emerald-summary__total .amount{ font-size:18px; }
.emerald-summary__you-save{ display:block; font-size:12px; font-weight:600; color:var(--brand-leaf-dark); text-align:right; margin-top:2px; }
.emerald-summary__checkout{ margin-top:16px; }
.emerald-summary__checkout::before, .emerald-summary__checkout::after,
.emerald-summary__checkout a.checkout-button::before, .emerald-summary__checkout a.checkout-button::after{ display:none !important; content:none !important; }
.emerald-summary__checkout .wc-proceed-to-checkout,
.woocommerce .emerald-summary__checkout.wc-proceed-to-checkout{ padding:0; margin:0; }
.emerald-summary__checkout .checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.emerald-summary .checkout-button{
  display:flex !important; align-items:center; justify-content:center; gap:9px; width:100%;
  background:var(--brand-lime) !important; color:var(--brand-ink) !important; border:1.5px solid var(--brand-ink) !important;
  box-shadow:none !important; -webkit-box-shadow:none !important; text-shadow:none !important;
  border-radius:12px !important; border-top-left-radius:12px !important; border-top-right-radius:12px !important; border-bottom-left-radius:12px !important; border-bottom-right-radius:12px !important; overflow:hidden;
  padding:15px !important; font-weight:800; font-size:15px; text-align:center; white-space:nowrap; margin:0 !important;
}
.emerald-summary__checkout .checkout-button:hover{ filter:brightness(.96); background:var(--brand-lime); }
.emerald-summary__cont{ display:block; text-align:center; margin-top:12px; font-size:13px; color:var(--brand-leaf-dark); font-weight:600; text-decoration:none; }
/* Coupon relocated into the summary */
.emerald-summary__coupon{ display:flex; gap:8px; margin:16px 0 20px; }
.emerald-summary__coupon-input{ flex:1; min-width:0; height:42px; border:1px solid var(--brand-hairline); border-radius:10px; padding:0 12px; font-size:14px; }
.emerald-summary__coupon-btn{ height:42px; border:1.5px solid var(--brand-ink); background:#fff; color:var(--brand-ink); border-radius:10px; padding:0 16px; font-weight:700; font-size:13px; cursor:pointer; white-space:nowrap; }
.emerald-summary__coupon-btn:hover{ background:var(--brand-lime); }
.emerald-summary__trust{ list-style:none; margin:16px 0 0; padding:0; display:grid; gap:8px; }
.emerald-summary__trust li{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--brand-muted-text); }
.emerald-summary__trust svg{ width:15px; height:15px; color:var(--brand-leaf-dark); flex:none; }
.emerald-summary .shipping-calculator-button{ color:var(--brand-leaf-dark); }
/* Shipping row stacks so the method list gets the full card width and can wrap. */
.emerald-summary__row.emerald-summary__ship{ display:block; }
.emerald-summary__row.emerald-summary__ship > span{ display:block; width:100%; max-width:100%; text-align:left; white-space:normal; }
.emerald-summary__row.emerald-summary__ship > span:first-child{ font-weight:inherit; margin-bottom:8px; }
/* Shipping method list inside the cart summary */
.emerald-summary__methods{ list-style:none; margin:0 0 8px; padding:0; text-align:left; }
.emerald-summary__methods li{ display:flex; align-items:flex-start; gap:8px; padding:6px 0; font-size:13.5px; line-height:1.45; white-space:normal; }
.emerald-summary__methods input{ margin-top:3px; accent-color:var(--brand-leaf-dark); flex:none; }
.emerald-summary__methods label{ cursor:pointer; line-height:1.45; white-space:normal; overflow-wrap:anywhere; }
.emerald-summary__nomethods{ display:block; font-size:13px; color:var(--brand-muted-text); text-align:left; margin-bottom:8px; }
/* Shipping calculator: left-align labels and fields, keep text clear of the select arrow. */
.emerald-summary .shipping-calculator-form{ text-align:left; margin-top:12px; }
.emerald-summary .shipping-calculator-form p{ margin:0 0 12px; text-align:left; }
.emerald-summary .shipping-calculator-form label{ display:block; text-align:left; font-size:12.5px; font-weight:600; margin:0 0 5px; color:var(--brand-ink); }
.emerald-summary .shipping-calculator-form input,
.emerald-summary .shipping-calculator-form select,
.emerald-summary .shipping-calculator-form .select2-selection{
  width:100%; box-sizing:border-box; text-align:left !important; text-align-last:left;
  height:44px; border:1px solid var(--brand-hairline); border-radius:10px;
  padding:0 38px 0 12px; font-size:14px; background-color:#fff; color:var(--brand-ink);
}
.emerald-summary .shipping-calculator-form select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:16px 16px;
}
.emerald-summary .shipping-calculator-form .select2-selection__rendered{ padding:0 !important; line-height:42px !important; text-align:left !important; }
.emerald-summary .shipping-calculator-form .select2-selection__arrow{ right:10px; height:42px; }
.emerald-summary .shipping-calculator-form .button{ width:100%; margin-top:2px; }

/* Empty cart */
.woocommerce .cart-empty{ font-size:18px; }
.woocommerce .return-to-shop .button{
  background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink);
  border-radius:12px; font-weight:800; padding:13px 26px; display:inline-block; margin-top:12px;
}

/* Ultra-specific override — WooCommerce/global button styles were leaving the
   bottom-left corner square. Force all corners last in the cascade. */
.woocommerce-cart a.checkout-button.button.alt,
.woocommerce-cart a.checkout-button.wp-element-button,
.woocommerce .emerald-summary__checkout a.checkout-button{
  border-radius:12px !important;
  border-start-start-radius:12px !important; border-start-end-radius:12px !important;
  border-end-start-radius:12px !important; border-end-end-radius:12px !important;
  border-top-left-radius:12px !important; border-top-right-radius:12px !important;
  border-bottom-left-radius:12px !important; border-bottom-right-radius:12px !important;
  overflow:hidden; background-clip:padding-box;
  box-shadow:none !important; -webkit-box-shadow:none !important; outline:none !important; filter:none !important;
}

/* =======================================================================
   GLOBAL RESPONSIVE HARDENING — widescreen → mobile
   ======================================================================= */
/* Single-product: force every top-level section + card to the SAME 1280 box
   so their left/right edges line up (some were rendering ~25px narrower). */
.single-product .wp-block-woocommerce-single-product.alignwide,
.single-product main > .wp-block-group.alignwide,
.single-product .emerald-section.alignwide{
  max-width:1280px !important; margin-left:auto !important; margin-right:auto !important;
  padding-left:0 !important; padding-right:0 !important; box-sizing:border-box;
}
.single-product .wp-block-woocommerce-single-product.alignwide .wp-block-group.alignwide{
  max-width:100% !important; margin-left:0 !important; margin-right:0 !important;
  padding-left:0 !important; padding-right:0 !important;
}
.single-product .emerald-pcard,
.single-product .emerald-reviews,
.single-product .emerald-section > div[style*="max-width"]{
  max-width:100% !important; margin-left:0 !important; margin-right:0 !important; box-sizing:border-box;
}
/* Never let a section force horizontal scroll on small screens. */
@media(max-width:1024px){
  .emerald-section, .emerald-homerow, .emerald-shop, .emerald-branddir,
  .emerald-reviews, .emerald-contact, .emerald-blog{ overflow-x:hidden; }
}
/* Tablet: shrink oversized display headings a touch. */
@media(max-width:900px){
  .emerald-cathero h1, .emerald-about h1, .emerald-legal h1{ font-size:clamp(2rem,1.2rem+3vw,3rem) !important; }
  .emerald-reviews__band-row{ flex-wrap:wrap; }
}
/* Phones. */
@media(max-width:600px){
  /* Header: center the logo, space My account / Cart / burger evenly. */
  .emerald-hd__top .wrap{ flex-wrap:wrap; gap:14px; justify-content:center; }
  .emerald-hd__logo{ order:1; flex-basis:100%; margin:0 auto; align-items:center; }
  .emerald-hd__actions{ order:2; flex-basis:100%; width:100%; justify-content:space-around; gap:8px; }
  .emerald-hd__actions .login{ font-size:0; gap:0; }
  .emerald-hd__actions .login svg{ width:24px; height:24px; }
  .emerald-hd__actions .cart{ font-size:14px; }
  .emerald-hd__burger{ display:flex; }
  .emerald-hd__search{ order:3; flex-basis:100%; }
  .wp-block-post-title{ font-size:clamp(1.9rem,1.1rem+5vw,2.6rem) !important; }
  /* Wide data tables scroll horizontally instead of crushing. */
  .woocommerce table.shop_table,
  .woocommerce-cart .emerald-cart__items{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .emerald-statsband .wrap, .emerald-whoarestats{ grid-template-columns:1fr 1fr !important; }
  .emerald-specband{ grid-template-columns:1fr 1fr !important; }
  /* Section vertical rhythm tighter on phones. */
  .emerald-section{ padding-block:6px; }
}
/* Small phones. */
@media(max-width:380px){
  .emerald-statsband .wrap, .emerald-whoarestats, .emerald-specband{ grid-template-columns:1fr !important; }
  .emerald-hd__logo .nm{ font-size:20px; }
}

/* =======================================================================
   CHECKOUT — branded steps, compliance, sticky summary
   ======================================================================= */
.woocommerce-checkout .wp-block-post-title{ margin-top:0 !important; margin-bottom:6px !important; }
.woocommerce-checkout main.wp-block-group.has-global-padding{ padding-top:12px !important; padding-bottom:28px !important; }

.woocommerce-checkout form.checkout{ display:grid; grid-template-columns:minmax(0,1fr) 420px; gap:24px; align-items:start; }
@media(max-width:960px){ .woocommerce-checkout form.checkout{ grid-template-columns:1fr; } }
.woocommerce-checkout #customer_details{ grid-column:1; }
.woocommerce-checkout .emerald-step{ grid-column:1; }
.woocommerce-checkout h3#order_review_heading{ display:none; }
.woocommerce-checkout #order_review{ grid-column:2; grid-row:1 / span 20; border:1px solid var(--brand-hairline);
  border-radius:16px; padding:22px; position:sticky; top:18px; box-sizing:border-box; }
@media(max-width:960px){ .woocommerce-checkout #order_review{ grid-column:1; grid-row:auto; position:static; } }

/* Step headings */
.emerald-step{ margin:0 0 14px; }
.emerald-step h3{ display:flex; align-items:center; gap:10px; font-size:12px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--brand-muted-text); margin:0; font-weight:800; }
.emerald-step h3::before{ content:attr(data-n); }
.emerald-step[data-step="1"] h3::before{ content:"1"; }
.emerald-step[data-step="2"] h3::before{ content:"2"; }
.emerald-step h3::before{ width:22px; height:22px; border-radius:50%; background:var(--brand-ink); color:#fff;
  font-size:11px; display:flex; align-items:center; justify-content:center; font-weight:800; letter-spacing:0; flex:none; }

/* Address / contact card */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields{ border:1px solid var(--brand-hairline); border-radius:16px;
  padding:22px 24px; margin-bottom:18px; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3{ font-size:12px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--brand-muted-text); font-weight:800; margin:0 0 16px; }
.woocommerce-checkout .form-row label{ display:block; font-size:12.5px; font-weight:600; margin:0 0 6px; }
.woocommerce-checkout .form-row .required{ color:#b32d2e; text-decoration:none; border:none; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single{
  width:100%; box-sizing:border-box; height:46px; border:1px solid var(--brand-hairline); border-radius:10px;
  padding:0 12px; font-size:14.5px; background:#fff; color:var(--brand-ink); }
.woocommerce-checkout .form-row textarea{ height:auto; min-height:88px; padding:12px; }
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus{ outline:2px solid var(--brand-lime); outline-offset:-1px; border-color:var(--brand-leaf-dark); }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{ line-height:44px; padding:0; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{ height:44px; right:8px; }
.woocommerce-checkout .form-row{ margin-bottom:14px; padding:0; }
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last{ width:calc(50% - 7px); float:none; display:inline-block; vertical-align:top; }
.woocommerce-checkout .form-row-first{ margin-right:10px; }

/* Shipping + payment option rows */
.woocommerce-checkout #shipping_method{ list-style:none; margin:0; padding:0; }
.woocommerce-checkout #shipping_method li,
.woocommerce-checkout .wc_payment_methods > li{ display:flex; align-items:flex-start; gap:12px;
  border:1px solid var(--brand-hairline); border-radius:12px; padding:14px; margin:0 0 10px; cursor:pointer;
  flex-wrap:wrap; }
.woocommerce-checkout #shipping_method li input,
.woocommerce-checkout .wc_payment_methods > li input[type=radio]{ accent-color:var(--brand-leaf-dark);
  width:17px; height:17px; margin:3px 0 0; flex:none; }
.woocommerce-checkout #shipping_method li label,
.woocommerce-checkout .wc_payment_methods > li label{ margin:0; font-size:14.5px; font-weight:600; cursor:pointer;
  flex:1; min-width:0; line-height:1.45; }
.woocommerce-checkout .wc_payment_methods > li{ list-style:none; }
.woocommerce-checkout .wc_payment_methods{ list-style:none; margin:0 0 8px; padding:0; }
.woocommerce-checkout .payment_box{ flex-basis:100%; background:#fafafa; border-radius:10px; padding:12px 14px;
  font-size:13px; color:var(--brand-muted-text); margin:4px 0 0; }
.woocommerce-checkout .payment_box p:last-child{ margin-bottom:0; }

/* Order summary table */
.woocommerce-checkout #order_review .shop_table{ width:100%; border-collapse:collapse; }
.woocommerce-checkout #order_review .shop_table thead{ display:none; }
.woocommerce-checkout #order_review .cart_item td{ border:none; border-bottom:1px solid var(--brand-hairline);
  padding:12px 0; font-size:13.5px; vertical-align:top; }
.woocommerce-checkout #order_review .cart_item td.product-total{ text-align:right; font-weight:700; white-space:nowrap; }
.woocommerce-checkout #order_review tfoot th{ text-align:left; font-weight:400; color:var(--brand-muted-text);
  font-size:14px; padding:8px 0; border:none; }
.woocommerce-checkout #order_review tfoot td{ text-align:right; font-size:14px; padding:8px 0; border:none;
  white-space:nowrap; font-variant-numeric:tabular-nums; }
.woocommerce-checkout #order_review tfoot .order-total th,
.woocommerce-checkout #order_review tfoot .order-total td{ border-top:1px solid var(--brand-hairline);
  padding-top:14px; font-size:20px; font-weight:800; color:var(--brand-ink); }
.woocommerce-checkout #order_review tfoot .fee td{ color:#92400e; }

/* Compliance block */
.emerald-compliance{ border:1px solid var(--brand-hairline); border-radius:14px; padding:16px 18px; margin:16px 0; }
.emerald-compliance h3{ font-size:12px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--brand-muted-text); font-weight:800; margin:0 0 6px; }
.emerald-cx{ display:flex; gap:11px; align-items:flex-start; padding:11px 0; border-bottom:1px solid #f6f6f6;
  font-size:13.5px; line-height:1.5; cursor:pointer; }
.emerald-cx:last-of-type{ border-bottom:none; }
.emerald-cx input{ accent-color:var(--brand-leaf-dark); width:18px; height:18px; margin-top:1px; flex:none; }
.emerald-cx a{ color:var(--brand-leaf-dark); font-weight:600; }
.emerald-cx em{ color:var(--brand-muted-text); font-style:normal; font-size:12.5px; }
.emerald-cx.is-optional{ color:var(--brand-muted-text); }
.emerald-cx .required{ color:#b32d2e; text-decoration:none; border:none; }
.emerald-compliance__div{ height:1px; background:var(--brand-hairline); margin:8px 0 2px; }
.emerald-compliance__note{ margin:10px 0 0; font-size:12px; color:var(--brand-muted-text); }

/* Place order + back links */
.woocommerce-checkout #place_order{ display:flex; align-items:center; justify-content:center; gap:9px; width:100%;
  background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink); border-radius:12px;
  padding:16px; font-weight:800; font-size:15.5px; cursor:pointer; margin-top:6px; box-shadow:none; }
.emerald-checkout__back{ display:flex; align-items:center; justify-content:center; gap:10px; margin:14px 0 0; flex-wrap:wrap; }
.emerald-checkout__back .back{ color:var(--brand-leaf-dark); font-weight:700; font-size:13.5px; text-decoration:none; }
.emerald-checkout__back .shop{ color:var(--brand-muted-text); font-size:13px; text-decoration:none;
  padding-left:10px; border-left:1px solid var(--brand-hairline); }
.emerald-checkout__back a:hover{ text-decoration:underline; }

/* Coupon on checkout */
.woocommerce-checkout .checkout_coupon{ border:1px solid var(--brand-hairline); border-radius:12px; padding:14px; margin:0 0 16px; }

.woocommerce-checkout #place_order.is-blocked{ opacity:.45; cursor:not-allowed; }

/* ---- Checkout layout corrections ------------------------------------- */
/* Left column stacks (Woo's own 2-col set fights the outer grid). */
.woocommerce-checkout #customer_details.col2-set{ display:block; width:100%; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{ float:none; width:100%; padding:0; }
.woocommerce-checkout form.checkout > *{ min-width:0; }
.woocommerce-checkout #order_review{ min-width:0; overflow:hidden; }

/* Summary table must lay out predictably inside the narrow column. */
.woocommerce-checkout #order_review .shop_table{ table-layout:fixed; width:100%; }
.woocommerce-checkout #order_review .cart_item td.product-name{ width:auto; word-break:normal;
  overflow-wrap:anywhere; padding-right:10px; line-height:1.4; }
.woocommerce-checkout #order_review .cart_item td.product-total{ width:96px; }
.woocommerce-checkout #order_review tfoot th{ width:auto; word-break:normal; }
.woocommerce-checkout #order_review tfoot td{ width:110px; }

/* Shipping choices: full width under the label, wrapping cleanly. */
.woocommerce-checkout #order_review tfoot tr.woocommerce-shipping-totals{ display:block; }
.woocommerce-checkout #order_review tfoot tr.woocommerce-shipping-totals th,
.woocommerce-checkout #order_review tfoot tr.woocommerce-shipping-totals td{ display:block; width:100%;
  text-align:left; white-space:normal; padding:4px 0; }
.woocommerce-checkout #order_review #shipping_method li{ padding:12px 14px; }
.woocommerce-checkout #order_review #shipping_method li label{ text-align:left; font-size:13.5px; }

/* Variation meta under each summary line */
.woocommerce-checkout #order_review .variation{ margin:4px 0 0; font-size:12px; color:var(--brand-muted-text); }
.woocommerce-checkout #order_review .variation dt,
.woocommerce-checkout #order_review .variation dd{ display:inline; margin:0; font-weight:400; }
.woocommerce-checkout #order_review .variation dd{ margin-right:8px; }
.woocommerce-checkout #order_review .product-quantity{ font-weight:700; }

/* Coupon toggle notice */
.woocommerce-checkout .woocommerce-form-coupon-toggle{ margin-bottom:16px; }

/* ---- Checkout: compliance in the wide column, tidy footer links -------- */
.woocommerce-checkout .emerald-compliance{ padding:20px 24px; margin:0 0 18px; }
.woocommerce-checkout .emerald-compliance h3{ margin-bottom:2px; }
.woocommerce-checkout .emerald-cx{ font-size:14px; }

/* Back to cart / continue shopping must not collapse next to Place order. */
.woocommerce-checkout .emerald-checkout__back{ display:block !important; text-align:center; margin-top:14px; }
.woocommerce-checkout .emerald-checkout__back a{ display:inline-block; white-space:nowrap; }
.woocommerce-checkout .emerald-checkout__back .shop{ margin-left:10px; padding-left:10px;
  border-left:1px solid var(--brand-hairline); }
.woocommerce-checkout #place_order{ float:none !important; width:100% !important; }
.woocommerce-checkout .form-row.place-order{ padding:0; margin:0; }

/* Privacy notice + payment box spacing inside the summary */
.woocommerce-checkout .woocommerce-privacy-policy-text{ font-size:12.5px; color:var(--brand-muted-text); margin:12px 0 0; }
.woocommerce-checkout .woocommerce-privacy-policy-text p{ margin:0; line-height:1.55; }
.woocommerce-checkout #payment{ background:transparent; border-radius:0; }
.woocommerce-checkout #payment .woocommerce-notice--info{ margin:0 0 12px; }

/* ---- Checkout: shipping method in the left column ---------------------- */
.emerald-shipslot{ border:1px solid var(--brand-hairline); border-radius:16px; padding:16px 18px; margin:0 0 18px; }
.emerald-shipslot #shipping_method{ list-style:none; margin:0; padding:0; }
.emerald-shipslot #shipping_method li{ display:flex; align-items:flex-start; gap:12px;
  border:1px solid var(--brand-hairline); border-radius:12px; padding:14px; margin:0 0 10px; cursor:pointer; }
.emerald-shipslot #shipping_method li:last-child{ margin-bottom:0; }
.emerald-shipslot #shipping_method li:has(input:checked){ border-color:var(--brand-leaf-dark);
  background:#fbfff2; box-shadow:0 0 0 2px rgba(198,255,0,.32); }
.emerald-shipslot #shipping_method input{ accent-color:var(--brand-leaf-dark); width:17px; height:17px;
  margin:3px 0 0; flex:none; }
.emerald-shipslot #shipping_method label{ margin:0; font-size:14.5px; font-weight:600; cursor:pointer;
  flex:1; min-width:0; line-height:1.45; text-align:left; }
.emerald-shipslot__wait{ margin:0; font-size:13.5px; color:var(--brand-muted-text); }
.emerald-ship-chosen{ font-size:13.5px; }
.emerald-ship-chosen.is-muted{ color:var(--brand-muted-text); }
/* The summary row is now a plain one-line readout again. */
.woocommerce-checkout #order_review tfoot tr.woocommerce-shipping-totals{ display:table-row; }
.woocommerce-checkout #order_review tfoot tr.woocommerce-shipping-totals th{ display:table-cell; width:auto; }
.woocommerce-checkout #order_review tfoot tr.woocommerce-shipping-totals td{ display:table-cell; width:110px;
  text-align:right; }

/* ---- Checkout: page heading, summary heading, item lines --------------- */
.woocommerce-checkout .emerald-checkout__crumb{ font-size:13px; color:var(--brand-muted-text); margin:0 0 8px; }
.woocommerce-checkout .emerald-checkout__crumb a{ color:var(--brand-muted-text); text-decoration:none; }
.woocommerce-checkout .emerald-checkout__crumb a:hover{ color:var(--brand-leaf-dark); }
.woocommerce-checkout .emerald-checkout__title{ font-family:"articulat-cf",system-ui,sans-serif;
  font-size:clamp(2.4rem,1.6rem+2.4vw,2.9rem); font-weight:800; letter-spacing:-.025em; margin:0 0 4px; }
.woocommerce-checkout .emerald-checkout__sub{ color:var(--brand-muted-text); font-size:16px; margin:0 0 20px; }

/* Step numbers beyond 2 */
.emerald-step[data-step="3"] h3::before{ content:"3"; }
.emerald-step[data-step="4"] h3::before{ content:"4"; }
.emerald-step[data-step="5"] h3::before{ content:"5"; }

/* Order summary heading back on */
.woocommerce-checkout h3#order_review_heading{ display:block; font-size:12px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--brand-muted-text); font-weight:800; margin:0 0 14px;
  grid-column:2; grid-row:1; align-self:start; padding:22px 22px 0; position:sticky; top:18px; z-index:2; }
@media(max-width:960px){ .woocommerce-checkout h3#order_review_heading{ grid-column:1; grid-row:auto;
  position:static; padding:0; } }
/* Heading lives inside the review card visually: pull the card up under it. */
.woocommerce-checkout #order_review{ padding-top:52px; }
@media(max-width:960px){ .woocommerce-checkout #order_review{ padding-top:22px; } }

/* Item lines with thumbnail */
.emerald-corev{ display:flex; gap:11px; align-items:flex-start; }
.emerald-corev__thumb{ flex:none; width:54px; height:54px; border-radius:9px; overflow:hidden;
  border:1px solid var(--brand-hairline); background:#fafafa; display:block; }
.emerald-corev__img{ width:100%; height:100%; object-fit:cover; display:block; }
.emerald-corev__body{ display:block; min-width:0; }
.emerald-corev__name{ display:block; font-size:13px; font-weight:700; line-height:1.35; }
.emerald-corev__unit{ display:block; font-size:12px; color:var(--brand-muted-text); margin-top:3px; }
.emerald-corev__qty{ display:block; font-size:12px; color:var(--brand-muted-text); margin-top:2px; font-weight:600; }
.woocommerce-checkout #order_review .cart_item .variation{ margin:3px 0 0 65px; }
.woocommerce-checkout #order_review .cart_item td.product-name{ padding-right:8px; }

/* ---- Checkout summary: clean card, full item lines --------------------- */
.woocommerce-checkout #order_review .shop_table,
.woocommerce-checkout #order_review .shop_table td,
.woocommerce-checkout #order_review .shop_table th{ border:none; }
.woocommerce-checkout #order_review .shop_table{ border-collapse:collapse; }
.woocommerce-checkout #order_review .cart_item td{ border-bottom:1px solid var(--brand-hairline) !important; }
.woocommerce-checkout #order_review tfoot tr:first-child th,
.woocommerce-checkout #order_review tfoot tr:first-child td{ padding-top:12px; }

/* Hide Woo's own variation list — attributes are inside our name block. */
.woocommerce-checkout #order_review .cart_item .variation{ display:none; }
.emerald-corev__var{ display:block; font-size:12px; color:var(--brand-muted-text); margin-top:3px; }
.emerald-corev__save{ display:inline-block; background:#062d0e; color:var(--brand-lime); font-size:10px;
  font-weight:800; letter-spacing:.04em; padding:2px 7px; border-radius:4px; margin-top:6px; }
.emerald-corev__save .amount{ color:var(--brand-lime); }
.emerald-items th{ font-weight:400; }

/* Payment moved into the left column */
.emerald-payslot{ border:1px solid var(--brand-hairline); border-radius:16px; padding:16px 18px; margin:0 0 18px; }
.emerald-payslot #payment{ background:transparent; }
.emerald-payslot .wc_payment_methods{ margin:0; }
.emerald-payslot .place-order{ display:none; }
.emerald-payslot .woocommerce-privacy-policy-text{ margin:12px 0 0; }

/* ---- Checkout: qty badge, summary footer, type consistency ------------- */
.emerald-corev__thumb{ position:relative; }
.emerald-corev__qty{ position:absolute; top:-1px; left:-1px; background:var(--brand-ink); color:#fff;
  font-size:10.5px; font-weight:800; font-style:normal; padding:2px 6px; border-bottom-right-radius:7px;
  line-height:1.2; letter-spacing:0; }

/* Place order block now sits inside the summary card. */
.woocommerce-checkout #order_review .place-order{ display:block !important; padding:0; margin:16px 0 0; }
.emerald-payslot .place-order{ display:none; }
.emerald-sumfoot{ margin-top:0; }
.emerald-sumfoot__coupon{ display:flex; gap:9px; margin:14px 0 0; }
.emerald-sumfoot__coupon input{ flex:1; min-width:0; height:44px; border:1px solid var(--brand-hairline);
  border-radius:10px; padding:0 12px; font-size:14px; font-family:inherit; }
.emerald-sumfoot__apply{ height:44px; padding:0 18px; border:1.5px solid var(--brand-ink); background:#fff;
  border-radius:10px; font-weight:800; font-size:13px; cursor:pointer; font-family:"articulat-cf",system-ui,sans-serif; }
.emerald-sumfoot__apply:hover{ background:var(--brand-lime); }
.emerald-sumfoot__trust{ list-style:none; margin:16px 0 0; padding:0; display:grid; gap:9px; }
.emerald-sumfoot__trust li{ display:flex; align-items:center; gap:8px; font-size:12.5px;
  color:var(--brand-muted-text); }
.emerald-sumfoot__trust svg{ width:15px; height:15px; color:var(--brand-leaf-dark); flex:none; }

/* Type consistency: headings and buttons on the brand face. */
.woocommerce-checkout .emerald-checkout__title,
.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout .emerald-step h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout .emerald-compliance h3,
.woocommerce-checkout #place_order,
.woocommerce-checkout #order_review tfoot .order-total th,
.woocommerce-checkout #order_review tfoot .order-total td,
.emerald-corev__name{ font-family:"articulat-cf",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.woocommerce-checkout, .woocommerce-checkout input, .woocommerce-checkout select,
.woocommerce-checkout textarea, .woocommerce-checkout label{ font-family:inherit; }

/* ---- Checkout: font stack, native coupon toggle, state select ---------- */
.woocommerce-checkout,
.woocommerce-checkout input, .woocommerce-checkout select, .woocommerce-checkout textarea,
.woocommerce-checkout label, .woocommerce-checkout button, .woocommerce-checkout p,
.woocommerce-checkout li, .woocommerce-checkout td, .woocommerce-checkout th, .woocommerce-checkout span,
.woocommerce-checkout div{ font-family:"articulat-cf",system-ui,-apple-system,"Segoe UI",Roboto,
  Helvetica,Arial,sans-serif; }

/* Our coupon field lives under the total — hide Woo's toggle notice. */
.woocommerce-checkout .woocommerce-form-coupon-toggle{ display:none !important; }

/* State / country selects: keep the value clear of the chevron. */
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single{
  padding:0 38px 0 12px !important; line-height:44px; text-align:left; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{
  padding:0 !important; line-height:44px !important; text-align:left; color:var(--brand-ink); }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{
  height:44px; right:10px; }
.woocommerce-checkout .form-row select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:16px 16px; }

/* ---- Checkout on the Full Width template: restore the centered container */
.woocommerce-checkout main .woocommerce,
.woocommerce-checkout .emerald-checkout__crumb,
.woocommerce-checkout .emerald-checkout__title,
.woocommerce-checkout .emerald-checkout__sub,
.woocommerce-checkout .emerald-freeship{
  max-width:1280px; margin-left:auto; margin-right:auto;
  padding-left:24px; padding-right:24px; box-sizing:border-box; width:100%;
}
.woocommerce-checkout .emerald-freeship{ padding-top:11px; padding-bottom:11px; }
.woocommerce-checkout main .woocommerce{ padding-bottom:40px; }
@media(max-width:600px){
  .woocommerce-checkout main .woocommerce,
  .woocommerce-checkout .emerald-checkout__crumb,
  .woocommerce-checkout .emerald-checkout__title,
  .woocommerce-checkout .emerald-checkout__sub,
  .woocommerce-checkout .emerald-freeship{ padding-left:16px; padding-right:16px; }
}

/* Full-width template: the form itself needs the container, not just the wrapper. */
.woocommerce-checkout form.checkout,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon{
  max-width:1280px; margin-left:auto !important; margin-right:auto !important;
  padding-left:24px; padding-right:24px; box-sizing:border-box; width:100%;
}
.woocommerce-checkout main .woocommerce{ padding-left:0; padding-right:0; max-width:none; }
@media(max-width:600px){
  .woocommerce-checkout form.checkout,
  .woocommerce-checkout .woocommerce-notices-wrapper{ padding-left:16px; padding-right:16px; }
}

/* ---- Checkout: single source of horizontal padding, tighter step gaps --- */
/* The bar/crumb/title sit inside the padded container already — no double pad. */
.woocommerce-checkout .emerald-freeship{ padding-left:14px !important; padding-right:14px !important;
  margin-left:0 !important; margin-right:0 !important; max-width:none !important; }
.woocommerce-checkout .emerald-checkout__crumb,
.woocommerce-checkout .emerald-checkout__title,
.woocommerce-checkout .emerald-checkout__sub{ max-width:1280px; padding-left:24px; padding-right:24px; }

/* Wrap the bar in the same container as the form so both edges match. */
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .emerald-freeship{ box-sizing:border-box; }
.woocommerce-checkout main > .emerald-freeship{ max-width:1280px; margin:0 auto 18px !important;
  padding-left:24px !important; padding-right:24px !important; background:none; border:none; }

/* Step heading sits close to the card it introduces. */
.woocommerce-checkout .emerald-step{ margin:0 0 8px; }
.woocommerce-checkout .emerald-step + .woocommerce-billing-fields,
.woocommerce-checkout .emerald-step + .emerald-shipslot,
.woocommerce-checkout .emerald-step + .emerald-payslot,
.woocommerce-checkout .emerald-step + .emerald-compliance,
.woocommerce-checkout .emerald-step + div{ margin-top:0; }
.woocommerce-checkout #customer_details{ margin-top:0; }
.woocommerce-checkout .woocommerce-billing-fields{ margin-top:0; }

@media(max-width:600px){
  .woocommerce-checkout .emerald-checkout__crumb,
  .woocommerce-checkout .emerald-checkout__title,
  .woocommerce-checkout .emerald-checkout__sub,
  .woocommerce-checkout main > .emerald-freeship{ padding-left:16px !important; padding-right:16px !important; }
}

/* ---- Checkout: free-shipping bar back inside the 1280 container --------- */
.woocommerce-checkout main > .emerald-freeship,
.woocommerce-checkout .woocommerce > .emerald-freeship,
.woocommerce-checkout .emerald-freeship{
  max-width:1232px !important;               /* 1280 minus the 24px gutters */
  margin:0 auto 18px !important;
  padding:11px 14px !important;
  background:#f6fbe8 !important;
  border:1px solid #d7ea9f !important;
  border-radius:10px !important;
  box-sizing:border-box;
}
@media(max-width:600px){
  .woocommerce-checkout .emerald-freeship{ max-width:calc(100% - 32px) !important; }
}

/* ---- Checkout: the grid row-gap was adding to each step heading's margin - */
.woocommerce-checkout form.checkout{ row-gap:0 !important; column-gap:24px; }
.woocommerce-checkout .emerald-step{ margin:0 0 10px !important; }
.woocommerce-checkout #customer_details,
.woocommerce-checkout #customer_details.col2-set{ margin:0 !important; }
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .emerald-shipslot,
.woocommerce-checkout .emerald-payslot,
.woocommerce-checkout .emerald-compliance{ margin:0 0 20px !important; }
.woocommerce-checkout .woocommerce-billing-fields h3{ margin-top:0; }

/* ---- Checkout: contact card + order notes card ------------------------- */
.emerald-contactslot{ border:1px solid var(--brand-hairline); border-radius:16px; padding:22px 24px; margin:0 0 20px;
  display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.emerald-contactslot .form-row{ width:100% !important; margin:0 !important; float:none !important; }
.emerald-contactslot__note{ grid-column:1 / -1; margin:0; font-size:12.5px; color:var(--brand-muted-text); }
@media(max-width:600px){ .emerald-contactslot{ grid-template-columns:1fr; } }

.emerald-notesslot{ margin:0 0 20px; }
.emerald-notesslot .woocommerce-additional-fields{ margin:0 !important; }
.woocommerce-checkout .emerald-step h3 em{ font-style:normal; font-weight:400; letter-spacing:0;
  text-transform:none; font-size:12.5px; color:var(--brand-muted-text); }

.emerald-step[data-step="6"] h3::before{ content:"6"; }

/* Compliance: no separator lines between statements. */
.woocommerce-checkout .emerald-cx{ border-bottom:none !important; padding:8px 0; }
.woocommerce-checkout .emerald-compliance__div{ display:none; }
.woocommerce-checkout .emerald-cx.is-optional{ margin-top:6px; }
.emerald-cx-all{ display:inline-flex; align-items:center; gap:7px; margin:0 0 4px; font-size:12.5px;
  font-weight:700; color:var(--brand-leaf-dark); background:none; border:none; cursor:pointer; padding:0; }
.emerald-cx-all:hover{ text-decoration:underline; }

/* Step 1 heading sits as close to its card as the others. */
.woocommerce-checkout .emerald-step[data-step="1"]{ margin:0 0 10px !important; }
.woocommerce-checkout .emerald-contactslot{ margin-top:0 !important; }

/* Step 1: pull the contact card up so its gap matches steps 2-6. */
.woocommerce-checkout .emerald-step[data-step="1"]{ margin:0 !important; padding:0 !important; }
.woocommerce-checkout .emerald-step[data-step="1"] h3{ line-height:1.1; }
.woocommerce-checkout .emerald-contactslot{ margin:10px 0 20px !important; }

/* Empty notices wrappers add phantom vertical space inside the checkout form. */
.woocommerce-checkout .woocommerce-notices-wrapper:empty{ display:none !important;
  margin:0 !important; padding:0 !important; height:0 !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle:empty{ display:none !important; }

/* Step 1 gap measured 30px larger than the rest — pull the card up to match. */
.woocommerce-checkout .emerald-contactslot{ margin-top:-30px !important; }

.woocommerce-checkout .emerald-contactslot{ margin-top:-14px !important; }

/* ---- Address autocomplete dropdown ------------------------------------- */
.emerald-addr__list{ position:absolute; left:0; right:0; top:100%; z-index:120; margin-top:4px;
  background:#fff; border:1px solid var(--brand-hairline); border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.14); padding:6px; max-height:320px; overflow:auto; }
.emerald-addr__opt{ display:block; width:100%; text-align:left; border:none; background:transparent;
  padding:10px 11px; border-radius:9px; cursor:pointer; font-family:inherit; }
.emerald-addr__opt:hover,.emerald-addr__opt.is-active{ background:#f6fbe8; }
.emerald-addr__opt .m{ display:block; font-size:14px; font-weight:700; color:var(--brand-ink); }
.emerald-addr__opt .s{ display:block; font-size:12.5px; color:var(--brand-muted-text); margin-top:2px; }
/* Hide Google's own attribution container (we render our own list). */
.pac-container{ display:none !important; }

/* ---- USPS verification banner ------------------------------------------ */
.emerald-usps{ display:flex; gap:11px; align-items:flex-start; border-radius:12px; padding:13px 15px;
  margin:0 0 18px; font-size:13.5px; line-height:1.5; border:1px solid; }
.emerald-usps .ic{ flex:none; width:20px; height:20px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; font-weight:800; font-size:12px; margin-top:1px; }
.emerald-usps b{ display:block; }
.emerald-usps span.sug{ display:block; margin-top:4px; font-weight:600; }
.emerald-usps div > span{ display:block; margin-top:3px; font-size:12.5px; opacity:.85; }
.emerald-usps.is-ok{ background:#eefbf1; border-color:#a7dbb4; color:#14532d; }
.emerald-usps.is-ok .ic{ background:#166534; color:#fff; }
.emerald-usps.is-warn{ background:#fff8e5; border-color:#e8cf7a; color:#674f00; }
.emerald-usps.is-warn .ic{ background:#b45309; color:#fff; }
.emerald-usps.is-fix{ background:#f6fbe8; border-color:#d7ea9f; color:#3f6212; }
.emerald-usps.is-fix .ic{ background:var(--brand-leaf-dark); color:#fff; }
.emerald-usps__use{ margin-top:9px; background:var(--brand-lime); color:var(--brand-ink);
  border:1.5px solid var(--brand-ink); border-radius:9px; padding:8px 15px; font-weight:800; font-size:12.5px;
  cursor:pointer; font-family:"articulat-cf",system-ui,sans-serif; }
.emerald-usps__use:hover{ filter:brightness(1.04); }

/* ---- Brand marquee: show uploaded logos when present ------------------- */
.emerald-marquee .bm-tile{ display:flex; align-items:center; justify-content:center; text-decoration:none; }
.emerald-marquee .bm-tile.has-logo{ padding:10px 18px; }
.emerald-marquee .bm-tile img{ max-height:38px; max-width:120px; width:auto; height:auto;
  object-fit:contain; display:block; filter:grayscale(1); opacity:.72; transition:filter .18s,opacity .18s; }
.emerald-marquee .bm-tile:hover img{ filter:none; opacity:1; }
.emerald-marquee a.bm-tile span{ color:inherit; }
