/* QOLA Retail 2.7 — shared design and scoped commerce layout. */
:root{--qr-action:#f45116;--qr-action-hover:#d94110;--qr-action-border:#e0e1e3;--qr-action-radius:12px;}
.qr-pro-full{width:100%;max-width:none;min-width:0;margin:0;padding:0;}
.qr-pro-full>.elementor,.qr-pro-full>.qr-global-slot{width:100%;max-width:none;min-width:0;}
.qr-library-preview{min-height:40vh;}
.qr-404-fallback{padding:clamp(56px,10vw,120px) 20px;text-align:center;background:#f5f5f7;}
.qr-404-fallback h1{font-size:clamp(26px,4vw,42px);margin:0 0 12px;}
.qr-404-fallback p{margin:0 0 24px;}
/* Do not restyle branded third-party wallet buttons. */
.qr-btn,.woocommerce :is(a.button:not(.wc-forward),button.button:not([class*="payment"]),input.button),.qr-p-cart .single_add_to_cart_button,.qr-commerce-shell .woocommerce :is(.checkout-button,#place_order){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px;min-height:48px;box-sizing:border-box;padding:11px 18px;border-radius:var(--qr-action-radius)!important;line-height:1.3!important;font-weight:650;text-align:center!important;text-decoration:none!important;vertical-align:middle;box-shadow:none;}
.qr-btn,.woocommerce :is(button.single_add_to_cart_button,a.checkout-button,button#place_order),.qr-single-product .qr-p-cart button.single_add_to_cart_button:not(:disabled):not(.disabled),.qr-pro-product .qr-p-cart button.single_add_to_cart_button:not(:disabled):not(.disabled),.qr-commerce-shell .woocommerce :is(.checkout-button,#place_order){background:#f45116!important;color:#fff!important;border:1px solid #f45116!important;}
.qr-btn:hover,.woocommerce :is(button.single_add_to_cart_button,a.checkout-button,button#place_order):hover,.qr-single-product .qr-p-cart button.single_add_to_cart_button:not(:disabled):not(.disabled):hover,.qr-pro-product .qr-p-cart button.single_add_to_cart_button:not(:disabled):not(.disabled):hover{background:#d94110!important;border-color:#d94110!important;}
.woocommerce ul.products li.product .button,.qr-commerce-shell .woocommerce button[name=apply_coupon],.qr-commerce-shell .woocommerce button[name=update_cart]{background:#fff!important;border:1px solid #e0e1e3!important;color:#202124!important;}
.woocommerce :is(button.button,input.button):disabled,.woocommerce :is(button.button,input.button).disabled,.qr-p-cart button.single_add_to_cart_button:disabled,.qr-p-cart button.single_add_to_cart_button.disabled,.qr-commerce-shell .woocommerce button[name=update_cart]:disabled{background:#ededee!important;color:#9a9a9b!important;border-color:#ededee!important;opacity:1!important;cursor:not-allowed;}
.qr-p-cart .single_add_to_cart_button.qr-pending{opacity:.65;cursor:wait;}
.qr-p-cart .quantity{border-color:#e0e1e3!important;border-radius:12px!important;}
.qr-p-cart .quantity button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;}
/* A native scrolling brand directory, rendered on the server for the editor. */
.qr-brand-home{width:100%;min-width:0;padding:70px 32px 76px;background:#ffffff;color:#1d1d1f;}
.qr-brand-home-inner{max-width:1280px;margin:auto;min-width:0;}
.qr-brand-home-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px;}
.qr-brand-home-head h2{margin:0;font-size:clamp(28px,3vw,40px);font-weight:650;line-height:1.12;letter-spacing:-.045em;}
.qr-brand-home-head>a{flex:none;font-size:13px;text-decoration:none;}
.qr-brand-home-track{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,150px);grid-auto-columns:calc((100% - 84px)/7);gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;min-width:0;}
.qr-brand-home-track::-webkit-scrollbar{display:none;}
.qr-brand-home-track>a{display:grid;place-items:center;position:relative;overflow:hidden;min-width:0;min-height:0;border:1px solid #e9e9ec;border-radius:15px;background:#ffffff;text-align:center;text-decoration:none;scroll-snap-align:start;}
.qr-brand-home-track>a img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;display:block;margin:0;}
.qr-brand-home-track>a span{padding:12px;font-size:16px;font-weight:650;overflow-wrap:anywhere;}
@media(min-width:768px) and (max-width:1100px){.qr-brand-home-track{grid-auto-columns:calc((100% - 42px)/4)}}
@media(max-width:767px){.qr-brand-home{padding:44px 0 42px}.qr-brand-home-head{padding:0 20px;margin-bottom:22px}.qr-brand-home-head h2{font-size:27px}.qr-brand-home-head>a{font-size:12px}.qr-brand-home-track{grid-template-rows:repeat(2,116px);grid-auto-columns:41%;gap:12px;padding:0 20px 4px;scroll-padding-inline:20px}.qr-brand-home-track>a{border-radius:12px}.qr-brand-home-track>a span{font-size:14px}}
/* Commerce shell: same spacing, type and action system on both pages. */
#main.qr-commerce-shell{--checkout-orange:#f45116;--checkout-line:#e6e6e8;--checkout-muted:#676970;--checkout-radius:16px;background:#f7f7f8;min-width:0;}
.qr-commerce-shell .qr-commerce-inner{width:min(1280px,calc(100% - 64px));}
.qr-commerce-shell .qr-commerce-heading h1{font-size:clamp(30px,3.3vw,44px);line-height:1.15;font-weight:750;letter-spacing:-.045em;}
.qr-commerce-shell .qr-commerce-heading{align-items:center;margin-bottom:28px;}
.qr-commerce-shell .qr-continue{color:#505158;font-weight:600;}
.qr-commerce-shell :is(.woocommerce-cart-form,.cart_totals,#customer_details,#order_review,#payment){padding:clamp(18px,2.4vw,30px);border:1px solid #e6e6e8!important;border-radius:16px!important;box-shadow:0 3px 16px #18181b04;background:#fff!important;}
.qr-commerce-shell :is(.cart_totals h2,#customer_details h3,.qr-order-heading,.qr-pay-picker h2){font-size:22px;font-weight:700;letter-spacing:-.025em;line-height:1.3;margin:0 0 20px;}
.qr-commerce-shell .woocommerce .shop_table :is(th,td){border-color:#ececef;padding:16px 8px;}
.qr-commerce-shell .woocommerce .shop_table thead th{font-weight:600;font-size:12px;color:#74767c;}
.qr-commerce-shell .woocommerce-cart-form .product-thumbnail img{width:88px;min-width:64px;max-width:none;aspect-ratio:1;object-fit:cover;border-radius:10px;}
.qr-commerce-shell .woocommerce-cart-form .product-name{font-size:14px;line-height:1.45;overflow-wrap:anywhere;}
.qr-commerce-shell .woocommerce-cart-form .product-name a{font-weight:650;}
.qr-commerce-shell .woocommerce-cart-form .variation{font-size:12px;color:#676970;margin:4px 0 0;}
.qr-commerce-shell .woocommerce-cart-form .quantity{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #e0e1e3;border-radius:10px;overflow:hidden;width:108px;max-width:100%;height:44px;}
.qr-commerce-shell .woocommerce-cart-form .quantity input.qty{flex:1;min-width:0;width:36px;height:42px;min-height:0;margin:0;padding:0;border:0!important;border-radius:0;box-shadow:none;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield;}
.qr-commerce-shell .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button,.qr-commerce-shell .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button{appearance:none;margin:0;}
.qr-commerce-shell .qr-cart-step{width:35px;min-width:35px;height:42px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:0;border-radius:0;color:#202124;font-size:18px;line-height:1;padding:0;margin:0;cursor:pointer;}
.qr-commerce-shell .qr-cart-step:hover{background:#f4f4f5;}
.qr-commerce-shell .woocommerce-cart-form a.remove{display:inline-flex!important;align-items:center;justify-content:center;width:40px;height:40px;font-size:20px!important;line-height:1!important;border:1px solid #e0e1e3;border-radius:10px;color:#777!important;background:#fff!important;}
.qr-commerce-shell .woocommerce-cart-form a.remove:hover{background:#f3f3f4!important;color:#333!important;}
.qr-commerce-shell .woocommerce-cart-form .actions{padding:16px 0 0;}
.qr-commerce-shell .qr-coupon-details{float:left;text-align:left;max-width:100%;}
.qr-commerce-shell .qr-coupon-details summary{font-size:14px;font-weight:650;cursor:pointer;padding:12px 4px;color:#414249;}
.qr-commerce-shell .qr-coupon-details .coupon{float:none;padding:4px 0 8px;}
.qr-commerce-shell .woocommerce table.cart td.actions .coupon .input-text{width:150px;min-height:48px;border:1px solid #dadce0;margin:0;font-size:14px;}
.qr-commerce-shell .woocommerce :is(.checkout-button,#place_order){min-height:52px;font-size:15px;font-weight:650;}
.qr-commerce-shell .woocommerce .form-row label{font-size:14px;font-weight:550;line-height:1.4;margin:0 0 6px;}
.qr-commerce-shell .woocommerce .form-row :is(input.input-text,textarea,select,.select2-selection){border:1px solid #dfe0e3;border-radius:10px;background:#fff;min-height:48px;font-size:16px;}
.qr-commerce-shell .woocommerce .form-row.woocommerce-invalid :is(input,select,.select2-selection){border-color:#ba3030;}
.qr-commerce-shell #order_review .shop_table thead .product-total{width:26%;}
.qr-commerce-shell .qr-review-name{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px;line-height:1.4;}
.qr-commerce-shell .qr-review-thumb{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:8px;}
.qr-commerce-shell #order_review .woocommerce-shipping-methods li{margin:0 0 9px;align-items:start;}
.qr-commerce-shell .order-total :is(th,td){font-size:22px;font-weight:750;}
.qr-commerce-shell #payment .qr-pay-choice{min-height:68px;border-color:#e0e1e3;}
.qr-commerce-shell #payment .qr-pay-choice:has(input:checked){border-color:#f45116;background:#fff5ef;}
.qr-commerce-shell #payment div.payment_box{background:#f6f6f7!important;color:#414249!important;border-radius:10px;margin:8px 0;padding:12px;}
.qr-commerce-shell #payment div.payment_box:before{display:none;}
.qr-commerce-shell #payment .qr-native-cod>label,.qr-commerce-shell #payment .qr-native-cod>input{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
/* Retain actual COD description; only normalize its presentation. */
.qr-commerce-shell #payment .qr-native-cod .payment_box{background:transparent!important;padding:0;margin:4px 0 0;font-size:13px;}
.qr-commerce-shell #payment .woocommerce-privacy-policy-text{font-size:12px;color:#676970;line-height:1.6;}
.qr-commerce-shell .woocommerce-form-coupon-toggle .woocommerce-info{border:1px solid #e6e6e8;border-radius:12px;background:#fff;color:#414249;padding:14px 16px;margin-bottom:18px;}
.qr-commerce-shell .woocommerce-form-coupon-toggle .woocommerce-info:before{display:none;}
@media(min-width:850px){.qr-commerce-shell .woocommerce:has(>.woocommerce-cart-form):has(>.cart-collaterals),.qr-commerce-shell .woocommerce form.woocommerce-checkout{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:22px;}.qr-commerce-shell .cart-collaterals{position:sticky;top:116px;min-width:0;}.qr-commerce-shell .woocommerce form.woocommerce-checkout>#order_review{grid-row:span 2;}}
@media(max-width:849px){
 .qr-commerce-shell .qr-commerce-inner{width:calc(100% - 32px);}
 #main.qr-commerce-shell{padding:26px 0 48px;}
 .qr-commerce-shell .qr-commerce-heading{margin-bottom:20px;}
 .qr-commerce-shell .qr-commerce-heading h1{font-size:28px;}
 .qr-commerce-shell .qr-continue{font-size:12px;}
 .qr-commerce-shell :is(.woocommerce-cart-form,.cart_totals,#customer_details,#order_review,#payment){padding:16px;}
 .qr-commerce-shell .woocommerce-cart-form table.shop_table_responsive thead{display:none;}
 .qr-commerce-shell .woocommerce-cart-form table.shop_table_responsive tbody{display:block;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item{display:grid!important;grid-template-columns:76px minmax(0,1fr) 44px;grid-template-areas:'image name remove' 'image price price' 'image qty qty' 'image total total';gap:8px 10px;padding:16px 0;border-bottom:1px solid #ececef;align-items:center;text-align:left;background:#fff!important;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item:first-child{padding-top:0;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item>td{display:block!important;float:none!important;width:auto!important;min-width:0;border:0!important;padding:0!important;background:transparent!important;text-align:left!important;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item>td:before{display:none!important;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-thumbnail{grid-area:image;align-self:start;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-thumbnail img{width:76px;min-width:0;max-width:100%;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-name{grid-area:name;font-size:13px;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-price{grid-area:price;font-size:13px;color:#676970;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-quantity{grid-area:qty;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-remove{grid-area:remove;align-self:start;text-align:right!important;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-subtotal{grid-area:total;font-size:12px;text-align:right!important;overflow:visible;}
 .qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-subtotal .woocommerce-Price-amount{white-space:normal;overflow-wrap:anywhere;}
 .qr-commerce-shell .woocommerce-cart-form a.remove{width:44px;height:44px;}
 .qr-commerce-shell .woocommerce-cart-form .quantity{width:118px;max-width:100%;}
 .qr-commerce-shell .woocommerce-cart-form .qr-cart-step{width:36px;min-width:30px;}
 .qr-commerce-shell .woocommerce-cart-form .actions{display:block;}
 .qr-commerce-shell .qr-coupon-details{float:none;width:100%;}
 .qr-commerce-shell .qr-coupon-details .coupon{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;}
 .qr-commerce-shell .woocommerce table.cart td.actions .coupon .input-text{width:auto;min-width:100px;flex:1;}
 .qr-commerce-shell .woocommerce-cart-form button[name=update_cart]{width:100%;margin-top:8px;}
 .qr-commerce-shell .woocommerce form.woocommerce-checkout> #order_review{order:1;}
 .qr-commerce-shell .woocommerce form.woocommerce-checkout> #payment{order:2;}
 .qr-commerce-shell .woocommerce form.woocommerce-checkout> #customer_details{order:0;}
 .qr-commerce-shell .woocommerce form.woocommerce-checkout> *{min-width:0;max-width:100%;}
 .qr-commerce-shell .qr-review-name{gap:8px;}
 .qr-commerce-shell .qr-review-thumb{width:42px;height:42px;flex-basis:42px;}
}
@media(max-width:360px){.qr-commerce-shell .qr-commerce-inner{width:calc(100% - 24px)}.qr-commerce-shell :is(.woocommerce-cart-form,.cart_totals,#customer_details,#order_review,#payment){padding:12px}.qr-commerce-shell .woocommerce-cart-form tr.cart_item{grid-template-columns:58px minmax(0,1fr) 44px;gap:8px}.qr-commerce-shell .qr-commerce-heading{flex-wrap:wrap}}
/* Toast replaces full-width add success notice; errors remain visible. */
.qr-toast{position:fixed!important;top:112px;right:24px;bottom:auto!important;left:auto;z-index:10000;display:grid;grid-template-columns:26px minmax(0,1fr) 30px;align-items:center;gap:8px 10px;max-width:calc(100vw - 32px);width:340px;padding:14px;background:#fff;color:#202124;border:1px solid #e0e1e3;border-radius:14px;box-shadow:0 8px 30px #18181b18;font-size:14px;line-height:1.4;}
.qr-toast[hidden]{display:none!important;}
.qr-toast-mark{display:grid;place-items:center;border-radius:50%;width:24px;height:24px;background:#e8f5ec;color:#24834b;font-size:16px;font-weight:700;}
.qr-toast-error .qr-toast-mark{background:#fceeee;color:#a62e2e;}
.qr-toast-message{font-weight:600;overflow-wrap:anywhere;}
.qr-toast button{display:grid;place-items:center;width:30px;height:30px;border:0;background:#f5f5f7;border-radius:50%;color:#555;line-height:1;font-size:20px;padding:0;cursor:pointer;}
.qr-toast a{grid-column:2/4;font-size:13px;color:#414249;text-decoration:underline;text-underline-offset:3px;}
.admin-bar .qr-toast{top:144px;}
@media(max-width:767px){.qr-toast{top:76px;left:16px;right:16px;width:auto;max-width:none;}.admin-bar .qr-toast{top:122px;}}

@media(min-width:850px) and (max-width:1150px){.qr-commerce-shell .woocommerce:has(>.woocommerce-cart-form):has(>.cart-collaterals){display:block}.qr-commerce-shell .woocommerce-cart-form{margin-bottom:20px}.qr-commerce-shell .cart-collaterals{position:static}}
@media(max-width:849px){.qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-subtotal{font-size:14px;text-align:left!important}.qr-commerce-shell .woocommerce-cart-form tr.cart_item .product-subtotal:before{display:inline!important;content:"Subtotal: ";color:#676970;font-weight:400;float:none;}.qr-commerce-shell .woocommerce-cart-form .qr-cart-step{min-height:42px}.qr-commerce-shell .woocommerce-cart-form .product-price{overflow-wrap:anywhere}.qr-commerce-shell .woocommerce-cart-form .product-price .woocommerce-Price-amount{white-space:normal}}

.qr-toast:not(:has(.qr-toast-message)){display:block;}
.qr-toast[hidden]{display:none!important;}
