:root{--checkout-blue:#3643ba;--checkout-blue-hover:#2f3aa5;--checkout-focus:#ffdf00;--checkout-text:#171717;--checkout-muted:#606060;--checkout-line:#dedede;--checkout-soft:#f5f5f5;--checkout-error:#b42318;--checkout-success:#137333}
.checkout-mode{margin:0;background:#fff;color:var(--checkout-text)}
.transactional-checkout,.transactional-checkout *{box-sizing:border-box}
.checkout-mode .promo-bar,.checkout-mode .utility-bar,.checkout-mode .announcement,.checkout-mode .site-header,.checkout-mode .footer,.checkout-mode .drawer,.checkout-mode .overlay,.checkout-mode .help-button,.checkout-mode .help-panel,.checkout-mode .search-panel{display:none!important}
.checkout-mode #app{min-height:100vh;outline:0}
.transactional-checkout{width:100%;min-width:320px;margin:0 auto;color:var(--checkout-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.checkout-brand{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;width:100%;min-height:76px;border-bottom:1px solid var(--checkout-line);padding:0 max(24px,calc((100vw - 1100px)/2));background:#fff}
.checkout-brand a{color:var(--checkout-blue);text-decoration:none}
.checkout-back{display:inline-flex;align-items:center;gap:8px;justify-self:start;min-height:44px;font-size:14px;font-weight:650}
.checkout-brand-logo{display:flex;align-items:center;justify-content:center}
.checkout-brand-logo img{display:block;width:154px;height:auto}
.checkout-secure-label{display:inline-flex;align-items:center;gap:7px;justify-self:end;color:#4d555a;font-size:13px;font-weight:650}
.checkout-icon{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.transactional-layout{display:grid;grid-template-columns:minmax(0,500px) minmax(0,400px);gap:80px;justify-content:center;align-items:start;padding:38px 24px 80px}
.payment-form{min-width:0}
.checkout-section{margin-top:34px}
.checkout-contact{margin-top:26px}
.payment-form h1,.payment-form h2{margin:0 0 14px;line-height:1.2;font-weight:650;letter-spacing:-.01em}
.payment-form h1{font-size:22px}
.payment-form h2{font-size:20px}
.checkout-payment-section>p:not(.payment-feedback):not(.secure-note){margin:-5px 0 13px;color:var(--checkout-muted);font-size:13px;line-height:1.45}
.checkout-promo-inline{display:flex;align-items:center;gap:9px;margin-bottom:22px;border-radius:8px;background:#101010;color:#fff;padding:10px 12px}
.checkout-promo-inline span{flex:0 0 auto;border-radius:3px;background:#ffdf00;color:#101010;padding:3px 6px;font-size:10px;font-weight:900;text-transform:uppercase}
.checkout-promo-inline strong{font-size:13px;line-height:1.35}
.checkout-field{display:flex;flex-direction:column;justify-content:center;min-height:52px;margin-top:10px;border:1px solid var(--checkout-line);border-radius:12px;background:#fff;padding:6px 12px}
.checkout-field:focus-within{border-color:var(--checkout-blue);box-shadow:0 0 0 1px var(--checkout-blue)}
.checkout-field span{display:block;color:var(--checkout-muted);font-size:11px;line-height:1.2}
.checkout-field input,.checkout-field select{display:block;width:100%;height:26px;border:0;outline:0;background:transparent;color:var(--checkout-text);font:inherit;font-size:16px;line-height:26px}
.checkout-field select{appearance:auto}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.shipping-choice{display:flex;align-items:center;gap:12px;min-height:78px;border:1px solid #c9cdcf;border-radius:12px;background:#fff;padding:12px 14px}
.radio-dot{box-sizing:border-box;width:18px;height:18px;border:5px solid var(--checkout-blue);border-radius:50%;background:#fff;flex:0 0 auto}
.shipping-carrier-logo{display:block;width:76px;height:26px;object-fit:contain;flex:0 0 auto}
.shipping-choice div{display:flex;min-width:0;flex:1;flex-direction:column}
.shipping-choice b{font-size:14px}
.shipping-choice small{margin-top:2px;color:var(--checkout-muted);font-size:12px}
.shipping-choice>strong{font-size:14px}
.payment-box{position:relative;isolation:isolate;width:100%;overflow:hidden;border:0;border-radius:12px;background:var(--checkout-soft)}
.payment-box::after{content:"";position:absolute;z-index:30;inset:0;border:1px solid #1c1c1c;border-radius:12px;pointer-events:none}
.payment-box>header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;min-height:54px;gap:12px;border-bottom:1px solid #1c1c1c;padding:10px 14px;background:#fff;border-radius:12px 12px 0 0}
.payment-method-title{display:flex;min-width:0;align-items:center;gap:9px;font-size:14px}
.payment-method-title .radio-dot{width:18px;height:18px}
.card-brands{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 auto;margin-left:auto}
.card-brands>img,.card-brand-popover img{display:block;width:38px;height:24px;object-fit:contain;border:1px solid #d9dddf;border-radius:4px;background:#fff}
.card-brand-more{position:relative;display:block;flex:0 0 27px}
.card-brand-count{display:grid;place-items:center;width:27px;height:24px;min-height:24px;border:1px solid #d9dddf;border-radius:4px;background:#fff;color:#101010;padding:0;font-size:10px;cursor:pointer}
.card-brand-popover{position:absolute;top:32px;right:0;z-index:20;display:grid;grid-template-columns:repeat(3,38px);gap:5px;width:max-content;border:1px solid #d9dddf;border-radius:8px;background:#fff;padding:8px;box-shadow:0 12px 28px #0003}
.card-brand-popover[hidden]{display:none}
.cooud-elements{position:relative;z-index:1;display:block!important;width:100%;min-width:0;min-height:170px;overflow:hidden;box-sizing:border-box;border-radius:0 0 12px 12px;background:var(--checkout-soft);padding:14px}
.cooud-elements>form,.cooud-elements [data-cooud-elements-live-form],.cooud-elements [data-cooud-payment-element]{display:block;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box}
.cooud-elements iframe{display:block;width:100%!important;max-width:none!important;min-width:0!important}
.payment-awaiting,.payment-loading{display:flex;min-height:142px;align-items:center;justify-content:center;gap:12px;text-align:center;color:var(--checkout-muted)}
.payment-awaiting p,.payment-loading p{max-width:390px;margin:0;font-size:13px;line-height:1.5}
.payment-awaiting-lock{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--checkout-blue);flex:0 0 auto}
.payment-awaiting-lock .checkout-icon{width:18px;height:18px}
.payment-loading{flex-direction:column}
.payment-loading span{width:24px;height:24px;border:3px solid #d4d6e8;border-top-color:var(--checkout-blue);border-radius:50%;animation:checkout-spin .8s linear infinite}
.checkout-payment-section>.payment-feedback{display:flex;min-height:20px;align-items:center;justify-content:center;margin:14px 0 12px;padding:0 6px;color:var(--checkout-muted);font-size:12px;line-height:1.45;text-align:center}
.payment-feedback.success{color:var(--checkout-success)}
.payment-feedback.error{color:var(--checkout-error)}
.checkout-pay{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;border:0;border-radius:12px;background:var(--checkout-blue);color:#fff;font:inherit;font-size:15px;font-weight:750;cursor:pointer;transition:background-color .18s ease,transform .18s ease,opacity .18s ease}
.checkout-pay:not(:disabled):hover{background:var(--checkout-blue-hover)}
.checkout-pay:not(:disabled):active{transform:translateY(1px)}
.checkout-pay:disabled{background:#d9dddf;color:#687177;cursor:not-allowed}
.secure-note{display:flex!important;align-items:flex-start;justify-content:center;gap:8px;max-width:460px;margin:14px auto 0!important;color:#667077!important;font-size:12px!important;line-height:1.45;text-align:center}
.secure-note .checkout-icon{width:18px;height:18px;margin-top:1px}
.checkout-summary{position:sticky;top:24px;min-width:0;border-radius:12px;background:var(--checkout-soft);padding:24px}
.checkout-summary h2{margin:0 0 22px;font-size:20px}
.checkout-promo{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-24px -24px 22px;padding:11px 14px;border-radius:12px 12px 0 0;background:#101010;color:#fff}
.checkout-promo span{border-radius:3px;background:#ffdf00;color:#101010;padding:3px 6px;font-size:10px;font-weight:900;text-transform:uppercase}
.checkout-promo strong{font-size:13px}
.checkout-lines article{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:12px;margin:15px 0}
.checkout-lines article>div{position:relative;width:62px;height:62px;border:1px solid #e6e6e6;border-radius:8px;background:#fff}
.checkout-lines img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.checkout-lines article>div b{position:absolute;right:-7px;top:-7px;display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#656b70;color:#fff;font-size:11px}
.checkout-lines article span{overflow-wrap:anywhere;font-size:12px;line-height:1.35}
.checkout-lines article span small{display:block;margin-top:4px;color:var(--checkout-muted);font-size:10px}
.checkout-line-price{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.checkout-line-price del{color:#687177;font-size:10px}
.checkout-line-price strong{color:#c7352c;font-size:13px}
.summary-row{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #d9dddf;padding:11px 0;font-size:13px}
.summary-row>*:last-child{text-align:right}
.summary-original del{color:#687177}
.summary-saving{color:#167342}
.summary-saving b{white-space:nowrap}
.summary-row.total{align-items:baseline;font-size:19px}
.mobile-order-toggle{display:none}
.checkout-pay:focus-visible,.mobile-order-toggle:focus-visible,.checkout-brand a:focus-visible,.card-brand-count:focus-visible{outline:3px solid var(--checkout-focus);outline-offset:2px}
@keyframes checkout-spin{to{transform:rotate(360deg)}}

@media(max-width:999px){
  .checkout-brand{padding:0 20px}
  .transactional-layout{display:flex;max-width:600px;flex-direction:column;margin:0 auto;padding:28px 24px 64px;gap:0}
  .payment-form{width:100%}
  .mobile-order-toggle{display:flex;width:100%;min-height:58px;align-items:center;justify-content:space-between;gap:16px;border:0;border-bottom:1px solid var(--checkout-line);background:var(--checkout-soft);padding:12px max(24px,calc((100vw - 552px)/2));color:var(--checkout-blue);font:inherit;font-size:13px;font-weight:750;cursor:pointer}
  .mobile-order-toggle>span{display:flex;align-items:center;gap:5px}
  .mobile-order-toggle .checkout-icon{transition:transform .18s ease}
  .mobile-order-toggle[aria-expanded="true"] .checkout-icon{transform:rotate(180deg)}
  .checkout-summary{display:none;position:static;width:100%;margin-bottom:28px}
  .summary-open .checkout-summary{display:block;order:-1}
}

@media(max-width:600px){
  .checkout-brand{grid-template-columns:44px 1fr 44px;min-height:68px;padding:0 12px}
  .checkout-back{justify-content:center;width:44px}
  .checkout-back span,.checkout-secure-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .checkout-brand-logo img{width:142px}
  .transactional-layout{max-width:100%;padding:24px 14px 54px}
  .mobile-order-toggle{padding-left:14px;padding-right:14px}
  .checkout-promo-inline{align-items:flex-start}
  .checkout-section{margin-top:30px}
  .field-grid{grid-template-columns:1fr}
  .shipping-choice{gap:9px;padding:12px}
  .shipping-carrier-logo{width:66px;height:23px}
  .payment-box>header{gap:8px;padding:10px 12px}
  .payment-method-title{gap:7px;font-size:13px}
  .card-brands{gap:4px}
  .card-brands>img{width:34px;height:23px}
  .card-brand-more{flex-basis:25px}
  .card-brand-count{width:25px;height:23px;min-height:23px}
  .cooud-elements{min-height:160px;padding:12px}
  .payment-awaiting,.payment-loading{min-height:134px}
  .checkout-summary{padding:18px}
  .checkout-promo{margin:-18px -18px 18px}
  .checkout-lines article{grid-template-columns:58px minmax(0,1fr) auto;gap:9px}
  .checkout-lines article>div{width:58px;height:58px}
  .secure-note{padding:0 8px}
}

@media(max-width:380px){
  .transactional-layout{padding-left:12px;padding-right:12px}
  .checkout-brand{padding-left:8px;padding-right:8px}
  .checkout-brand-logo img{width:132px}
  .payment-box>header{gap:5px;padding-left:9px;padding-right:9px}
  .payment-method-title{gap:5px;font-size:12px}
  .payment-method-title .radio-dot{width:16px;height:16px;border-width:4px}
  .card-brands{gap:3px}
  .card-brands>img{width:30px;height:21px}
  .card-brand-more{flex-basis:23px}
  .card-brand-count{width:23px;height:21px;min-height:21px}
  .shipping-choice{flex-wrap:wrap}
  .shipping-choice div{min-width:140px}
  .shipping-choice>strong{margin-left:auto}
  .checkout-summary{padding:14px}
  .checkout-promo{margin:-14px -14px 16px}
  .checkout-lines article{grid-template-columns:52px minmax(0,1fr);align-items:start}
  .checkout-lines article>div{width:52px;height:52px}
  .checkout-line-price{grid-column:2;align-items:flex-start;text-align:left}
}

@media(prefers-reduced-motion:reduce){.checkout-pay,.mobile-order-toggle .checkout-icon,.payment-loading span{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Bubba Chile provider choices: fixed checkout layout, gateway isolated per row. */
.payment-method-group{border:1px solid var(--checkout-line);border-radius:12px;overflow:visible;background:#fff}
.payment-method-group>.local-payment-choice{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px 14px;border:0;border-bottom:1px solid var(--checkout-line);background:#fff;cursor:pointer}
.payment-method-group>.local-payment-choice>input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--checkout-blue)}
.payment-method-group>.local-payment-choice>span:nth-of-type(1){display:flex;flex:1;align-items:flex-start;flex-direction:column;gap:2px}
.payment-method-group>.local-payment-choice small{font-size:9px;letter-spacing:.12em;color:var(--checkout-muted)}
.payment-method-group>.local-payment-choice:has(input:checked){background:var(--checkout-soft)}
.payment-method-group>.payment-box{border:0;border-bottom:1px solid var(--checkout-line);border-radius:0;overflow:hidden}
.payment-method-group>.payment-box>header{display:none}
.payment-method-group>.payment-box[hidden]{display:none!important}
.local-payment-brands,.local-payment-choice>.card-brands{display:flex!important;align-items:center;gap:4px;flex:0 0 auto}
.local-payment-brands img,.local-payment-choice>.card-brands img{width:38px!important;height:24px!important;object-fit:contain;border:1px solid #ddd;border-radius:4px;background:#fff;padding:2px}
.local-payment-panel{padding:16px;background:var(--checkout-soft);border:0}
.local-payment-panel>p{margin:0 0 12px;color:var(--checkout-muted);line-height:1.5}
.local-payment-panel .checkout-field{margin:0}
.payment-method-group>.local-payment-choice:last-of-type{border-bottom:0}

@media(max-width:700px){
  .local-payment-brands img,.local-payment-choice>.card-brands img{width:31px!important;height:21px!important}
  .local-payment-brands img:nth-child(n+4){display:none}
  .local-payment-choice>.card-brands .card-brand-more{display:none}
}
