/* Native WooCommerce controls in the original approved cart/checkout grid. */
.haidera-native-commerce .cart-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:42px;align-items:start}
.haidera-native-commerce .cart-line{display:block;border:1px solid #dedede;border-radius:12px;padding:24px;margin-bottom:18px}
.haidera-native-commerce .cart-product-image{width:120px;height:80px;object-fit:contain;float:right;margin:0 0 12px 15px;border-radius:6px}
.haidera-native-commerce .cart-line h2{font-size:18px;line-height:1.35;margin-bottom:8px}
.haidera-native-commerce .cart-line>p{font-size:12px;color:#53647b}
.haidera-native-commerce .cart-line>label{clear:both}
.haidera-native-commerce .cart-line-bottom{display:flex;align-items:end;gap:22px;margin-top:18px}
.haidera-native-commerce .cart-line-bottom label{width:90px}
.haidera-native-commerce .cart-line-bottom strong{margin-left:auto;padding-block:10px}
.haidera-native-commerce .cart-line-bottom .text-button{font-size:13px;margin-bottom:11px}
.haidera-native-commerce .cart-line input,.haidera-native-commerce .checkout-form .input-text,.haidera-native-commerce .checkout-form select{display:block;width:100%;padding:11px;margin-top:8px;border:1px solid #b8c7d8;border-radius:5px;font:inherit;font-size:16px;box-sizing:border-box}
.haidera-native-commerce .order-summary{background:#f6f5f3;border:1px solid #dedede;border-radius:14px;padding:28px;position:sticky;top:24px}
.haidera-native-commerce .order-summary h2,.haidera-native-commerce .checkout-form h2{font-size:21px}
.haidera-native-commerce .order-summary dl>div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;font-size:14px}
.haidera-native-commerce .order-summary dd{margin:0;font-weight:600}
.haidera-native-commerce .order-summary .summary-total{font-size:19px;border-top:1px solid #bdcadb;margin-top:12px;padding-top:20px;font-weight:700}
.haidera-native-commerce .order-summary .button{width:100%;margin:20px 0}
.haidera-native-commerce .order-summary>.text-link{display:block;text-align:center;font-size:13px}
.haidera-native-commerce .checkout-form{border:1px solid #dedede;border-radius:14px;padding:28px;min-width:0}
.haidera-native-commerce .checkout-form h2{margin:0 0 22px}
.haidera-native-commerce .checkout-form h2:not(:first-child){margin-top:32px;border-top:1px solid #dce4ef;padding-top:28px;scroll-margin-top:100px}
.haidera-native-commerce .checkout-form>.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.haidera-native-commerce .checkout-form .form-row{float:none;width:auto;margin:0;min-width:0}
.haidera-native-commerce .checkout-form .form-row-wide{grid-column:1/-1}
.haidera-native-commerce .checkout-form label{font-size:13px;font-weight:600}
.haidera-native-commerce .checkout-form label:not(.account-checkbox):not(.checkout-consent):not(.delivery-choice){display:block}
.haidera-native-commerce .checkout-consent{display:flex;align-items:start;gap:12px;font-size:13px;line-height:1.65;margin-block:22px}
.haidera-native-commerce .delivery-choice{display:flex;align-items:center;gap:10px;background:#f6f5f3;border:1px solid #dedede;border-radius:8px;padding:16px;font-size:14px}
.haidera-native-commerce .delivery-choice strong{margin-left:auto}
.haidera-native-commerce .checkout-form>button{width:100%;min-height:50px}
.haidera-native-commerce .checkout-form>button:disabled{opacity:.65;cursor:not-allowed}
.haidera-native-commerce .checkout-account-option{margin-block:24px}
.haidera-native-commerce .haidera-preview-next{margin-top:16px}
.haidera-native-commerce .haidera-checkout-preview{padding:14px 18px;background:#f5f7fa;border:1px solid #dce4ef;border-radius:8px;margin-bottom:24px}
.haidera-native-commerce #payment{background:transparent;border:0}
.haidera-native-commerce .order-summary table{width:100%;border-collapse:collapse;font-size:14px}
.haidera-native-commerce .order-summary table td,.haidera-native-commerce .order-summary table th{padding:12px 0;text-align:left;border-bottom:1px solid #dedede}
@media(max-width:800px){.haidera-native-commerce .cart-layout{grid-template-columns:1fr;gap:26px}.haidera-native-commerce .order-summary{position:static}.haidera-native-commerce .checkout-form{padding:20px}.haidera-native-commerce .cart-line{padding:18px}.haidera-native-commerce .cart-line-bottom{gap:14px;flex-wrap:wrap}.haidera-native-commerce .cart-line-bottom label{width:70px}}
@media(max-width:520px){.haidera-native-commerce .checkout-form>.form-grid{grid-template-columns:1fr}.haidera-native-commerce .cart-product-image{width:88px;height:64px}.haidera-native-commerce .order-summary{padding:22px}}

/* Preserve the original checkout's full-name, telephone and address design in the explicit owner preview. */
.haidera-native-commerce .checkout-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){display:block;width:100%;padding:11px;margin-top:8px;border:1px solid #b8c7d8;border-radius:5px;font:inherit;box-sizing:border-box}
.haidera-native-commerce .checkout-form .field-wide{grid-column:1/-1}
.haidera-native-commerce .phone-field{min-width:0}.haidera-native-commerce .phone-field-title{display:block;font-size:13px;font-weight:600}.haidera-native-commerce .phone-field-title>span{color:#bb002b}
.haidera-native-commerce .international-phone{display:flex;gap:8px;margin-top:7px;min-width:0}.haidera-native-commerce .international-phone .phone-country-picker{flex:0 0 108px;min-width:0}.haidera-native-commerce .international-phone .phone-number-label{flex:1;min-width:0}
.haidera-native-commerce .international-phone select{margin:0!important;width:100%;height:44px;padding:8px!important;font-size:12px!important}.haidera-native-commerce .phone-number-input{display:flex;border:1px solid #b9bdc2;border-radius:6px;height:44px;background:#fff;padding-left:10px}
.haidera-native-commerce .checkout-form .phone-number-input input{margin:0!important;border:0!important;padding:10px 6px!important;min-width:0;height:100%;background:transparent;font-size:13px!important}.haidera-native-commerce .phone-number-input:focus-within{outline:2px solid #bf002b;outline-offset:2px}.haidera-native-commerce .phone-hint{display:block;min-height:16px;margin-top:5px}
.haidera-native-commerce .haidera-checkout-lines{border-bottom:1px solid #d2deec;padding-bottom:20px}.haidera-native-commerce .haidera-checkout-lines p{font-size:14px;margin-bottom:5px}.haidera-native-commerce .delivery-choice{flex-wrap:wrap}.haidera-native-commerce .order-summary dd{overflow-wrap:anywhere}

.haidera-native-commerce .phone-country-picker{position:relative;height:44px;border:1px solid #b9bdc2;border-radius:6px;background:#fff}.haidera-native-commerce .phone-country-picker select{position:absolute!important;opacity:0!important;inset:0!important;height:100%!important;cursor:pointer}.haidera-native-commerce .phone-country-picker .phone-country-display{display:flex!important;align-items:center;gap:9px;height:100%;padding:0 12px;font-size:13px;pointer-events:none}.haidera-native-commerce .phone-country-display:before{content:'';width:22px;height:16px;background:url('../original/assets/brand/flags/ca.svg') center/contain no-repeat}.haidera-native-commerce .phone-country-picker:has(option[value="US"]:checked) .phone-country-display:before{background-image:url('../original/assets/brand/flags/us.svg')}.haidera-native-commerce .phone-country-picker:focus-within{outline:2px solid #bf002b;outline-offset:2px}

.haidera-native-commerce .haidera-cart-quantity{width:90px;font-size:13px;font-weight:600}.haidera-native-commerce .haidera-cart-quantity .quantity{display:block}@media(max-width:800px){.haidera-native-commerce .haidera-cart-quantity{width:70px}}
