/* Checkout shell and form share one spacing scale in the dialog and full page. */
body.nx-site .kk-dialog:has([data-checkout-frame]:not([hidden])){width:min(1000px,calc(100% - 40px));max-width:1000px;max-height:calc(100dvh - 32px);border:1px solid #dce7ea;border-radius:20px;box-shadow:0 24px 90px #14313c38;background:#f6f9fa}
body.nx-site .kk-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;border-bottom:1px solid #e1e9ec;background:#fff}
body.nx-site .kk-dialog-head .nx-eyebrow{margin:0;font-size:10px;letter-spacing:.13em}
body.nx-site .kk-dialog-head h2{margin:7px 0 0;font-size:28px;line-height:1.15;letter-spacing:-.035em}
body.nx-site .kk-dialog-head [data-commerce-close]{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#eff5f6;color:#58717c;border:0;font-size:24px}
body.nx-site [data-checkout-frame]{height:min(750px,calc(100dvh - 138px));background:#f6f9fa}
body.nx-site .kok-checkout-page{max-width:1000px;margin:28px auto}
body.nx-site .kok-checkout-body{padding:18px 20px 6px;background:#f6f9fa}
body.nx-site.kok-checkout-embedded .kok-checkout-page{margin:0;max-width:none}
body.nx-site .kok-checkout-body .kk-order-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:none;margin:0;border:1px solid #dce7eb;border-radius:10px;padding:10px 6px;background:#fff}
body.nx-site .kok-checkout-body .kk-order-progress>span{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;font-size:13px;color:#365965;line-height:28px}
body.nx-site .kok-checkout-body .kk-order-progress>span+span{border-left:1px solid #e2ebed}
body.nx-site .kok-checkout-body .kk-order-progress b{display:grid;place-items:center;width:25px;height:25px;border:0;border-radius:50%;background:#edf7f7;color:#087c84;font:600 11px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.nx-site .kok-checkout-body .kk-top-note{margin:9px 0 16px;text-align:center;font-size:12px;color:#657b86}
body.nx-site .kok-checkout-body .kk-check-section{padding:20px;margin:0 0 14px;background:#fff;border:1px solid #dce7ea;border-radius:13px;box-shadow:0 2px 6px #1d3f4b03}
body.nx-site .kok-checkout-body .kk-section-title{display:flex;align-items:center;gap:10px;margin:0 0 16px}
body.nx-site .kok-checkout-body .kk-section-title>span{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:7px;background:#eff6f7;color:#087d85;font-size:11px;font-weight:600}
body.nx-site .kok-checkout-body .kk-section-title h3{font:600 18px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.02em;color:#29434e;margin:0}
body.nx-site .kok-checkout-body .kk-order-line{display:grid;grid-template-columns:64px minmax(0,1fr) 114px 110px 28px;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #e7eef0}
body.nx-site .kok-checkout-body .kk-order-line:first-child{padding-top:0}
body.nx-site .kok-checkout-body .kk-line-photo{width:64px;height:64px;object-fit:cover;object-position:50% 20%;border-radius:10px;background:#f0f6f7}
body.nx-site .kok-checkout-body .kk-line-name{min-width:0;grid-column:2;grid-row:1}
body.nx-site .kok-checkout-body .kk-line-name h4{margin:0 0 6px;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:-.015em;overflow-wrap:anywhere}
body.nx-site .kok-checkout-body .kk-line-name small{display:block;font-size:12px;line-height:1.5;color:#617985}
body.nx-site .kok-checkout-body .kk-order-line .kk-stepper{grid-column:3;grid-row:1;display:flex;justify-content:initial;width:114px;height:40px;margin:0;border:1px solid #c8dce1;border-radius:7px;overflow:hidden}
body.nx-site .kok-checkout-body .kk-stepper>*{height:38px!important}
body.nx-site .kok-checkout-body .kk-stepper button{width:34px;min-width:34px;padding:0;border:0;background:#f0f8f9;font-size:20px;color:#087e87}
body.nx-site .kok-checkout-body .kk-stepper input{width:44px;min-width:0;flex:1;border:0!important;font-size:14px;text-align:center;padding:0!important;border-radius:0}
body.nx-site .kok-checkout-body .kk-order-line>strong{grid-column:4;grid-row:1;justify-self:end;margin:0;font-size:17px;line-height:1.4;white-space:nowrap;color:#2d4854}
body.nx-site .kok-checkout-body .kk-remove{grid-column:5;grid-row:1;display:grid;place-items:center;width:28px;height:28px;margin:0;border:0;border-radius:7px;background:#fcf0ee;color:#b94b44;font-size:21px}
body.nx-site .kok-checkout-body .kk-grand-total{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:14px 0 0;padding:12px 14px;border:0;border-radius:8px;background:#f0f7f8}
body.nx-site .kok-checkout-body .kk-grand-total>span{font-size:13px;color:#42636e}
body.nx-site .kok-checkout-body .kk-grand-total>strong{font-size:22px;color:#087c85;letter-spacing:-.03em}
body.nx-site .kok-checkout-body #checkout-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
body.nx-site .kok-checkout-body #checkout-form>.kk-check-section{margin:0}
body.nx-site .kok-checkout-body #checkout-form>.kk-consent-section{grid-column:1/-1;padding:15px 20px;background:#f0f7f7;border-color:#cfe2e4}
body.nx-site .kok-checkout-body .kk-consent-section .kk-section-title{margin:0 0 6px}
body.nx-site .kok-checkout-body .kk-consent-section h3{font-size:14px}
body.nx-site .kk-consent-project{display:inline;font-size:12px;line-height:1.5;color:#587680}
body.nx-site .kk-consent-project+.kk-consent-project:before{content:' · '}
body.nx-site .kok-checkout-body .kk-consent-section .category-consent{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:0;border:0;background:transparent;font-size:13px;line-height:1.5;color:#2b525f;font-weight:500}
body.nx-site .kok-checkout-body .consent input{width:18px;height:18px;min-width:18px;accent-color:#087e85}
body.nx-site .kok-checkout-body .kk-owner-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;margin:0 0 16px;border:0;border-radius:9px;background:#f0f5f6}
body.nx-site .kok-checkout-body .kk-owner-types label{position:relative;display:flex;align-items:center;justify-content:center;margin:0;padding:10px 4px;min-height:38px;border:0;border-radius:6px;font-size:12px;line-height:1.3;text-align:center;color:#526d77;cursor:pointer}
body.nx-site .kok-checkout-body .kk-owner-types label:has(input:checked){background:white;box-shadow:0 1px 5px #20455412;color:#087b83}
body.nx-site .kok-checkout-body .kk-owner-types label:focus-within{outline:2px solid #2d929b;outline-offset:1px}
body.nx-site .kok-checkout-body .kk-owner-types input{position:absolute;width:1px;height:1px;opacity:0}
body.nx-site .kok-checkout-body .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0}
body.nx-site .kok-checkout-body .form-grid label{display:grid;gap:6px;font-size:13px;font-weight:500;min-width:0}
body.nx-site .kok-checkout-body .form-grid .full{grid-column:1/-1}
body.nx-site .kok-checkout-body .form-grid [hidden]{display:none!important}
body.nx-site .kok-checkout-body .kk-check-section input:not([type=radio]):not([type=checkbox]),body.nx-site .kok-checkout-body textarea{min-height:42px;border-color:#b9ced6;border-radius:7px;padding:10px 12px;font-size:14px}
body.nx-site .kok-checkout-body .kk-optional{margin-top:14px;border-top:1px solid #e5edef;padding-top:12px}
body.nx-site .kok-checkout-body .kk-optional summary{font-size:13px;color:#38626f}
body.nx-site .kok-checkout-body .kk-optional label{display:grid;gap:6px;margin-top:12px;font-size:13px}
body.nx-site .kok-checkout-body .kk-note{font-size:12px;line-height:1.6;color:#627b86;margin:12px 0 0}
body.nx-site .kok-checkout-body .kok-currency-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid #e5edef;font-size:13px;color:#4f6974}
body.nx-site .kok-checkout-body .kok-currency-label select{width:78px;min-height:36px;padding:6px 10px;border-color:#c2d6dc;font-size:13px}
body.nx-site .kok-checkout-body .payment-option{padding:14px;border:1px solid #cfe1e5;border-radius:9px;background:#f2f8f9;margin:0 0 10px;overflow-wrap:anywhere}
body.nx-site .kok-checkout-body .payment-option strong{font-size:14px;color:#2c515f}
body.nx-site .kok-checkout-body .payment-option p{font-size:12px;line-height:1.65;color:#4b6977;margin:8px 0}
body.nx-site .kok-checkout-body .payment-option code{display:block;font-size:12px;line-height:1.7;white-space:normal;overflow-wrap:anywhere;color:#2d505e}
body.nx-site .kok-checkout-body .payment-disabled{padding:10px 12px;border:1px solid #e1e9ec;border-radius:7px;background:#fff;font-size:12px;color:#6a7e87;margin:0 0 14px}
body.nx-site .kok-checkout-body .kk-payment-section>.consent{display:flex;align-items:start;gap:9px;margin:14px 0 0;font-size:12px;line-height:1.6;color:#3f606d}
body.nx-site .kok-checkout-body .kk-payment-section>.consent a{color:#345e6c}
body.nx-site .kok-checkout-body .kk-place-order{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin-top:16px;padding:12px 14px;border-radius:8px;background:#bf443c;border-color:#bf443c;color:#fff;font-size:14px;font-weight:600;line-height:1.5;text-align:center}
body.nx-site .kok-checkout-body .kk-payment-section>.muted{font-size:12px;color:#6a7d86;line-height:1.5;margin:8px 0 0;text-align:center}
body.nx-site.kok-checkout-embedded{min-height:0!important;height:auto;background:#f6f9fa}
@media(max-width:799px){body.nx-site .kok-checkout-body #checkout-form{grid-template-columns:1fr}body.nx-site .kok-checkout-body .kk-order-line{grid-template-columns:56px minmax(0,1fr) 28px;gap:10px 12px}body.nx-site .kok-checkout-body .kk-line-photo{grid-row:1/3;width:56px;height:68px;align-self:start}body.nx-site .kok-checkout-body .kk-order-line .kk-stepper{grid-row:2;grid-column:2}body.nx-site .kok-checkout-body .kk-order-line>strong{grid-row:2;grid-column:3;align-self:center;justify-self:end}body.nx-site .kok-checkout-body .kk-remove{grid-column:3;grid-row:1}body.nx-site .kok-checkout-body .kk-line-name{padding-right:0}}
@media(max-width:599px){body.nx-site .kk-dialog:has([data-checkout-frame]:not([hidden])){width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:15px}body.nx-site .kk-dialog-head{padding:16px 18px;gap:12px}body.nx-site .kk-dialog-head h2{font-size:24px}body.nx-site [data-checkout-frame]{height:calc(100dvh - 122px)}body.nx-site .kok-checkout-body{padding:12px 12px 2px}body.nx-site .kok-checkout-body .kk-check-section{padding:16px;border-radius:11px}body.nx-site .kok-checkout-body .kk-section-title h3{font-size:16px}body.nx-site .kok-checkout-body .kk-order-progress{padding:8px 2px}body.nx-site .kok-checkout-body .kk-order-progress>span{font-size:12px;gap:6px}body.nx-site .kok-checkout-body .kk-order-progress b{width:23px;height:23px;font-size:10px}body.nx-site .kok-checkout-body .kk-top-note{font-size:11px;line-height:1.6;margin:8px 0 12px}body.nx-site .kok-checkout-body .form-grid{grid-template-columns:1fr}body.nx-site .kok-checkout-body .kk-owner-types label{font-size:11px}body.nx-site .kok-checkout-body #checkout-form>.kk-consent-section{padding:14px 16px}body.nx-site .kok-checkout-body .kk-grand-total>strong{font-size:21px}body.nx-site .kok-checkout-body .kk-order-line>strong{font-size:15px}body.nx-site .kok-checkout-body .kk-consent-section .category-consent{font-size:12px}}
@media(max-width:359px){body.nx-site .kok-checkout-body .kk-order-line{grid-template-columns:48px minmax(0,1fr) 26px;column-gap:10px}body.nx-site .kok-checkout-body .kk-line-photo{width:48px;height:60px}body.nx-site .kok-checkout-body .kk-order-line .kk-stepper{width:96px}body.nx-site .kok-checkout-body .kk-stepper button{width:28px;min-width:28px}body.nx-site .kok-checkout-body .kk-order-line>strong{font-size:14px}}
body.nx-site .kok-checkout-body .kk-note.kk-top-note{margin:8px 0 16px}
body.nx-site .kok-checkout-body .kok-currency-label{flex-direction:row}
body.nx-site .kk-dialog[open]:has([data-checkout-frame]:not([hidden])){display:flex;flex-direction:column}
body.nx-site .kk-dialog-head{flex:none}
body.nx-site [data-checkout-frame]{flex:1 1 auto;min-height:0}
/* Mini basket: vertical lines, with quantity and amount on their own baseline. */
body.nx-site.theme-kok .nx-mini-cart [data-live-cart-items]{display:flex!important;flex-direction:column;gap:0;width:100%;min-width:0}
body.nx-site.theme-kok .nx-mini-cart [data-live-cart-items]>p{display:block;width:100%;min-width:0;margin:0;padding:14px 0;border-bottom:1px solid #dfe9ec;line-height:1.5;font-size:14px;color:#35525e}
body.nx-site.theme-kok .nx-mini-cart .kk-mini-name{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:normal;word-break:normal}
body.nx-site.theme-kok .nx-mini-cart .kk-mini-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:6px}
body.nx-site.theme-kok .nx-mini-cart .kk-mini-meta small{font-size:12px;color:#627b85}
body.nx-site.theme-kok .nx-mini-cart .kk-mini-meta strong{display:inline;font-size:15px;white-space:nowrap;color:#147c83}
body.nx-site.theme-kok .nx-mini-cart .kk-mini h2{display:flex;align-items:center;gap:10px}
body.nx-site.theme-kok .nx-mini-cart .kk-mini h2 small{border-radius:20px;font-size:11px;padding:5px 9px}
body.nx-site .kok-checkout-body [aria-busy=true]{opacity:.75}

/* Buyer card: one clear selected surface and room for complete phone numbers. */
body.nx-site .kok-checkout-body .kk-buyer-section{padding:22px;container-type:inline-size}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-section-title{margin-bottom:20px}
body.nx-site .kok-checkout-body .kk-owner-types{gap:6px;padding:5px;margin-bottom:22px;border:1px solid #e2ebee;border-radius:12px;background:#f3f7f8}
body.nx-site .kok-checkout-body .kk-owner-types label{flex-direction:column;gap:7px;padding:12px 5px;min-height:64px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;line-height:1.4;transition:background .15s,border-color .15s,color .15s}
body.nx-site .kok-checkout-body .kk-owner-types label:has(input:checked){border-color:#a8d5da;background:#fff;box-shadow:0 2px 6px #234b5710;color:#007d87}
body.nx-site .kok-checkout-body .kk-owner-types label>span{display:inline!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;min-height:0!important;color:inherit!important;font:inherit!important}
body.nx-site .kok-checkout-body .kk-owner-types label>svg{width:19px;height:19px;flex:none;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.nx-site .kok-checkout-body .kk-owner-types label:hover{color:#007d87;background:#eaf4f5}
body.nx-site .kok-checkout-body .kk-buyer-section .form-grid{gap:16px 14px}
body.nx-site .kok-checkout-body .kk-buyer-section .form-grid label{gap:8px;color:#355565}
body.nx-site .kok-checkout-body .kk-buyer-section input:not([type=radio]):not([type=checkbox]),body.nx-site .kok-checkout-body .kk-buyer-section textarea{min-height:48px;border-color:#cfdee4;border-radius:9px;background:#fff;font-size:15px}
body.nx-site .kok-checkout-body .kk-buyer-section .iti.ihsan-phone input[type=tel]{padding-top:13px;padding-bottom:13px}
body.nx-site .kok-checkout-body .kk-buyer-section .iti__selected-country{min-height:46px}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-optional{border:1px solid #e1e9ed;border-radius:10px;padding:0;margin-top:18px;background:#fbfdfd}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-optional summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;color:#426573;list-style:none;font-size:13px;cursor:pointer}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-optional summary::-webkit-details-marker{display:none}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-optional summary>span{font-size:18px;color:#07828b;transition:transform .15s}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-optional[open] summary>span{transform:rotate(45deg)}
body.nx-site .kok-checkout-body .kk-buyer-section .kk-optional>label{margin:0;padding:0 15px 15px;gap:8px}
body.nx-site .kok-checkout-body .kk-buyer-section>.kk-note{padding-top:2px;line-height:1.7;color:#6b818c}
@media(max-width:599px){body.nx-site .kok-checkout-body .kk-buyer-section{padding:18px 16px}body.nx-site .kok-checkout-body .kk-owner-types{gap:3px;padding:4px}body.nx-site .kok-checkout-body .kk-owner-types label{font-size:11px;padding:11px 2px;min-height:62px}}
@media(prefers-reduced-motion:reduce){body.nx-site .kok-checkout-body .kk-owner-types label,body.nx-site .kok-checkout-body .kk-optional summary>span{transition:none}}
body.nx-site .kok-checkout-body .kk-buyer-section input:not([type=radio]):not([type=checkbox]):focus,body.nx-site .kok-checkout-body .kk-buyer-section textarea:focus{outline:3px solid #078f991c;outline-offset:1px;border-color:#078f99;box-shadow:none}
body.nx-site .kok-checkout-body .kk-owner-types label{display:flex!important}
