/* 1.2.2: wider shared axis and detached home hero. Presentation fixes only. No WooCommerce field/DOM replacement. */
#gpb-next{--gpb-width:1440px;--gpb-gutter:40px;}
#gpb-next .gpb-container,#gpb-next .gpb-brandrow,#gpb-next .gpb-nav{width:100%;max-width:var(--gpb-width);margin-inline:auto;padding-inline:var(--gpb-gutter);}
#gpb-next .gpb-homehero{width:100%;max-width:var(--gpb-width);margin-inline:auto;margin-block:32px;background:none;position:relative;isolation:isolate;border-radius:0;}
#gpb-next .gpb-homehero:before{content:"";position:absolute;inset:0 var(--gpb-gutter);background:var(--mist);border-radius:28px;z-index:-1;pointer-events:none;}
#gpb-next .gpb-homehero>.gpb-container{padding-inline:calc(var(--gpb-gutter) + 28px);}
#gpb-next .gpb-brandrow{padding-block:18px 12px;display:flex;flex-wrap:nowrap;align-items:center;gap:28px;}
#gpb-next .gpbl-original-brand{display:block;flex:1;max-width:1000px;min-width:0;}
#gpb-next .gpbl-original-brand img{width:100%;height:auto;object-fit:contain;}
#gpb-next .gpb-search,#gpb-next .gpb-search.gpb-visible{display:flex;flex:0 0 260px;width:260px;height:44px;margin:0;order:0;}
#gpb-next .gpb-search input{min-width:0;}
#gpb-next .gpb-nav{justify-content:flex-start;gap:0 8px;flex-wrap:wrap;padding-bottom:6px;}
#gpb-next .gpb-navgroup{flex:0 0 auto;}
#gpb-next .gpb-navtop{gap:2px;align-items:center;border-radius:8px;border-bottom:0;}
#gpb-next .gpb-navtop a{padding:10px 0 10px 6px;font-size:13px;line-height:1.4;min-height:44px;white-space:nowrap;}
#gpb-next .gpb-navtop button{display:grid;place-items:center;min-height:44px;width:24px;padding:0;border-radius:8px;transform:none;}
#gpb-next .gpb-navtop .gpb-chevron{width:14px;height:14px;transition:transform .18s;}
#gpb-next .gpb-navtop:hover,#gpb-next .gpb-navtop:focus-within{background:var(--mist);}
#gpb-next .gpb-navtop button[aria-expanded=true] .gpb-chevron{transform:rotate(180deg);}
#gpb-next .gpb-dropdown.gpbl-curated{width:280px;min-width:0;max-width:calc(100vw - 40px);padding:8px;border-radius:14px;left:0;right:auto;top:100%;}
#gpb-next .gpb-navgroup:nth-last-child(-n+3)>.gpbl-curated{left:auto;right:0;}
#gpb-next .gpbl-curated a{padding:12px;line-height:1.45;min-height:44px;margin:0;border-radius:8px;}
#gpb-next .gpbl-curated a+a{margin-top:2px;}
#gpb-next .gpb-mobilecontrols{display:none;}
/* Classic checkout: explicit placement avoids stray hook elements taking a column. */
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px;align-items:start;}
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout:before,
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout:after{display:none;}
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout>#customer_details{grid-column:1;grid-row:auto;}
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout>.gpbl-checkout-summary{grid-column:2;grid-row:auto;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary{padding:24px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px #153e3c08;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table{table-layout:auto;border:0;border-collapse:collapse;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table :is(th,td){padding:14px 0;overflow-wrap:normal;word-break:normal;line-height:1.55;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table .product-name{width:auto;padding-right:18px;overflow-wrap:break-word;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table .product-total{width:1%;white-space:nowrap;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary .product-quantity{display:inline-block;white-space:nowrap;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary tfoot td{text-align:right;}
#gpb-next .gpb-commerce-content #customer_details .form-row{margin-bottom:20px;}
#gpb-next .gpb-commerce-content #customer_details :is(.form-row-first,.form-row-last){width:calc(50% - 10px);}
#gpb-next .gpb-commerce-content #customer_details label{display:block;line-height:1.5;margin-bottom:7px;}
#gpb-next .gpb-commerce-content #customer_details :is(input.input-text,select,textarea){width:100%;min-height:48px;padding:12px;border-radius:10px;font-size:16px;}
#gpb-next .gpb-commerce-content #customer_details .select2-container{width:100%!important;}
#gpb-next .gpb-commerce-content #payment{background:var(--mist);padding:18px;border-radius:14px;}
#gpb-next .gpb-commerce-content #payment :is(p,li,label){font-size:14px;line-height:1.6;}
/* Native Checkout Blocks: scope only to checkout, never cart or product forms. */
#gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout{width:100%;max-width:none;margin-inline:0;padding:0;}
#gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{display:flex;flex-wrap:nowrap;gap:32px;align-items:flex-start;}
#gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout>.wc-block-components-main{width:calc((100% - 32px)*.6);flex:0 0 calc((100% - 32px)*.6);padding:0;margin:0;}
#gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout>.wc-block-components-sidebar{width:calc((100% - 32px)*.4);flex:0 0 calc((100% - 32px)*.4);padding:24px;margin:0;background:#fff;border-radius:20px;border:1px solid var(--line);box-shadow:0 8px 28px #153e3c08;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-product-name{word-break:normal;overflow-wrap:break-word;line-height:1.5;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description{min-width:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price{white-space:nowrap;flex-shrink:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-checkout-step{margin-bottom:28px;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-text-input input{min-height:52px;font-size:16px;border-radius:10px;}
/* Native floating labels/padding and validation are deliberately retained. */
@container(max-width:1100px){
 #gpb-next .gpb-nav{gap:0 12px;}
}
@container(max-width:950px){
 #gpb-next .gpb-container,#gpb-next .gpb-brandrow,#gpb-next .gpb-nav,#gpb-next .gpb-homehero{--gpb-gutter:28px;}
 #gpb-next .gpb-brandrow{gap:20px;}
 #gpb-next .gpb-search{flex-basis:240px;width:240px;}
}
@container gpbl-commerce (max-width:899px){
 #gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout{grid-template-columns:minmax(0,1fr);}
 #gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout>.gpbl-checkout-summary{grid-column:1;}
 #gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{flex-direction:column;}
 #gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout>:is(.wc-block-components-main,.wc-block-components-sidebar){width:100%;flex:auto;}
}
@media(max-width:980px){
 #gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout{grid-template-columns:minmax(0,1fr);}
 #gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout>.gpbl-checkout-summary{grid-column:1;}
 #gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{flex-direction:column;}
 #gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout>:is(.wc-block-components-main,.wc-block-components-sidebar){width:100%;flex:auto;}
}
@container(max-width:700px){
 #gpb-next .gpb-homehero{margin-block:20px;}
 #gpb-next .gpb-container,#gpb-next .gpb-brandrow,#gpb-next .gpb-nav,#gpb-next .gpb-homehero{--gpb-gutter:20px;}
 #gpb-next .gpb-homehero>.gpb-container{padding-inline:calc(var(--gpb-gutter) + 16px);}
 #gpb-next .gpb-brandrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-block:14px;}
 #gpb-next .gpbl-original-brand{grid-column:1/-1;max-width:none;width:100%;}
 #gpb-next .gpb-search,#gpb-next .gpb-search.gpb-visible{width:100%;height:44px;order:0;}
 #gpb-next .gpb-mobilecontrols{display:flex;}
 #gpb-next .gpb-nav{display:none;width:100%;max-width:none;padding:12px 20px 20px;}
 #gpb-next .gpb-nav.gpb-open{display:block;}
 #gpb-next .gpb-navtop{justify-content:space-between;}
 #gpb-next .gpb-navtop a{font-size:15px;white-space:normal;}
 #gpb-next .gpb-navtop button{width:44px;}
 #gpb-next .gpb-dropdown.gpbl-curated,#gpb-next .gpb-navgroup:hover>.gpbl-curated{display:none;position:static;width:100%;max-width:none;box-shadow:none;border:0;background:var(--mist);}
 #gpb-next .gpb-navgroup.gpb-expanded>.gpbl-curated{display:block;}
}
@media(max-width:600px){
 #gpb-next .gpb-commerce-content #customer_details :is(.form-row-first,.form-row-last){float:none;width:100%;}
 #gpb-next .gpb-commerce-content .gpbl-checkout-summary,#gpb-next .gpb-commerce-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout>.wc-block-components-sidebar{padding:18px;}
}
@media(prefers-reduced-motion:reduce){#gpb-next .gpb-navtop .gpb-chevron{transition:none;}}
