/* GPB 1.1.1: native WooCommerce components, approved portal tokens. */
#gpb-next .gpb-commerce-content{padding-top:32px;padding-bottom:64px;min-height:50vh;--wp--preset--color--primary:var(--brand);--wp--preset--color--contrast:var(--ink);--wp--preset--color--base:var(--paper);}
#gpb-next .gpb-commerce-links{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px;padding:14px 20px;border:1px solid var(--line);border-radius:16px;background:var(--mist);}
#gpb-next .gpb-commerce-links a{font-weight:600;text-decoration:none;}
#gpb-next .gpb-commerce-content :is(select,textarea){font:inherit;max-width:100%;}
#gpb-next .gpb-commerce-content :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),select,textarea):not(:where(.wp-block-woocommerce-cart *, .wp-block-woocommerce-checkout *, .wc-block-components-quantity-selector *)){border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:10px 12px;}
#gpb-next .gpb-commerce-content :is(select,textarea):focus-visible{outline:3px solid #b4612c;outline-offset:3px;}
#gpb-next .gpb-commerce-content .woocommerce-breadcrumb{color:var(--text);font-size:14px;margin-bottom:24px;}
#gpb-next .gpb-commerce-content ul.products{display:grid;grid-template-columns:repeat(auto-fill,300px);justify-content:start;align-items:stretch;gap:24px;padding:0;margin:28px 0;list-style:none;clear:both;}
#gpb-next .gpb-commerce-content ul.products::before,#gpb-next .gpb-commerce-content ul.products::after{display:none;}
#gpb-next .gpb-commerce-content ul.products li.product{float:none;width:300px;max-width:100%;margin:0;padding:0;display:flex;flex-direction:column;border:0;border-radius:0;background:transparent;box-shadow:none;}
#gpb-next .gpb-commerce-content ul.products li.product:hover{transform:none;border-color:transparent;box-shadow:none;}
#gpb-next .gpb-commerce-content ul.products li.product a{text-decoration:none;}
#gpb-next .gpb-commerce-content ul.products li.product img{width:100%;height:300px;aspect-ratio:auto;object-fit:contain;border-radius:0;background:transparent;margin:0 0 12px;}
#gpb-next .gpb-commerce-content ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:2.7em;font-size:16px;line-height:1.35;padding:0;margin:0;}
#gpb-next .gpb-commerce-content ul.products li.product .price{display:block;min-height:1.4em;margin:8px 0 12px;font-size:16px;font-weight:600;color:var(--brand);}
#gpb-next .gpb-commerce-content ul.products li.product .vw-product{display:flex;flex-direction:column;height:100%;}
#gpb-next .gpb-commerce-content ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;width:auto;min-height:44px;margin-top:auto;padding:10px 18px;white-space:nowrap;box-sizing:border-box;text-align:center;}
#gpb-next .gpb-commerce-content :is(a.button,button.button,input.button,#respond input#submit,.wc-block-components-button,.wp-element-button,.wp-block-button__link,.add_to_cart_button){background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:999px;padding:13px 22px;font:600 15px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;box-shadow:none;transition:background .2s ease,box-shadow .2s ease;}
#gpb-next .gpb-commerce-content :is(a.button,button.button,input.button,#respond input#submit,.wc-block-components-button,.wp-element-button,.wp-block-button__link,.add_to_cart_button):hover{background:#124740;color:#fff;box-shadow:0 5px 16px rgba(21,62,60,.15);}
#gpb-next .gpb-commerce-content :is(button,input,a)[disabled],#gpb-next .gpb-commerce-content .button.disabled{opacity:.5;cursor:not-allowed;}
#gpb-next .gpb-commerce-content .onsale{background:var(--brand);color:#fff;border-radius:999px;padding:6px 12px;min-height:0;line-height:1.5;}
#gpb-next .gpb-commerce-content div.product{position:relative;}
#gpb-next .gpb-commerce-content div.product::after{content:"";display:table;clear:both;}
#gpb-next .gpb-commerce-content div.product div.images{float:left;width:46%;}
#gpb-next .gpb-commerce-content div.product div.summary{float:right;width:48%;margin-bottom:32px;}
#gpb-next .gpb-commerce-content div.product .product_title{font-size:clamp(30px,3.2vw,44px);}
#gpb-next .gpb-commerce-content div.product :is(p.price,span.price){color:var(--brand);font-size:24px;}
#gpb-next .gpb-commerce-content .woocommerce-product-gallery img{border-radius:16px;}
#gpb-next .gpb-commerce-content .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:8px;padding:0;list-style:none;}
#gpb-next .gpb-commerce-content .woocommerce-product-gallery .flex-control-thumbs li{width:25%;}
#gpb-next .gpb-commerce-content div.product :is(.woocommerce-tabs,.related,.upsells){clear:both;padding-top:30px;}
#gpb-next .gpb-commerce-content .woocommerce-tabs .panel{padding:24px;border:1px solid var(--line);border-radius:18px;}
#gpb-next .gpb-commerce-content .woocommerce-tabs ul.tabs li{background:var(--mist);border-color:var(--line);}
#gpb-next .gpb-commerce-content .woocommerce-tabs ul.tabs li.active{background:white;}
#gpb-next .gpb-commerce-content table.shop_table{border:1px solid var(--line);border-radius:18px;border-collapse:separate;overflow:hidden;}
#gpb-next .gpb-commerce-content table.shop_table th{background:var(--mist);color:var(--ink);}
#gpb-next .gpb-commerce-content table.shop_table :is(td,th){padding:16px 12px;}
#gpb-next .gpb-commerce-content :is(.woocommerce-info,.woocommerce-message){background:var(--mist);border-top-color:var(--brand);color:var(--ink);border-radius:12px;}
#gpb-next .gpb-commerce-content :is(.woocommerce-info,.woocommerce-message)::before{color:var(--brand);}
#gpb-next .gpb-commerce-content .woocommerce-error{border-radius:12px;}
#gpb-next .gpb-commerce-content #payment{background:var(--mist);border-radius:18px;}
#gpb-next .gpb-commerce-content .quantity .qty{width:5em;}
#gpb-next .gpb-commerce-content .woocommerce-pagination{margin:32px 0;}
#gpb-next .gpb-commerce-content .woocommerce-pagination ul{border-color:var(--line);border-radius:10px;overflow:hidden;}
#gpb-next .gpb-commerce-content .woocommerce-pagination li :is(a,span){padding:12px 16px;}
/* Keep Woo Blocks' own responsive layout and internal state styles. */
#gpb-next .gpb-commerce-content :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){font:inherit;color:var(--text);}
#gpb-next .gpb-commerce-content .wc-block-components-button svg{width:1.5em;height:1.5em;}
#gpb-next .gpb-commerce-content .wc-block-cart__submit-container{background:#fff;}
#gpb-next .gpb-commerce-content .wc-block-components-order-summary-item__quantity{background:var(--mist);border-color:var(--line);box-shadow:0 0 0 2px var(--mist);color:var(--ink);}
@media(max-width:600px){#gpb-next .gpb-commerce-content{padding-top:20px;padding-bottom:40px;}#gpb-next .gpb-commerce-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}#gpb-next .gpb-commerce-content ul.products li.product{width:auto;}#gpb-next .gpb-commerce-content ul.products li.product img{height:140px;}#gpb-next .gpb-commerce-content div.product div.images,#gpb-next .gpb-commerce-content div.product div.summary{float:none;width:100%;}#gpb-next .gpb-commerce-content .woocommerce-result-count,#gpb-next .gpb-commerce-content .woocommerce-ordering{float:none;margin-bottom:16px;}#gpb-next .gpb-commerce-content table.shop_table :is(th,td){padding:10px 8px;}}
@media(prefers-reduced-motion:reduce){#gpb-next .gpb-commerce-content ul.products li.product,#gpb-next .gpb-commerce-content .button{transition:none;}#gpb-next .gpb-commerce-content ul.products li.product:hover{transform:none;}}

/* 1.1.1 — focused spacing fixes. No checkout behaviour is implemented here. */
#gpb-next .gpb-commerce-content{container:gpbl-commerce / inline-size;}
#gpb-next .gpb-commerce-content .woocommerce-result-count{margin:0 0 20px;min-height:46px;display:flex;align-items:center;font-size:15px;}
#gpb-next .gpb-commerce-content .woocommerce-ordering{margin:0 0 20px;}
#gpb-next .gpb-commerce-content .woocommerce-ordering select{min-height:46px;width:100%;max-width:300px;}
#gpb-next .gpb-commerce-content ul.products li.product .woocommerce-loop-product__link{display:block;margin:0;}
#gpb-next .gpb-commerce-content ul.products li.product .price{margin:0;}
#gpb-next .gpb-commerce-content ul.products li.product .added_to_cart{margin-top:12px;font-size:14px;}
#gpb-next .gpb-commerce-content div.product .summary .price{margin-bottom:24px;}
#gpb-next .gpb-commerce-content div.product form.cart{margin:24px 0;}
#gpb-next .gpb-commerce-content div.product form.cart:not(.variations_form):not(.grouped_form),
#gpb-next .gpb-commerce-content .woocommerce-variation-add-to-cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
#gpb-next .gpb-commerce-content div.product form.cart .quantity{float:none;margin:0;}
#gpb-next .gpb-commerce-content .quantity .qty{min-height:46px;text-align:center;}

/* Blocks: use the native component structure, but keep its columns on one grid.
   Skeleton/loading visibility, error states and mobile summary behaviour remain native. */
#gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout:not(.wc-block-cart--skeleton){gap:28px;align-items:flex-start;margin:0;}
#gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-main{width:calc(62% - 14px);padding:0;margin:0;}
#gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-sidebar{width:calc(38% - 14px);padding:24px;margin:0;align-self:flex-start;border:1px solid var(--line);border-radius:20px;background:var(--mist);}
#gpb-next .gpb-commerce-content :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){max-width:100%;margin-left:0;margin-right:0;}
#gpb-next .gpb-commerce-content :is(.wc-block-components-checkout-step__title,.wc-block-cart__totals-title){font-size:22px;line-height:1.3;letter-spacing:-.025em;}
#gpb-next .gpb-commerce-content .wc-block-components-checkout-step{margin-bottom:28px;}
#gpb-next .gpb-commerce-content .wc-block-components-checkout-step__description{font-size:15px;line-height:1.6;}
#gpb-next .gpb-commerce-content .wc-block-components-order-summary-item__description{overflow-wrap:anywhere;}
#gpb-next .gpb-commerce-content .wc-block-components-totals-item__value{white-space:nowrap;font-variant-numeric:tabular-nums;}

/* Quantity: three equal-height cells, no inherited field padding or pill button. */
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector:has(input:not([type=hidden])){display:inline-flex;align-items:stretch;width:132px;min-height:44px;margin:0;flex:0 0 auto;border:1px solid var(--line);border-radius:10px;background:#fff;}
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{width:44px;min-width:0;min-height:44px;height:44px;flex:1 1 44px;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:16px;line-height:1;text-align:center;box-shadow:none;}
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;padding:0;margin:0;flex:0 0 44px;border:0;background:transparent;color:var(--brand);font-size:20px;line-height:1;box-shadow:none;}
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus{border-radius:9px 0 0 9px;}
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus{border-radius:0 9px 9px 0;}
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled){background:var(--mist);}
#gpb-next .gpb-commerce-content .wc-block-components-quantity-selector :is(input,button):focus-visible{outline:3px solid #b4612c;outline-offset:2px;}
#gpb-next .gpb-commerce-content .wc-block-cart-item__quantity{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding-top:12px;}
#gpb-next .gpb-commerce-content .wc-block-cart-item__remove-link{position:static;align-self:center;float:none;width:auto;height:auto;min-height:32px;max-width:100%;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:var(--text);font-size:14px;line-height:1.5;text-align:left;white-space:normal;text-decoration:underline;text-underline-offset:3px;box-shadow:none;}
#gpb-next .gpb-commerce-content .wc-block-cart-item__remove-link:hover{background:transparent;color:var(--brand);box-shadow:none;}
#gpb-next .gpb-commerce-content .wc-block-cart-item__image img{border-radius:12px;}

/* Classic cart: maintain native table and update/remove requests. */
#gpb-next .gpb-commerce-content .woocommerce-cart-form table.shop_table{width:100%;margin-bottom:28px;}
#gpb-next .gpb-commerce-content .woocommerce-cart-form .cart_item td{vertical-align:middle;}
#gpb-next .gpb-commerce-content .woocommerce-cart-form .product-name{overflow-wrap:anywhere;}
#gpb-next .gpb-commerce-content .woocommerce-cart-form .product-thumbnail img{width:76px;max-width:76px;height:auto;border-radius:10px;}
#gpb-next .gpb-commerce-content .woocommerce-cart-form .product-remove{width:48px;text-align:center;}
#gpb-next .gpb-commerce-content .woocommerce-cart-form a.remove{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;line-height:1;border-radius:50%;background:var(--mist);}
#gpb-next .gpb-commerce-content .woocommerce-cart-form .coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
#gpb-next .gpb-commerce-content .woocommerce-cart-form .coupon #coupon_code{width:180px;margin:0;min-height:46px;}
#gpb-next .gpb-commerce-content .cart-collaterals .cart_totals{width:min(100%,440px);padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--mist);}
#gpb-next .gpb-commerce-content .cart_totals h2{font-size:24px;}
#gpb-next .gpb-commerce-content .cart_totals .wc-proceed-to-checkout{padding-bottom:0;}
#gpb-next .gpb-commerce-content .cart_totals .checkout-button{display:block;text-align:center;margin-bottom:0;}

/* Classic checkout: native form on the left, one presentation wrapper on the right. */
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:28px;align-items:start;}
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout > *{grid-column:1 / -1;min-width:0;}
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout > #customer_details,
#gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout > .gpbl-checkout-summary{grid-column:auto;}
#gpb-next .gpb-commerce-content #customer_details{float:none;width:100%;margin:0;}
#gpb-next .gpb-commerce-content #customer_details .col-1,
#gpb-next .gpb-commerce-content #customer_details .col-2{float:none;width:100%;margin:0;}
#gpb-next .gpb-commerce-content #customer_details .col-2{margin-top:28px;}
#gpb-next .gpb-commerce-content #customer_details::before,
#gpb-next .gpb-commerce-content #customer_details::after{display:none;}
#gpb-next .gpb-commerce-content :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields) h3{font-size:24px;margin-bottom:20px;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--mist);}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary #order_review_heading{margin:0 0 20px;font-size:24px;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary #order_review{float:none;width:100%;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table{width:100%;margin:0 0 24px;background:#fff;font-size:15px;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table th{background:transparent;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table :is(th,td){padding:12px;vertical-align:top;overflow-wrap:anywhere;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table .product-total{text-align:right;white-space:nowrap;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row{max-width:none;padding:0;margin:0 0 18px;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row label{line-height:1.5;margin-bottom:7px;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row :is(input.input-text,textarea){width:100%;min-height:46px;font-size:16px;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row :is(.woocommerce-input-wrapper,.select2-container){max-width:100%;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row .select2-container .select2-selection--single{min-height:46px;border:1px solid var(--line);border-radius:9px;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row .select2-selection__rendered{padding:9px 30px 9px 12px;line-height:26px;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row .select2-selection__arrow{height:44px;}
#gpb-next .gpb-commerce-content .woocommerce form .form-row.woocommerce-invalid :is(input.input-text,textarea,.select2-selection--single){border-color:#b32d2e;}
#gpb-next .gpb-commerce-content #payment .place-order{margin:0;padding:16px 0 0;}
#gpb-next .gpb-commerce-content #payment #place_order{float:none;width:100%;margin-top:16px;white-space:normal;text-align:center;}
#gpb-next .gpb-commerce-content #payment ul.payment_methods{padding:0 0 18px;}
#gpb-next .gpb-commerce-content #payment .payment_box{border-radius:10px;}

/* Respond to actual content width, including narrower desktop windows and zoom. */
@container gpbl-commerce (max-width:899px){
  #gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-main,
  #gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-sidebar{width:100%;}
  #gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:980px){
  #gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-main,
  #gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-sidebar{width:100%;}
  #gpb-next .gpb-commerce-content form.checkout.woocommerce-checkout{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:600px){
  #gpb-next .gpb-commerce-content .woocommerce-result-count{min-height:0;}
  #gpb-next .gpb-commerce-content .woocommerce-ordering,
  #gpb-next .gpb-commerce-content .woocommerce-ordering select{width:100%;max-width:none;}
  #gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout:not(.wc-block-cart--skeleton){gap:24px;}
  #gpb-next .gpb-commerce-content .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
  #gpb-next .gpb-commerce-content .gpbl-checkout-summary,
  #gpb-next .gpb-commerce-content .cart-collaterals .cart_totals{padding:18px;border-radius:16px;}
  #gpb-next .gpb-commerce-content .woocommerce form .form-row-first,
  #gpb-next .gpb-commerce-content .woocommerce form .form-row-last{float:none;width:100%;}
  #gpb-next .gpb-commerce-content .woocommerce-cart-form .actions .coupon{float:none;width:100%;margin-bottom:14px;}
  #gpb-next .gpb-commerce-content .woocommerce-cart-form .coupon #coupon_code{width:100%;}
  #gpb-next .gpb-commerce-content .woocommerce-cart-form .actions button{width:100%;}
  #gpb-next .gpb-commerce-content .cart-collaterals .cart_totals{float:none;width:100%;}
  #gpb-next .gpb-commerce-content .wc-block-cart-item__quantity{gap:8px 12px;}
}
