/* Scoped to the FreshUI purchase checkout; shared payment/thank-you pages keep their own layout. */
body.freshui-split-checkout { margin:0; background:#f3f8f7 !important; color:#172033; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:14px; }
.freshui-checkout, .freshui-checkout * { box-sizing:border-box; }
.freshui-checkout { --checkout-accent:#18b5a5; display:grid; grid-template-columns:minmax(0, 1.13fr) minmax(0, 1fr); min-height:0; width:calc(100% - 48px); max-width:960px; margin:40px auto; border:1px solid #e1ebe7; border-radius:18px; overflow:hidden; box-shadow:0 12px 40px #163c2c09; }
.freshui-checkout-details { padding:28px 32px 32px; min-width:0; background:#ffff; }
.freshui-checkout-brand { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 0 30px; }
.freshui-brand { color:#172033; font-weight:700; text-decoration:none; }
.freshui-brand img { display:block; width:auto; max-width:170px; max-height:34px; object-fit:contain; }
.freshui-safe { display:inline-flex; align-items:center; gap:5px; color:#00a844; font-size:12px; white-space:nowrap; }
.freshui-safe svg { width:15px; height:15px; }
.freshui-checkout h1 { font-size:22px; font-weight:700; line-height:1.35; letter-spacing:-.4px; margin:0 0 5px; }
.freshui-checkout-intro { color:#778195; margin:0 0 26px; line-height:1.6; }
.freshui-checkout-description { margin:0 0 24px; line-height:1.65; overflow-wrap:anywhere; }
.freshui-checkout-description img { max-width:100%; height:auto; }
.freshui-checkout .login, .freshui-checkout .informasi-pribadi { padding:0 !important; background:transparent !important; border:0 !important; margin:0 !important; }
.freshui-checkout .login-form-toggle { margin:0 0 16px !important; }
.freshui-checkout .login-notice, .freshui-checkout .login-notice a { font-size:12px; color:#98a2b3 !important; font-weight:400; }
.freshui-checkout .login-notice a { cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.freshui-checkout .login-form { margin:12px 0 20px; }
.freshui-checkout .informasi-pribadi .data-holder > div { display:flex; flex-direction:column; gap:12px; }
.freshui-checkout .informasi-pribadi .field { margin:0 !important; order:4; }
.freshui-checkout .informasi-pribadi .freshui-field-user_name { order:1; }
.freshui-checkout .informasi-pribadi .freshui-field-user_phone { order:2; }
.freshui-checkout .informasi-pribadi .freshui-field-user_email { order:3; }
.freshui-checkout .field > label { display:block; color:#475467; font-size:12px; font-weight:500; margin:0 0 6px; }
.freshui-checkout .field input:not([type=radio]):not([type=checkbox]) { height:45px; min-height:45px; border:1px solid #dfe3e9 !important; border-radius:8px !important; padding:10px 13px !important; width:100%; background-color:#fff !important; color:#172033 !important; box-shadow:none !important; font-size:14px !important; line-height:1.5; }
.freshui-checkout .field input::placeholder { color:#98a2b3 !important; opacity:1; }
.freshui-checkout .field input:focus { outline:2px solid #18b5a533 !important; border-color:var(--checkout-accent) !important; outline-offset:1px; }
.freshui-checkout .field input#user_name, .freshui-checkout .field input#user_email, .freshui-checkout .field input#user_phone { padding-left:40px !important; background-repeat:no-repeat; background-position:12px center; background-size:18px; }
.freshui-checkout #user_name { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.7'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 22v-3a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v3'/%3E%3C/svg%3E"); }
.freshui-checkout #user_email { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.7'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m3 5 9 7 9-7'/%3E%3C/svg%3E"); }
.freshui-checkout #user_phone { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.7'%3E%3Cpath d='M5 3h4l2 5-3 2a15 15 0 0 0 6 6l2-3 5 2v4a2 2 0 0 1-2 2A18 18 0 0 1 3 5a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.freshui-checkout .field:has(#user_password) #togglePassword1 { top:23px; height:45px; }
.freshui-offers { margin-top:16px; }
.freshui-offers > h2 { color:#475467; font-size:12px; margin:0 0 7px; font-weight:500; }
.freshui-checkout .bump-produk { margin:0 !important; background:none !important; }
.freshui-checkout .bump-produk table { border:0 !important; margin:0 !important; width:100%; background:transparent !important; }
.freshui-checkout .bump-produk td { border:0 !important; padding:0 0 10px !important; background:none !important; }
.freshui-offer-card { border:1.5px dashed #f6cf52; background:#fffdf5; padding:12px; border-radius:8px; }
.freshui-offer-card:has(input:checked) { border-color:var(--checkout-accent); background:#f0fdfa; }
.freshui-offer-select { display:flex; gap:10px; align-items:flex-start; cursor:pointer; margin:0; }
.freshui-offer-select input { flex:0 0 16px; width:16px; height:16px; margin:2px 0 0; accent-color:var(--checkout-accent); }
.freshui-offer-select > img { width:48px; height:48px; border-radius:7px; object-fit:cover; flex-shrink:0; }
.freshui-offer-copy { min-width:0; flex:1; display:flex; flex-direction:column; gap:4px; }
.freshui-offer-copy > strong { font-size:14px; font-weight:600; color:#a83c08; line-height:1.45; }
.freshui-offer-description { display:block; font-size:12px; line-height:1.65; color:#758094; overflow-wrap:anywhere; }
.freshui-offer-description p { margin:0 0 4px; }
.freshui-offer-description img { max-width:100%; height:auto; }
.freshui-offer-price { font-size:14px; font-weight:700; color:#172033; }
.freshui-offer-duration, .freshui-offer-card .cancel-add-product-bump { font-size:12px; }
.freshui-offer-card .cancel-add-product-bump { margin:8px 0 0 26px; color:#667085; text-decoration:underline; }
.freshui-checkout-summary { background:#f1fbf9; border-left:0; min-width:0; padding:28px 28px 32px; }
.freshui-summary-inner { max-width:440px; }
.freshui-checkout-summary h2 { color:#00ad9e; font-size:11px; font-weight:600; line-height:1.5; letter-spacing:1.4px; text-transform:uppercase; margin:0 0 16px; }
.freshui-product-preview { display:flex; align-items:center; gap:12px; border-bottom:1px solid #dfe7e9; padding:0 0 20px; margin-bottom:16px; }
.freshui-product-preview > img { width:56px; height:56px; border-radius:7px; object-fit:cover; }
.freshui-product-preview > div { min-width:0; }
.freshui-product-preview h3 { margin:0 0 4px; font-size:14px; font-weight:600; line-height:1.45; overflow-wrap:anywhere; }
.freshui-preview-price { color:#ef3333; font-weight:700; font-size:15px; }
.freshui-checkout .freshui-order-totals { background:#ffff !important; border:1px solid #edf0f2 !important; border-radius:9px; box-shadow:0 8px 24px rgba(20, 83, 73, 0.08), 0 2px 6px rgba(20, 83, 73, 0.04); padding:12px 16px !important; margin:0 0 16px !important; }
.freshui-checkout .freshui-order-totals table { margin:0 !important; width:100%; border:0; border-collapse:collapse; table-layout:auto; }
.freshui-checkout .freshui-order-totals td, .freshui-checkout .freshui-order-totals th { padding:6px 0 !important; background:transparent !important; font-size:14px !important; font-weight:400; color:#536074; border:0 !important; min-width:0; }
.freshui-checkout .freshui-order-totals td:last-child, .freshui-checkout .freshui-order-totals th:last-child { text-align:right; white-space:nowrap; }
.freshui-checkout .freshui-order-totals tfoot > tr:first-child th { border-top:1px solid #dfe3e9 !important; padding-top:14px !important; padding-bottom:8px !important; color:#172033; font-weight:700 !important; }
.freshui-checkout .freshui-order-totals .total-holder { font-size:16px !important; line-height:1.4; }
.freshui-checkout .freshui-order-totals .kode-diskon { background:transparent !important; }
.freshui-checkout .kode-diskon-form-toggle p { font-size:12px; white-space:normal; text-align:left; }
.freshui-checkout .kode-diskon-form-toggle img { width:18px; display:inline; }
.freshui-checkout .freshui-payment { margin:0 0 16px; }
.freshui-checkout .freshui-payment > .flex > span { font-size:12px !important; font-weight:500 !important; color:#475467; }
.freshui-checkout .metode-pembayaran { margin:8px 0 0 !important; border:0; background:none; }
.freshui-checkout .metode-pembayaran label:has(input[name=payment_gateway]) { display:flex; flex-direction:row; align-items:center; gap:12px; border:1px solid #dfe3e9; border-radius:8px; margin:8px 0 0; padding:15px 12px; background:#fff; min-height:64px; cursor:pointer; }
.freshui-checkout .metode-pembayaran label:has(input:checked), .freshui-checkout .selected-payment { border:2px solid var(--checkout-accent) !important; background:#effbf8 !important; box-shadow:none !important;     appearance: none !important; -webkit-appearance: none !important;}
.freshui-checkout .metode-pembayaran input[name=payment_gateway] { display:block !important; position:static !important; visibility:visible !important; -webkit-appearance:none !important; appearance:none !important; border:1px solid #cbd5e1 !important; border-radius:50% !important; background:#fff !important; padding:0 !important; margin:0 !important; box-shadow:none !important; cursor:pointer; width:18px !important; height:18px !important; flex:0 0 18px; order:-1; accent-color:var(--checkout-accent); }
.freshui-checkout .metode-pembayaran label > span[aria-hidden] { display:none !important; }
.freshui-checkout .metode-pembayaran label img { max-width:80px; max-height:25px; object-fit:contain; }
.freshui-checkout .freshui-pay { display:block !important; margin:0 !important; padding:0 !important; border:0 !important; background:none !important; }
.freshui-checkout .freshui-pay button { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:49px; height:auto; padding:13px 16px !important; background:var(--checkout-accent) !important; color:#fff !important; border:0 !important; border-radius:8px !important; box-shadow:0 7px 14px #18b5a528 !important; font-size:14px !important; font-weight:650 !important; line-height:1.5; cursor:pointer; }
.freshui-checkout .freshui-pay button:hover { background:#0c9c8f !important; }
.freshui-checkout .freshui-pay button:disabled { opacity:.55; cursor:wait; }
.freshui-checkout button:focus-visible, .freshui-checkout a:focus-visible, .freshui-checkout input:focus-visible { outline:2px solid #07998c; outline-offset:3px; }
.freshui-button-lock { width:18px; height:18px; flex-shrink:0; }
.freshui-checkout .freshui-security-note { display:flex; align-items:center; justify-content:center; gap:5px; font-size:11px; color:#98a2b3; margin:12px 0 0; }
.freshui-security-note svg { width:13px; height:13px; }
.freshui-checkout .freshui-warranty { display:block; width:auto; max-height:48px; margin:12px auto; }
.freshui-checkout-footer { text-align:center; margin-top:30px; color:#98a2b3; font-size:12px; line-height:1.6; }
.freshui-checkout-footer strong { margin-left:6px; font-size:14px; color:#8691a3; }
.freshui-checkout-footer p { margin:5px 0 0; }
.freshui-checkout .affiliate-name:empty, .freshui-checkout .alert-holder:empty { display:none; }
.freshui-checkout .alert-holder { overflow-wrap:anywhere; }

@media (max-width:900px) { .freshui-checkout-details { padding:30px 28px 40px; } .freshui-checkout-summary { padding:30px 24px 32px; } }
@media (max-width:700px) { .freshui-checkout { display:block; width:calc(100% - 24px); margin:16px auto; border-radius:14px; } .freshui-checkout-details { padding:24px 20px 28px; } .freshui-checkout-brand { margin-bottom:28px; } .freshui-checkout-summary { border-left:0; border-top:0; padding:28px 20px 32px; } .freshui-summary-inner { max-width:none; } .freshui-checkout h1 { font-size:22px; } .freshui-checkout .freshui-order-totals td { white-space:normal; } .freshui-checkout .freshui-order-totals td:last-child { white-space:nowrap; } }
@media (prefers-reduced-motion:reduce) { .freshui-checkout * { scroll-behavior:auto !important; transition:none !important; } }
.freshui-payment-icons { display:flex; align-items:center; gap:6px; margin:8px 0 12px; color:#8b98ac; }
.freshui-payment-icons > span { display:flex; align-items:center; justify-content:center; width:37px; height:24px; background:#f8fafb; border:1px solid #e0e6eb; border-radius:6px; }
.freshui-payment-icons svg { width:17px; height:17px; fill:none; stroke:#718099; stroke-width:1.4; }
.freshui-payment-icons small { font-size:10px; margin-left:4px; }
.beli-sekarang::before {background-image: none !important;}
.freshui-checkout .metode-pembayaran input[name=payment_gateway]:focus,
.freshui-checkout .metode-pembayaran input[name=payment_gateway]:focus-visible {outline: none !important;box-shadow: none !important;}
.freshui-checkout .metode-pembayaran input[name=payment_gateway]:checked {border: 2px solid var(--checkout-accent) !important;background: radial-gradient(circle,var(--checkout-accent) 0 5px,#fff 6px) !important;}
/* Keep keyboard focus visible on the payment card without a native dark radio ring. */
.freshui-checkout .metode-pembayaran label:has(input[name=payment_gateway]:focus-visible) { outline:2px solid var(--checkout-accent); outline-offset:3px; }

.freshui-checkout .freshui-buyer { padding:0 !important; margin:0 0 20px !important; background:transparent !important; border:0 !important; text-align:left; }
.freshui-checkout .freshui-buyer h2 { margin:0 0 16px; color:#172033; font-size:14px; font-weight:600; line-height:1.5; }
.freshui-buyer-profile { display:flex; align-items:center; gap:12px; }
.freshui-buyer-avatar { display:flex; align-items:center; justify-content:center; width:36px; height:36px; flex:0 0 36px; border-radius:50%; background:#dff6f3; color:var(--checkout-accent); font-size:14px; font-weight:700; }
.freshui-buyer-details { min-width:0; }
.freshui-checkout .freshui-buyer-name { margin:0; color:#172033; font-size:14px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.freshui-checkout .freshui-buyer-email { margin:0; color:#778195; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }

/* Login uses the same spacing and controls as the buyer form. */
.freshui-checkout .login-form { padding:0 !important; margin:16px 0 24px !important; }
.freshui-checkout .login-form > .field { margin:0 0 14px !important; }
.freshui-checkout .login-form .field input::placeholder { font-size:14px !important; line-height:1.5; }
.freshui-checkout .login-form .field #login_password { padding-right:44px !important; }
.freshui-checkout .login-form #togglePassword { top:auto; bottom:0; right:0; width:44px; height:45px; }
.freshui-checkout .login-form .submit-login { display:block; width:100%; min-height:46px; margin:4px 0 0 !important; padding:12px 16px !important; border:0 !important; border-radius:8px !important; background:var(--checkout-accent) !important; color:#fff !important; font-size:14px !important; font-weight:600 !important; line-height:1.5; box-shadow:0 4px 10px #18b5a51a !important; cursor:pointer; }
.freshui-checkout .login-form .submit-login:hover { background:#0c9c8f !important; }
.freshui-checkout .login-form .submit-login:disabled { opacity:.55; cursor:wait; }
.freshui-checkout .login-form .login-alert-holder:not(:empty) { margin-top:12px; }

/* Coupon controls and feedback inside the order summary. */
.freshui-checkout .freshui-order-totals td[colspan] { text-align:left !important; white-space:normal !important; }
.freshui-checkout .freshui-order-totals .total-holder, .freshui-checkout .freshui-order-totals .total-holder * { color:#172033 !important; font-weight:700; }
.freshui-applied-coupon { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-size:12px; }
.freshui-coupon-code { padding:3px 6px; border-radius:4px; background:#e1f6f0; color:#0c8d7f; font-size:11px; font-weight:600; overflow-wrap:anywhere; }
.freshui-checkout .hapus-kupon { padding:0; border:0; background:none; color:#778195; font-size:11px; line-height:1.5; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.freshui-checkout .kode-diskon-form { margin:12px 0 0; padding:0; }
.freshui-checkout .kupon-wrapper { display:flex; align-items:stretch; gap:8px; }
.freshui-checkout #apply_coupon { width:100%; min-width:0; height:42px; margin:0 !important; padding:10px 12px !important; border:1px solid #dfe3e9 !important; border-radius:7px !important; background:#fff; color:#172033; font-size:13px; line-height:20px; box-shadow:none !important; }
.freshui-checkout #sejoli-submit-coupon { flex:0 0 auto; height:42px; margin:0; padding:10px 16px !important; border:0 !important; border-radius:7px !important; background:var(--checkout-accent) !important; color:#fff !important; font-size:13px; font-weight:600; line-height:20px; box-shadow:none !important; cursor:pointer; }
.freshui-checkout #sejoli-submit-coupon:hover { background:#0c9c8f !important; }
.freshui-checkout #sejoli-submit-coupon:focus { outline:none; box-shadow:none !important; }
.freshui-checkout #sejoli-submit-coupon:focus-visible, .freshui-checkout #apply_coupon:focus-visible { outline:2px solid var(--checkout-accent) !important; outline-offset:2px; }
.freshui-checkout .coupon-alert-holder { padding:0 !important; margin:0 !important; text-align:left; white-space:normal; }
.freshui-checkout .coupon-alert-holder .ui.message { position:relative; padding:12px 30px 12px 12px; margin:12px 0 0; border:1px solid #c8e8d6; border-radius:7px; box-shadow:none; font-size:12px; line-height:1.6; text-align:left; }
.freshui-checkout .coupon-alert-holder .ui.success.message { background:#f0fbf4; color:#32764b; }
.freshui-checkout .coupon-alert-holder .ui.error.message { background:#fff5f5; border-color:#f3caca; color:#b34040; }
.freshui-checkout .coupon-alert-holder .message .header { margin:0 0 3px; font-size:12px; font-weight:600; text-align:left; }
.freshui-checkout .coupon-alert-holder .message .list { margin:0; padding:0; list-style:none; }
.freshui-checkout .coupon-alert-holder .message .list li { margin:0; padding:0; }
.freshui-checkout .coupon-alert-holder .message .list li::before { display:none; }
.freshui-checkout .coupon-alert-holder .message > .close.icon { top:12px; right:10px; font-size:11px; }
