/* Vega 3.0.0 — Product Runtime. Scoped to single product to avoid legacy bleed. */
body.vega-single-rebuild{--v30-ink:#111827;--v30-muted:#667085;--v30-line:#e5e7eb;--v30-soft:#f7f8fa;--v30-green:#0f9d58;--v30-blue:#155eef;--v30-yellow:#ffcf2f;--v30-radius:16px;--v30-shadow:0 12px 34px rgba(16,24,40,.06)}

/* Cart badge is entirely inside a 44px tap target, so parent clipping cannot hide it. */
.vega-v30-cart-icon{position:relative;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border-radius:12px;box-sizing:border-box}
.vega-v30-cart-icon>svg{width:21px;height:21px;fill:currentColor}
.vega-v30-cart-icon .vega-cart-count{position:absolute!important;top:3px!important;right:3px!important;left:auto!important;z-index:2!important;display:grid!important;place-items:center!important;min-width:17px!important;max-width:27px!important;height:17px!important;padding:0 4px!important;border:2px solid #fff!important;border-radius:999px!important;background:#e32929!important;color:#fff!important;font-size:8px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.02em!important;transform:none!important;box-sizing:border-box!important;overflow:hidden!important}
.vega-v30-cart-icon .vega-cart-count.is-zero{display:none!important}
.vega-cart-link,.vega-mobile-cart-action,.vega-el-header-pro__cart{min-width:44px;min-height:44px;overflow:visible!important}

body.vega-single-rebuild .woocommerce div.product{color:var(--v30-ink)}
body.vega-single-rebuild--classic .woocommerce div.product{width:min(100% - 32px,1320px);max-width:1320px;margin-inline:auto;padding:22px 0 72px}
body.vega-single-rebuild .vega-v30-product-main{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr)!important;gap:clamp(22px,3vw,42px)!important;align-items:start!important;margin-bottom:30px!important}
body.vega-single-rebuild .vega-v30-product-main.has-addons{grid-template-columns:minmax(0,1.04fr) minmax(330px,.78fr) minmax(250px,.58fr)!important;gap:clamp(18px,2.2vw,30px)!important}
body.vega-single-rebuild .vega-v30-product-main>div.images,body.vega-single-rebuild .vega-v30-product-main>div.summary{float:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
body.vega-single-rebuild .vega-v30-product-main>div.summary{position:sticky;top:calc(84px + var(--wp-admin--admin-bar--height,0px));display:flex;flex-direction:column;gap:10px}

/* Gallery */
body.vega-single-rebuild .woocommerce-product-gallery{margin:0!important;border:1px solid var(--v30-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
body.vega-single-rebuild .woocommerce-product-gallery .flex-viewport{border-radius:18px;overflow:hidden!important;background:#fff}
body.vega-single-rebuild .woocommerce-product-gallery__image>a{display:flex!important;align-items:center;justify-content:center;min-height:clamp(440px,42vw,590px)!important;background:#fff!important;border-radius:18px!important;overflow:hidden}
body.vega-single-rebuild .woocommerce-product-gallery__image img{display:block;width:100%!important;height:clamp(440px,42vw,590px)!important;object-fit:contain!important;padding:clamp(10px,2vw,22px)!important;box-sizing:border-box!important;background:#fff!important}
body.vega-single-rebuild .flex-control-thumbs{display:flex!important;gap:8px!important;margin:10px 0 0!important;padding:0!important;overflow:auto!important;scrollbar-width:none}
body.vega-single-rebuild .flex-control-thumbs::-webkit-scrollbar{display:none}
body.vega-single-rebuild .flex-control-thumbs li{float:none!important;flex:0 0 68px!important;width:68px!important;margin:0!important}
body.vega-single-rebuild .flex-control-thumbs img{width:68px!important;height:68px!important;padding:5px!important;object-fit:contain!important;border:1px solid var(--v30-line)!important;border-radius:10px!important;background:#fff!important;opacity:.7!important}
body.vega-single-rebuild .flex-control-thumbs img.flex-active{opacity:1!important;border-color:var(--v30-blue)!important;box-shadow:0 0 0 2px rgba(21,94,239,.08)}

/* Buy section typography: intentionally compact, marketplace-like. */
body.vega-single-rebuild .summary.entry-summary>*{box-sizing:border-box;max-width:100%;margin-top:0;margin-bottom:0}
body.vega-single-rebuild .product_title{display:block!important;visibility:visible!important;opacity:1!important;margin:0!important;font-size:var(--vega-elementor-title-size,var(--vega-sp-title-desktop,26px))!important;line-height:1.18!important;letter-spacing:-.025em!important;font-weight:800!important;color:var(--v30-ink)!important;text-wrap:pretty!important;overflow-wrap:anywhere!important}
body.vega-single-rebuild .woocommerce-product-rating{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;font-size:12px!important}
body.vega-single-rebuild .woocommerce-review-link{font-size:11px!important;color:var(--v30-muted)!important}
body.vega-single-rebuild div.product p.price,body.vega-single-rebuild div.product span.price{display:flex!important;align-items:baseline!important;gap:8px!important;flex-wrap:wrap!important;margin:1px 0!important;color:var(--v30-ink)!important;font-size:clamp(25px,2vw,31px)!important;line-height:1.1!important;font-weight:900!important}
body.vega-single-rebuild div.product .price del{font-size:.62em!important;font-weight:600!important;color:#8a9099!important}body.vega-single-rebuild div.product .price ins{text-decoration:none!important}
body.vega-single-rebuild .woocommerce-product-details__short-description{color:var(--v30-muted)!important;font-size:13px!important;line-height:1.55!important}
body.vega-single-rebuild .woocommerce-product-details__short-description p:last-child{margin-bottom:0!important}

.vega-v30-topline{display:flex;align-items:center;gap:7px;min-height:26px;color:var(--v30-muted);font-size:10px;font-weight:750}
.vega-v30-topline>a,.vega-v30-topline>span{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:3px 8px;border:1px solid var(--v30-line);border-radius:999px;background:#fff;color:inherit;text-decoration:none}
.vega-v30-topline .is-stock i,.vega-v30-topline .is-out i{width:6px;height:6px;border-radius:50%;background:#16a34a}.vega-v30-topline .is-out i{background:#dc2626}
.vega-v30-share{margin-left:auto;display:inline-flex;align-items:center;gap:5px;min-width:44px;min-height:32px;padding:4px 8px!important;border:0!important;background:transparent!important;color:var(--v30-muted)!important;font-size:10px!important;font-weight:800!important;box-shadow:none!important}

.vega-v30-savings{display:flex;align-items:center;gap:8px;font-size:10.5px;color:var(--v30-muted)}.vega-v30-savings strong{padding:4px 7px;border-radius:6px;background:#eaf8ee;color:#11823e;font-size:10px}.vega-v30-savings span{font-weight:700}
body.vega-single-rebuild .vega-service-badges{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin:0!important}body.vega-single-rebuild .vega-service-badge{min-height:28px!important;padding:5px 8px!important;border:1px solid var(--v30-line)!important;border-radius:9px!important;background:#fafafa!important;color:#394150!important;font-size:9.5px!important;font-weight:750!important}body.vega-single-rebuild .vega-service-badge svg{width:14px!important;height:14px!important}

.vega-v30-key-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:9px 0}
.vega-v30-key-features>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;padding:8px 5px;border:1px solid #eef0f2;border-radius:10px;background:#fbfcfe}
.vega-v30-key-features__icon{display:grid;place-items:center;width:26px;height:26px;color:#1769e0}.vega-v30-key-features__icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vega-v30-key-features strong{display:block;font-size:10px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}.vega-v30-key-features small{display:block;color:var(--v30-muted);font-size:8.5px;line-height:1.2}

.vega-v30-offer-strip{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #fde3a7;border-radius:11px;background:#fff9e9}.vega-v30-offer-strip__icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ffe4a1;color:#925000}.vega-v30-offer-strip>span:last-child{display:flex;flex-direction:column;gap:1px}.vega-v30-offer-strip strong{font-size:11px}.vega-v30-offer-strip small{color:#79633f;font-size:9.5px}

body.vega-single-rebuild form.cart{display:flex!important;align-items:stretch!important;gap:8px!important;flex-wrap:wrap!important;margin:2px 0!important;padding:0!important}
body.vega-single-rebuild form.cart .quantity{float:none!important;margin:0!important}body.vega-single-rebuild form.cart .quantity .qty{width:72px!important;min-height:48px!important;border:1px solid var(--v30-line)!important;border-radius:10px!important;background:#fff!important;font-weight:800!important}
body.vega-single-rebuild .single_add_to_cart_button{flex:1 1 170px!important;min-height:48px!important;margin:0!important;border-radius:10px!important;background:var(--vega-button-add,#168a48)!important;font-size:12px!important;font-weight:900!important;box-shadow:none!important}
body.vega-single-rebuild .vega-single-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}body.vega-single-rebuild .vega-single-actions .vega-btn{min-height:46px!important;border-radius:10px!important;font-size:11px!important;font-weight:850!important}

.vega-v30-delivery-card{padding:12px;border:1px solid var(--v30-line);border-radius:12px;background:#fff}.vega-v30-delivery-card__title{display:flex;align-items:center;gap:9px}.vega-v30-delivery-card__title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef4ff;color:#175cd3;font-weight:900}.vega-v30-delivery-card__title strong,.vega-v30-delivery-card__title small{display:block}.vega-v30-delivery-card__title strong{font-size:11.5px}.vega-v30-delivery-card__title small{margin-top:1px;color:var(--v30-muted);font-size:9.5px}
.vega-v30-delivery-estimator{margin-top:9px}.vega-v30-trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}.vega-v30-trust-grid span{display:flex;align-items:center;gap:5px;color:#4b5563;font-size:9px}.vega-v30-trust-grid b{color:#14804a}
.vega-v30-meta{display:flex;gap:10px;flex-wrap:wrap;padding-top:2px;color:var(--v30-muted);font-size:9.5px}.vega-v30-meta span{display:inline-flex;gap:5px}.vega-v30-meta b{color:#344054}

/* Add-on rail */
.vega-v30-addons{position:sticky;top:calc(84px + var(--wp-admin--admin-bar--height,0px));align-self:start;min-width:0;padding:14px;border:1px solid var(--v30-line);border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.04)}
.vega-v30-addons header small{display:block;color:var(--v30-muted);font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.vega-v30-addons h2{margin:3px 0 0!important;font-size:15px!important;line-height:1.25!important}
.vega-v30-addons__list{display:flex;flex-direction:column;margin-top:10px}.vega-v30-addon{display:grid;grid-template-columns:48px minmax(0,1fr) 30px;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #f0f1f3}.vega-v30-addon:first-child{border-top:0}.vega-v30-addon__image{display:grid;place-items:center;width:48px;height:48px;border-radius:9px;background:#f8f9fb;overflow:hidden}.vega-v30-addon__image img{width:100%!important;height:100%!important;object-fit:contain!important}.vega-v30-addon__copy{min-width:0}.vega-v30-addon__copy>a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--v30-ink);font-size:9.5px;font-weight:750;line-height:1.3;text-decoration:none}.vega-v30-addon__copy>span{display:block;margin-top:3px;font-size:10px;font-weight:900}.vega-v30-addon__add{display:grid;place-items:center;width:30px;height:30px;border:1px solid #cfd8e6;border-radius:8px;background:#fff;color:#155eef;font-size:18px;font-weight:700;text-decoration:none}.vega-v30-addons footer{display:flex;align-items:center;gap:7px;margin-top:8px;padding:9px;border-radius:9px;background:#eefaf1;color:#186a38;font-size:9px;line-height:1.3}.vega-v30-addons footer>span{font-size:16px}

/* Below buy section */
.vega-v30-section-card{width:100%;margin:22px 0;padding:20px;border:1px solid var(--v30-line);border-radius:16px;background:#fff}.vega-v30-section-card>header small{display:block;color:var(--v30-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.vega-v30-section-card>header h2{margin:3px 0 14px!important;color:var(--v30-ink)!important;font-size:20px!important;letter-spacing:-.02em!important}
.vega-v30-highlights dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border:1px solid #edf0f2;border-radius:12px;overflow:hidden}.vega-v30-highlights dl>div{display:grid;grid-template-columns:minmax(110px,.6fr) minmax(0,1fr);gap:10px;padding:10px 12px;border-bottom:1px solid #edf0f2}.vega-v30-highlights dl>div:nth-child(odd){border-right:1px solid #edf0f2}.vega-v30-highlights dt{font-size:10px;font-weight:800;color:#475467}.vega-v30-highlights dd{margin:0;font-size:10.5px;color:#101828}
.vega-v30-qa details{border-top:1px solid #edf0f2}.vega-v30-qa details:first-of-type{border-top:0}.vega-v30-qa summary{display:flex;justify-content:space-between;gap:12px;padding:12px 0;cursor:pointer;font-size:11px;font-weight:800;list-style:none}.vega-v30-qa details p{margin:0 0 12px;color:var(--v30-muted);font-size:11px;line-height:1.6}
body.vega-single-rebuild .woocommerce-tabs{margin:22px 0!important;border:1px solid var(--v30-line)!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}body.vega-single-rebuild .woocommerce-tabs ul.tabs{margin:0!important;padding:0 14px!important;border-bottom:1px solid var(--v30-line)!important;background:#fafafa!important;overflow:auto!important;white-space:nowrap!important}body.vega-single-rebuild .woocommerce-tabs ul.tabs li{margin:0 18px 0 0!important;padding:0!important;border:0!important;background:transparent!important}body.vega-single-rebuild .woocommerce-tabs ul.tabs li a{padding:12px 0!important;font-size:10.5px!important;font-weight:850!important}body.vega-single-rebuild .woocommerce-tabs .panel{margin:0!important;padding:20px!important;color:#475467!important;font-size:12px!important;line-height:1.7!important}

/* Keyboard / pointer accessibility. */
body.vega-single-rebuild a:focus-visible,body.vega-single-rebuild button:focus-visible,.vega-v30-cart-icon:focus-visible{outline:2px solid #155eef!important;outline-offset:2px!important}
.vega-v30-addon__add,.vega-v30-share{min-width:32px;min-height:32px}

/* Tablet / compact desktop: keep the buy area spacious and move add-ons below. */
@media(min-width:981px) and (max-width:1180px){
 body.vega-single-rebuild .vega-v30-product-main.has-addons{grid-template-columns:minmax(0,1.03fr) minmax(330px,.97fr)!important;gap:22px!important}
 body.vega-single-rebuild .vega-v30-product-main.has-addons>.vega-v30-addons{grid-column:1/-1;position:static!important;width:100%;box-sizing:border-box}
 body.vega-single-rebuild .vega-v30-product-main.has-addons>.vega-v30-addons .vega-v30-addons__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
 body.vega-single-rebuild .vega-v30-product-main.has-addons>.vega-v30-addons .vega-v30-addon:nth-child(2){border-top:0}
}

/* Mobile product page — title cannot disappear; CTA stays reachable. */
@media(max-width:980px){
 body.vega-single-rebuild--classic .woocommerce div.product{width:100%;padding:8px 0 70px}
 body.vega-single-rebuild .vega-v30-product-main,body.vega-single-rebuild .vega-v30-product-main.has-addons{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.vega-single-rebuild .vega-v30-product-main>div.summary{position:static!important;padding:0 14px!important}
 body.vega-single-rebuild .woocommerce-product-gallery{border-width:0 0 1px!important;border-radius:0!important}.woocommerce-product-gallery .flex-viewport{border-radius:0!important}
 body.vega-single-rebuild .woocommerce-product-gallery__image>a{min-height:min(92vw,480px)!important;border-radius:0!important}body.vega-single-rebuild .woocommerce-product-gallery__image img{height:min(92vw,480px)!important;padding:8px 12px!important}
 body.vega-single-rebuild .flex-control-thumbs{padding:0 12px!important}.vega-v30-addons{position:static!important;margin:0 14px!important;order:3}
 body.vega-single-rebuild .product_title{display:block!important;visibility:visible!important;opacity:1!important;font-size:var(--vega-elementor-title-size,var(--vega-sp-title-mobile,18px))!important;line-height:1.28!important;letter-spacing:-.015em!important;font-weight:800!important;min-height:1em!important}
 body.vega-single-rebuild div.product p.price,body.vega-single-rebuild div.product span.price{font-size:25px!important}.vega-v30-key-features{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.vega-v30-key-features>div{padding:7px 3px}.vega-v30-key-features strong{font-size:9px}.vega-v30-key-features small{font-size:7.5px}
 .vega-v30-section-card,body.vega-single-rebuild .woocommerce-tabs,.vega-v30-recent{width:calc(100% - 28px)!important;margin-left:auto!important;margin-right:auto!important}
 .vega-v30-highlights dl{grid-template-columns:1fr}.vega-v30-highlights dl>div:nth-child(odd){border-right:0}.vega-v30-highlights dl>div{grid-template-columns:minmax(100px,.45fr) minmax(0,1fr)}
}
@media(max-width:560px){
 .vega-v30-topline{flex-wrap:wrap}.vega-v30-share{margin-left:0}.vega-v30-trust-grid{grid-template-columns:1fr 1fr}.vega-v30-trust-grid span:last-child{grid-column:1/-1}
 body.vega-single-rebuild form.cart{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important}body.vega-single-rebuild .vega-single-actions{grid-template-columns:1fr 1fr!important}
 .vega-v30-addons h2{font-size:14px!important}
}

/* Existing Vega mobile CTA, rebuilt to match the reference app pattern. */
@media(max-width:767px){
 body.vega-v25-has-sticky-cta{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
 .vega-v25-sticky-cta{left:0!important;right:0!important;bottom:0!important;z-index:100050!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;border-radius:0!important;border-top:1px solid #dfe3e8!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px)!important;box-shadow:0 -8px 24px rgba(16,24,40,.09)!important}
 .vega-v25-sticky-cta__price{display:none!important}.vega-v25-sticky-cta__buttons{display:grid!important;grid-template-columns:1fr 1.12fr!important;gap:7px!important;width:100%!important}.vega-v25-cta{min-height:50px!important;border-radius:10px!important;font-size:12px!important;font-weight:900!important}.vega-v25-cta--cart{background:#ffd43b!important;color:#1f2937!important;border-color:#e2b700!important}.vega-v25-cta--buy{background:#0aa34f!important;color:#fff!important}
}
@media(prefers-reduced-motion:reduce){body.vega-single-rebuild *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* 3.0 review snapshot and Elementor runtime safety. */
.vega-v30-review-preview__grid{display:grid;grid-template-columns:minmax(150px,.32fr) minmax(0,1fr);gap:18px;align-items:center}.vega-v30-review-score{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.vega-v30-review-score>strong{font-size:34px;line-height:1;font-weight:900;color:var(--v30-ink)}.vega-v30-review-score small{color:var(--v30-muted);font-size:10px}.vega-v30-review-preview blockquote{margin:0;padding:14px 16px;border:1px solid #edf0f2;border-radius:12px;background:#fafbfc;color:#344054}.vega-v30-review-preview blockquote p{margin:0 0 6px;font-size:11px;line-height:1.6}.vega-v30-review-preview blockquote cite{font-size:10px;font-style:normal;font-weight:800;color:#667085}
body.vega-single-rebuild--elementor .vega-elementor-product-context{position:relative;min-width:0}body.vega-single-rebuild--elementor .vega-single-title-fallback{width:min(100% - 28px,1320px);margin:12px auto 0}body.vega-single-rebuild--elementor .vega-single-title-fallback .product_title{display:block!important;visibility:visible!important;opacity:1!important;font-size:var(--vega-sp-title-desktop,26px)!important;line-height:1.2!important;font-weight:800!important;color:var(--v30-ink,#111827)!important}
@media(max-width:767px){.vega-v30-review-preview__grid{grid-template-columns:1fr}.vega-v30-review-score>strong{font-size:30px}body.vega-single-rebuild--elementor .vega-single-title-fallback .product_title{font-size:var(--vega-sp-title-mobile,18px)!important;line-height:1.28!important}}

/* Elementor can hide a title widget through responsive wrapper classes; product titles remain mandatory. */
body.vega-single-rebuild--elementor .vega-v30-title-force-visible{display:block!important;visibility:visible!important;opacity:1!important}
body.vega-single-rebuild--elementor .vega-v30-runtime-title-fallback{position:relative;z-index:2}

/* Vega 3 metadata controls: SKU / categories / tags share one owner. */
.vega-v30-meta{display:flex;flex-wrap:wrap;gap:8px 12px;padding:10px 0;border-top:1px solid var(--v30-line);border-bottom:1px solid var(--v30-line);font-size:var(--vega-meta-font,12px);color:var(--v30-muted);overflow-wrap:anywhere;word-break:break-word}
.vega-v30-meta>span{display:flex;align-items:flex-start;gap:6px;min-width:0;max-width:100%}.vega-v30-meta b{flex:0 0 auto;color:#344054;font-size:.92em}.vega-v30-meta em{min-width:0;font-style:normal}.vega-v30-meta a{color:inherit;text-decoration:none;border-bottom:1px dotted #c7ccd4}.vega-v30-meta a:hover{color:var(--v30-blue)}
.vega-v30-meta--scroll{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.vega-v30-meta--clamp{max-height:var(--vega-meta-max-height,96px);overflow:hidden}.vega-v30-meta .vega-meta-more{font-weight:850;color:var(--v30-blue)}

/* WordPress/Elementor responsive-hidden wrappers must never remove the mandatory product H1. */
body.vega-single-rebuild--elementor .vega-v30-title-force-visible.elementor-hidden-mobile,body.vega-single-rebuild--elementor .vega-v30-title-force-visible.elementor-hidden-tablet,body.vega-single-rebuild--elementor .vega-v30-title-force-visible.elementor-hidden-desktop{display:block!important}
