/* ==========================================================================
   Edens Garden - round 19 (loaded last)
   1 popup close  2 best sellers grid  3 footer newsletter  4 heading colours are now
   editable in Elementor  5 softer card corners  6-8 bundles  7 track order help
   9-10 shop page  11 product page on phones
   ========================================================================== */

/* ---- 1. welcome / notify pop-up: always-visible round close button ---- */
body.eg .eg-modal__x{top:10px;right:10px;width:38px;height:38px;padding:0;border-radius:50%;background:#fff;color:#06284D;border:1px solid rgba(6,40,77,.18);box-shadow:0 3px 12px rgba(6,40,77,.28);display:grid;place-items:center;font:400 26px/1 Arial,sans-serif;z-index:6;transition:transform .15s,background .15s}
body.eg .eg-modal__x:hover{background:#06284D;color:#fff;transform:scale(1.06)}
body.eg .eg-modal__x:focus-visible{outline:3px solid #7A1F3D;outline-offset:2px}

/* ---- 2. Best sellers: plain grid. Desktop 4 per row (8 = two rows), phone 2 per row (first 4) ---- */
body.eg .eg-bs__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;overflow:visible!important;margin:0!important;padding:0!important;transform:none!important}
body.eg .eg-bs__grid .eg-pc{flex:none!important;width:auto!important;min-width:0;max-width:none}
body.eg .eg-bs__all{text-align:center;margin:clamp(24px,3vw,36px) 0 0}
body.eg .eg-bs .eg-car__nav,body.eg .eg-bs .eg-car__dots{display:none!important}
@media(max-width:700px){
  body.eg .eg-bs__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.eg .eg-bs__grid .eg-pc--x{display:none}
  body.eg .eg-bs__grid .eg-pc__cap{padding:9px 9px 11px;gap:6px}
  body.eg .eg-bs__grid .eg-pc__n{font-size:.86rem}
  body.eg .eg-bs__grid .eg-addc{width:38px;height:38px}
  body.eg .eg-bs__grid .eg-addc svg{width:18px;height:18px}
}

/* ---- 3. footer newsletter: one tidy joined field ---- */
body.eg .eg-nl form.eg-lead{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:0;padding:5px;background:rgba(249,251,246,.08);border:1.5px solid rgba(249,251,246,.4);border-radius:10px;transition:border-color .2s,box-shadow .2s}
body.eg .eg-nl form.eg-lead:focus-within{border-color:#f9fbf6;box-shadow:0 0 0 3px rgba(249,251,246,.16)}
body.eg .eg-nl form.eg-lead input[type=email]{flex:1 1 0;min-width:0;height:48px;padding:0 14px;border:0!important;background:transparent!important;color:#f9fbf6;font:500 1rem var(--eg-display);box-shadow:none!important;outline:0;border-radius:6px}
body.eg .eg-nl form.eg-lead input[type=email]::placeholder{color:rgba(249,251,246,.72);opacity:1}
body.eg .eg-nl form.eg-lead input[type=email]:-webkit-autofill{-webkit-text-fill-color:#f9fbf6;transition:background-color 9999s}
body.eg .eg-nl form.eg-lead .egx-btn{flex:none;height:48px;min-height:0;padding:0 26px;border:0;border-radius:7px;background:#f9fbf6;color:#06284D;font:800 .95rem var(--eg-display);letter-spacing:.02em;cursor:pointer}
body.eg .eg-nl form.eg-lead .egx-btn:hover{background:#fff}
body.eg .eg-nl .eg-lead__err{flex:0 0 100%;margin:6px 10px 4px;font-size:.85rem}
body.eg .eg-nl .eg-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
@media(max-width:480px){body.eg .eg-nl form.eg-lead .egx-btn{padding:0 18px}}

/* ---- 5. softer corners on every card (slightly smaller than before) ---- */
body.eg .eg-pc{border-radius:10px}
body.eg .eg-pc__img,body.eg .eg-pc__img img{border-radius:7px!important}
body.eg .eg-bc{border-radius:12px}
body.eg .eg-bc__art{border-radius:8px}
body.eg .eg-bc__btn{border-radius:8px}
body.eg .eg-bc__tiles img{border-radius:5px}
body.eg .eg-bp{border-radius:12px}
body.eg .eg-bp__img{border-radius:8px}
body.eg .eg-wib{border-radius:16px}
body.eg .eg-wib__c{border-radius:13px}
body.eg .eg-wib__img{border-radius:8px}
body.eg .eg-wib__sum>div,body.eg .eg-bnf,body.eg .eg-strip{border-radius:10px}
body.eg .eg-vs__g,body.eg .eg-ing__c{border-radius:16px}
body.eg .eg-pin,.eg-pin{border-radius:12px!important}
body.eg.single-product div.product div.woocommerce-product-gallery .flex-viewport,body.eg.single-product div.product div.woocommerce-product-gallery__image img{border-radius:14px}
body.eg .eg-rc,body.eg .eg-rv__sum,body.eg .eg-rv__form,body.eg .eg-rv__empty{border-radius:12px}
body.eg .eg-tiles li,body.eg .eg-delivery,body.eg a.eg-wa{border-radius:10px}
body.eg .eg-tier,body.eg.single-product div.product .summary .eg-tier,body.eg.single-product div.product .summary .eg-tiers .eg-tier.eg-tier{border-radius:9px}

/* ---- 6/8. bundles: 4 per row on desktop, compact cards on phones (same feel as a best-seller card) ---- */
@media(min-width:1001px){body.eg .eg-bsec .eg-bgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:621px) and (max-width:1000px){body.eg .eg-bsec .eg-bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.eg .eg-bsec__all{margin-top:clamp(22px,3vw,34px)}
@media(max-width:700px){
  body.eg .eg-bgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.eg .eg-bc{border-radius:10px}
  body.eg .eg-bc__art{aspect-ratio:1/.86;margin:6px 6px 0;border-radius:7px}
  body.eg .eg-bc__pill{top:6px;left:6px;padding:4px 8px;font-size:.6rem}
  body.eg .eg-bc__save{top:6px;right:6px;width:44px;height:44px;outline-offset:-4px}
  body.eg .eg-bc__save small{font-size:.5rem}body.eg .eg-bc__save b{font-size:.78rem}
  body.eg .eg-bc__ttl{top:20%}body.eg .eg-bc__ttl i{font-size:.7rem}body.eg .eg-bc__ttl b{font-size:1rem}
  body.eg .eg-bc__tiles{display:none}
  body.eg .eg-bc__b{padding:9px 10px 11px;gap:5px}
  body.eg .eg-bc__b h3{font-size:.9rem;line-height:1.2}
  body.eg .eg-bc__tag,body.eg .eg-bc__chips,body.eg .eg-bc__rate,body.eg .eg-bc__pb,body.eg .eg-bc__f{display:none!important}
  body.eg .eg-bc__buy{flex-wrap:wrap;gap:6px}
  body.eg .eg-bc__pr{flex-wrap:wrap;gap:2px 6px}
  body.eg .eg-bc__pr strong{font-size:1.05rem}body.eg .eg-bc__pr del{font-size:.76rem}body.eg .eg-bc__pr i{display:none}
  body.eg .eg-bc__btn{width:100%;min-height:38px;padding:0 10px;border-radius:8px}
  body.eg .eg-bc__btn span{display:inline!important;font-size:.82rem}
  body.eg .eg-bc__btn svg{width:16px;height:16px}
}

/* ---- 7. track order: support line ---- */
body.eg .eg-track__help{margin:26px 0 0;padding:16px 18px;background:#eef4e6;border:1px solid rgba(36,74,55,.22);border-radius:10px;font-size:.95rem}
body.eg .eg-track__help b{display:block;color:#244A37;font-weight:800;margin-bottom:4px}
body.eg .eg-track__help p{margin:0}
body.eg .eg-track__help a{color:#7A1F3D;font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* ---- 9. shop page: compact top, one tidy toolbar, styled sort box ---- */
body.eg.post-type-archive-product .woocommerce-breadcrumb,body.eg.tax-product_cat .woocommerce-breadcrumb{margin:0 0 6px}
body.eg.post-type-archive-product .page-hero,body.eg.tax-product_cat .page-hero{padding:8px 0 4px!important}
body.eg.post-type-archive-product .page-hero h1.elementor-heading-title{font-size:clamp(1.7rem,3vw,2.3rem)!important;margin-top:4px!important}
body.eg.post-type-archive-product .page-hero .ph-p{margin-top:4px!important;font-size:.98rem!important}
body.eg.post-type-archive-product .page-hero .eyebrow{margin-bottom:0}
body.eg.post-type-archive-product .elementor-element-deb5e8d,body.eg.post-type-archive-product .eg-shop-sec{padding-top:6px!important;padding-bottom:36px!important}
body.eg .eg-shopx{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:16px;row-gap:2px;align-items:center}
body.eg .eg-shopx>*{grid-column:1/-1}
body.eg .eg-shopx>.eg-cats{grid-column:1;grid-row:1;margin:0;flex-wrap:wrap;gap:8px}
body.eg .eg-shopx>.woocommerce-result-count{grid-column:2;grid-row:1;float:none;margin:0!important;line-height:1.2;white-space:nowrap;font-size:.88rem}
body.eg .eg-shopx>.woocommerce-ordering{grid-column:3;grid-row:1;float:none;margin:0!important}
body.eg .eg-shopx>.eg-goals-bar{grid-column:1/-1;grid-row:2;margin:0}
body.eg .eg-shopx>ul.products{grid-row:3;padding-top:10px!important;margin-top:0}
body.eg .eg-shopx .eg-cats a{padding:0 16px;min-height:40px;font-size:.88rem;line-height:1;white-space:nowrap}
body.eg .eg-shopx .eg-goals{justify-content:flex-start;padding:6px 0 8px}
body.eg .eg-shopx .eg-goal{width:76px;gap:6px;scroll-snap-align:start}
body.eg .eg-shopx .eg-goal__c{width:58px;height:58px}
body.eg .eg-shopx .eg-goal__c svg{width:26px;height:26px}
body.eg .eg-shopx .eg-goal__l{font-size:.8rem}
/* sort box (WooCommerce "Default sorting" select) */
body.eg .woocommerce-ordering{position:relative}
body.eg .woocommerce-ordering select.orderby{-webkit-appearance:none;appearance:none;min-height:42px;height:42px;min-width:190px;padding:0 40px 0 16px;border:1.5px solid #06284D;border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2306284D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center/14px;color:#06284D;font:700 .88rem var(--eg-display);cursor:pointer;box-shadow:none;transition:border-color .2s,box-shadow .2s}
body.eg .woocommerce-ordering select.orderby:hover{border-color:#7A1F3D}
body.eg .woocommerce-ordering select.orderby:focus{outline:0;border-color:#7A1F3D;box-shadow:0 0 0 3px rgba(122,31,61,.16)}

/* ---- 10 + 9 (phone): shop page uses the full screen width, 10px from the edges ---- */
@media(max-width:900px){
  body.eg .eg-shopx{grid-template-columns:minmax(0,1fr) auto}
  body.eg .eg-shopx>.eg-cats{grid-column:1/-1;grid-row:1;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:6px;margin-bottom:2px}
  body.eg .eg-shopx>.eg-cats::-webkit-scrollbar{display:none}
  body.eg .eg-shopx>.eg-goals-bar{grid-row:2}
  body.eg .eg-shopx>.woocommerce-result-count{grid-column:1;grid-row:3}
  body.eg .eg-shopx>.woocommerce-ordering{grid-column:2;grid-row:3}
  body.eg .eg-shopx>ul.products{grid-row:4}
}
@media(max-width:700px){
  body.eg.post-type-archive-product .site-main,body.eg.tax-product_cat .site-main{padding-left:0!important;padding-right:0!important}
  body.eg.post-type-archive-product .wrap.e-con,body.eg.tax-product_cat .wrap.e-con{padding-left:10px!important;padding-right:10px!important}
  body.eg.post-type-archive-product .page-hero .wrap.e-con{padding-left:14px!important;padding-right:14px!important}
  body.eg .eg-shopx .eg-goals{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
  body.eg .eg-shopx .eg-goal{width:70px}
  body.eg .eg-shopx .eg-goal__c{width:54px;height:54px}
  body.eg .eg-shopx>ul.products{gap:10px!important}
  body.eg .woocommerce-ordering select.orderby{min-width:0;width:100%;height:40px;min-height:40px;font-size:.82rem;padding-left:14px}
  body.eg.post-type-archive-product .page-hero .ph-p{display:none}
}

/* ---- 11. product page on phones: nothing may overlap ---- */
body.eg .eg-pay{aspect-ratio:1200/186;max-width:360px;margin:0 0 4px}
body.eg.single-product .eg-pdp-t__r .elementor-widget{position:relative;clear:both}
body.eg.single-product .eg-pin{margin:16px 0 8px!important}
@media(max-width:1024px){
  body.eg.single-product .eg-pdp-t__l.e-con,body.eg.single-product .eg-pdp-t__l{position:relative!important;overflow:visible;height:auto!important;min-height:0!important}
  body.eg.single-product .eg-pdp-t__l>.elementor-widget{position:relative!important;top:auto!important;width:100%}
  body.eg.single-product div.product div.images,body.eg.single-product .eg-pdp-t__l .woocommerce-product-gallery{position:relative!important;top:auto!important;float:none!important;width:100%!important;max-width:100%!important;margin:0 0 6px!important}
  body.eg.single-product .woocommerce-product-gallery .flex-viewport{height:auto!important;aspect-ratio:1/1;width:100%}
  body.eg.single-product .woocommerce-product-gallery__wrapper{margin:0}
  body.eg.single-product .eg-pdp-t__r.e-con{margin-top:6px;gap:16px}
  body.eg.single-product .eg-pdp-t__r .elementor-widget{margin:0}
  body.eg.single-product .eg-pay{margin:0}
  body.eg.single-product .eg-strip{margin:0 0 6px}
  body.eg.single-product .eg-pin{margin:6px 0 6px!important}
  body.eg.single-product .eg-pdp-t__r .eg-pdp-wrap>*+*{margin-top:12px}
}

/* bundle art scales with the card width (so the Save badge never covers the name) */
body.eg .eg-bc__art{container-type:inline-size}
@container (max-width:240px){
  body.eg .eg-bc__pill{top:6px;left:6px;padding:4px 8px;font-size:.6rem}
  body.eg .eg-bc__save{top:6px;right:6px;width:44px;height:44px;outline-offset:-4px}
  body.eg .eg-bc__save small{font-size:.5rem}body.eg .eg-bc__save b{font-size:.78rem}
  body.eg .eg-bc__ttl{top:34%;padding:0 6px}body.eg .eg-bc__ttl i{font-size:.7rem}body.eg .eg-bc__ttl b{font-size:1rem;line-height:1.05}
}
@media(max-width:900px){body.eg .eg-shopx>.eg-cats{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}}
@container (min-width:241px) and (max-width:330px){
  body.eg .eg-bc__ttl{padding:0 72px}body.eg .eg-bc__ttl b{font-size:1.25rem;line-height:1.05}
}

/* ---- product description: tables and free-form content look tidy ---- */
body.eg .eg-desc__b table,body.eg .egd-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:.95rem;line-height:1.5;display:table}
body.eg .eg-desc__b th,body.eg .eg-desc__b td{padding:10px 12px;border:1px solid rgba(6,40,77,.16);text-align:left;vertical-align:top}
body.eg .eg-desc__b th{background:#eef4e6;color:#06284D;font-weight:700}
body.eg .eg-desc__b tbody tr:nth-child(even) td{background:rgba(238,244,230,.4)}
@media(max-width:640px){body.eg .eg-desc__b table{display:block;overflow-x:auto;white-space:nowrap}}
body.eg .eg-desc__b img{max-width:100%;height:auto}
@media(max-width:700px){body.eg .eg-modal__art{padding-right:60px}}
@media(max-width:900px){
  body.eg .eg-shopx{grid-template-columns:minmax(0,1fr) 172px;column-gap:10px}
  body.eg .eg-shopx>.woocommerce-result-count{white-space:normal;font-size:.8rem;line-height:1.25}
  body.eg .eg-shopx .woocommerce-ordering select.orderby{width:100%;min-width:0}
}
.eg-pill-top{display:none!important}
/* round 20: ingredients / comparison now live inside the product description as plain HTML */
.eg-ing__ph:empty{background:rgba(255,255,255,.75) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23244A37' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 019.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.5 2 8 0 5.5-4.8 10-10 10z'/><path d='M2 21c0-3 1.9-5.4 5-6'/></svg>") center/52px no-repeat}
.eg-vs__img--jar{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150' fill='none' stroke='%23244A37' stroke-width='2.2' stroke-linejoin='round'><rect x='38' y='8' width='44' height='20' rx='3'/><path d='M34 28h52v12H34zM30 40h60v96a8 8 0 01-8 8H38a8 8 0 01-8-8z'/><rect x='40' y='66' width='40' height='46' rx='3'/><path d='M48 84h24M48 94h16' stroke-width='1.8'/></svg>") center/auto 100% no-repeat}

/* ===== round 20: Good Habit Bundle card = one card per row (like the reference), 1:1 picture, same theme as the other cards ===== */
body.eg .eg-bgrid,body.eg .eg-bsec .eg-bgrid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;max-width:940px;margin-left:auto!important;margin-right:auto!important}
body.eg ul.products:has(.eg-bcli):not(:has(> li:not(.eg-bcli))){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;max-width:940px;margin-left:auto!important;margin-right:auto!important}
body.eg ul.products:has(.eg-bcli):not(:has(> li:not(.eg-bcli))) li{width:auto!important;margin:0!important;float:none!important}
body.eg .eg-bc.eg-bc2{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);align-items:stretch;height:auto;border-radius:12px;background:#fff;border:.8px solid rgba(6,40,77,.12);box-shadow:0 6px 20px rgba(6,40,77,.07);overflow:hidden}
body.eg .eg-bc.eg-bc2:hover{transform:none;box-shadow:0 10px 26px rgba(6,40,77,.12)}
body.eg .eg-bc2 .eg-bc__art{aspect-ratio:1/1;margin:8px;border-radius:8px;align-self:start}
body.eg .eg-bc2 .eg-bc__pill{top:12px;left:12px;padding:8px 14px;font-size:.82rem}
body.eg .eg-bc2 .eg-bc__save{top:10px;right:10px;width:76px;height:76px;outline-offset:-6px}
body.eg .eg-bc2 .eg-bc__save small{font-size:.72rem}body.eg .eg-bc2 .eg-bc__save b{font-size:1.15rem}
body.eg .eg-bc2 .eg-bc__ttl{top:20%;padding:0 12%}body.eg .eg-bc2 .eg-bc__ttl i{font-size:.95rem}body.eg .eg-bc2 .eg-bc__ttl b{font-size:clamp(1.3rem,2.6vw,1.9rem);padding:0}
body.eg .eg-bc2 .eg-bc__tiles{display:flex;bottom:-2%}
body.eg .eg-bc2 .eg-bc__tiles img{width:32%}
body.eg .eg-bc2 .eg-bc__b{padding:20px 24px 22px 12px;gap:10px;justify-content:center}
body.eg .eg-bc2 .eg-bc__b h3{font-size:1.55rem;line-height:1.15}
body.eg .eg-bc2 .eg-bc__tag{display:block!important;font-size:1rem;-webkit-line-clamp:unset}
body.eg .eg-bc2 .eg-bc__chips{display:flex!important;gap:8px;margin:2px 0 0}
body.eg .eg-bc2 .eg-bc__chips li{padding:7px 13px 7px 9px;font-size:.86rem;gap:7px}body.eg .eg-bc2 .eg-bc__chips li b{font-size:.86rem}
body.eg .eg-bc2 .eg-bc__chips svg{width:16px;height:16px}
body.eg .eg-bc2 .eg-bc__rate{display:flex!important;font-size:1rem}
body.eg .eg-bc2 .eg-bc__buy{display:block;margin-top:2px;padding:0}
body.eg .eg-bc2 .eg-bc__pr{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;padding:2px 0 0}
body.eg .eg-bc2 .eg-bc__pr strong{font-size:2.1rem}body.eg .eg-bc2 .eg-bc__pr del{font-size:1.15rem}
body.eg .eg-bc2 .eg-bc__pr i{display:inline-block;font-size:.9rem;padding:7px 12px}
body.eg .eg-bc2 .eg-bc__pb{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 0;margin:6px 0 12px;font-size:.95rem}
body.eg .eg-bc2 .eg-bc__pb span+span{margin-left:12px;padding-left:12px;border-left:1.5px solid rgba(6,40,77,.25)}
body.eg .eg-bc2 .eg-bc__btn{display:flex;width:100%;min-height:52px;border-radius:10px;font-size:1.1rem;padding:0 16px}
body.eg .eg-bc2 .eg-bc__btn span{display:inline!important}
body.eg .eg-bc2 .eg-bc__f{display:none!important}
@media(max-width:700px){
  body.eg .eg-bc.eg-bc2{grid-template-columns:minmax(0,1fr)}
  body.eg .eg-bc2 .eg-bc__art{margin:8px 8px 0}
  body.eg .eg-bc2 .eg-bc__b{padding:14px 16px 18px}
  body.eg .eg-bc2 .eg-bc__b h3{font-size:1.4rem}
  body.eg .eg-bc2 .eg-bc__ttl{top:17%;padding:0 18%}
  body.eg .eg-bc2 .eg-bc__ttl b{font-size:1.5rem}
  body.eg .eg-bc2 .eg-bc__pr strong{font-size:2rem}
}
/* only a bundles-only list goes one-per-row; in the mixed shop grid bundle cards stay narrow and stack vertically */
body.eg ul.products li .eg-bc2 .eg-bc__b h3{font-size:1.55rem!important}
body.eg ul.products:has(> li:not(.eg-bcli)) .eg-bc.eg-bc2{grid-template-columns:minmax(0,1fr)}
body.eg ul.products:has(> li:not(.eg-bcli)) .eg-bc2 .eg-bc__art{margin:8px 8px 0}
body.eg ul.products:has(> li:not(.eg-bcli)) .eg-bc2 .eg-bc__b{padding:14px 16px 18px}
body.eg ul.products:has(> li:not(.eg-bcli)) .eg-bc2 .eg-bc__b h3{font-size:1.2rem!important}
@media(max-width:700px){body.eg ul.products li .eg-bc2 .eg-bc__b h3{font-size:1.4rem!important}}

/* round 20b: Good Habit Bundles = two cards per row (desktop + tablet), one per row on phones */
@media(min-width:701px){
  body.eg .eg-bgrid,body.eg .eg-bsec .eg-bgrid,body.eg ul.products:has(.eg-bcli):not(:has(> li:not(.eg-bcli))){grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:1000px;gap:22px!important}
  body.eg .eg-bc.eg-bc2{grid-template-columns:minmax(0,1fr)}
  body.eg .eg-bc2 .eg-bc__art{margin:8px 8px 0}
  body.eg .eg-bc2 .eg-bc__b{padding:16px 20px 20px}
  body.eg .eg-bc2 .eg-bc__ttl b{font-size:clamp(1.3rem,2.4vw,1.8rem)}
}

/* round 20c: bundles = 3 per row on desktop, smaller cards; 2 on tablet, 1 on phone */
@media(min-width:1001px){
  body.eg .eg-bgrid,body.eg .eg-bsec .eg-bgrid,body.eg ul.products:has(.eg-bcli):not(:has(> li:not(.eg-bcli))){grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:1180px;gap:18px!important}
  body.eg .eg-bc2 .eg-bc__art{margin:6px 6px 0}
  body.eg .eg-bc2 .eg-bc__pill{top:10px;left:10px;padding:6px 11px;font-size:.72rem}
  body.eg .eg-bc2 .eg-bc__save{top:8px;right:8px;width:58px;height:58px;outline-offset:-5px}
  body.eg .eg-bc2 .eg-bc__save small{font-size:.58rem}body.eg .eg-bc2 .eg-bc__save b{font-size:.9rem}
  body.eg .eg-bc2 .eg-bc__ttl{top:15%}body.eg .eg-bc2 .eg-bc__ttl i{font-size:.8rem}body.eg .eg-bc2 .eg-bc__ttl b{font-size:1.25rem}
  body.eg .eg-bc2 .eg-bc__b{padding:12px 14px 14px;gap:7px}
  body.eg .eg-bc2 .eg-bc__b h3,body.eg ul.products li .eg-bc2 .eg-bc__b h3{font-size:1.15rem!important}
  body.eg .eg-bc2 .eg-bc__tag{font-size:.88rem}
  body.eg .eg-bc2 .eg-bc__chips{gap:5px}
  body.eg .eg-bc2 .eg-bc__chips li{padding:4px 9px 4px 6px;font-size:.74rem;gap:5px}body.eg .eg-bc2 .eg-bc__chips li b{font-size:.74rem}
  body.eg .eg-bc2 .eg-bc__chips svg{width:12px;height:12px}
  body.eg .eg-bc2 .eg-bc__rate{font-size:.85rem}
  body.eg .eg-bc2 .eg-bc__pr strong{font-size:1.55rem}body.eg .eg-bc2 .eg-bc__pr del{font-size:.95rem}body.eg .eg-bc2 .eg-bc__pr i{font-size:.74rem;padding:4px 9px}
  body.eg .eg-bc2 .eg-bc__pb{font-size:.8rem;margin:2px 0 8px}
  body.eg .eg-bc2 .eg-bc__btn{min-height:42px;font-size:.95rem;border-radius:8px}
}

/* ===== round 21: phone header ===== */
@media(max-width:1024px){body.eg .hfe-nav-menu__toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:none;border:0;color:#06284D}}
@media(min-width:1025px){body.eg .hfe-nav-menu__toggle{display:none!important}}
body.eg .hfe-nav-menu__toggle .hfe-nav-menu-icon{position:relative;display:block;width:24px;height:18px;background:linear-gradient(#06284D,#06284D) center/100% 2px no-repeat;transition:background-size .2s}
body.eg .hfe-nav-menu__toggle .hfe-nav-menu-icon svg{display:none!important}
body.eg .hfe-nav-menu__toggle .hfe-nav-menu-icon::before,body.eg .hfe-nav-menu__toggle .hfe-nav-menu-icon::after{content:"";position:absolute;left:0;right:0;height:2px;border-radius:2px;background:#06284D;transition:transform .25s,top .25s,bottom .25s}
body.eg .hfe-nav-menu__toggle .hfe-nav-menu-icon::before{top:0}
body.eg .hfe-nav-menu__toggle .hfe-nav-menu-icon::after{bottom:0}
body.eg .hfe-nav-menu__toggle[aria-expanded=true] .hfe-nav-menu-icon{background-size:0 2px}
body.eg .hfe-nav-menu__toggle[aria-expanded=true] .hfe-nav-menu-icon::before{top:8px;transform:rotate(45deg)}
body.eg .hfe-nav-menu__toggle[aria-expanded=true] .hfe-nav-menu-icon::after{bottom:8px;transform:rotate(-45deg)}
@media(max-width:1024px){
  body.eg .hfe-nav-menu a.hfe-menu-item,body.eg nav.hfe-dropdown a.hfe-menu-item{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
  body.eg .hfe-nav-menu .hfe-menu-toggle.sub-arrow,body.eg nav.hfe-dropdown .hfe-menu-toggle.sub-arrow{width:auto!important;height:auto!important;flex:none;margin:0;padding:0 6px;position:static}
}
/* goal icon row: horizontal swipe must never get stuck (no snapping, no vertical trap) */
body.eg .eg-goals{overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-snap-type:none!important;scroll-behavior:auto}
body.eg .eg-goals .eg-goal{scroll-snap-align:none!important}
@media(hover:none){html{scroll-behavior:auto}}

/* ===== round 21: gallery arrows ===== */
body.eg .woocommerce-product-gallery .flex-direction-nav{list-style:none;margin:0;padding:0}
body.eg .woocommerce-product-gallery .flex-direction-nav li{list-style:none;margin:0;padding:0}
body.eg .woocommerce-product-gallery .flex-direction-nav a{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 2px 10px rgba(6,40,77,.25);display:flex!important;align-items:center;justify-content:center;font-size:0;text-decoration:none;opacity:1!important;cursor:pointer}
body.eg .woocommerce-product-gallery .flex-direction-nav a::before{content:"";width:10px;height:10px;border:solid #06284D;border-width:0 2.2px 2.2px 0;display:block}
body.eg .woocommerce-product-gallery .flex-direction-nav .flex-prev{left:10px}
body.eg .woocommerce-product-gallery .flex-direction-nav .flex-next{right:10px}
body.eg .woocommerce-product-gallery .flex-direction-nav .flex-prev::before{transform:rotate(135deg);margin-left:4px}
body.eg .woocommerce-product-gallery .flex-direction-nav .flex-next::before{transform:rotate(-45deg);margin-right:4px}
body.eg .woocommerce-product-gallery .flex-direction-nav a.flex-disabled{display:none!important}
body.eg .woocommerce-product-gallery .flex-viewport{touch-action:pan-y}
body.eg .woocommerce-product-gallery__trigger{z-index:7}

/* ===== round 21: compact review cards, photo fully visible (shown once, inside the card) ===== */
body.eg .eg-rv__photos{display:none!important}
body.eg .eg-rv__grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
body.eg .eg-rc__img{display:block;background:#f1f4ee}
body.eg .eg-rc__img img{width:100%;height:150px;aspect-ratio:auto;object-fit:contain;object-position:center}
body.eg .eg-rc__b{padding:12px 14px;gap:7px}
body.eg .eg-rc__b p{font-size:.88rem;line-height:1.5}
body.eg .eg-rc__b h4{font-size:.95rem}
body.eg .eg-rc__reply{padding:8px 10px;font-size:.8rem}

/* QA fixes: blog grid must not be wider than its container on desktop/tablet; Them vs Us cards never overflow on 360px phones */
@media(min-width:701px){body.eg .eg-blog{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}}
body.eg .eg-vs__g>*{min-width:0;max-width:100%}

/* ===== QA fixes: page title block for posts/archives, bigger tap targets ===== */
body.eg .eg-ph{max-width:var(--eg-wrap,1240px);margin:0 auto;padding:clamp(26px,5vw,60px) clamp(16px,3vw,24px) 6px}
body.eg .eg-ph__t{margin:0;font:800 clamp(1.9rem,4.4vw,3.1rem)/1.1 var(--eg-display);letter-spacing:-.02em;color:#7A1F3D}
body.eg .eg-ph__m{margin:10px 0 0;font:400 .92rem/1.4 var(--eg-body);color:#06284D;opacity:.7}
body.eg article .entry-title,body.eg .page-content .entry-title{margin:0 0 6px}
@media(max-width:700px){
  body.eg .eg-pc__n,body.eg .eg-pc__n a,body.eg .eg-bc__b h3 a{display:block;min-height:44px;line-height:1.3;padding:8px 0}
  body.eg a.hfe-cart-container{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  body.eg .hfe-cart-count{min-width:26px;min-height:26px}
}
@media(max-width:700px){
  body.eg footer a:not(.eg-cta):not(.eg-fab-shop),body.eg .hfe-footer a:not(.eg-cta){display:inline-flex;align-items:center;min-height:44px;padding-top:6px;padding-bottom:6px;box-sizing:border-box}
}

/* ===== Buy now button: a small shiver every few seconds to catch the eye ===== */
@keyframes egShiver{0%,62%,100%{transform:translateX(0) rotate(0)}66%{transform:translateX(-4px) rotate(-1.4deg)}70%{transform:translateX(4px) rotate(1.4deg)}74%{transform:translateX(-4px) rotate(-1.2deg)}78%{transform:translateX(4px) rotate(1.2deg)}82%{transform:translateX(-3px) rotate(-.8deg)}86%{transform:translateX(3px) rotate(.8deg)}90%{transform:translateX(-1px) rotate(0)}94%{transform:translateX(1px) rotate(0)}}
body.eg .eg-buynow,body.eg .eg-sticky__btn.is-buy{animation:egShiver 3.2s ease-in-out infinite;transform-origin:center}
body.eg .eg-buynow:hover,body.eg .eg-buynow:focus-visible,body.eg .eg-sticky__btn.is-buy:hover{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){body.eg .eg-buynow,body.eg .eg-sticky__btn.is-buy{animation:none}}
