/* Full-screen checkout, with a persistent order summary on desktop. */
.checkout-assisted-field{position:relative}
#checkout-dialog #payment-form .checkout-assisted-field .checkout-field{padding-right:48px}
.checkout-help{position:absolute;right:12px;top:17px}
.checkout-help-button{display:grid;place-items:center;width:19px;height:19px;border:1.5px solid #85858b;border-radius:50%;background:white;color:#686870;font-size:12px;font-weight:700;cursor:pointer;padding:0}
.checkout-help-button:focus-visible{outline:2px solid #c4142a;outline-offset:3px}
.checkout-tooltip{position:absolute;z-index:5;bottom:31px;right:-8px;width:210px;padding:12px 14px;border-radius:9px;background:#202024;color:#fff;font-size:12px;line-height:1.5;text-align:center;box-shadow:0 3px 12px #0002}
.checkout-tooltip:after{content:'';position:absolute;bottom:-7px;right:11px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #202024}
#checkout-dialog #payment-form .checkout-marketing{display:flex;align-items:flex-start;gap:9px;margin:0 0 5px;cursor:pointer;font-size:12px;font-weight:400;line-height:1.6}
#checkout-dialog #payment-form .checkout-marketing input{width:18px;height:18px;min-width:18px;margin:1px 0 0;accent-color:#c4142a}
#checkout-dialog #payment-form .checkout-field:has([aria-invalid="true"]){border-color:#d61931;box-shadow:0 0 0 1px #d61931}
.checkout-field-error{color:#c4142a;font-size:12px;margin:7px 0 0}
#checkout-dialog{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;padding:0;background:#fff;color:#24242a;overflow-y:auto;overscroll-behavior:contain}
#checkout-dialog::backdrop{background:#fff}
.checkout-header{background:#fff;border-bottom:1px solid #e9e9ec}
.checkout-header-inner{max-width:1080px;margin:auto;min-height:89px;padding:14px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.checkout-brand{display:flex;align-items:center;gap:18px}
.checkout-brand img{width:55px;height:55px;object-fit:contain}
.checkout-brand>span{font-size:13px;color:#7b7b83;border-left:1px solid #e2e2e5;padding-left:18px}
#checkout-dialog #close-checkout{position:static;display:flex;gap:6px;align-items:center;justify-content:center;border-radius:0;background:transparent;width:auto;height:auto;font-size:12px;font-weight:500;color:#a1192b;white-space:nowrap}
#close-checkout .icon{width:17px;height:17px}
#checkout-dialog .checkout-layout{display:grid;grid-template-columns:calc(50% + 40px) minmax(0,1fr);min-height:calc(100dvh - 90px)}
#checkout-dialog .checkout-form-side{padding:40px 40px 44px max(24px,calc((100vw - 1000px)/2));min-width:0;background:#fff}
#checkout-dialog #payment-form fieldset{border:0;border-radius:0;padding:0;margin:0 0 30px;min-width:0}
#checkout-dialog #payment-form legend{font-family:'DM Sans',Arial,sans-serif;font-size:19px;font-weight:700;letter-spacing:-.03em;margin:0 0 12px;padding:0;line-height:1.4}
#checkout-dialog #payment-form .checkout-field{display:flex;flex-direction:column;gap:2px;border:1px solid #dcdce1;border-radius:9px;min-height:55px;padding:7px 12px;margin:0;background:#fff;font-weight:400;min-width:0}
#checkout-dialog #payment-form .checkout-field:focus-within{border-color:#b7162a;box-shadow:0 0 0 1px #b7162a}
#checkout-dialog #payment-form .checkout-field>span{font-size:11px;color:#7a7a83;line-height:1.4}
#checkout-dialog #payment-form .checkout-field input,#checkout-dialog #payment-form .checkout-field select{border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;padding:0;width:100%;font-size:14px;font-weight:400;color:#26262d;min-height:24px;min-width:0}
#checkout-dialog #payment-form .checkout-field input::placeholder{color:#aaaab1}
.checkout-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.checkout-field-grid .field-full{grid-column:1/-1;min-width:0}
#checkout-dialog .field-note{font-size:11px;color:#808089;margin:8px 0 0;line-height:1.6}
.checkout-section-intro{font-size:12px;color:#7f7f89;line-height:1.6;margin:-7px 0 14px}
.payment-method-list{border:1px solid #dadade;border-radius:10px;overflow:visible}
.payment-method+.payment-method{border-top:1px solid #dadade}
#checkout-dialog #payment-form .payment-choice{display:flex;align-items:center;gap:11px;padding:16px 14px;margin:0;cursor:pointer;min-height:66px;font-size:12px;font-weight:500;color:#29292e}
#checkout-dialog #payment-form .payment-choice:has(input:checked){background:#fff5f6;box-shadow:inset 0 0 0 1px #b9192c}
#checkout-dialog #payment-form input[type=radio]{width:18px;min-width:18px;height:18px;padding:0;margin:0;accent-color:#b9192c}
.payment-method-name{display:flex;flex-direction:column;gap:2px;flex:1}
.payment-method-name strong{font-weight:700}
#checkout-dialog #payment-form .payment-choice-main{display:flex;align-items:center;gap:11px;flex:1;min-width:0;margin:0;font:inherit;cursor:pointer}
.payment-method:first-child .payment-choice{border-radius:10px 10px 0 0}
.payment-method:last-child .payment-method-description{border-radius:0 0 10px 10px}
.payment-method-description{font-size:12px;line-height:1.6;background:#f8f8fa;color:#6c6c75;padding:17px 20px;text-align:center;margin:0;border-top:1px solid #e5e5e8}
.payment-method:not(:has(input:checked)) .payment-method-description{display:none}
.payment-brands{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;flex-shrink:0}
.payment-brands>img,.payment-brands-popover>img{display:block;width:38px;height:24px;object-fit:contain;border-radius:3px}
.payment-brand-redcompra{display:flex;align-items:center;justify-content:center;width:38px;height:24px;border:1px solid #ffffff30;border-radius:3px;background:linear-gradient(110deg,#ed253a 0%,#ed253a 35%,#243396 70%,#243396 100%)}
.payment-brand-redcompra img{display:block;width:36px;height:auto;object-fit:contain}
.payment-brands-more{position:relative;display:flex}
#checkout-dialog .payment-brands-toggle{display:grid;place-items:center;min-width:25px;height:24px;padding:0 3px;border:1px solid #e0dce4;border-radius:3px;background:#fff;color:#684880;font-size:10px;cursor:pointer}
#checkout-dialog .payment-brands-toggle:focus-visible{outline:2px solid #c4142a;outline-offset:3px}
.payment-brands-popover{position:absolute;z-index:30;right:-7px;bottom:calc(100% + 10px);display:flex;width:max-content;gap:5px;padding:11px;background:#222225;border-radius:9px;box-shadow:0 4px 16px #0003}
.payment-brands-popover>*{flex-shrink:0}
.payment-brands-popover[hidden]{display:none}
.payment-brands-popover:after{content:'';position:absolute;right:12px;bottom:-7px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #222225}
@media(max-width:600px){#checkout-dialog #payment-form .payment-choice{flex-wrap:wrap}#checkout-dialog #payment-form .payment-choice-main{flex-basis:100%}.payment-brands{margin-left:29px;justify-content:flex-start;flex-shrink:1}}
.billing-details{margin-top:18px;border-top:1px solid #eeeef0;padding-top:16px}
.billing-details>summary{font-size:12px;font-weight:600;color:#494953;cursor:pointer;list-style-position:inside}
.billing-details>summary>span{font-size:10px;color:#97979f;font-weight:400;float:right}
.billing-details[open]>summary{margin-bottom:14px}
#checkout-dialog .pay-submit{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;margin-top:14px;border:0;border-radius:9px;background:#c4142a;color:#fff;font-size:15px;font-weight:700;width:100%}
#checkout-dialog .pay-submit:hover{background:#a50e21}
.checkout-submit-note{text-align:center;font-size:10px;color:#8c8c95;margin:10px 0 0}
.checkout-bottom-links{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-top:1px solid #e8e8ec;margin-top:26px;padding-top:18px;font-size:11px;color:#a31729}
#checkout-dialog .edit-cart{margin:0;font-size:11px}
#checkout-dialog .checkout-summary{background:#a90e24;color:#fff;border:0;padding:42px max(24px,calc((100vw - 1000px)/2)) 42px 40px;min-width:0}
.checkout-summary-disclosure{position:sticky;top:34px}
.checkout-summary-disclosure>summary{display:none}
#checkout-dialog .checkout-summary h3{font-size:15px;font-weight:600;letter-spacing:-.01em;margin:0 0 24px;color:#fff}
#checkout-dialog .checkout-item{grid-template-columns:64px minmax(0,1fr) auto;gap:16px;border:0;padding:0 0 24px;font-size:12px}
.checkout-thumbnail{position:relative;width:64px;height:64px}
#checkout-dialog .checkout-item img{width:64px;height:64px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #ffffff33}
.checkout-quantity{position:absolute;right:-7px;top:-7px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:20px;background:#6c3440;border:1px solid #ffffff77;color:#fff;font-size:11px}
#checkout-dialog .checkout-item h3{font-family:inherit;font-size:12px;font-weight:500;line-height:1.5;margin:0 0 3px;color:inherit}
#checkout-dialog .checkout-item p{font-size:11px;color:#f2cbd1;line-height:1.5;margin:0}
#checkout-dialog .checkout-item>strong{font-weight:500;font-size:12px;white-space:nowrap}
#checkout-dialog .checkout-totals{margin-top:10px;padding-top:22px;border-top:1px solid #ffffff30;font-size:12px;gap:12px}
#checkout-dialog .checkout-totals p,#checkout-dialog .checkout-totals p strong{color:#fff}
#checkout-dialog .checkout-grand-total{border-top:0;padding-top:18px;font-size:21px;font-weight:600;align-items:baseline}
#checkout-dialog .checkout-grand-total small{font-size:10px;color:#efc3ca;font-weight:400;margin-right:5px}
.checkout-delivery-note{display:flex;gap:10px;margin-top:30px;padding-top:20px;border-top:1px solid #ffffff30;font-size:11px;color:#efc3ca;line-height:1.7}
.checkout-delivery-note .icon{flex-shrink:0;width:18px;height:18px;margin-top:2px}
.checkout-delivery-note strong{color:#fff;font-weight:500}
#checkout-dialog .payment-notice{color:#655424;background:#fff7df;border-color:#eee1b8;font-size:12px}
#checkout-dialog .checkout-error{color:#a01628;background:#fff1f3;border-color:#e9adb6}
#checkout-dialog .checkout-loading{max-width:600px;margin:80px auto;padding:40px 24px}
#checkout-dialog .payment-result{max-width:680px;margin:40px auto;padding:30px 24px}
#checkout-dialog .payment-result .checkout-item p{color:#767681}
#checkout-dialog .payment-result .checkout-grand-total small{color:#767681}
#checkout-dialog .receipt-reference{background:#f7f7f9}
#checkout-dialog .checkout-contact a{color:#a31729}
#checkout-dialog [id^="mp-payment-brick"]{min-height:160px;margin:24px 0}
@media(min-width:901px){.checkout-summary-disclosure:not([open])>.checkout-summary-inner{display:block}}
@media(max-width:900px){
  #checkout-dialog .checkout-layout{grid-template-columns:1fr}
  #checkout-dialog .checkout-summary{order:-1;padding:0;background:#a90e24}
  .checkout-summary-disclosure{position:static}
  .checkout-summary-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;font-size:13px;cursor:pointer;list-style:none}
  .checkout-summary-disclosure>summary::-webkit-details-marker{display:none}
  .checkout-summary-disclosure>summary>span:after{content:'⌄';margin-left:10px}
  .checkout-summary-disclosure[open]>summary>span:after{content:'⌃'}
  .checkout-summary-inner{max-width:600px;margin:auto;padding:0 24px 24px}
  #checkout-dialog .checkout-summary h3{display:none}
  #checkout-dialog .checkout-summary .checkout-item h3{display:block}
  #checkout-dialog .checkout-item{padding-bottom:18px}
  .checkout-delivery-note{margin-top:20px}
  #checkout-dialog .checkout-form-side{padding:30px 24px 40px;width:100%;max-width:600px;margin:auto}
  .checkout-header-inner{padding:12px 24px;min-height:76px}
  .checkout-brand img{width:45px;height:45px}
  .checkout-brand>span{display:none}
}
@media(max-width:400px){#checkout-dialog .checkout-form-side{padding-inline:18px}.checkout-summary-inner{padding-inline:18px}.checkout-header-inner{padding-inline:18px}.checkout-field-grid{gap:9px}.payment-brands{gap:3px}.payment-method-name{font-size:11px}#checkout-dialog .checkout-item{gap:12px;grid-template-columns:56px minmax(0,1fr) auto}.checkout-thumbnail,#checkout-dialog .checkout-item img{width:56px;height:56px}}
