.commerce-paths{display:flex;flex-direction:column;gap:12px;margin:20px 0}.commerce-paths .text-link{width:fit-content}.retail-purchase{margin:20px 0}.retail-price{font-size:1.5rem;font-weight:700}.warranty-details{border:0;padding:0;margin:0}.warranty-details legend{font-weight:600;margin-bottom:16px}.warranty-details input[type=file]{max-width:100%;height:auto;padding:12px}.hero-actions{flex-wrap:wrap}.hero-actions .hero-catalogue-link{font-size:1rem}.gallery-full{display:block}

@media(min-width:701px) and (max-width:1440px){
.framework .site-header .header-inner{min-height:76px;gap:12px}
.framework .site-header .brand{padding-right:18px;padding-block:12px}
.framework .site-header .brand img{width:180px}
.framework .site-header .header-tools{margin-left:auto;gap:12px}
.framework .site-header #menu-toggle{display:grid;width:44px;height:44px;color:#f5f7fc}
.framework .site-header #site-nav{display:none;position:absolute;top:100%;left:0;right:0;min-height:0;padding:10px 0;background:#081240;color:white;box-shadow:0 12px 24px #08124026}
.framework .site-header #site-nav.is-open{display:block}
.framework .site-header .header-nav-inner{flex-direction:column;align-items:stretch;gap:0;min-height:0;width:90%;max-width:1440px;margin-inline:auto}
.framework .site-header #site-nav a{font-size:14px;min-height:48px;padding:12px 0}
.framework .header-store-phone{display:none}
.framework .site-header #site-nav .nav-store-phone{display:flex;border-top:1px solid #ffffff26;margin-top:8px;padding-top:16px}
}

/* Native shopping pages: readable width and page spacing. */
#main>.wp-block-woocommerce-checkout,#main>.wp-block-woocommerce-cart{width:calc(100% - 40px);max-width:1200px;margin:48px auto 72px}
@media(max-width:700px){#main>.wp-block-woocommerce-checkout,#main>.wp-block-woocommerce-cart{width:calc(100% - 32px);margin:28px auto 48px}}

/* Purchase order and the mobile purchase bar. Scoped to the product decision area, additive only. */
.framework .product-actions .package-quantity{margin:.35rem 0 .5rem;font-size:13px;line-height:1.5;color:var(--body)}
.framework .product-actions .package-return{margin:1rem 0 0}
.framework .product-actions .purchase-paths{margin:4px 0 0}
.framework .product-actions .purchase-actions{margin-top:4px}
.framework .mobile-purchase{display:none}
.framework .mobile-purchase[hidden]{display:none}
@media(max-width:900px){
 .framework .product-actions .battery-offer{padding-bottom:12px}
 .framework .product-actions .offer-current strong{font-size:2rem}
 .framework .product-actions .offer-note{font-size:12px;margin-top:8px}
 .framework .mobile-purchase{display:flex;position:fixed;z-index:60;inset:auto 0 0;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 18px #0812401a}
 .framework .mobile-purchase-summary{display:flex;flex-direction:column;margin:0;min-width:0;font-size:13px;line-height:1.35}
 .framework .mobile-purchase-summary[hidden]{display:none}
 .framework .mobile-purchase-summary span{overflow-wrap:anywhere}
 .framework #lithos-mobile-price{font-weight:750;color:var(--navy)}
 .framework #lithos-mobile-state{color:var(--body)}
 .framework .mobile-purchase .button{flex:none;min-height:48px;padding:12px 16px;font-size:14px}
}

/* Compact mobile summary preserves DOM reading order and the existing brand. */
.framework .mobile-product-summary{display:none}
.framework .product-quantity{width:fit-content;margin:16px 0;min-height:44px}
.framework .product-actions:focus{outline:3px solid #175aba;outline-offset:6px}
.framework .product-actions .purchase-actions{display:grid;grid-template-columns:1fr;gap:12px}
body.lithos-purchase-active{padding-bottom:var(--lithos-purchase-space,100px)}
html:has(body.lithos-purchase-active){scroll-padding-bottom:var(--lithos-purchase-space,100px)}
@media(max-width:900px){.framework .mobile-product-summary{display:block;margin-top:16px}.framework .mobile-product-summary .battery-offer{margin:0;padding:12px 0;border:0}.framework .mobile-product-summary .offer-current strong{font-size:1.8rem}.framework .mobile-product-summary .offer-reference,.framework .mobile-product-summary .offer-saving{display:none}.framework .mobile-product-summary .battery-availability{margin:4px 0 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.framework .product-actions .purchase-subtotal{margin:14px 0;color:var(--navy);font-size:14px;font-weight:650;line-height:1.55;overflow-wrap:anywhere}

/* Desktop gallery follows the decision area; no extra purchase state. */
@media(min-width:901px){
 .framework .product-hero>.product-photo .gallery-full img{height:clamp(220px,calc(100vh - 320px),400px)}
 .framework .product-actions .onsite-installation{padding:16px}
 .framework .product-actions .onsite-installation p{margin-bottom:8px}
 .framework .product-actions .onsite-heading{margin-bottom:8px}
}
@media(min-width:901px) and (min-height:650px){
 .framework .product-hero>.product-photo{position:sticky;top:20px;align-self:start}
}
