/* Alfba: bounded grids, accessible mobile drawer and purchase forms. */
body.alfba-native .alfba-shop-layout,body.alfba-native .alfba-shop-results,body.alfba-native .alfba-shop-toolbar,body.alfba-native .alfba-subcategories,body.alfba-native .alfba-subcategories>a{min-width:0;max-width:100%}
body.alfba-native .alfba-subcategories{grid-template-columns:repeat(6,minmax(0,1fr))}
body.alfba-native .alfba-subcategories strong{overflow-wrap:anywhere}
body.alfba-native .alfba-shop-results ul.products{width:100%;margin-inline:0!important;grid-template-columns:repeat(3,minmax(0,1fr))}
body.alfba-native .alfba-shop-results ul.products li.product{width:auto!important;min-width:0;max-width:100%;margin:0!important;float:none!important}
body.alfba-native .alfba-shop-results ul.products li.product a,body.alfba-native .alfba-shop-results .woocommerce-ordering,body.alfba-native .alfba-shop-results .orderby{min-width:0;max-width:100%}
body.alfba-native .alfba-shop-results .woocommerce-loop-product__title{overflow-wrap:anywhere}
body.alfba-native #alfba-menu{clip-path:none;border-left:0;padding-left:34px;max-width:calc(100vw - 24px)}
body.alfba-native #alfba-menu:before{content:"";position:absolute;left:0;top:0;bottom:0;width:18px;pointer-events:none;background:linear-gradient(180deg,#fbb81e14 0%,#fbb81e66 40%,var(--alfba-primary) 100%);mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='1000' viewBox='0 0 18 1000' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 L3 0 C3 160 7 180 6 320 C5 460 16 470 11 620 C6 770 22 800 16 1000 L0 1000 Z'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}
body.alfba-native .woocommerce-cart-form,body.alfba-native .cart-collaterals,body.alfba-native form.checkout{min-width:0}
body.alfba-native.woocommerce-cart .woocommerce{display:flow-root}
body.alfba-native .woocommerce-cart-form{padding:18px;border:1px solid var(--alfba-border);border-radius:18px;background:#fff}
body.alfba-native .woocommerce table.shop_table{border-collapse:separate;border-spacing:0;border:0;border-radius:14px;overflow:hidden;font-size:14px}
body.alfba-native .woocommerce table.shop_table th{padding:15px 12px;background:#f8f8f8;font-weight:700;border:0}
body.alfba-native .woocommerce table.shop_table td{padding:18px 12px;border:0;border-bottom:1px solid #eee;vertical-align:middle}
body.alfba-native .woocommerce-cart-form .product-name{min-width:0}
body.alfba-native .alfba-cart-item{display:flex;align-items:center;gap:14px;min-width:0;text-align:right}
body.alfba-native .alfba-cart-item>span{min-width:0;overflow-wrap:anywhere;line-height:1.8}
body.alfba-native .alfba-cart-item img{flex:0 0 64px;width:64px!important;height:64px!important;object-fit:contain;background:#fafafa;border:1px solid #eee;border-radius:10px;padding:4px}
body.alfba-native .woocommerce .quantity input.qty{min-height:44px;width:76px;border:1px solid #ddd;border-radius:10px;background:#fff;text-align:center}
body.alfba-native .cart-collaterals{padding:22px;border:1px solid #e7e7e7;border-radius:18px;background:#fff;box-shadow:0 8px 28px #11111105}
body.alfba-native .cart-collaterals .cart_totals{float:none;width:100%;min-width:0}
body.alfba-native .cart-collaterals h2{font-size:20px;margin-top:0}
body.alfba-native .woocommerce a.checkout-button{display:block;width:100%;min-height:48px;border-radius:12px;padding:14px 10px;text-align:center;font-size:15px;line-height:1.5}
body.alfba-native form.checkout #customer_details,body.alfba-native form.checkout #order_review{background:#fff;border:1px solid #e7e7e7;border-radius:18px;padding:24px;min-width:0}
body.alfba-native form.checkout .col-1,body.alfba-native form.checkout .col-2{width:100%;float:none}
body.alfba-native .woocommerce form .form-row{margin-bottom:18px;padding:0;min-width:0}
body.alfba-native .woocommerce form .form-row label{display:block;font-size:14px;font-weight:600;line-height:1.8;margin-bottom:7px;color:#292929}
body.alfba-native .woocommerce form .form-row input.input-text,body.alfba-native .woocommerce form .form-row select,body.alfba-native .woocommerce form .form-row textarea{display:block;width:100%;max-width:100%;min-height:48px;padding:11px 14px;border:1px solid #dcdcdc;border-radius:11px;background:#fff;box-shadow:none;color:#222;font:inherit}
body.alfba-native .woocommerce form .form-row textarea{min-height:105px;resize:vertical}
body.alfba-native .woocommerce form .form-row input:focus,body.alfba-native .woocommerce form .form-row textarea:focus{border-color:#a66f00;outline:2px solid #fbb81e55;outline-offset:1px}
body.alfba-native .woocommerce form .form-row.woocommerce-invalid input{border-color:#ba3030}
body.alfba-native .woocommerce .select2-container{max-width:100%;width:100%!important}
body.alfba-native .woocommerce .select2-container .select2-selection--single{min-height:48px;border:1px solid #dcdcdc;border-radius:11px;background:white}
body.alfba-native .woocommerce .select2-selection__rendered{line-height:46px!important;padding-inline:14px!important}
body.alfba-native .woocommerce .select2-selection__arrow{height:46px!important}
body.alfba-native #billing_phone,body.alfba-native #billing_postcode,body.alfba-native #shipping_postcode{direction:ltr;text-align:right}
body.alfba-native .woocommerce ul#shipping_method{margin:0;padding:0;list-style:none}
body.alfba-native .woocommerce ul#shipping_method li{position:relative;padding:13px 12px;margin:8px 0;border:1px solid #ddd;border-radius:11px;background:#fff;line-height:1.9;text-align:right}
body.alfba-native .woocommerce ul#shipping_method li:has(input:checked){border-color:#d59a16;background:#fffbef}
body.alfba-native .woocommerce ul#shipping_method label{display:inline;white-space:normal;cursor:pointer;font-size:13px}
body.alfba-native .woocommerce input[type=radio],body.alfba-native .woocommerce input[type=checkbox]{accent-color:#a97500}
body.alfba-native #payment{background:#fafafa!important;border:1px solid #e7e7e7;border-radius:14px!important;overflow:hidden}
body.alfba-native #payment .payment_box{background:#fff!important;border:1px solid #eee;border-radius:10px;line-height:2}
body.alfba-native #place_order{float:none!important;width:100%;min-height:50px;border-radius:12px;font-size:16px}
body.alfba-native .woocommerce-shipping-destination{font-size:13px;line-height:2;overflow-wrap:anywhere}
@media(min-width:1001px){body.alfba-native .woocommerce-cart-form{width:calc(68% - 24px);float:right}body.alfba-native .cart-collaterals{width:32%;float:left}body.alfba-native form.checkout .form-row-first{width:48%;float:right}body.alfba-native form.checkout .form-row-last{width:48%;float:left}body.alfba-native form.checkout .form-row-wide{clear:both;width:100%}}
@media(max-width:1000px){body.alfba-native .alfba-subcategories{grid-template-columns:repeat(4,minmax(0,1fr))}body.alfba-native .woocommerce-cart-form,body.alfba-native .cart-collaterals{float:none;width:100%;margin-bottom:22px}}
@media(max-width:767px){
body.alfba-native .alfba-shop-layout,body.alfba-native .alfba-shop-results{width:100%}
body.alfba-native .alfba-subcategories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.alfba-native .alfba-subcategories>a{padding:12px 8px}
body.alfba-native .alfba-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.alfba-native .alfba-shop-toolbar{flex-wrap:wrap;gap:10px}
body.alfba-native .woocommerce-cart-form,body.alfba-native .cart-collaterals,body.alfba-native form.checkout #customer_details,body.alfba-native form.checkout #order_review{padding:15px;border-radius:14px}
body.alfba-native .woocommerce-cart-form table.cart,body.alfba-native .woocommerce-cart-form table.cart tbody{display:block;width:100%;border:0;overflow:visible}
body.alfba-native .woocommerce-cart-form table.cart thead{display:none}
body.alfba-native .woocommerce-cart-form table.cart tr.cart_item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px;padding:14px 0;margin-bottom:14px;border:0;border-bottom:1px solid #e7e7e7;min-width:0;background:#fff}
body.alfba-native .woocommerce-cart-form table.cart tr.cart_item td{display:block;float:none;width:auto;padding:10px 0;border:0!important;background:#fff!important;text-align:right!important;min-width:0}
body.alfba-native .woocommerce-cart-form table.cart tr.cart_item td.product-remove{position:absolute;left:0;top:0;z-index:1;padding:0}
body.alfba-native .woocommerce-cart-form table.cart td.product-name{grid-column:1/-1;padding-left:25px!important}
body.alfba-native .woocommerce-cart-form table.cart td.product-name:before,body.alfba-native .woocommerce-cart-form table.cart td.product-remove:before{display:none!important}
body.alfba-native .woocommerce-cart-form table.cart td.product-thumbnail{display:none!important}
body.alfba-native .woocommerce-cart-form table.cart td.product-subtotal{grid-column:1/-1;border-top:1px dashed #e7e7e7!important;display:flex;align-items:center;justify-content:space-between}
body.alfba-native .woocommerce-cart-form table.cart td.product-price:before,body.alfba-native .woocommerce-cart-form table.cart td.product-quantity:before{float:none;display:block;font-size:12px;color:#666;margin-bottom:7px}
body.alfba-native .woocommerce-cart-form table.cart td.actions{display:block;padding:0;border:0}
body.alfba-native .woocommerce-cart-form table.cart td.actions:before{display:none}
body.alfba-native .woocommerce-cart-form .coupon{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;float:none;width:100%;margin-bottom:14px}
body.alfba-native .woocommerce-cart-form .coupon input{width:100%!important;min-width:0;min-height:44px}
body.alfba-native .woocommerce-cart-form .coupon button{min-height:44px;white-space:normal}
body.alfba-native form.checkout .form-row-first,body.alfba-native form.checkout .form-row-last,body.alfba-native form.checkout .form-row-wide{float:none;clear:both;width:100%}
body.alfba-native .woocommerce-checkout-review-order-table .product-name{width:60%;overflow-wrap:anywhere}
body.alfba-native .woocommerce-checkout-review-order-table td,body.alfba-native .woocommerce-checkout-review-order-table th{padding:12px 8px!important;font-size:12px}
body.alfba-native .alfba-bottom-nav{padding-right:56px;min-height:70px}
body.alfba-native .alfba-floating-contact{right:9px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:110}
body.alfba-native .alfba-floating-contact>summary{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;box-shadow:none}
body.alfba-native .alfba-floating-contact>summary>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.alfba-native .alfba-contact-panel{bottom:calc(100% + 18px);right:0;width:min(290px,calc(100vw - 28px));max-height:calc(100dvh - 120px)}
body.alfba-native .alfba-back-top{position:static;display:block;margin:16px 14px 90px auto}
}
