.as-checkout-line-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.as-checkout-quantity{display:inline-flex;border:1px solid var(--line,#d4dfd5);border-radius:9px;overflow:hidden;align-items:stretch}.as-checkout-quantity button{border:0;border-radius:0;background:var(--pale,#edf4ec);color:var(--green,#176640);min-width:32px;padding:5px 8px;min-height:36px}.as-checkout-quantity input{width:48px!important;min-width:0;text-align:center;border:0!important;border-radius:0!important;padding:4px!important;background:var(--surface,#fff)!important;color:var(--ink,#18392c);appearance:textfield;-moz-appearance:textfield}.as-checkout-quantity input::-webkit-inner-spin-button,.as-checkout-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.as-checkout-remove{border:0;background:transparent;color:var(--muted,#64766b);padding:5px;font-size:12px;text-decoration:underline}.as-checkout-item-photo{display:block;margin-bottom:8px}.as-checkout-item-photo img{width:48px;height:48px;object-fit:contain;border-radius:6px}.as-checkout-actions{margin-top:14px}.as-checkout-actions .button{width:100%;background:transparent!important;color:var(--green,#176640)!important;border:1px solid var(--green,#176640)!important}.as-checkout-actions p{font-size:12px;color:var(--muted,#64766b);margin:10px 0}.as-checkout-message{color:var(--green,#176640)!important}.as-checkout-remember small{display:block;color:var(--muted,#64766b);font-size:12px}.as-website-order{margin-top:9px!important}.products .as-website-order{display:flex!important;width:100%;justify-content:center}.single-product form.cart .as-website-order{margin-left:8px}.as-checkout-confirmation{margin:20px 0}@media(max-width:600px){.as-checkout-line-controls{gap:5px}.as-checkout-quantity button{min-width:28px;padding-inline:6px}.as-checkout-quantity input{width:40px!important}.single-product form.cart .as-website-order{margin-left:0;width:100%}}
/* Checkout-only reference layout; the rest of the Alshaafi theme is retained. */
.woocommerce form.as-reference-checkout{width:100%;max-width:1160px;margin-inline:auto}.as-checkout-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:42px;align-items:start}.as-checkout-selection,.as-checkout-sidebar{min-width:0}.as-checkout-sidebar{padding:28px;border:1px solid #d8e4df;border-radius:10px;background:var(--tint,#f7fbf8)}.as-checkout-kicker{display:block;color:var(--green,#176640);font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}.as-checkout-sidebar #order_review_heading{font:500 27px/1.35 Satoshi,system-ui,sans-serif;letter-spacing:-.025em;margin:18px 0 30px}.woocommerce .as-reference-checkout #order_review,.woocommerce .as-reference-checkout #customer_details{float:none!important;width:100%!important;clear:none!important}.as-checkout-summary .as-summary-row{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid var(--line,#dce7df);font-size:13px}.as-summary-row>strong{text-align:right}.as-summary-row.order-total{padding-bottom:16px}.as-checkout-sidebar .as-summary-shipping{width:100%;border:0!important;font-size:12px;margin:0!important}.as-checkout-sidebar .as-summary-shipping th,.as-checkout-sidebar .as-summary-shipping td{border:0!important;padding:12px 0!important;background:transparent!important}.as-summary-shipping td{text-align:right}.as-summary-shipping .woocommerce-shipping-destination{display:none}.as-checkout-summary-note{font-size:12px;color:var(--muted,#60796f);padding:20px 0;margin:0;border-bottom:1px solid var(--line,#dce7df)}.as-checkout-delivery{padding-top:25px}.as-checkout-delivery>h3{font:500 19px/1.4 Satoshi,system-ui,sans-serif;margin:0 0 14px}.as-checkout-intro{font-size:12px;color:var(--muted,#60796f);margin-bottom:26px}.as-checkout-sidebar .woocommerce-billing-fields__field-wrapper{display:flow-root}.woocommerce .as-reference-checkout .form-row{padding:0;margin:0 0 21px}.woocommerce .as-reference-checkout .form-row label{font-size:12px;font-weight:500;line-height:1.6;margin:0 0 8px}.woocommerce .as-reference-checkout .form-row input.input-text,.woocommerce .as-reference-checkout .form-row textarea{width:100%;min-height:46px;padding:12px 14px;border:1px solid #d5e0d9;border-radius:6px;background:var(--surface,#fff);font-size:14px;color:var(--ink,#173b2d);box-shadow:none}.woocommerce .as-reference-checkout .form-row textarea{min-height:96px;resize:vertical}.woocommerce .as-reference-checkout .form-row-first,.woocommerce .as-reference-checkout .form-row-last{width:calc(50% - 9px)!important}.woocommerce .as-reference-checkout .form-row-first{float:left!important}.woocommerce .as-reference-checkout .form-row-last{float:right!important}.as-reference-checkout .as-checkout-hidden{display:none!important}.as-reference-checkout input[readonly]{background:var(--pale,#f2f7f2)!important;color:var(--muted,#60796f)!important}.as-reference-checkout .description{font-size:11px;color:var(--muted,#60796f);margin-top:5px}.as-reference-checkout .required{color:inherit}.as-delivery-notice{clear:both;font-size:13px;line-height:1.7;margin:0 0 20px}.as-forget-delivery,.as-clear-selection{border:0;background:none;padding:6px;color:var(--muted,#60796f);font-size:12px;text-decoration:underline}.as-clear-selection{margin-top:24px}.as-checkout-selection-note{padding:16px 18px;margin:0 0 24px;border:1px solid #d4e4dc;border-radius:9px;background:var(--pale,#edf6f1);font-size:13px}.as-selected-product{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:20px;padding:25px 0;border-block:1px solid var(--line,#dce7df);margin-bottom:-1px}.as-selected-image{border:1px solid #d8e0da;border-radius:7px;align-self:start;display:flex;align-items:center;justify-content:center;padding:6px;height:104px}.as-selected-image img{max-width:100%;height:90px;object-fit:contain}.as-selected-copy>h3{font:500 18px/1.45 Satoshi,system-ui,sans-serif;margin:10px 0}.as-selected-copy>h3 a{color:var(--ink,#173b2d)}.as-selected-unit{font-size:13px;color:var(--muted,#60796f);margin:0 0 13px}.as-selected-line{font-size:13px;font-weight:500;align-self:start;padding-top:32px;white-space:nowrap}.as-selected-product .as-checkout-line-controls{margin:8px 0 0;gap:12px}.as-selected-product .as-checkout-quantity input{font-size:12px}.as-selected-product .as-checkout-quantity button{background:var(--surface,#fff);font-size:14px}.as-selected-product .as-checkout-remove{font-size:11px;text-decoration:none}.as-selected-product .variation{font-size:12px}.as-checkout-continue{display:inline-block;font-size:13px;margin-top:30px}.as-checkout-sidebar #as-reward-checkout{margin:20px 0;padding:20px;border:1px dashed #dea05e;border-radius:13px;background:#fff7e9;color:#314b3f}.as-checkout-sidebar .as-reward-eyebrow{display:inline-block;background:#c3692d;color:white;padding:5px 8px;border-radius:4px;font-size:9px;letter-spacing:.05em;margin:0 0 14px}.as-checkout-sidebar #as-reward-title{font:700 17px/1.5 Satoshi,system-ui,sans-serif;letter-spacing:0;margin:0 0 10px;color:#314b3f}.as-checkout-sidebar .as-reward-banner{padding:0;margin:0 0 20px;background:none;font-size:12px;font-weight:400;color:#736953}.as-checkout-sidebar .as-reward-progress{margin:18px 0 23px}.as-checkout-sidebar .as-reward-progress progress{accent-color:#b9774e;height:5px}.as-reward-products-label{border-top:1px solid #e4c49e;padding-top:18px;font-size:12px;font-weight:700;margin:0 0 12px}.as-checkout-sidebar .as-reward-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.as-checkout-sidebar .as-reward-products article{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto 1fr;align-items:start;text-align:left;gap:6px 10px;padding:12px;border:1px solid #e9d4b9;border-radius:10px;background:white;min-width:0}.as-checkout-sidebar .as-reward-products article>img{grid-row:1/4;width:52px;height:82px;object-fit:contain;border-radius:6px;background:#f6f8f5}.as-checkout-sidebar .as-reward-products article>strong{font-size:12px;line-height:1.45;word-break:normal}.as-checkout-sidebar .as-reward-products article>span{font-size:11px;line-height:1.5;color:#617368}.as-checkout-sidebar .as-reward-products .button{font-size:10px;min-height:34px;padding:8px 7px;border-radius:5px;line-height:1.4;margin:0;width:100%;align-self:end}.as-checkout-sidebar .as-reward-products+p{margin:18px 0 0;font-size:12px}.as-checkout-sidebar .as-reward-status{font-size:12px;line-height:1.65}.as-checkout-sidebar .as-reward-option{font-size:12px;border-color:#e4cdae;padding:12px}.as-checkout-sidebar .as-reward-option small{font-size:11px}.as-checkout-sidebar .as-reward-gift-card>img{width:48px;height:58px}.as-checkout-sidebar .as-reward-help{font-size:10px}.as-checkout-sidebar #payment{background:transparent!important;border:0!important;margin:20px 0 0!important;border-radius:0!important}.as-checkout-sidebar #payment ul.payment_methods{padding:12px 0!important;border-bottom:1px solid var(--line,#dce7df)!important;font-size:12px}.as-checkout-sidebar #payment .payment_box{padding:6px 0!important;margin:0!important;background:transparent!important;font-size:11px}.as-checkout-sidebar #payment .payment_box:before{display:none}.as-checkout-sidebar #payment .place-order{padding:16px 0 0!important;margin:0!important}.as-checkout-sidebar .woocommerce-privacy-policy-text{font-size:10px;color:var(--muted,#60796f)}.as-checkout-sidebar #place_order{float:none!important;width:100%;min-height:52px;border-radius:6px;font-size:12px}.as-checkout-sidebar .woocommerce-terms-and-conditions-wrapper{font-size:11px}.as-checkout-sidebar .as-checkout-actions>.button{min-height:52px;background:#edf8f0!important;border-color:#bad9c7!important;font-size:12px;border-radius:6px}.as-checkout-sidebar .as-checkout-actions p{font-size:10px;line-height:1.7}.as-checkout-sidebar .as-reward-error:empty,.as-checkout-sidebar .as-checkout-message:empty{display:none}.as-checkout-sidebar .as-reward-recheck{font-size:11px}.as-checkout-sidebar .as-rewards.as-reward-upsell .as-reward-status,.as-checkout-sidebar .as-rewards.as-reward-upsell fieldset,.as-checkout-sidebar .as-rewards.as-reward-upsell .as-reward-recheck{display:none}
@media(max-width:900px){.as-checkout-layout{grid-template-columns:1fr;gap:28px}.as-checkout-sidebar{padding:23px}.as-selected-product{grid-template-columns:72px minmax(0,1fr) auto;gap:13px}.as-selected-image{height:90px}.as-selected-image img{height:76px}}
@media(max-width:500px){.as-checkout-sidebar{padding:18px}.as-checkout-sidebar #as-reward-checkout{padding:16px}.as-selected-product{grid-template-columns:60px minmax(0,1fr);gap:12px}.as-selected-line{grid-column:2;padding:0}.as-selected-copy>h3{font-size:16px}.as-selected-image{height:80px}.as-selected-image img{height:66px}.as-checkout-sidebar .as-reward-products{grid-template-columns:1fr}.as-checkout-sidebar .as-reward-products article{grid-template-columns:56px minmax(0,1fr);gap:5px 12px}.as-checkout-sidebar .as-reward-products .button{width:auto;justify-self:start;min-width:120px}.as-checkout-sidebar #order_review_heading{font-size:25px}}
.as-checkout-sidebar{background:#f7fbf9}.as-checkout-sidebar .as-summary-shipping{display:table!important;table-layout:fixed}.as-checkout-sidebar .as-summary-shipping th{width:35%}.as-checkout-sidebar .as-summary-shipping td{width:65%;text-align:right}.as-checkout-sidebar .as-summary-shipping ul{margin:0!important}.as-reference-checkout .form-row label>.required{display:none}.as-checkout-sidebar .as-reward-progress progress{-webkit-appearance:none;appearance:none;border:0;border-radius:4px;background:#eeece5}.as-checkout-sidebar .as-reward-progress progress::-webkit-progress-bar{background:#eeece5;border-radius:4px}.as-checkout-sidebar .as-reward-progress progress::-webkit-progress-value{background:#b9774e;border-radius:4px}.as-checkout-sidebar .as-reward-progress progress::-moz-progress-bar{background:#b9774e;border-radius:4px}
.as-checkout-sidebar #as-reward-checkout{color-scheme:light;--surface:#fff;--ink:#314b3f;--muted:#617368;--green:#047857;--line:#e4cdae}:root.dark .as-checkout-sidebar{background:var(--tint)}
