.checkout-page{display:none;max-width:1200px;margin:auto;padding:95px 24px 40px}.checkout-mode .checkout-page{display:block}.checkout-mode .home-page,.checkout-mode .shop-page{display:none!important}
.checkout-steps{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:32px;color:#888;font-size:16px}.checkout-steps button{padding:0;font-size:inherit;color:var(--jebal-navy)}.checkout-steps h1{font:600 22px var(--sans);color:var(--jebal-navy);margin:0;border-bottom:2px solid var(--jebal-navy)}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:40px;align-items:start}.checkout-layout[hidden],#checkoutEmpty[hidden]{display:none}.checkout-fields section{margin-bottom:30px}.checkout-page h2{font:600 19px var(--sans);color:var(--jebal-navy);margin:0 0 20px}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkout-grid .wide{grid-column:1/-1}.checkout-page label{display:flex;flex-direction:column;gap:7px;color:#666;font-size:11px}.checkout-page input:not([type=radio]),.checkout-page select,.checkout-page textarea{width:100%;min-width:0;border:1px solid #dddcd8;border-radius:6px;background:#fff;padding:12px;color:#282827;font:12px var(--sans);min-height:44px}.checkout-page textarea{resize:vertical}.checkout-phone{display:flex;direction:ltr;gap:7px}.checkout-phone select{width:100px;flex-shrink:0}.checkout-phone input{direction:ltr}.checkout-order{border:1px solid #deddd8;padding:22px;border-radius:12px;background:#fffdfa}.checkout-order-head,.checkout-delivery{display:flex;justify-content:space-between;gap:12px;font-size:11px;border-bottom:1px solid #e9e8e4;padding:12px 0}.checkout-order-head{padding-top:0;font-weight:600}.checkout-item{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;padding:14px 0;border-bottom:1px solid #e9e8e4;font-size:11px}.checkout-item img{width:42px;height:50px;object-fit:contain}.checkout-item small{display:block;font-size:10px;color:#777;margin-top:5px}.checkout-item b{font-size:11px;white-space:nowrap}.checkout-coupon{display:flex;gap:8px;margin-top:17px}.checkout-coupon button{border:1px solid #ddd;border-radius:6px;font-size:11px;padding:0 14px}.checkout-payment{margin:22px 0 18px;padding:0;border:0}.checkout-payment legend{font-size:11px;color:#777;margin-bottom:10px}.checkout-payment label{flex-direction:row;align-items:center;padding:11px;border:1px solid #e7e5df;border-radius:6px;margin-bottom:6px;cursor:pointer}.checkout-payment label:has(:checked){border-color:var(--jebal-navy);color:var(--jebal-navy)}.checkout-payment input{accent-color:var(--jebal-navy);margin:0 0 0 6px}.checkout-submit{display:block;width:100%;min-height:44px;background:var(--jebal-navy);color:white;border-radius:7px;font-size:13px;padding:11px}.checkout-submit:disabled,#checkoutStart:disabled{opacity:.5;cursor:not-allowed}.checkout-note{font-size:11px;line-height:1.8;color:#777;margin:9px 0}.checkout-note:empty{display:none}.order-totals{margin:15px 0}.order-totals>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:12px}.order-totals b{white-space:nowrap}.order-totals small{font-size:9px;font-weight:400;color:#888;display:block;margin-top:2px}.order-totals .order-saving{color:#737373}.order-totals .order-final{border-top:1px solid #ddd;margin-top:7px;padding-top:13px;font-size:15px;font-weight:700;color:#000}#checkoutReview{width:min(440px,calc(100% - 30px));max-height:80dvh;overflow:auto;margin:auto;border-radius:14px;font-size:12px;line-height:1.8}#checkoutReview [data-close]{border:0;background:none;outline:none;box-shadow:none}.checkout-edit{display:block;margin:14px auto 0;color:var(--jebal-navy);font-size:12px}
@media(max-width:700px){.checkout-page{padding:82px 16px 25px}.checkout-steps{gap:9px;font-size:11px;margin-bottom:25px}.checkout-steps h1{font-size:14px}.checkout-layout{grid-template-columns:1fr;gap:0}.checkout-page h2{font-size:17px}.checkout-grid{gap:13px 10px}.checkout-order{padding:17px}.checkout-fields section{margin-bottom:25px}}
.order-totals .order-saving,.order-totals .order-saving small{color:#16803b}
/* Connected numbered checkout progress. */
.checkout-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:650px;margin:0 auto 34px;isolation:isolate}
.checkout-steps:before{content:'';position:absolute;top:17px;left:16.666%;right:16.666%;height:2px;background:linear-gradient(to left,var(--jebal-navy) 50%,#d9d9dd 50%);z-index:-1}
.checkout-steps .checkout-step{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;padding:0;margin:0;border:0;color:#929298;font:500 12px/1.6 var(--sans);text-align:center;background:none}
.checkout-steps .step-number{display:grid;place-items:center;box-sizing:border-box;width:36px;height:36px;border:2px solid #d9d9dd;border-radius:50%;background:#fdfcf9;color:#85858e;font:600 15px/1 Arial,sans-serif}
.checkout-steps .completed,.checkout-steps .current{color:var(--jebal-navy)}
.checkout-steps .completed .step-number{border-color:var(--jebal-navy);color:var(--jebal-navy)}
.checkout-steps .current{font-weight:700}.checkout-steps .current .step-number{background:var(--jebal-navy);border-color:var(--jebal-navy);color:#fff}
#checkoutArea{cursor:pointer;direction:rtl;padding-inline-end:30px;font-family:var(--sans)}
@media(max-width:700px){.checkout-steps{margin-bottom:28px}.checkout-steps .checkout-step{font-size:10px;gap:7px}}
/* Approved card layout, retaining the site's existing page background. */
.checkout-page{background:var(--cream);font-family:'Cairo',Tahoma,sans-serif;padding-top:86px;max-width:1080px}
.checkout-main-title{font:700 22px/1.5 'Cairo',Tahoma,sans-serif;color:var(--jebal-navy);margin:0 0 16px}
.checkout-steps{max-width:none;margin:0 0 22px}.checkout-steps .checkout-step{font-family:'Cairo',Tahoma,sans-serif;font-size:10px}.checkout-steps .step-number{width:28px;height:28px;font-size:12px;border-width:1px;background:var(--cream)}.checkout-steps:before{top:13px;height:1px}
.checkout-layout{gap:20px}.checkout-fields section,.checkout-order{background:#fff;border:1px solid #e9eaf0;border-radius:16px;padding:18px;margin-bottom:14px;box-shadow:0 3px 12px #0b0d4704}
.checkout-page h2{font:700 15px/1.5 'Cairo',Tahoma,sans-serif;margin:0 0 13px;color:var(--jebal-navy)}.checkout-page h2:before{content:'';display:inline-block;width:4px;height:13px;background:var(--jebal-navy);border-radius:4px;margin-left:7px;vertical-align:middle}
.checkout-grid{gap:11px}.checkout-page label{font-family:'Cairo',Tahoma,sans-serif;font-size:10px;line-height:1.5;color:#6d7080;gap:5px}
.checkout-page input:not([type=radio]),.checkout-page select,.checkout-page textarea{border:1px solid transparent;background:#f4f5f9;border-radius:8px;padding:9px 10px;min-height:39px;font:11px/1.5 'Cairo',Tahoma,sans-serif;color:#282827}
.checkout-page input:focus,.checkout-page input:focus-visible,.checkout-page select:focus,.checkout-page select:focus-visible,.checkout-page textarea:focus,.checkout-page textarea:focus-visible{outline:none;box-shadow:none;border-color:transparent}
.checkout-phone{gap:3px}.checkout-phone select{width:66px;padding:7px 3px;font-size:10px}.checkout-phone input{width:0;flex:1;padding-inline:7px}
.checkout-extra{margin-top:12px}.checkout-extra summary{cursor:pointer;font:10px/1.6 'Cairo',Tahoma,sans-serif;color:#868894}.checkout-extra[open] summary{margin-bottom:12px}.checkout-extra label+label{margin-top:10px}
.checkout-payment{display:grid;grid-template-columns:1fr 1fr;gap:7px}.checkout-payment legend{margin-bottom:10px}.checkout-payment label{font-size:10px;justify-content:center;margin:0;border-radius:7px;padding:10px 5px}.checkout-payment label:has(:checked){background:#f6f6fc}.checkout-submit{border-radius:12px;font:700 12px/1.5 'Cairo',Tahoma,sans-serif;min-height:44px}
.checkout-coupon button{font-family:'Cairo',Tahoma,sans-serif;border-radius:8px}.checkout-order-head,.checkout-item,.checkout-delivery,.order-totals{font-family:'Cairo',Tahoma,sans-serif}
@media(max-width:700px){.checkout-page{padding:80px 16px 22px}.checkout-main-title{font-size:20px;margin-bottom:13px}.checkout-fields section,.checkout-order{padding:14px;border-radius:16px;margin-bottom:12px}.checkout-page h2{font-size:14px}.checkout-grid{gap:10px}.checkout-layout{gap:0}}
