@font-face{font-family:CheckoutVazir;src:url('/assets/fonts/Vazirmatn/webfonts/Vazirmatn-FD-Regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:CheckoutVazir;src:url('/assets/fonts/Vazirmatn/webfonts/Vazirmatn-FD-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
.checkout-page{--wine:#940c25;--ink:#10151e;--muted:#777e8d;--line:#dfe0e5;--soft:#fcf3f4;--green:#07861b}.checkout-page,.checkout-page *{box-sizing:border-box}.checkout-page{margin:0;background:#fdfdfd;color:var(--ink);font-family:CheckoutVazir,sans-serif;font-size:15px;text-align:right;line-height:1.65}.checkout-page a{color:inherit;text-decoration:none}.checkout-page button,.checkout-page input,.checkout-page textarea,.checkout-page select{font:inherit}.checkout-page button,.checkout-page a,input[type=radio],input[type=checkbox]{-webkit-tap-highlight-color:transparent}.checkout-page button,.checkout-page a,.checkout-page input,.checkout-page textarea,.checkout-page select{touch-action:manipulation}.checkout-page button{cursor:pointer}.checkout-page button:disabled{cursor:default;opacity:.5}.checkout-page input:focus,.checkout-page textarea:focus,.checkout-page select:focus{outline:2px solid #940c2540;border-color:var(--wine)}.checkout-page a:focus-visible,.checkout-page button:focus-visible{outline:3px solid #940c2560;outline-offset:3px}.checkout-header{height:80px;background:white;display:flex;align-items:center;justify-content:center;position:relative}.checkout-brand{display:flex;align-items:center;flex-direction:column;color:var(--wine)!important;line-height:1.15}.checkout-brand strong{font-size:30px;font-weight:700;letter-spacing:-1.4px}.checkout-brand span{font-size:15px;letter-spacing:.4px;margin-top:3px}.header-bag{position:absolute;left:max(24px,calc((100% - 1120px)/2));width:34px;height:38px}.checkout-page svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.header-bag span{position:absolute;right:-7px;bottom:-2px;border-radius:50%;background:#ec002e;color:white;min-width:21px;height:21px;text-align:center;font-size:13px}.checkout-shell{max-width:1120px;margin:auto;padding:24px 24px 30px}.checkout-shell h1{font-size:29px;font-weight:700;margin:0 0 18px}.checkout-card{background:#fff;border:1px solid #eaecef;box-shadow:0 3px 16px rgba(16,21,30,.045);border-radius:16px;padding:23px;margin-bottom:14px}.checkout-card h2{font-size:20px;font-weight:700;margin:0 0 12px}.checkout-card h3{font-size:16px;font-weight:700}.product-card{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.product-details{align-self:stretch;display:flex;flex-direction:column;align-items:flex-start}.product-details h2{margin-bottom:3px}.product-model{color:#596071;font-size:15px;text-align:right;width:100%;margin:0 0 10px}.product-specs{color:#646b78;font-size:14px;display:flex;flex-wrap:wrap;gap:4px 12px}.product-price{color:var(--wine);font-size:25px;margin-top:auto;padding-top:18px}.product-visual>a{display:flex;height:155px;align-items:center;justify-content:center}.product-visual img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-actions{display:flex;direction:rtl;justify-content:center;gap:14px;align-items:center;margin-top:9px}.qty-form{display:flex;border:1px solid var(--line);border-radius:8px;height:40px;align-items:center;direction:rtl;overflow:hidden}.qty-form button{border:0;background:#fff;font-size:24px;color:var(--ink);width:43px;line-height:32px}.qty-form output{border-inline:1px solid var(--line);min-width:44px;text-align:center;padding:0 8px;font-size:19px}.remove-product{border:1px solid var(--line);border-radius:8px;padding:7px 14px;height:40px;color:#515866!important}.remove-product svg{height:24px;width:24px}.support-card{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#4c5260;padding-block:13px}.support-card>div{display:flex;gap:10px}.contact-link,.whatsapp-link{display:flex;align-items:center;gap:7px;padding:7px 17px;border-radius:18px;font-weight:700;font-size:17px}.contact-link{background:#fdf1f3;color:var(--wine)!important}.whatsapp-link{background:#e9faed;color:#008318!important}.checkout-content{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px;align-items:start}.summary-card{position:sticky;top:16px}.buyer-names{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-fields label{display:block;margin-bottom:5px}.checkout-page input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.checkout-page textarea,.checkout-page select{border:1px solid var(--line);border-radius:8px;background:white;min-width:0;width:100%;padding:11px 13px;height:49px;color:var(--ink);box-shadow:0 1px 2px #10151e03}.checkout-page input::placeholder,.checkout-page textarea::placeholder{color:#8a8e9c}.checkout-page input[readonly]{background:#fafafa!important;color:#676b77!important}.checkout-page textarea{height:auto;resize:vertical}.otp-row,.discount-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:14px;margin-bottom:10px}.otp-row button,.discount-row button{border:0;border-radius:8px;background:var(--wine);color:white;font-weight:700}.otp-row button:disabled,.discount-row button:disabled{background:#b4b5b9}.otp-verify{margin-bottom:0}.otp-verify button{border:1px solid var(--wine);background:var(--soft);color:var(--wine)}.shipping-option,.payment-option,.address-option{display:flex!important;align-items:center;gap:12px;cursor:pointer}.shipping-option{padding:10px 14px;border-bottom:1px solid #f0eff2;margin:0!important;border-radius:8px}.shipping-option:last-of-type{border-bottom:0}.shipping-option:has(input:checked){background:var(--soft)}.shipping-option input,.payment-option input{order:2;margin-right:auto;flex-shrink:0}.shipping-option span,.payment-option span{display:flex;flex-direction:column}.shipping-option small,.payment-option small,.address-option small{color:var(--muted);font-size:13px;font-weight:400}.checkout-page input[type=radio],.checkout-page input[type=checkbox]{accent-color:var(--wine);width:23px;height:23px;flex-shrink:0}.checkout-addresses{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.address-option{padding:8px 0}.address-option span{display:flex;flex-direction:column}.outline-button{border:1px solid var(--wine);color:var(--wine);border-radius:7px;background:white;padding:7px 12px}.wallet-option{display:flex!important;align-items:center;gap:8px;margin-top:12px;color:var(--muted);font-size:13px;cursor:pointer}.wallet-option small{font-size:12px}.wallet-option input{position:absolute;opacity:0;width:1px!important;height:1px!important}.wallet-switch{position:relative;width:43px;height:24px;background:#d0d1d5;border-radius:20px;flex-shrink:0}.wallet-switch:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .15s}.wallet-option input:checked+.wallet-switch{background:var(--wine)}.wallet-option input:checked+.wallet-switch:after{transform:translateX(19px)}.wallet-option input:focus-visible+.wallet-switch{outline:3px solid #940c2560}.wallet-option input:disabled+.wallet-switch{opacity:.55}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.payment-option{border:1px solid var(--line);border-radius:8px;padding:9px 12px;margin:0!important}.payment-option:has(input:checked){border-color:var(--wine);background:var(--soft);color:var(--wine)}.order-note{font-weight:700;margin-top:20px!important}.order-note span{font-weight:400;color:#646b78}.summary-line{display:flex;justify-content:space-between;gap:10px;color:#6d7381;font-size:14px;margin-bottom:5px}.summary-line b{font-weight:400}.summary-total{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:12px;align-items:center}.summary-total>strong:last-child{font-size:21px;color:var(--wine)}.purchase-assurance{background:#e8faec;color:#08771a;border-radius:9px;text-align:center;font-size:12px;padding:7px;margin:12px 0}.summary-links{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#596170;margin:14px 0}.summary-links>a+a{border-right:1px solid var(--line);padding-right:12px}.accept-terms{font-size:12px;display:flex;align-items:center;gap:7px;margin:16px 0}.accept-terms input{width:17px!important;height:17px!important}.accept-terms a{color:var(--wine)}.primary-button{background:var(--wine);color:white!important;padding:12px 20px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;font-weight:700}.pay-button{width:100%;font-size:18px;box-shadow:0 2px 6px #940c2515}.pay-button svg{width:24px;height:24px}.final-amount{text-align:center;color:#6b7281;font-size:12px;margin:7px 0 0}.empty-cart{text-align:center;padding:44px 20px}.empty-cart>svg{width:55px;height:55px;color:var(--wine);margin-bottom:18px}.empty-cart p{color:var(--muted)}.checkout-message{border-radius:8px;background:#fff0f2;color:var(--wine);padding:12px;margin-bottom:12px}#authMessage,#discountMessage,#checkoutMessage{font-size:13px;color:var(--wine);margin:8px 0 0}#authMessage:empty,#discountMessage:empty,#checkoutMessage:empty{display:none}[hidden]{display:none!important}.checkout-page .modal-content{border:0;border-radius:14px}.checkout-page .modal-body label{display:block;margin-top:12px}.checkout-page .modal-body button{margin-top:15px}.checkout-page .modal{z-index:10500}.checkout-page .modal-dialog{margin:30px auto;max-width:540px;width:calc(100% - 32px)}
@media(max-width:900px){.checkout-content{display:block}.summary-card{position:static}.checkout-shell{max-width:820px}.summary-links{font-size:13px}.summary-total>strong:last-child{font-size:24px}}
@media(max-width:600px){.checkout-page{font-size:13px}.checkout-header{height:65px}.checkout-brand strong{font-size:26px}.checkout-brand span{font-size:12px}.header-bag{left:22px;width:28px}.checkout-shell{padding:17px 12px 24px}.checkout-shell h1{font-size:23px;margin-bottom:13px}.checkout-card{padding:16px;border-radius:13px;margin-bottom:11px}.checkout-card h2{font-size:16px;margin-bottom:10px}.product-card{gap:10px;padding:15px 12px}.product-details h2{font-size:15px}.product-model{font-size:12px;margin-bottom:7px}.product-specs{font-size:11px;gap:2px 6px}.product-price{font-size:18px;padding-top:12px;white-space:nowrap}.product-visual>a{height:98px}.product-actions{gap:7px;justify-content:flex-start}.qty-form{height:33px}.qty-form button{width:28px;font-size:21px}.qty-form output{min-width:27px;padding:0 5px;font-size:16px}.remove-product{height:33px;padding:5px 7px}.remove-product svg{width:20px;height:20px}.support-card{gap:8px;padding:12px}.support-card>span{font-size:11px}.support-card>div{gap:6px}.contact-link,.whatsapp-link{padding:7px 9px;gap:4px;font-size:12px}.buyer-names{gap:9px}.checkout-page input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.checkout-page select{padding:9px 10px;height:43px}.otp-row,.discount-row{grid-template-columns:minmax(0,1fr) 94px;gap:9px}.shipping-option{padding:9px}.shipping-option small,.payment-option small{font-size:11px}.checkout-page input[type=radio]{width:22px;height:22px}.payment-options{gap:10px}.payment-option{padding:8px}.wallet-option{font-size:11px;gap:7px}.wallet-option small{font-size:10px}.summary-line{font-size:12px}.summary-total{font-size:14px}.summary-total>strong:last-child{font-size:20px}.summary-links{font-size:10px}.pay-button{font-size:17px}.summary-card{padding:17px}.accept-terms{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.product-details h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-model{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-specs span{white-space:normal}

@media(max-width:860px){.checkout-page{padding-bottom:65px}}

/* Keep checkout address dialog above the site's header and outside Mmenu transforms. */
body.checkout-address-open .modal-backdrop{z-index:2147483639!important}
#addressModal{z-index:2147483640!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;max-width:none!important;height:100%!important;margin:0!important;transform:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;direction:rtl;text-align:right}
#addressModal .modal-dialog{position:relative!important;width:calc(100% - 32px)!important;max-width:540px!important;margin:24px auto!important;transform:none!important;pointer-events:none}
#addressModal .modal-content{width:100%!important;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);border:1px solid #eaecef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 60px rgba(16,21,30,.18);overflow:hidden;pointer-events:auto;display:flex;flex-direction:column}
#addressModal .modal-header{flex:0 0 auto;align-items:center;padding:16px 20px;border-bottom:1px solid #edf0f3}
#addressModal .modal-title{font-size:18px;font-weight:700;margin:0}
#addressModal .close{float:none;margin:0;padding:4px 8px;line-height:1;color:#596170;background:transparent;border:0;font-size:28px;opacity:1}
#addressModal .modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px 20px}
#addressModal .modal-body label{margin:14px 0 6px;font-size:14px}
#addressModal textarea{height:auto!important;min-height:92px;resize:vertical}
#addressModal #submitAddress{width:100%;margin-top:20px}
@media(max-width:600px){#addressModal .modal-dialog{width:calc(100% - 24px)!important;margin:12px auto!important}#addressModal .modal-content{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}#addressModal .modal-body{padding:0 16px 16px}#addressModal .modal-header{padding:12px 16px}.checkout-modal-root{padding:0!important}}
