/* BuyLP storefront v1: only WooCommerce pages. */
body.woocommerce,body.woocommerce-page{--buylp-ink:#17243b;--buylp-blue:#1765ef;--buylp-line:#e3eaf4;--buylp-soft:#f6f9fe;color:var(--buylp-ink)}
.woocommerce-shop .site-main,.post-type-archive-product .site-main{max-width:1240px;margin:auto}
.woocommerce-shop .woocommerce-products-header,.post-type-archive-product .woocommerce-products-header{padding:70px 20px 55px;text-align:center;background:linear-gradient(125deg,#f3f8ff,#fff);border-radius:0 0 28px 28px;margin-bottom:45px}
.woocommerce-shop .woocommerce-products-header__title,.post-type-archive-product .woocommerce-products-header__title{font-size:clamp(34px,4vw,56px);font-weight:750;letter-spacing:-.045em;color:#17243b}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;clear:both}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:13px 13px 20px!important;border:1px solid var(--buylp-line);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(23,53,100,.05);transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(23,53,100,.1)}
.woocommerce ul.products li.product img{width:100%;aspect-ratio:16/11;object-fit:cover;object-position:top;border-radius:11px;background:#f4f7fc;margin:0 0 17px!important;filter:none!important;opacity:1!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:19px!important;line-height:1.35;font-weight:700;color:var(--buylp-ink);text-decoration:none;padding:0 4px!important}
.woocommerce ul.products li.product a{text-decoration:none}
.woocommerce ul.products li.product .price{font-size:16px!important;color:#1765ef!important;font-weight:750;margin:8px 4px!important}
.woocommerce ul.products li.product .button{margin:13px 4px 0!important;background:#1765ef!important;color:#fff!important;border-radius:9px!important;padding:13px 18px!important;text-align:center;font-weight:700}
.woocommerce ul.products li.product .buylp-preview-label{display:none}
.buylp-product-page{max-width:1320px;margin:0 auto;padding:32px 28px 76px}
.buylp-crumb{display:flex;align-items:center;gap:10px;font-size:13px;color:#748199;margin-bottom:24px}.buylp-crumb a{color:#1765ef;text-decoration:none}
.buylp-product-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:32px;align-items:start}
.buylp-product-visual,.buylp-product-panel{min-width:0}
.buylp-product-visual{background:#fff;border:1px solid var(--buylp-line);border-radius:20px;padding:16px;box-shadow:0 12px 35px rgba(30,65,115,.045)}
.buylp-visual-header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:7px 5px 16px}.buylp-eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:#1765ef}.buylp-visual-hint{font-size:12px;color:#8290a4}
.buylp-product-page .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}.buylp-product-page .woocommerce-product-gallery__wrapper img{width:100%;height:auto;filter:none!important;opacity:1!important;border-radius:11px}.buylp-product-page .flex-control-thumbs{display:flex;gap:12px;padding-top:15px!important}.buylp-product-page .flex-control-thumbs li{width:95px!important;float:none!important}.buylp-product-page .flex-control-thumbs img{border-radius:8px;border:1px solid #e4ebf5}
.buylp-product-panel .product-summary{position:static!important;top:auto!important;background:#fff;border:1px solid var(--buylp-line);border-radius:20px;padding:30px;box-shadow:0 12px 35px rgba(30,65,115,.055)}
.buylp-product-panel .product-title{font-size:clamp(27px,2.8vw,40px);letter-spacing:-.04em;line-height:1.15;font-weight:780;color:#17243b;margin:12px 0}.buylp-product-panel .product-short-desc{color:#66748a;font-size:15px;line-height:1.7}
.buylp-product-panel .product-price{font-size:25px;font-weight:800;margin:20px 0;color:#1765ef}.buylp-product-panel .product-price .price{color:#1765ef}
.buylp-product-panel .product-purchase{margin-top:18px}.buylp-product-panel .variations{width:100%;margin-bottom:15px}.buylp-product-panel .variations th,.buylp-product-panel .variations td{display:block;text-align:left;padding:4px 0}.buylp-product-panel select,.buylp-product-panel input{border:1px solid #d8e2f0;border-radius:9px;min-height:43px}.buylp-product-panel .single_add_to_cart_button{background:#1765ef!important;color:#fff!important;border-radius:9px!important;min-height:46px;padding:12px 24px!important}.buylp-product-panel .quantity input{min-height:44px}
.buylp-delivery{font-size:12px;color:#64748b;margin:18px 0;padding:12px;background:#f3f8ff;border-radius:9px}.buylp-product-facts{border-top:1px solid #e6edf6;margin-top:20px;padding-top:20px}.buylp-product-facts h2{font-size:19px;font-weight:750;margin-bottom:13px}.buylp-product-facts .product-description{font-size:14px;line-height:1.7;color:#516176}
.buylp-license-section,.buylp-after-purchase{margin-top:72px}.buylp-section-intro{text-align:center;max-width:660px;margin:0 auto 27px}.buylp-section-intro h2{font-size:clamp(27px,3vw,36px);letter-spacing:-.035em;margin:8px 0 12px}.buylp-section-intro p{color:#64748b;font-size:14px}
.buylp-license-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.buylp-license-info{padding:28px;border:1px solid #e2eaf5;border-radius:17px;background:#fff;box-shadow:0 9px 24px rgba(20,50,95,.04)}.buylp-license-icon{display:inline-grid;place-items:center;background:#edf4ff;color:#1765ef;width:39px;height:39px;border-radius:10px;font-weight:800}.buylp-license-info h3{font-size:20px;margin:17px 0 8px}.buylp-license-info p,.buylp-license-info li{font-size:14px;color:#607087;line-height:1.65}.buylp-license-info ul{padding-left:20px;margin:12px 0 0}
.buylp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.buylp-steps>div{background:#f6f9ff;padding:22px;border-radius:14px}.buylp-steps b{font-size:14px;color:#193e7b}.buylp-steps p{font-size:13px;line-height:1.6;color:#607087;margin:9px 0 0}
/* Cart and checkout: only presentation; do not change block checkout calculations */
body.woocommerce-cart .entry-header,body.woocommerce-checkout .entry-header{margin-bottom:24px}body.woocommerce-cart .entry-title,body.woocommerce-checkout .entry-title{font-weight:800;letter-spacing:-.04em;color:#17243b}
body.woocommerce-cart .wc-block-cart,body.woocommerce-checkout .wc-block-checkout{max-width:1200px;margin:30px auto 70px}body.woocommerce-cart .wc-block-components-sidebar,body.woocommerce-checkout .wc-block-components-sidebar{border:1px solid #e1e9f5;border-radius:16px;padding:20px;background:#fff}body.woocommerce-cart .wc-block-components-button,body.woocommerce-checkout .wc-block-components-button{border-radius:9px}
@media(max-width:980px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.buylp-product-grid{grid-template-columns:1fr}.buylp-license-grid{grid-template-columns:1fr}.buylp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.woocommerce ul.products{grid-template-columns:1fr}.buylp-product-page{padding:18px 14px 45px}.buylp-product-panel .product-summary{padding:20px}.buylp-steps{grid-template-columns:1fr}.buylp-visual-hint{display:none}}

/* BuyLP v2 hero, package cross-sell and WooCommerce block screens */
.woocommerce-shop .woocommerce-products-header,.post-type-archive-product .woocommerce-products-header{display:none!important}
.buylp-shop-hero{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:34px;padding:56px clamp(22px,5vw,72px);margin:0 0 40px;border-radius:24px;background:linear-gradient(115deg,#edf5ff 0%,#f8fbff 58%,#e9f1ff 100%);overflow:hidden;position:relative}
.buylp-shop-hero-copy{position:relative;z-index:1}.buylp-hero-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;color:#1765ef}.buylp-shop-hero h1{font-size:clamp(32px,3.8vw,55px);font-weight:800;letter-spacing:-.055em;line-height:1.1;color:#162743;margin:15px 0 19px}.buylp-shop-hero h1 em{font-style:normal;color:#1765ef}.buylp-shop-hero p{font-size:16px;line-height:1.75;color:#5c6b81;max-width:550px}.buylp-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.buylp-hero-actions a{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;border-radius:10px;font-size:14px;font-weight:750;text-decoration:none}.buylp-hero-primary{background:#1765ef;color:white!important}.buylp-hero-secondary{background:white;border:1px solid #cadcf7;color:#1765ef!important}.buylp-hero-points{display:flex;gap:15px;flex-wrap:wrap;margin-top:24px;color:#56708f;font-size:12px;font-weight:650}
.buylp-hero-art{position:relative;height:320px;min-width:0}.buylp-art-window{position:absolute;border:1px solid #d6e3f6;border-radius:15px;background:white;box-shadow:0 24px 60px rgba(25,75,145,.13);overflow:hidden}.buylp-art-window-back{height:225px;width:75%;right:0;top:12px;transform:rotate(6deg);padding:14px}.buylp-art-window-front{height:245px;width:78%;left:0;top:65px;transform:rotate(-5deg);padding:16px}.buylp-art-bar{display:flex;gap:5px;margin-bottom:17px}.buylp-art-bar i{width:7px;height:7px;background:#c8d9f0;border-radius:50%}.buylp-art-nav{height:16px;width:80%;background:#edf3fc;border-radius:5px}.buylp-art-columns{display:flex;gap:8px;margin-top:20px}.buylp-art-columns b{height:90px;flex:1;border-radius:7px;background:linear-gradient(145deg,#c8e1ff,#8bb5ff)}.buylp-art-columns b:nth-child(2){background:linear-gradient(145deg,#dce7fa,#c1d2ee)}.buylp-art-bottom{height:24px;background:#e8f1ff;margin-top:15px;border-radius:6px}.buylp-art-line{width:27%;height:8px;background:#1765ef;border-radius:4px}.buylp-art-headline{width:62%;height:22px;background:#213d66;border-radius:6px;margin:18px 0 12px}.buylp-art-text{width:54%;height:35px;background:repeating-linear-gradient(to bottom,#d5e1f0 0,#d5e1f0 5px,transparent 5px,transparent 12px)}.buylp-art-cta{width:34%;height:23px;background:#1765ef;border-radius:6px;margin-top:15px}.buylp-art-photo{position:absolute;right:15px;top:49px;width:31%;height:154px;border-radius:12px;background:linear-gradient(150deg,#c1ddff,#6b9df4 65%,#3f70cf)}.buylp-art-chip{position:absolute;right:5%;bottom:2px;background:white;border:1px solid #d7e4f7;border-radius:999px;padding:10px 16px;color:#1765ef;font-size:12px;font-weight:800;box-shadow:0 8px 20px rgba(20,70,130,.1)}
.buylp-shop-collections{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 25px}.buylp-shop-collections h2{font-size:clamp(23px,2.4vw,31px);letter-spacing:-.035em;margin:7px 0}.buylp-shop-collection-links{display:flex;gap:10px;flex-wrap:wrap}.buylp-shop-collection-links a{border:1px solid #dbe5f3;padding:10px 14px;border-radius:10px;font-size:13px;text-decoration:none;font-weight:700;color:#1765ef;background:white}
.buylp-package-cta{margin:38px 0 0;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 34px;border:1px solid #d4e3fa;border-radius:20px;background:linear-gradient(115deg,#edf5ff,#fff)}.buylp-package-cta h2{font-size:clamp(23px,2.5vw,32px);letter-spacing:-.04em;margin:10px 0}.buylp-package-cta p{font-size:15px;line-height:1.65;color:#62738c;max-width:650px;margin:0}.buylp-package-cta-action{display:flex;flex-direction:column;gap:9px;align-items:center;flex-shrink:0}.buylp-package-button{display:inline-block;text-align:center;border-radius:10px;background:#1765ef;color:white!important;padding:15px 22px;text-decoration:none!important;font-weight:750}.buylp-package-cta-action small{color:#7a8aa1;text-align:center;font-size:11px;max-width:230px}
/* Cart/checkout are WooCommerce Blocks; target block wrappers, not classic tables. */
body.woocommerce-cart .wp-block-woocommerce-cart,body.woocommerce-checkout .wp-block-woocommerce-checkout{max-width:1200px;margin:0 auto 60px}body.woocommerce-cart .wc-block-components-main,body.woocommerce-checkout .wc-block-components-main{min-width:0}body.woocommerce-cart .wc-block-cart-items,body.woocommerce-checkout .wc-block-checkout__main{border:1px solid #e0e8f5;border-radius:14px;background:#fff;padding:18px}body.woocommerce-cart .wc-block-components-sidebar,body.woocommerce-checkout .wc-block-components-sidebar{box-shadow:0 10px 32px rgba(30,65,115,.05)}body.woocommerce-cart .wc-block-components-button,body.woocommerce-checkout .wc-block-components-button{background:#1765ef!important;color:white!important;font-weight:750;border-radius:10px!important}
/* Blog-like metadata may be emitted by the page template; hide only on commerce screens. */
body.woocommerce-cart .entry-meta,body.woocommerce-checkout .entry-meta,body.woocommerce-cart .ct-post-meta,body.woocommerce-checkout .ct-post-meta{display:none!important}
@media(max-width:900px){.buylp-shop-hero{grid-template-columns:1fr;padding:35px 25px}.buylp-hero-art{height:260px;max-width:490px;width:100%;margin:auto}.buylp-shop-collections,.buylp-package-cta{align-items:flex-start;flex-direction:column}.buylp-package-cta-action{align-items:flex-start}}
@media(max-width:550px){.buylp-shop-hero{padding:28px 19px}.buylp-hero-art{height:225px}.buylp-art-window-front{height:190px}.buylp-art-window-back{height:180px}.buylp-art-photo{height:110px}.buylp-hero-points{gap:8px}.buylp-package-cta{padding:23px 18px}.buylp-shop-collection-links{flex-direction:column}}

/* BuyLP v3: full-width shop, product purchase clarity and digital checkout. */
body.post-type-archive-product,body.woocommerce-shop{overflow-x:clip}
body.post-type-archive-product .ct-container,body.woocommerce-shop .ct-container,body.post-type-archive-product .site-main,body.woocommerce-shop .site-main{max-width:none!important;width:100%!important}
body.post-type-archive-product .woocommerce,body.woocommerce-shop .woocommerce{width:100%!important;max-width:none!important}
body.post-type-archive-product .site-main>*,body.woocommerce-shop .site-main>*{max-width:none!important}
body.woocommerce-shop .buylp-shop-hero,body.post-type-archive-product .buylp-shop-hero{border-radius:0!important;margin-top:0!important;margin-left:calc(50% - 50vw)!important;width:100vw!important;padding-left:max(5vw,calc((100vw - 1320px)/2))!important;padding-right:max(5vw,calc((100vw - 1320px)/2))!important}
body.woocommerce-shop .buylp-shop-collections,body.woocommerce-shop ul.products,body.woocommerce-shop .woocommerce-result-count,body.woocommerce-shop .woocommerce-ordering,body.woocommerce-shop .woocommerce-pagination{max-width:1320px!important;margin-left:auto!important;margin-right:auto!important}
body.woocommerce-shop .woocommerce-products-header,body.post-type-archive-product .woocommerce-products-header,body.woocommerce-shop .hero-section,body.woocommerce-shop .ct-hero-section{display:none!important}
body.woocommerce-shop .ct-footer,body.post-type-archive-product .ct-footer{width:100vw!important;max-width:none!important}
.buylp-package-cta{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:22px;align-items:center}
.buylp-package-thumb{width:110px;align-self:stretch;min-height:96px;overflow:hidden;border-radius:12px;border:1px solid #d9e5f4;background:#fff}
.buylp-package-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.buylp-product-page .quantity,.buylp-product-page form.cart .quantity{display:none!important}
.buylp-product-page .product-purchase .single_add_to_cart_button{width:100%;max-width:100%}
.buylp-crumb{flex-wrap:wrap}
/* Dedicated cart/checkout templates prevent blog template metadata and ad placeholders. */
body.woocommerce-cart .buylp-commerce-main,body.woocommerce-checkout .buylp-commerce-main{width:min(1200px,calc(100% - 36px));margin:0 auto;padding:44px 0 90px}
.buylp-commerce-intro{margin:0 0 30px}.buylp-commerce-intro h1{font-size:clamp(30px,3.4vw,46px);letter-spacing:-.045em;color:#17243b;margin:0 0 8px}.buylp-commerce-intro p{font-size:15px;color:#60748e;margin:0}
body.woocommerce-cart .buylp-commerce-main .wp-block-woocommerce-cart,body.woocommerce-checkout .buylp-commerce-main .wp-block-woocommerce-checkout{max-width:none!important;margin:0!important}
body.woocommerce-cart .buylp-commerce-main .wc-block-components-sidebar,body.woocommerce-checkout .buylp-commerce-main .wc-block-components-sidebar{border:1px solid #e2eaf6;border-radius:17px;background:#fff;padding:18px}
body.woocommerce-cart .buylp-commerce-main .wc-block-components-button,body.woocommerce-checkout .buylp-commerce-main .wc-block-components-button{background:#1765ef!important;color:white!important;border-radius:10px!important}
@media(max-width:850px){.buylp-package-cta{grid-template-columns:90px minmax(0,1fr)}.buylp-package-cta-action{grid-column:1/-1;align-items:stretch}.buylp-package-thumb{width:90px}.buylp-shop-hero{width:100vw!important}}
@media(max-width:550px){.buylp-package-cta{grid-template-columns:72px minmax(0,1fr);gap:13px}.buylp-package-thumb{width:72px;min-height:78px}.buylp-package-cta h2{font-size:21px}.buylp-commerce-main{padding-top:26px!important}}

/* v4 compact first-screen shop layout */
body.woocommerce-shop #main,body.post-type-archive-product #main{padding-top:0!important}
body.woocommerce-shop .ct-container-full,body.post-type-archive-product .ct-container-full{padding-top:0!important}
body.woocommerce-shop .site-main,body.post-type-archive-product .site-main{margin-top:0!important}
body.woocommerce-shop .buylp-shop-hero,body.post-type-archive-product .buylp-shop-hero{padding-top:26px!important;padding-bottom:26px!important;margin-bottom:20px!important;gap:20px!important}
body.woocommerce-shop .buylp-shop-hero h1,body.post-type-archive-product .buylp-shop-hero h1{font-size:clamp(29px,3.1vw,44px)!important;margin:8px 0 10px!important}
body.woocommerce-shop .buylp-shop-hero p{line-height:1.5!important}
body.woocommerce-shop .buylp-hero-art{height:210px!important}
body.woocommerce-shop .buylp-art-window-back{height:170px!important}
body.woocommerce-shop .buylp-art-window-front{height:180px!important;top:25px!important}
body.woocommerce-shop .buylp-art-photo{height:115px!important}
body.woocommerce-shop .buylp-hero-actions{margin-top:12px!important}
body.woocommerce-shop .buylp-hero-points{margin-top:12px!important}
body.woocommerce-shop .buylp-shop-collections{margin-bottom:12px!important}
/* Classic WooCommerce cart markup: restore readable, usable table and totals. */
.buylp-commerce-main .woocommerce{display:block!important;visibility:visible!important;opacity:1!important}
.buylp-commerce-main .woocommerce-cart-form,.buylp-commerce-main .cart-collaterals{display:block!important}
.buylp-commerce-main .woocommerce table.shop_table{width:100%;border:1px solid #e3eaf4;border-radius:12px;border-collapse:separate;background:#fff}
.buylp-commerce-main .woocommerce table.shop_table th,.buylp-commerce-main .woocommerce table.shop_table td{padding:14px;border-bottom:1px solid #e9eef7}
.buylp-commerce-main .cart-collaterals .cart_totals{float:none;width:100%;max-width:470px;margin-left:auto;padding:20px;border:1px solid #e3eaf4;border-radius:14px;background:white}
.buylp-commerce-main .woocommerce a.checkout-button,.buylp-commerce-main .woocommerce button.button{background:#1765ef!important;color:#fff!important;border-radius:9px}
.buylp-commerce-main .woocommerce .coupon input{min-height:40px;border:1px solid #d7e3f3;border-radius:8px}
@media(max-width:700px){body.woocommerce-shop .buylp-shop-hero{padding-top:22px!important;padding-bottom:22px!important}body.woocommerce-shop .buylp-hero-art{display:none!important}.buylp-commerce-main .woocommerce table.shop_table td{padding:10px}}

/* v5: concise storefront hero, no buttons or secondary claims. */
body.woocommerce-shop .buylp-shop-hero,body.post-type-archive-product .buylp-shop-hero{padding-top:15px!important;padding-bottom:15px!important;margin-bottom:12px!important;min-height:0!important}
body.woocommerce-shop .buylp-shop-hero h1{font-size:clamp(27px,3vw,40px)!important;line-height:1.1!important;margin:5px 0 7px!important}
body.woocommerce-shop .buylp-shop-hero p{font-size:14px!important;line-height:1.4!important;margin:0!important}
body.woocommerce-shop .buylp-hero-art{height:145px!important}
body.woocommerce-shop .buylp-art-window-back{height:125px!important}
body.woocommerce-shop .buylp-art-window-front{height:135px!important;top:8px!important}
body.woocommerce-shop .buylp-art-photo{height:80px!important}
body.woocommerce-shop .buylp-shop-collections{margin-top:0!important;margin-bottom:8px!important}
/* Reduce Blocksy's reserved archive gap above the hero without affecting other pages. */
body.woocommerce-shop .site-main,body.post-type-archive-product .site-main{padding-top:0!important}
body.woocommerce-shop .ct-container,body.post-type-archive-product .ct-container{--theme-content-vertical-spacing:0px}
@media(max-width:700px){body.woocommerce-shop .buylp-shop-hero{padding-top:17px!important;padding-bottom:17px!important}body.woocommerce-shop .buylp-shop-hero h1{font-size:29px!important}}
