/* ============================================================
   Emerald Ejuice Hub — Features (bulk form, swatches, spec band)
   ============================================================ */
:root{
  --brand-lime:#c6ff00; --brand-ink:#0a0a0a; --brand-hairline:#ededed;
  --brand-leaf-dark:#4d7c0f; --brand-muted-text:#5c5c5c;
}

/* ---------- Variation image swatches ---------- */
.emerald-swatch-wrap{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 4px; }
.emerald-swatch{
  display:flex; align-items:center; gap:8px; cursor:pointer;
  border:1px solid var(--brand-hairline); border-radius:10px; padding:6px 10px 6px 6px;
  background:#fff; font-size:13px; color:var(--brand-ink); line-height:1;
  transition:border-color .12s ease, box-shadow .12s ease;
}
.emerald-swatch img{ width:34px; height:34px; object-fit:cover; border-radius:7px; display:block; }
.emerald-swatch:hover{ border-color:#bcbcbc; }
.emerald-swatch.is-active{ border-color:var(--brand-ink); box-shadow:0 0 0 2px rgba(198,255,0,.55) inset; }
.emerald-swatch.is-oos{ opacity:.4; cursor:not-allowed; }
.emerald-swatch--reset{ padding:6px 12px; color:var(--brand-muted-text); }

/* ---------- Flavor dropdown with thumbnails ---------- */
.emerald-dd{ position:relative; display:block; width:100%; }
.emerald-dd__trigger{
  display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%;
  min-height:44px; padding:6px 12px; border:1px solid var(--brand-hairline); border-radius:10px;
  background:#fff; font-size:14px; color:var(--brand-ink); cursor:pointer;
}
.emerald-dd__trigger .lbl{ display:flex; align-items:center; gap:10px; text-align:left; }
.emerald-dd__trigger .lbl img{ width:28px; height:28px; border-radius:6px; object-fit:cover; border:1px solid var(--brand-hairline); }
.emerald-dd__trigger .arrow{ color:#888; transition:transform .12s ease; }
.emerald-dd.is-open .arrow{ transform:rotate(180deg); }
/* Clear (×) inside the dropdown's right edge — shown only when a flavor is chosen. */
.emerald-dd__clear{
  position:absolute; top:50%; right:10px; transform:translateY(-50%);
  width:24px; height:24px; border:none; border-radius:50%; background:#f2f2f2;
  color:#555; display:none; align-items:center; justify-content:center; cursor:pointer; padding:0; z-index:2;
  transition:background .15s, color .15s;
}
.emerald-dd__clear svg{ width:12px; height:12px; }
.emerald-dd__clear:hover{ background:var(--brand-ink); color:#fff; }
.emerald-dd.has-value .emerald-dd__clear{ display:flex; }
.emerald-dd.has-value .emerald-dd__trigger .arrow{ display:none; }
.emerald-dd.has-value .emerald-dd__trigger{ padding-right:40px; }
/* We provide our own × — hide WooCommerce's native "Clear" link. */
.variations_form .reset_variations,
.woocommerce-variation .reset_variations{ display:none !important; }
/* Option A: the dropdown option + spec band already show stock/description, so hide
   WooCommerce's duplicate variation stock line and auto description under the selection. */
.variations_form .woocommerce-variation-description,
.variations_form .woocommerce-variation-availability{ display:none !important; }
/* View cart A: the slide-out drawer already has View cart + Checkout, so hide the
   inline "View cart" link WooCommerce prints after adding. */
.single-product a.added_to_cart.wc-forward,
.woocommerce a.added_to_cart.wc-forward{ display:none !important; }
.emerald-dd__panel{
  position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:60; display:none;
  max-height:none; overflow:visible; background:#fff; border:1px solid var(--brand-hairline);
  border-radius:12px; box-shadow:0 18px 40px rgba(0,0,0,.12); padding:6px; box-sizing:border-box; overflow-x:hidden;
}
.emerald-dd__opt,.emerald-dd__opt--oos{ box-sizing:border-box; max-width:100%; }
.emerald-dd.is-open .emerald-dd__panel{ display:block; }
.emerald-dd__opt{
  display:flex; align-items:center; gap:11px; width:100%; text-align:left; border:none;
  background:transparent; padding:11px 12px; border-radius:9px; font-size:14px; color:var(--brand-ink); cursor:pointer; min-height:52px;
}
.emerald-dd__opt:hover{ background:#f5f5f5; }
.emerald-dd__opt.is-active{ background:#f2f7e6; }
.emerald-dd__opt img{ width:32px; height:32px; border-radius:7px; object-fit:cover; border:1px solid var(--brand-hairline); }
.emerald-dd__opt .nm{ font-weight:600; }
.emerald-dd__stk{ margin-left:auto; font-size:12px; font-weight:600; white-space:nowrap; }
.emerald-dd__stk.ok{ color:var(--brand-muted-text,#5c5c5c); }
.emerald-dd__stk.low{ color:#b54708; }
.emerald-dd__divider{ display:flex; align-items:center; gap:8px; padding:8px 10px 4px; font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-muted-text,#8a8a8a); font-weight:700; }
.emerald-dd__divider::before,.emerald-dd__divider::after{ content:""; height:1px; background:var(--brand-hairline); flex:1; }
.emerald-dd__opt--oos{ display:flex; align-items:center; gap:11px; width:100%; padding:11px 12px; border-radius:9px; position:relative; min-height:52px; }
.emerald-dd__opt--oos .nm{ color:#98a2b3; }
.emerald-dd__opt--oos img{ width:32px; height:32px; border-radius:7px; object-fit:cover; border:1px solid var(--brand-hairline); filter:grayscale(1); opacity:.6; }
.emerald-dd__opt--oos .emerald-notify{ margin:0 0 0 auto; position:relative; flex:none; }
.emerald-dd__opt--oos .emerald-notify__toggle{ padding:6px 12px; font-size:12px; white-space:nowrap; }
.emerald-dd__opt--oos .emerald-notify__form,.emerald-dd__opt--oos .emerald-notify__msg{ position:absolute; top:calc(100% + 6px); right:0; z-index:70; width:240px; background:#fff; border:1px solid var(--brand-hairline); border-radius:10px; box-shadow:0 14px 34px rgba(0,0,0,.16); padding:10px; margin:0; }

/* ---------- Bulk mix-&-match form ---------- */
.emerald-bulk{ border:1px solid var(--brand-hairline); border-radius:14px; padding:24px; margin:32px auto; max-width:1280px; }
.emerald-bulk h3{ font-family:"Space Grotesk",system-ui,sans-serif; font-size:20px; margin:0; letter-spacing:-.01em; }
.emerald-bulk .note{ font-size:13px; color:var(--brand-muted-text); margin:4px 0 18px; }

.emerald-tiers{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:20px; }
.emerald-tier{ border:1px solid var(--brand-hairline); border-radius:12px; padding:14px 16px; transition:border-color .12s ease, box-shadow .12s ease; }
.emerald-tier.is-active{ border-color:var(--brand-ink); box-shadow:0 0 0 2px rgba(198,255,0,.55) inset; }
.emerald-tier .qty{ font-size:12px; font-weight:700; letter-spacing:.05em; color:var(--brand-leaf-dark); text-transform:uppercase; }
.emerald-tier .price{ font-family:"Space Grotesk",system-ui,sans-serif; font-size:20px; font-weight:700; margin-top:4px; }
.emerald-tier .price small{ font-size:12px; font-weight:500; color:var(--brand-muted-text); }

.emerald-rows{ border:1px solid var(--brand-hairline); border-radius:12px; overflow:hidden; }
.emerald-row{ display:grid; grid-template-columns:1.6fr 1fr 1fr; align-items:center; gap:12px; padding:12px 16px; border-top:1px solid var(--brand-hairline); }
.emerald-rows.has-nic .emerald-row{ grid-template-columns:1.6fr 1fr 1fr 1fr; }
.emerald-rows.has-nic .emerald-row .nic{ justify-self:center; text-align:center; }
.emerald-row .nic{ font-size:14px; font-weight:600; color:var(--brand-ink); }
.emerald-row:first-child{ border-top:none; }
.emerald-row--head{ background:#fafafa; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-muted-text); }
.emerald-row--head span:last-child{ text-align:center; }
.emerald-row .flavor{ display:flex; align-items:center; gap:12px; font-size:14px; font-weight:600; }
.emerald-row .flavor img{ width:40px; height:40px; object-fit:cover; border-radius:8px; }
.emerald-row .stock .in,.emerald-row .stock .low,.emerald-row .stock .out{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; padding:5px 11px; border-radius:999px; }
.emerald-row .stock .in{ background:#ecfdf3; color:#067647; }
.emerald-row .stock .low{ background:#fffaeb; color:#b54708; }
.emerald-row .stock .out{ background:var(--brand-redbg,#fef3f2); color:var(--brand-red,#b42318); }
.emerald-row .stock{ justify-self:center; text-align:center; }
.emerald-row .stepper{ justify-self:center; }
.emerald-row--head span:not(:first-child){ justify-self:center; text-align:center; }
.emerald-row .stock .dot{ width:7px; height:7px; border-radius:50%; background:currentColor; display:inline-block; }
.emerald-row--oos{ background:#fff; }
/* Option A: flavor stays full colour; only the qty control changes when OOS. */
.emerald-row--oos .flavor{ color:var(--brand-ink); }
.emerald-row--oos .flavor img{ filter:none; opacity:1; }
.emerald-row .stepper--notify{ border:none; }
.emerald-row .stepper--notify .emerald-notify{ margin:0; position:relative; }
.emerald-row .stepper--notify .emerald-notify__toggle{ background:#fff; border:1.5px solid var(--brand-ink); color:var(--brand-ink); border-radius:9px; padding:9px 16px; font-size:13px; font-weight:700; }
.emerald-row .stepper--notify .emerald-notify__toggle:hover{ background:var(--brand-ink); color:#fff; }
.emerald-row .stepper--notify .emerald-notify__form,.emerald-row .stepper--notify .emerald-notify__msg{ position:absolute; top:calc(100% + 6px); right:0; z-index:40; width:250px; background:#fff; border:1px solid var(--brand-hairline); border-radius:10px; box-shadow:0 14px 34px rgba(0,0,0,.14); padding:10px; margin:0; }

/* Notify me (restock) */
.emerald-notify{ margin-top:8px; }
.emerald-notify--single{ margin-top:14px; max-width:460px; }
.emerald-notify__toggle{ display:inline-flex; align-items:center; gap:6px; background:#fff; border:1.5px solid var(--brand-hairline); border-radius:8px; padding:7px 12px; font-size:12.5px; font-weight:700; color:#475467; cursor:pointer; font-family:inherit; }
.emerald-notify__toggle:hover{ border-color:var(--brand-ink); color:var(--brand-ink); }
.emerald-notify__toggle svg{ width:14px; height:14px; }
.emerald-notify__form{ display:flex; gap:8px; margin-top:8px; }
.emerald-notify__form[hidden]{ display:none; }
.emerald-notify__msg[hidden]{ display:none; }
.emerald-row .stock{ align-self:center; }
.emerald-row .stock .in,.emerald-row .stock .low,.emerald-row .stock .out{ white-space:nowrap; }
/* wpautop can inject empty <p> into the stock cell — neutralize them. */
.emerald-row .stock p,.emerald-notify p{ margin:0; }
.emerald-row .stock p:empty,.emerald-notify p:empty{ display:none; }
.emerald-row .flavor img{ width:40px !important; height:40px !important; flex:none; }
.emerald-notify__form input{ flex:1; min-width:0; height:40px; border:1px solid var(--brand-hairline); border-radius:9px; padding:0 12px; font-size:14px; }
.emerald-notify__submit{ background:var(--brand-ink); color:#fff; border:none; border-radius:9px; padding:0 16px; font-weight:700; font-size:13px; cursor:pointer; white-space:nowrap; }
.emerald-notify__close{ background:none; border:none; font-size:20px; line-height:1; color:#98a2b3; cursor:pointer; padding:0 2px; }
.emerald-notify__close:hover{ color:var(--brand-ink); }
.emerald-notify__msg{ margin:8px 0 0; font-size:13px; }
.emerald-notify__msg.ok{ color:#067647; }
.emerald-notify__msg.err{ color:#b42318; }

.emerald-row .stepper{ display:flex; align-items:center; justify-content:center; gap:6px; }
.emerald-row .step{
  width:30px; height:30px; border:1px solid var(--brand-hairline); background:#fff;
  border-radius:8px; font-size:16px; line-height:1; cursor:pointer; color:var(--brand-ink);
}
.emerald-row .step:hover{ border-color:#bcbcbc; }
.emerald-row .step:disabled{ opacity:.35; cursor:not-allowed; }
.emerald-row .emerald-qty{
  width:56px; height:30px; text-align:center; border:1px solid var(--brand-hairline);
  border-radius:8px; font-size:14px; -moz-appearance:textfield;
}
.emerald-row .emerald-qty::-webkit-outer-spin-button,
.emerald-row .emerald-qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.emerald-bulk__foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-top:18px; }
.emerald-bulk__totals{ display:flex; gap:28px; }
.emerald-bulk__totals .k{ display:block; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-muted-text); }
.emerald-bulk__totals b{ font-family:"Space Grotesk",system-ui,sans-serif; font-size:20px; }
.emerald-subtotal{ color:var(--brand-leaf-dark); }
.emerald-discount{ display:inline-block; background:var(--brand-lime); color:var(--brand-ink); font-size:11px; font-weight:700; padding:3px 9px; border-radius:999px; margin-left:6px; vertical-align:2px; }

/* Gallery overlay badges */
.emerald-gbadge{ position:absolute; top:14px; z-index:5; font-size:11px; font-weight:700; letter-spacing:.06em; padding:6px 12px; border-radius:999px; }
.emerald-gbadge--new{ left:14px; background:var(--brand-lime); color:var(--brand-ink); }
.emerald-gbadge--cat{ right:14px; background:#fff; border:1px solid var(--brand-hairline); color:#5c5c5c; }
.emerald-bulk__add{
  background:var(--brand-lime); color:var(--brand-ink); font-weight:700; border:1.5px solid var(--brand-ink);
  border-radius:10px; padding:13px 24px; font-size:15px; cursor:pointer; letter-spacing:.01em;
  transition:filter .12s ease, transform .12s ease;
}
.emerald-bulk__add:hover:not(:disabled){ filter:brightness(.95); }
.emerald-bulk__add:active:not(:disabled){ transform:translateY(1px); }
.emerald-bulk__add:disabled{ opacity:.6; cursor:not-allowed; }
.emerald-bulk__add svg{ width:17px; height:17px; vertical-align:-3px; margin-right:8px; }
.emerald-bulk__add.is-loading{ opacity:.7; cursor:progress; }
.emerald-bulk__msg{ margin:12px 0 0; font-size:14px; min-height:1em; }
.emerald-bulk__msg.ok{ color:var(--brand-leaf-dark); font-weight:600; }
.emerald-bulk__msg.err{ color:#b42318; font-weight:600; }

/* ---------- Spec band ---------- */
.emerald-specband{
  background:var(--brand-lime); color:var(--brand-ink); border-radius:14px;
  display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:8px;
  padding:20px 18px; margin:18px 0;
}
.emerald-specband .cell{ text-align:center; border-right:1px solid rgba(10,10,10,.14); padding:0 4px; }
.emerald-specband .cell:last-child{ border-right:none; }
.emerald-specband .cell b{ display:block; font-family:"Space Grotesk",system-ui,sans-serif; font-size:22px; font-weight:700; line-height:1.05; letter-spacing:-.02em; }
.emerald-specband .cell span{ display:block; margin-top:6px; font-size:10px; font-weight:700; letter-spacing:.1em; opacity:.72; }

@media(max-width:781px){
  .emerald-tiers{ grid-template-columns:1fr; }
  .emerald-row{ grid-template-columns:1fr 84px 116px; }
  .emerald-specband{ grid-auto-flow:row; grid-template-columns:repeat(2,1fr); }
  .emerald-specband .cell{ border-right:none; }
  .emerald-bulk__foot{ flex-direction:column; align-items:stretch; }
  .emerald-bulk__add{ width:100%; }
}

/* ============================================================
   Branded My Account
   ============================================================ */
.woocommerce-account .woocommerce{ max-width:1280px; margin:0 auto; padding:8px 24px 56px; box-sizing:border-box; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{ box-sizing:border-box; }
.woocommerce-account .woocommerce::after{ content:""; display:table; clear:both; }
.woocommerce-account .woocommerce-MyAccount-navigation{ float:left; width:24%; }
.woocommerce-account .woocommerce-MyAccount-content{ float:right; width:72%; }
@media(max-width:900px){ .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content{ float:none; width:100%; } }

/* Nav card — single bordered container */
.woocommerce-account .woocommerce-MyAccount-navigation{ float:left; width:24%; border:1px solid var(--brand-hairline); border-radius:16px; padding:8px; }
.emerald-acct-who{ border:none; border-radius:0; padding:0 4px 10px; margin-bottom:6px; }
.emerald-acct-who b{ display:block; font-size:14px; color:var(--brand-ink); }
.emerald-acct-who span{ font-size:12px; color:var(--brand-muted-text); word-break:break-all; }
.woocommerce-account .woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; border:none; border-radius:0; display:flex; flex-direction:column; gap:2px; }
.woocommerce-account .woocommerce-MyAccount-navigation li{ margin:0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li a{ display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px; text-decoration:none; color:var(--brand-ink); font-size:15px; font-weight:600; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{ background:#f5f5f5; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{ background:var(--brand-lime); }
.woocommerce-account .woocommerce-MyAccount-navigation li--logout a{ color:#b91c1c; }
/* Addresses: aligned 2-col grid of equal cards (handles .u-columns wrapper) */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .woocommerce-Addresses .u-columns,
.woocommerce-account .u-columns.woocommerce-Addresses{ display:grid !important; grid-template-columns:1fr 1fr; gap:20px; margin:20px 0 0; float:none !important; width:auto !important; }
.woocommerce-account .woocommerce-Addresses .u-column1,
.woocommerce-account .woocommerce-Addresses .u-column2,
.woocommerce-account .woocommerce-Addresses .col-1,
.woocommerce-account .woocommerce-Addresses .col-2{ float:none !important; width:auto !important; max-width:none !important; margin:0 !important; }
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .woocommerce-Addresses .u-columns::before,
.woocommerce-account .woocommerce-Addresses .u-columns::after{ display:none !important; content:none !important; }
.woocommerce-account .woocommerce-Address{ border:1px solid var(--brand-hairline); border-radius:14px; padding:22px; margin:0; height:100%; }
.woocommerce-account .woocommerce-Address-title h3{ font-size:18px; margin:0 0 10px; }
.woocommerce-account .woocommerce-Address-title a.edit{ color:var(--brand-leaf-dark); font-weight:700; font-size:13px; text-decoration:none; }
.woocommerce-account .woocommerce-Address address{ font-style:normal; color:var(--brand-muted-text); font-size:14px; line-height:1.7; }
@media(max-width:700px){ .woocommerce-account .woocommerce-Addresses, .woocommerce-account .woocommerce-Addresses .u-columns{ grid-template-columns:1fr; } }
/* Sidebar icons per endpoint */
.woocommerce-account .woocommerce-MyAccount-navigation li a::before{ content:""; width:18px; height:18px; flex:0 0 18px; background-size:contain; background-repeat:no-repeat; background-position:center; opacity:.85; }
.woocommerce-MyAccount-navigation-link--dashboard a::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.8'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M9 12h7M9 16h7'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads a::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.8'%3E%3Cpath d='M12 3v12M8 11l4 4 4-4'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.8'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='1.8'%3E%3Cpath d='M15 4h4v16h-4'/%3E%3Cpath d='M10 8l-4 4 4 4M6 12h9'/%3E%3C/svg%3E"); }

/* Header account dropdown */
.emerald-acctdd{ position:relative; }
.emerald-acctdd > a.login{ cursor:pointer; }
.emerald-acctdd .chev{ width:14px; height:14px; transition:transform .18s; }
.emerald-acctdd:hover .chev{ transform:rotate(180deg); }
.emerald-acctdd__menu{ position:absolute; top:100%; right:0; min-width:230px; background:#fff; border:1px solid var(--brand-hairline); border-radius:14px; box-shadow:0 12px 30px rgba(0,0,0,.1); padding:8px; opacity:0; visibility:hidden; transform:translateY(8px); transition:.16s; z-index:120; }
.emerald-acctdd:hover .emerald-acctdd__menu, .emerald-acctdd:focus-within .emerald-acctdd__menu{ opacity:1; visibility:visible; transform:translateY(6px); }
.emerald-acctdd__menu .who{ padding:12px 12px 10px; border-bottom:1px solid var(--brand-hairline); margin-bottom:6px; }
.emerald-acctdd__menu .who b{ display:block; font-size:14px; color:var(--brand-ink); }
.emerald-acctdd__menu .who span{ font-size:12px; color:var(--brand-muted-text); word-break:break-all; }
.emerald-acctdd__menu a{ display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:9px; text-decoration:none; color:var(--brand-ink); font-size:14px; font-weight:600; }
.emerald-acctdd__menu a svg{ width:17px; height:17px; }
.emerald-acctdd__menu a:hover{ background:#f5f5f5; }
.emerald-acctdd__menu .sep{ height:1px; background:var(--brand-hairline); margin:6px 0; }
.emerald-acctdd__menu a.out{ color:#b91c1c; }

/* Dashboard banner + quick actions */
.emerald-acct-hi{ border-radius:16px; padding:24px; margin-bottom:20px; display:flex; justify-content:space-between; align-items:center; gap:20px; background:linear-gradient(100deg,#0f0f0f 60%,#14331f 100%); color:#fff; flex-wrap:wrap; }
.emerald-acct-hi h2{ font-size:22px; margin:0 0 6px; letter-spacing:-.01em; color:#fff !important; }
.emerald-acct-hi p{ margin:0; color:#cfcfcf !important; font-size:14px; }
.emerald-acct-hi .rep{ background:var(--brand-lime); color:var(--brand-ink); border-radius:10px; padding:11px 18px; font-weight:800; font-size:13px; white-space:nowrap; text-decoration:none; }
.emerald-acct-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:24px; }
.emerald-acct-cards .qa{ border:1px solid var(--brand-hairline); border-radius:14px; padding:18px; text-decoration:none; color:var(--brand-ink); display:block; }
.emerald-acct-cards .qa .ic{ width:38px; height:38px; border-radius:10px; background:var(--brand-lime); border:1.5px solid var(--brand-ink); display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.emerald-acct-cards .qa .ic svg{ width:18px; height:18px; }
.emerald-acct-cards .qa b{ display:block; font-size:15px; }
.emerald-acct-cards .qa .d{ font-size:13px; color:var(--brand-muted-text); }
.emerald-acct-h3{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-ink); margin:0 0 12px; font-weight:800; }

/* Orders table */
.woocommerce-account .woocommerce-orders-table{ width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--brand-hairline); border-radius:14px; overflow:hidden; }
.woocommerce-account .woocommerce-orders-table th{ background:#fafafa; text-align:left; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-muted-text); padding:12px 16px; border-bottom:1px solid var(--brand-hairline); }
.woocommerce-account .woocommerce-orders-table td{ padding:14px 16px; border-bottom:1px solid var(--brand-hairline); font-size:14px; vertical-align:middle; }
.woocommerce-account .woocommerce-orders-table tr:last-child td{ border-bottom:none; }
.woocommerce-account .woocommerce-orders-table .button{ background:#fff; color:var(--brand-ink); border:1.5px solid var(--brand-hairline); border-radius:8px; padding:7px 14px; font-weight:700; font-size:12px; text-decoration:none; display:inline-block; margin:2px; }
.woocommerce-account .woocommerce-orders-table .button.reorder{ background:var(--brand-lime); border-color:var(--brand-ink); font-weight:800; }

/* Address + form cards */
.woocommerce-account .woocommerce-Addresses{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:8px; }
@media(max-width:700px){ .woocommerce-account .woocommerce-Addresses{ grid-template-columns:1fr; } .emerald-acct-cards{ grid-template-columns:1fr; } }
.woocommerce-account .woocommerce-Address{ border:1px solid var(--brand-hairline); border-radius:14px; padding:20px; }
.woocommerce-account .woocommerce-Address address{ font-style:normal; color:var(--brand-muted-text); font-size:14px; line-height:1.6; }
.woocommerce-account .woocommerce-Address .edit{ color:var(--brand-leaf-dark); font-weight:700; font-size:13px; text-decoration:none; }
.woocommerce-account form input[type=text], .woocommerce-account form input[type=email], .woocommerce-account form input[type=password], .woocommerce-account form input[type=tel], .woocommerce-account form select{ width:100%; height:42px; border:1px solid var(--brand-hairline); border-radius:10px; padding:0 12px; font-size:14px; }
.woocommerce-account form label{ font-size:13px; font-weight:600; }
.woocommerce-account .button[type=submit], .woocommerce-account button[type=submit]{ background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink); border-radius:10px; padding:12px 22px; font-weight:800; font-size:14px; cursor:pointer; margin-top:24px; }
.woocommerce-account fieldset{ margin-bottom:8px; }
.emerald-acct-subtitle{ color:var(--brand-muted-text,#5c5c5c); font-size:16px; margin:4px auto 24px !important; text-align:left !important; max-width:var(--wp--style--global--wide-size,1280px) !important; width:100%; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child{ color:var(--brand-muted-text); }
.woocommerce-account .woocommerce-orders-table .st{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:999px; background:#f1f5f9; color:#334155; }
.woocommerce-account .woocommerce-orders-table .st.completed{ background:#dcfce7; color:#166534; }
.woocommerce-account .woocommerce-orders-table .st.processing{ background:#fef9c3; color:#854d0e; }
.woocommerce-account .woocommerce-orders-table .st.on-hold{ background:#fee2e2; color:#991b1b; }
.woocommerce-account .woocommerce-orders-table .st.shipped{ background:#e0e7ff; color:#3730a3; }
.woocommerce-account .woocommerce-orders-table .st.pending{ background:#f1f5f9; color:#334155; }

/* ============================ SLIDE-OUT CART DRAWER ============================ */
.emerald-drawer-overlay{ position:fixed; inset:0; background:rgba(10,10,10,.5); z-index:9998; opacity:0; transition:opacity .3s ease; }
.emerald-drawer.is-open ~ .emerald-drawer-overlay, .emerald-drawer-overlay:not([hidden]){ opacity:1; }
.emerald-drawer{ position:fixed; top:0; right:0; height:100%; width:400px; max-width:92vw; background:#fff; z-index:9999; display:flex; flex-direction:column; box-shadow:-8px 0 40px rgba(0,0,0,.18); transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); }
.emerald-drawer.is-open{ transform:translateX(0); }
.emerald-drawer__head{ display:flex; align-items:center; justify-content:space-between; padding:20px 22px; border-bottom:1px solid var(--brand-hairline); }
.emerald-drawer__title{ font-family:"articulat-cf",system-ui,sans-serif; font-size:18px; font-weight:800; letter-spacing:-.01em; color:var(--brand-ink); }
.emerald-drawer__close{ background:none; border:none; font-size:26px; line-height:1; cursor:pointer; color:var(--brand-ink); padding:0 4px; }
.emerald-drawer__added{ display:flex; align-items:center; gap:8px; background:var(--brand-lime); color:var(--brand-ink); font-weight:800; font-size:13px; padding:10px 22px; }
.emerald-drawer__body{ flex:1; display:flex; flex-direction:column; overflow-y:auto; }
.emerald-drawer__items{ list-style:none; margin:0; padding:8px 22px; flex:1; }
.emerald-drawer__item{ display:flex; gap:12px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--brand-hairline); position:relative; }
.emerald-drawer__thumb img{ width:60px; height:60px; object-fit:cover; border:1px solid var(--brand-hairline); border-radius:10px; display:block; }
.emerald-drawer__meta{ flex:1; min-width:0; }
.emerald-drawer__name{ font-size:14px; font-weight:600; color:var(--brand-ink); line-height:1.35; padding-right:18px; }
.emerald-drawer__variant{ font-size:12.5px; color:var(--brand-muted-text); margin-top:3px; line-height:1.3; }
.emerald-drawer__qp{ display:flex; justify-content:space-between; align-items:center; margin-top:8px; font-size:13px; }
.emerald-drawer__qty{ display:inline-flex; align-items:center; border:1px solid var(--brand-hairline); border-radius:8px; overflow:hidden; }
.emerald-drawer__qty.is-loading{ opacity:.5; pointer-events:none; }
.emerald-drawer__step{ width:26px; height:26px; border:none; background:#fff; color:var(--brand-ink); font-size:15px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
.emerald-drawer__step:hover{ background:var(--brand-lime); }
.emerald-drawer__qty .n{ min-width:44px; width:44px; text-align:center; font-weight:700; font-size:13px; border:none; border-left:1px solid var(--brand-hairline); border-right:1px solid var(--brand-hairline); padding:4px 2px; background:#fff; color:var(--brand-ink); -moz-appearance:textfield; }
.emerald-drawer__qty .n::-webkit-outer-spin-button,
.emerald-drawer__qty .n::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.emerald-drawer__qty .n:focus{ outline:2px solid var(--brand-lime); outline-offset:-2px; }
.emerald-drawer__count-row{ display:flex; justify-content:space-between; align-items:center; font-size:13px; color:var(--brand-muted-text); margin-bottom:6px; }
.emerald-drawer__count-row b{ color:var(--brand-ink); font-weight:700; }
.emerald-drawer__qp .p{ font-weight:800; color:var(--brand-ink); }
.emerald-drawer__rm{ position:absolute; top:14px; right:0; color:#9ca3af; font-size:20px; line-height:1; text-decoration:none; }
.emerald-drawer__rm:hover{ color:#b91c1c; }
.emerald-drawer__foot{ border-top:1px solid var(--brand-hairline); padding:18px 22px 22px; background:#fff; position:sticky; bottom:0; }
.emerald-drawer__sub{ display:flex; justify-content:space-between; align-items:center; font-size:15px; margin-bottom:4px; }
.emerald-drawer__sub b{ font-size:20px; font-weight:800; color:var(--brand-ink); }
.emerald-drawer__note{ font-size:12px; color:var(--brand-muted-text); margin:0 0 14px; }
.emerald-drawer__checkout{ display:block; text-align:center; background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink); border-radius:12px; padding:14px; font-weight:800; font-size:15px; text-decoration:none; }
.emerald-drawer__view{ display:block; text-align:center; margin-top:10px; color:var(--brand-ink); font-weight:700; font-size:14px; text-decoration:none; }
.emerald-drawer__view:hover{ color:var(--brand-leaf-dark); }
.emerald-drawer__empty{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:40px; text-align:center; color:var(--brand-muted-text); }
.emerald-drawer__shop{ background:var(--brand-lime); color:var(--brand-ink); border:1.5px solid var(--brand-ink); border-radius:12px; padding:12px 22px; font-weight:800; text-decoration:none; }
@media(max-width:480px){ .emerald-drawer{ width:100%; max-width:100%; } }

/* Free-shipping progress bar */
.emerald-freeship{ background:#f6fbe8; border:1px solid #d7ea9f; border-radius:10px; padding:11px 13px; font-size:13px; margin:0 0 14px; color:#3f6212; }
.emerald-freeship b{ color:#3f6212; }
.emerald-freeship.is-free{ background:#eefbf1; border-color:#a7dbb4; }
.emerald-freeship .track{ display:block; height:7px; background:#e6e6e6; border-radius:99px; margin-top:9px; overflow:hidden; }
.emerald-freeship .track i{ display:block; height:100%; background:var(--brand-lime,#c6ff00); border-radius:99px; }
.emerald-freeship-row td{ padding:0 0 10px !important; border:none !important; }
