.gallery-open, .checkout-open { overflow: hidden; }
.gallery-lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #241f1b; color: var(--mac-ink); }
.gallery-lightbox::backdrop { background: rgba(24, 19, 15, .86); backdrop-filter: blur(8px); }
.gallery-panel { width: min(100%, 1440px); min-width: 0; min-height: 100%; margin: 0 auto; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 18px clamp(16px, 3vw, 44px); }
.gallery-panel header, .gallery-panel footer { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-panel header, .gallery-panel footer { padding: 12px 14px; border: 1px solid rgba(0, 0, 0, .18); border-radius: 14px; background: rgba(255, 248, 226, .97); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.gallery-panel header > div { min-width: 0; }
.gallery-panel header .eyebrow { margin-bottom: 3px; color: var(--mac-red); }
.gallery-panel h2 { max-width: 100%; margin: 0; color: var(--mac-ink); font-size: clamp(22px, 3vw, 36px); overflow-wrap: anywhere; }
.gallery-panel button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--mac-ink); border-radius: 10px; background: var(--mac-yellow); color: var(--mac-ink); box-shadow: 2px 2px 0 var(--mac-ink); font: 700 16px/1 var(--mac-display); }
.gallery-panel button:hover { background: var(--mac-white); color: var(--mac-red); transform: translateY(-1px); }
.gallery-panel button:focus-visible { outline: 3px solid var(--mac-cyan); outline-offset: 3px; }
.gallery-panel header button { border-color: var(--mac-ink); background: var(--mac-red); color: var(--mac-white); }
.gallery-panel header button span { margin-left: 10px; font-size: 24px; }
.gallery-stage { min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; margin: 14px 0; padding: clamp(12px, 2vw, 24px); border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; background: #f7f3ea; box-shadow: 0 16px 42px rgba(0, 0, 0, .28); }
.gallery-stage img { width: 100%; height: 100%; max-width: 100%; max-height: calc(100dvh - 210px); object-fit: contain; }
.gallery-panel footer span { min-width: 58px; padding: 7px 10px; border-radius: 999px; background: var(--mac-yellow); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }

.checkout-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 0; background: var(--mac-paper); color: var(--mac-ink); }
.checkout-dialog::backdrop { background: rgba(17, 17, 17, .86); }
.checkout-dialog[open] { animation: checkout-reveal 280ms ease-out both; }
.checkout-shell { width: 100%; max-width: 1320px; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; padding: 16px 36px 20px; }
.checkout-wipe { position: fixed; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; visibility: hidden; }
.checkout-wipe::before, .checkout-wipe::after { content: ""; position: absolute; inset: 0; transform: translateX(-102%); }
.checkout-wipe::before { background: var(--mac-yellow); }
.checkout-wipe::after { background: var(--mac-red); clip-path: inset(0 0 0 76%); }
.checkout-wipe.is-active { visibility: visible; }
.checkout-wipe.is-active::before { animation: wipe-layer 280ms ease-in-out both; }
.checkout-wipe.is-active::after { animation: wipe-layer 280ms 35ms ease-in-out both; }
.checkout-header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border: 3px solid var(--mac-ink); background: var(--mac-yellow); box-shadow: var(--mac-shadow-small); }
.checkout-wordmark { color: var(--mac-red); font: 700 30px/1 var(--mac-display); letter-spacing: .03em; text-decoration: none; }
.checkout-wordmark span { margin-left: 5px; color: var(--mac-ink); font-size: 17px; }
.checkout-header-actions { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.checkout-close { min-height: 44px; display: flex; align-items: center; gap: 14px; padding: 7px 10px; border: 0; background: transparent; color: var(--mac-ink); font-size: 12px; font-weight: 800; }
.checkout-close span { font-size: 28px; line-height: 1; }
.checkout-progress { display: flex; margin-top: 14px; border: 3px solid var(--mac-ink); background: var(--mac-white); }
.checkout-progress button { min-height: 55px; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border: 0; border-right: 2px solid var(--mac-ink); background: var(--mac-white); color: var(--mac-ink); font: 700 18px/1 var(--mac-display); letter-spacing: .05em; }
.checkout-progress button:last-child { border-right: 0; }
.checkout-progress button[aria-current] { background: var(--mac-red); color: var(--mac-white); }
.checkout-progress button.is-complete { background: var(--mac-yellow); color: var(--mac-ink); }
.checkout-progress button:disabled { opacity: .65; }
.progress-number { width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 13px; }
.step-completed { display: none; }
.checkout-progress .is-complete .step-completed { display: inline; }
.checkout-progress .is-complete .progress-number { display: none; }
.checkout-timer { min-height: 40px; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 7px 11px; border: 1px solid var(--mac-ink); border-radius: 12px; background: var(--mac-yellow); color: var(--mac-ink); box-shadow: 2px 2px 0 var(--mac-ink); font-family: var(--mac-display); letter-spacing: .045em; white-space: nowrap; }
.checkout-timer-label { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; line-height: 1; }
.checkout-timer-label > span { color: var(--mac-red); font-size: 18px; }
.checkout-timer strong { min-width: 58px; color: var(--mac-red); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.checkout-timer.is-urgent { background: var(--mac-red); color: var(--mac-white); animation: checkout-timer-pulse 1.8s ease-in-out infinite; }
.checkout-timer.is-urgent .checkout-timer-label > span,
.checkout-timer.is-urgent strong { color: var(--mac-yellow); }
.checkout-timer.is-expired { background: var(--mac-warm); color: var(--mac-ink); animation: none; }
.checkout-timer.is-expired .checkout-timer-label > span,
.checkout-timer.is-expired strong { color: var(--mac-red); }
.mobile-progress { display: none; }
.selected-mac-summary { min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 14px; padding: 10px 14px; border: 3px solid var(--mac-ink); background: var(--mac-soft); }
.selected-mac-summary img { width: 70px; height: 52px; object-fit: contain; }
.selected-mac-summary span { display: block; color: var(--mac-red); font: 700 13px/1 var(--mac-display); letter-spacing: .05em; }
.selected-mac-summary strong { display: block; margin-top: 3px; font-size: 14px; overflow-wrap: anywhere; }
.selected-mac-summary > b { font: 700 23px/1 var(--mac-display); white-space: nowrap; }

.checkout-layout { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; flex: 1; padding: 22px 0 14px; }
.checkout-layout form { min-width: 0; padding: 26px 28px 24px; border: 3px solid var(--mac-ink); background: var(--mac-white); box-shadow: var(--mac-shadow-small); }
.checkout-step { min-width: 0; }
.checkout-step { scroll-margin-top: 96px; }
.checkout-step h2 { position: relative; z-index: 0; max-width: 850px; margin: 0 0 22px; font-size: clamp(42px, 4.3vw, 64px); overflow-wrap: anywhere; }
.checkout-step h2:focus, .checkout-success h2:focus { outline: none; }
.checkout-step .eyebrow { margin-bottom: 7px; }
.step-intro { margin: -8px 0 22px; color: #333333; font-size: 15px; font-weight: 650; }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; padding-top: 15px; border-top: 2px solid var(--mac-ink); }
.step-actions > .button { min-width: 300px; justify-content: space-between; }
.step-actions > .muted { font-size: 12px; }
.checkout-side-column { position: sticky; top: 20px; min-width: 0; display: grid; gap: 14px; }
.checkout-aside { position: static; min-width: 0; padding: 20px; border: 3px solid var(--mac-ink); background: var(--mac-soft); box-shadow: var(--mac-shadow-small); }
.checkout-coupon-panel { min-width: 0; padding: 16px; border: 3px solid var(--mac-ink); background: var(--mac-soft); box-shadow: var(--mac-shadow-small); }
.summary-caption { margin-bottom: 18px; color: var(--mac-red); font: 700 20px/1 var(--mac-display); letter-spacing: .05em; }
.summary-mac, [data-summary-items] > div { min-width: 0; display: flex; justify-content: space-between; gap: 18px; padding-bottom: 13px; font-size: 13px; line-height: 1.4; }
.summary-mac span, [data-summary-items] span { min-width: 0; overflow-wrap: anywhere; }
.summary-mac strong, [data-summary-items] strong { flex: 0 0 auto; font-size: 13px; white-space: nowrap; }
.summary-totals { margin: 3px 0 0; border-top: 3px solid var(--mac-ink); }
.summary-totals > div { display: flex; justify-content: space-between; gap: 16px; padding-top: 11px; font-size: 13px; }
.summary-totals dd { margin: 0; font-weight: 800; white-space: nowrap; }
.summary-totals .summary-total { padding-top: 15px; font: 700 23px/1 var(--mac-display); }
.summary-total dd { color: var(--mac-red); font-size: 26px; }
.aside-note { margin: 22px 0 0; padding-top: 14px; border-top: 2px dashed var(--mac-ink); color: #333333; font-size: 12px; font-weight: 650; }
.summary-update { min-height: 18px; color: var(--mac-red); font-size: 11px; font-weight: 700; }

.combo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.combo-card { min-width: 0; overflow: hidden; border: 3px solid var(--mac-ink); border-radius: 12px; background: var(--mac-warm); box-shadow: var(--mac-shadow-small); transition: background-color 200ms, transform 200ms, box-shadow 200ms; }
.combo-card:hover { transform: translateY(-4px); box-shadow: 7px 7px 0 var(--mac-ink); }
.combo-card.is-selected { background: var(--mac-yellow); box-shadow: 7px 7px 0 var(--mac-ink); }
.combo-product-stage { position: relative; height: 185px; display: grid; place-items: center; padding: 14px; border-bottom: 3px solid var(--mac-ink); background: var(--mac-white); }
.combo-product-stage > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.combo-added { position: absolute; right: 9px; top: 9px; padding: 5px 8px; border: 2px solid var(--mac-ink); background: var(--mac-yellow); color: var(--mac-ink); font: 700 13px/1 var(--mac-display); letter-spacing: .05em; }
.combo-card-body { min-width: 0; padding: 16px; }
.combo-card h3 { margin-bottom: 6px; font-size: 29px; overflow-wrap: anywhere; }
.combo-benefit { min-height: 38px; margin-bottom: 9px; color: #333333; font-size: 13px; font-weight: 600; }
.combo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.combo-price del { color: var(--mac-muted); font-size: 13px; }
.combo-price strong { color: var(--mac-red); font: 700 34px/1 var(--mac-display); }
.combo-price > span { color: #333333; font-size: 11px; font-weight: 700; }
.combo-saving { margin: 5px 0 10px; padding: 6px 8px; border: 2px dashed var(--mac-ink); background: rgba(255, 212, 0, .45); color: var(--mac-red); font-size: 12px; font-weight: 900; }
.combo-toggle { width: 100%; min-height: 48px; margin-top: 6px; padding: 10px; background: var(--mac-white); color: var(--mac-ink); font-size: 17px; }
.combo-toggle[aria-pressed=true] { background: var(--mac-ink); color: var(--mac-yellow); }
.variant-options { min-width: 0; margin: 16px 0 0; padding: 14px 0 0; border: 0; border-top: 2px solid var(--mac-ink); }
.variant-options legend { margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 800; }
.variant-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.variant-choice { position: relative; min-width: 0; cursor: pointer; }
.variant-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.variant-choice > span { min-width: 0; min-height: 58px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 7px 4px; border: 2px solid var(--mac-ink); background: var(--mac-white); font-size: 11px; font-weight: 750; text-align: center; overflow-wrap: anywhere; }
.variant-choice img { width: 100%; height: 55px; object-fit: contain; }
.variant-choice input:checked + span { background: var(--mac-yellow); box-shadow: inset 0 0 0 2px var(--mac-red); }
.variant-choice input:checked + span > span::after { content: " ✓"; }
.variant-choice input:focus-visible + span { outline: 3px solid var(--mac-yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mac-ink); }
.variant-choice input:disabled + span { opacity: .45; }
.quantity-field { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.quantity-field input { width: 78px; min-height: 46px; padding: 8px; border: 2px solid var(--mac-ink); }

.buyer-grid { max-width: 680px; display: grid; gap: 22px; margin: 26px 0 16px; }
.buyer-grid label { display: grid; gap: 8px; font-size: 14px; font-weight: 800; }
.buyer-grid input { width: 100%; min-width: 0; min-height: 56px; padding: 13px 14px; border: 2px solid var(--mac-ink); border-radius: 4px; background: var(--mac-white); color: var(--mac-ink); font-size: 16px; scroll-margin-block: 80px; }
.buyer-grid input:focus { border-color: var(--mac-red); outline: 3px solid var(--mac-yellow); outline-offset: 2px; }
.buyer-grid input[aria-invalid=true], .receipt-field input[aria-invalid=true] + .receipt-dropzone { border-color: var(--mac-red); }
.field-error { display: block; margin: 6px 0 0; color: var(--mac-red); font-size: 12px; font-weight: 800; }
.checkout-error { margin: 18px 0; padding: 12px 14px; border: 3px solid var(--mac-red); background: #FFF0EF; color: var(--mac-red); font-size: 13px; font-weight: 700; }
.checkout-working { margin-top: 12px; color: var(--mac-red); font-size: 13px; font-weight: 800; }

.payment-content { width: 100%; max-width: 760px; }
.payment-summary { display: none; }
.plin-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 3px solid var(--mac-ink); background: var(--mac-yellow); box-shadow: var(--mac-shadow-small); }
.payment-brand { display: block; margin-bottom: 5px; color: var(--mac-red); font: 700 25px/1 var(--mac-display); letter-spacing: .08em; }
.plin-card strong { display: block; font: 700 38px/1 var(--mac-display); white-space: nowrap; }
.plin-card p { margin: 5px 0 9px; font-size: 15px; font-weight: 750; }
.plin-card img { width: 205px; height: 205px; padding: 7px; border: 3px solid var(--mac-ink); background: var(--mac-white); object-fit: contain; }
.copy-number { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 2px solid var(--mac-ink); border-radius: 4px; background: var(--mac-white); color: var(--mac-ink); font-size: 12px; font-weight: 850; }
.copy-number:hover, .copy-number.copied { background: var(--mac-ink); color: var(--mac-yellow); }
.copy-number svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-feedback { min-height: 17px; display: block; margin-top: 4px; color: var(--mac-red); font-size: 11px; font-weight: 900; }
.receipt-field { margin-top: 20px; }
.receipt-dropzone { min-height: 126px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 20px; border: 3px dashed var(--mac-ink); border-radius: 7px; background: #FFF9D8; cursor: pointer; text-align: left; transition: background-color 180ms, border-color 180ms; }
.receipt-dropzone:hover, .receipt-dropzone.is-dragging { border-color: var(--mac-red); background: var(--mac-yellow); }
.receipt-field input:focus-visible + .receipt-dropzone { outline: 3px solid var(--mac-yellow); outline-offset: 3px; box-shadow: 0 0 0 2px var(--mac-ink); }
.receipt-dropzone svg { width: 36px; height: 36px; flex: 0 0 36px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.receipt-dropzone strong, .receipt-dropzone small { display: block; }
.receipt-dropzone strong { font: 700 20px/1 var(--mac-display); }
.receipt-dropzone small { margin-top: 6px; color: #333333; font-size: 11px; }
.receipt-selection { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 14px; border: 3px solid var(--mac-ink); background: var(--mac-warm); font-size: 13px; overflow-wrap: anywhere; }
.receipt-selection > span { min-width: 0; font-weight: 800; }
.receipt-selection > div { flex: 0 0 auto; display: flex; gap: 7px; }
.receipt-selection label, .receipt-selection button { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 10px; border: 2px solid var(--mac-ink); background: var(--mac-white); color: var(--mac-ink); font-size: 10px; font-weight: 850; cursor: pointer; }
.checkout-submit { min-width: 350px; font-size: 22px; }
.payment-note { max-width: 420px; margin: 0; color: #333333; font-size: 12px; font-weight: 650; }
.checkout-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 0 4px; color: var(--mac-muted); font-size: 11px; }

.checkout-success { position: relative; width: min(100%, 900px); margin: 30px auto; padding: 40px; border: 4px solid var(--mac-ink); background: var(--mac-warm); box-shadow: var(--mac-shadow); }
.checkout-success h2 { max-width: 670px; margin: 10px 0 18px; font-size: clamp(50px, 5.3vw, 76px); }
.checkout-success h2 span { color: var(--mac-red); }
.checkout-success > p:not(.eyebrow) { max-width: 620px; margin-bottom: 20px; font-size: 15px; font-weight: 650; }
.success-stamp { position: absolute; right: 32px; top: 36px; width: 125px; height: 125px; display: grid; place-content: center; padding: 20px 12px; background: var(--mac-yellow); color: var(--mac-ink); font: 700 17px/1 var(--mac-display); text-align: center; transform: rotate(5deg); clip-path: polygon(50% 0,60% 13%,75% 7%,78% 23%,93% 25%,88% 40%,100% 50%,88% 60%,93% 75%,78% 78%,75% 93%,60% 87%,50% 100%,40% 87%,25% 93%,22% 78%,7% 75%,12% 60%,0 50%,12% 40%,7% 25%,22% 23%,25% 7%,40% 13%); }
.order-reference { margin: 20px 0; padding: 15px; border: 3px dashed var(--mac-ink); background: var(--mac-yellow); }
.order-reference > span { display: block; margin-bottom: 5px; color: var(--mac-red); font: 700 16px/1 var(--mac-display); letter-spacing: .08em; }
.order-reference strong { font-family: ui-monospace, Consolas, monospace; font-size: clamp(18px, 2.2vw, 26px); overflow-wrap: anywhere; }
.success-summary { max-width: 520px; margin-bottom: 24px; padding: 18px; border: 3px solid var(--mac-ink); background: var(--mac-white); }
.success-summary .summary-caption { display: none; }
.checkout-success > .text-button { display: block; margin: 10px 0; }

.checkout-step.is-entering .step-enter { animation: step-arrive 280ms ease-out both; }
.checkout-step.is-entering .step-enter:nth-child(2) { animation-delay: 30ms; }
.checkout-step.is-entering .step-enter:nth-child(3) { animation-delay: 55ms; }
.image-changing { animation: image-reveal 240ms ease-out; }
.combo-card.just-added { animation: added 260ms ease-out; }
.total-updated, .copied { animation: total-update 260ms ease-out; }
@keyframes checkout-reveal { from { opacity: .3; clip-path: inset(3% 0 0); transform: translateY(10px); } to { opacity: 1; clip-path: inset(0); transform: translateY(0); } }
@keyframes step-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes image-reveal { from { opacity: .35; transform: scale(.99); } to { opacity: 1; transform: scale(1); } }
@keyframes added { 50% { background: var(--mac-yellow); } }
@keyframes total-update { 50% { color: var(--mac-red); transform: scale(1.02); } }
@keyframes wipe-layer { 0% { transform: translateX(-102%); } 45%,55% { transform: translateX(0); } 100% { transform: translateX(102%); } }
@keyframes checkout-timer-pulse { 50% { box-shadow: 0 0 0 3px rgba(255, 0, 0, .16), 2px 2px 0 var(--mac-ink); } }

@media (hover: hover) and (pointer: fine) {
    .gallery-main-link:hover img { transform: scale(1.015); }
}

@media (max-width: 1024px) {
    .detail-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
    .detail-product-stage { height: 410px; }
    .detail-copy { padding: 28px 25px; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
    .checkout-layout form { padding-inline: 22px; }
    .combo-product-stage { height: 160px; }
}

@media (min-width: 1025px) {
    .gallery-panel { padding: 18px clamp(18px, 3vw, 56px); }
    .checkout-shell { max-width: 1188px; padding: 14px 28px 18px; }
    .checkout-header { min-height: 62px; padding: 10px 16px; }
    .checkout-wordmark { font-size: 27px; }
    .checkout-progress { margin-top: 12px; }
    .checkout-progress button { min-height: 49px; padding: 10px; font-size: 16px; }
    .selected-mac-summary { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; margin-top: 12px; padding: 8px 12px; }
    .selected-mac-summary img { width: 64px; height: 47px; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; padding: 18px 0 12px; }
    .checkout-layout form { padding: 22px 24px 21px; }
    .checkout-step h2 { margin-bottom: 18px; font-size: clamp(38px, 3.8vw, 56px); }
    .step-intro { margin-bottom: 18px; }
    .step-actions { gap: 14px; margin-top: 19px; padding-top: 13px; }
    .step-actions > .button { min-width: 270px; }
    .checkout-aside { padding: 17px; }
    .summary-caption { margin-bottom: 14px; font-size: 18px; }
    .combo-grid { gap: 16px; }
    .combo-product-stage { height: 165px; padding: 12px; }
    .combo-card-body { padding: 14px; }
    .combo-card h3 { font-size: 26px; }
    .combo-price strong { font-size: 30px; }
    .variant-choice > span { min-height: 52px; }
    .variant-choice img { height: 48px; }
    .buyer-grid { gap: 16px; margin: 19px 0 13px; }
    .buyer-grid input { min-height: 50px; padding: 11px 13px; }
    .payment-content { max-width: 700px; }
    .plin-card { gap: 20px; padding: 18px 20px; }
    .plin-card strong { font-size: 34px; }
    .plin-card img { width: 180px; height: 180px; }
    .receipt-field { margin-top: 16px; }
    .receipt-dropzone { min-height: 108px; padding: 17px; }
    .checkout-submit { min-width: 315px; font-size: 20px; }
    .checkout-success { margin: 24px auto; padding: 34px; }
    .checkout-success h2 { font-size: clamp(46px, 4.8vw, 68px); }
}

@media (max-width: 767px) {
    .mac-checkout, .mac-detail, .detail-grid, .detail-gallery, .detail-copy, .gallery-main-link, .checkout-shell, .checkout-layout, .checkout-layout form, .checkout-step, .payment-content, .checkout-success { min-width: 0; max-width: 100%; }
    .mac-detail { width: 100%; padding: 16px 16px 24px; }
    .detail-grid { width: 100%; grid-template-columns: minmax(0, 1fr); margin-top: 8px; overflow: hidden; }
    .detail-gallery { width: 100%; padding: 10px; border-right: 0; border-bottom: 4px solid var(--mac-ink); }
    .detail-product-stage { width: 100%; height: clamp(290px, 78vw, 355px); padding: 38px 10px 14px; }
    .gallery-main-link img { width: 100%; max-width: 100%; object-fit: contain; }
    .gallery-main-link > span { right: 5px; bottom: 5px; }
    .detail-thumbnails { margin-top: 9px; }
    .miniatura { width: 75px; height: 62px; flex-basis: 75px; }
    .detail-copy { width: 100%; padding: 24px 20px 25px; }
    .detail-copy h1 { font-size: clamp(38px, 12vw, 53px); }
    .detail-price { font-size: clamp(52px, 16vw, 66px); }
    .detail-pitch { font-size: 18px; }
    .buy-button { min-height: 60px; font-size: 23px; }
    .gallery-lightbox, .gallery-panel, .gallery-panel header, .gallery-panel footer, .gallery-stage { width: 100%; max-width: 100%; min-width: 0; }
    .gallery-panel { padding: 15px 12px; }
    .gallery-panel header { gap: 10px; }
    .gallery-panel h2 { font-size: 22px; }
    .gallery-panel header button { flex: 0 0 auto; padding-inline: 10px; }
    .gallery-panel footer { gap: 8px; }
    .gallery-panel footer button { padding-inline: 9px; font-size: 13px; }
    .gallery-stage img { width: 100%; max-width: 100%; object-fit: contain; }

    .checkout-dialog { width: 100%; max-width: 100vw; }
    .checkout-shell { width: 100%; padding: 10px 16px max(16px, env(safe-area-inset-bottom)); }
    .checkout-header { min-width: 0; min-height: 62px; padding: 9px 11px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
    .checkout-wordmark { min-width: 0; font-size: 24px; }
    .checkout-wordmark span { display: block; margin: 2px 0 0; font-size: 12px; }
    .checkout-header-actions { display: contents; }
    .checkout-close { grid-column: 2; grid-row: 1; gap: 6px; font-size: 10px; }
    .checkout-progress { display: none; }
    .checkout-timer { width: 100%; grid-column: 1 / -1; grid-row: 2; padding: 8px 11px; }
    .checkout-timer-label { font-size: 14px; }
    .checkout-timer strong { font-size: 22px; }
    .mobile-progress { width: 100%; min-width: 0; display: grid; gap: 8px; margin-top: 12px; }
    .mobile-progress > div { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 700 16px/1 var(--mac-display); }
    .mobile-progress > div > span { min-width: 0; }
    .mobile-progress strong { flex: 0 0 auto; color: var(--mac-red); font-size: 20px; white-space: nowrap; }
    .mobile-progress-track { width: 100%; height: 5px; display: block; overflow: hidden; border: 1px solid var(--mac-ink); background: var(--mac-white); }
    .mobile-progress-track i { width: 33.333%; height: 100%; display: block; background: var(--mac-red); transition: width 280ms ease; }
    .selected-mac-summary { width: 100%; grid-template-columns: 52px minmax(0, 1fr) auto; margin-top: 10px; padding: 8px 9px; }
    .selected-mac-summary img { width: 52px; height: 40px; }
    .selected-mac-summary strong { font-size: 12px; }
    .selected-mac-summary > b { font-size: 18px; }
    .checkout-layout { width: 100%; display: block; padding-top: 15px; }
    .checkout-layout form { width: 100%; padding: 20px 16px; box-shadow: 3px 3px 0 var(--mac-ink); }
    .checkout-side-column { display: none; }
    .checkout-step h2 { width: 100%; font-size: clamp(38px, 12vw, 50px); margin-bottom: 20px; }
    .checkout-step .hand-underline { white-space: normal; }
    .step-intro { font-size: 14px; }
    .step-actions { gap: 10px; margin-top: 20px; }
    .step-actions > .button { width: 100%; min-width: 0; min-height: 56px; font-size: 20px; }
    .step-actions > .muted { width: 100%; text-align: center; }
    .combo-grid { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .combo-card { width: 100%; max-width: 100%; }
    .combo-product-stage { width: 100%; height: 185px; }
    .combo-card-body { width: 100%; padding: 15px; }
    .combo-card h3 { font-size: 30px; }
    .combo-benefit { min-height: 0; }
    .variant-options, .variant-grid, .variant-choice, .variant-choice > span { min-width: 0; max-width: 100%; }
    .variant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .variant-choice img { height: 68px; }
    .buyer-grid, .buyer-grid label, .buyer-grid input { width: 100%; min-width: 0; max-width: 100%; }
    .buyer-grid { gap: 20px; margin-top: 22px; }
    .buyer-grid label { font-size: 14px; }
    .payment-summary { width: 100%; min-width: 0; display: block; margin-bottom: 18px; padding: 17px; border: 3px solid var(--mac-ink); background: var(--mac-soft); }
    .payment-summary .summary-caption { display: none; }
    .plin-card { width: 100%; min-width: 0; flex-direction: column; justify-content: center; padding: 19px 15px; text-align: center; }
    .plin-card > div { width: 100%; min-width: 0; }
    .plin-card strong { max-width: 100%; font-size: 36px; }
    .plin-card img { width: min(220px, 80%); height: auto; aspect-ratio: 1; }
    .receipt-field, .receipt-dropzone, .receipt-selection { width: 100%; min-width: 0; max-width: 100%; }
    .receipt-dropzone { min-height: 120px; padding: 15px; }
    .receipt-selection { align-items: flex-start; flex-direction: column; }
    .receipt-selection > div { max-width: 100%; flex-wrap: wrap; }
    .checkout-submit { min-width: 0; font-size: 20px; }
    .checkout-bottom { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
    .checkout-success { width: 100%; margin: 18px auto; padding: 26px 18px; box-shadow: 4px 4px 0 var(--mac-ink); }
    .checkout-success h2 { width: 100%; max-width: 100%; margin-top: 14px; font-size: clamp(39px, 11.5vw, 49px); overflow-wrap: anywhere; }
    .checkout-success > p:not(.eyebrow) { font-size: 14px; }
    .success-stamp { position: static; width: 78px; height: 78px; margin-bottom: 16px; padding: 9px; font-size: 11px; }
    .checkout-success > .button { width: 100%; font-size: 17px; }
    .order-reference strong { font-size: 16px; }
}

@media (max-width: 380px) {
    .mac-detail { padding-inline: 12px; }
    .checkout-shell { padding-inline: 12px; }
    .checkout-layout form { padding-inline: 13px; }
    .detail-copy { padding-inline: 17px; }
    .selected-mac-summary { grid-template-columns: 45px minmax(0, 1fr); }
    .selected-mac-summary > b { grid-column: 2; }
    .variant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-dialog[open], .checkout-step .step-enter, .image-changing, .just-added, .total-updated, .copied, .checkout-wipe::before, .checkout-wipe::after, .checkout-timer { animation: none !important; clip-path: none !important; transform: none !important; }
    .checkout-wipe { display: none; }
    .combo-card:hover, .gallery-main-link:hover img { transform: none; }
}

.mac-sales-body .mac-checkout .coupon-entry {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.mac-sales-body .mac-checkout .coupon-entry > label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: .04em;
}

.mac-sales-body .mac-checkout .coupon-entry [hidden] { display: none; }
.mac-sales-body .mac-checkout .coupon-entry [data-coupon-form] { display: flex; align-items: stretch; gap: 8px; }
.mac-sales-body .mac-checkout .coupon-entry input[type=text] {
    width: 100%; min-width: 0; height: 46px; min-height: 46px; padding: 10px 13px;
    border: 1px solid var(--checkout-line); border-radius: var(--checkout-radius-sm);
    background: var(--mac-white); color: var(--mac-ink); font: 700 15px Inter, sans-serif;
    text-transform: uppercase;
}
.mac-sales-body .mac-checkout .coupon-entry input:focus { outline: 3px solid var(--mac-yellow); outline-offset: 2px; }
.mac-sales-body .mac-checkout .coupon-entry .button { height: 46px; min-height: 46px; padding-inline: 13px; background: var(--mac-yellow); color: var(--mac-ink); }
.mac-sales-body .mac-checkout .coupon-entry p { margin: 10px 0 0; color: #176126; font-size: 13px; font-weight: 800; }
.mac-sales-body .mac-checkout .coupon-entry p.is-error { color: var(--mac-red); }
.mac-sales-body .mac-checkout .coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #176126; font-size: 13px; font-weight: 850; }
.mac-sales-body .mac-checkout .coupon-applied button { min-height: 36px; padding: 6px 8px; border: 0; border-radius: var(--checkout-radius-sm); background: transparent; color: var(--mac-red); font: 700 13px/1 var(--mac-display); letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; }
.mac-sales-body .mac-checkout .coupon-applied button:hover { background: rgba(199, 30, 38, .08); }
.mac-sales-body .mac-checkout .coupon-applied button:focus-visible { outline: 3px solid var(--mac-yellow); outline-offset: 2px; }
.mac-sales-body .mac-checkout .summary-coupon {
    display: flex; justify-content: space-between; gap: 14px; padding: 10px 0;
    border-top: 1px solid var(--checkout-line); color: var(--mac-red); font-size: 13px; font-weight: 800;
}
.mac-sales-body .mac-checkout .summary-coupon strong { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 480px) {
    .mac-sales-body .mac-checkout .coupon-entry [data-coupon-form] { flex-direction: column; }
    .mac-sales-body .mac-checkout .coupon-entry .button { width: 100%; }
}

/* El flujo hereda el lenguaje visual del catálogo sin sacrificar claridad. */
.mac-sales-body .mac-checkout {
    --checkout-radius-sm: var(--ctm-brand-radius-sm);
    --checkout-radius-md: var(--ctm-brand-radius-md);
    --checkout-radius-lg: var(--ctm-brand-radius-lg);
    --checkout-radius-pill: var(--ctm-brand-radius-pill);
    --checkout-line: rgba(0, 0, 0, .2);
    --checkout-line-soft: rgba(0, 0, 0, .11);
    --checkout-shadow: var(--ctm-brand-shadow-soft);
    --checkout-shadow-hover: var(--ctm-brand-shadow-soft-hover);
}

.mac-sales-body .mac-checkout .checkout-shell {
    max-width: 1120px;
    padding-top: 18px;
}

.mac-sales-body .mac-checkout .checkout-step h2 {
    max-width: 720px;
    margin-bottom: 14px;
    font-size: clamp(38px, 3.8vw, 54px);
}

.mac-sales-body .mac-checkout .checkout-step h2:focus,
.mac-sales-body .mac-checkout .checkout-step h2:focus-visible,
.mac-sales-body .mac-checkout .checkout-success h2:focus,
.mac-sales-body .mac-checkout .checkout-success h2:focus-visible {
    outline: none;
    box-shadow: none;
}

.mac-sales-body .mac-checkout .button {
    width: auto;
    min-height: 52px;
    padding: 12px 22px;
    border: 2px solid var(--mac-ink);
    border-radius: var(--checkout-radius-md);
    box-shadow: 0 4px 0 var(--mac-ink);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: .04em;
}

.mac-sales-body .mac-checkout .text-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--checkout-radius-sm);
    background: transparent;
    color: var(--mac-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.mac-sales-body .mac-checkout .text-button:hover {
    background: rgba(0, 0, 0, .06);
}

.mac-sales-body .mac-checkout .checkout-close,
.mac-sales-body .mac-checkout .copy-number,
.mac-sales-body .mac-checkout .receipt-selection label,
.mac-sales-body .mac-checkout .receipt-selection button {
    border-radius: var(--checkout-radius-sm);
}

.mac-sales-body .mac-checkout .checkout-close {
    gap: 9px;
    padding: 6px 7px 6px 13px;
    border: 1px solid var(--checkout-line);
    background: var(--mac-white);
    box-shadow: 0 3px 10px rgba(45, 32, 20, .08);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.mac-sales-body .mac-checkout .checkout-close span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mac-red);
    color: var(--mac-white);
    font-size: 20px;
    line-height: 1;
}

.mac-sales-body .mac-checkout .checkout-close:hover {
    border-color: rgba(0, 0, 0, .35);
    background: var(--mac-soft);
    box-shadow: 0 5px 14px rgba(45, 32, 20, .12);
}

.mac-sales-body .mac-checkout .checkout-close:focus-visible {
    outline: 3px solid var(--mac-cyan);
    outline-offset: 3px;
}

.mac-sales-body .mac-checkout .checkout-error {
    border-width: 1px;
    border-radius: var(--checkout-radius-sm);
}

.mac-sales-body .mac-checkout .payment-content {
    max-width: 640px;
}

.mac-sales-body .mac-checkout .checkout-bottom > span:empty {
    display: none;
}

.mac-sales-body .mac-checkout .checkout-dialog {
    color-scheme: only light;
    background: var(--mac-paper);
}

.mac-sales-body .mac-checkout .checkout-header,
.mac-sales-body .mac-checkout .selected-mac-summary {
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-warm);
    box-shadow: var(--checkout-shadow);
}

.mac-sales-body .mac-checkout .checkout-progress {
    overflow: hidden;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-warm);
    box-shadow: 0 6px 18px rgba(45, 32, 20, .08);
}

.mac-sales-body .mac-checkout .checkout-progress button {
    border-right: 1px solid var(--checkout-line-soft);
    background: var(--mac-warm);
    color: var(--mac-ink);
}

.mac-sales-body .mac-checkout .checkout-progress button[aria-current] {
    background: var(--mac-red);
    color: var(--mac-white);
    box-shadow: inset 0 -4px 0 var(--mac-yellow);
}

.mac-sales-body .mac-checkout .checkout-progress button.is-complete {
    background: var(--mac-yellow);
    color: var(--mac-ink);
}

.mac-sales-body .mac-checkout .checkout-progress button.is-complete .step-completed {
    color: var(--mac-red);
}

.mac-sales-body .mac-checkout .checkout-layout form {
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-warm);
    box-shadow: var(--checkout-shadow);
}

.mac-sales-body .mac-checkout .checkout-aside {
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-soft);
    box-shadow: 0 10px 26px rgba(45, 32, 20, .1);
}

.mac-sales-body .mac-checkout .checkout-coupon-panel {
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-soft);
    box-shadow: 0 10px 26px rgba(45, 32, 20, .08);
}

.mac-sales-body .mac-checkout .summary-caption {
    margin-bottom: 14px;
}

.mac-sales-body .mac-checkout .summary-mac,
.mac-sales-body .mac-checkout [data-summary-items] > div {
    padding-block: 9px;
    border-bottom: 1px solid var(--checkout-line-soft);
}

.mac-sales-body .mac-checkout .summary-totals {
    border-top: 1px solid var(--checkout-line-soft);
}

.mac-sales-body .mac-checkout .summary-totals .summary-total {
    margin: 8px 0;
    padding: 13px 0;
    border-top: 1px solid var(--checkout-line-soft);
    border-bottom: 1px solid var(--checkout-line-soft);
    color: var(--mac-ink);
    font-size: 1.45rem;
    text-align: left;
    text-shadow: none;
}

.mac-sales-body .mac-checkout .summary-totals .summary-total dd {
    color: var(--mac-red);
    font-size: 1.75rem;
    text-shadow: none;
}

.mac-sales-body .mac-checkout .aside-note {
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid var(--checkout-line-soft);
}

.mac-sales-body .mac-checkout .selected-mac-summary {
    display: grid;
    width: 100%;
}

.mac-sales-body .mac-checkout .combo-grid {
    align-items: start;
    gap: 18px;
}

.mac-sales-body .mac-checkout .combo-card {
    overflow: hidden;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-white);
    box-shadow: 0 8px 24px rgba(45, 32, 20, .1);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mac-sales-body .mac-checkout .combo-card.is-selected {
    border: 1px solid var(--mac-red);
    background: var(--mac-warm);
    box-shadow: inset 0 0 0 1px var(--mac-red), 0 10px 28px rgba(45, 32, 20, .14);
}

.mac-sales-body .mac-checkout .combo-card.just-added {
    animation: none;
}

.mac-sales-body .mac-checkout .combo-product-stage {
    height: 142px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--checkout-line-soft);
    background: var(--mac-soft);
}

.mac-sales-body .mac-checkout .combo-added {
    display: none;
}

.mac-sales-body .mac-checkout .combo-card-body {
    padding: 14px 16px 16px;
}

.mac-sales-body .mac-checkout .combo-card h3 {
    font-size: 26px;
}

.mac-sales-body .mac-checkout .combo-benefit {
    min-height: 0;
    margin-bottom: 7px;
}

.mac-sales-body .mac-checkout .combo-price strong {
    font-size: 2.35rem;
    line-height: 1;
    text-shadow: none;
}

.mac-sales-body .mac-checkout .combo-price {
    gap: 4px 8px;
}

.mac-sales-body .mac-checkout .combo-price del {
    flex: 0 0 100%;
    display: inline-flex;
    align-items: baseline;
    align-self: baseline;
    color: #6d665f;
    font: 700 1rem/1 var(--mac-display);
    text-decoration-color: currentColor;
    text-decoration-line: line-through;
    text-decoration-thickness: 1.5px;
    white-space: nowrap;
}

.mac-sales-body .mac-checkout .combo-saving {
    width: fit-content;
    margin: 6px 0 10px;
    padding: 5px 9px;
    border: 0;
    border-radius: var(--checkout-radius-pill);
    background: rgba(255, 255, 0, .6);
    color: var(--mac-red);
}

.mac-sales-body .mac-checkout .combo-toggle {
    min-height: 44px;
    border: 1px solid var(--mac-ink);
    border-radius: var(--checkout-radius-sm);
    background: var(--mac-warm);
    color: var(--mac-ink);
    box-shadow: none;
    font-size: 15px;
}

.mac-sales-body .mac-checkout .combo-toggle:hover {
    background: var(--mac-yellow);
}

.mac-sales-body .mac-checkout .combo-toggle[aria-pressed=true] {
    border-color: var(--mac-red);
    background: var(--mac-red);
    color: var(--mac-white);
}

.mac-sales-body .mac-checkout .combo-toggle:disabled {
    border-color: #c7c7c2;
    background: #f2f2ef;
    color: #666;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .75;
}

.mac-sales-body .mac-checkout .variant-options {
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid var(--checkout-line-soft);
}

.mac-sales-body .mac-checkout .variant-choice > span {
    min-height: 52px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-sm);
    background: var(--mac-white);
    box-shadow: none;
}

.mac-sales-body .mac-checkout .variant-choice input:checked + span {
    border: 2px solid var(--mac-red);
    background: rgba(255, 255, 0, .28);
    color: var(--mac-ink);
    box-shadow: none;
}

.mac-sales-body .mac-checkout .variant-choice input:focus-visible + span {
    outline: 3px solid var(--mac-cyan);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--mac-ink);
}

.mac-sales-body .mac-checkout .variant-choice input:disabled + span {
    border-color: #d7d7d2;
    background: #f2f2ef;
    color: #666;
    opacity: .7;
    filter: grayscale(1);
}

.mac-sales-body .mac-checkout .quantity-field {
    width: min(100%, 220px);
    padding: 8px 10px;
    border: 1px solid var(--checkout-line-soft);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-soft);
}

.mac-sales-body .mac-checkout .quantity-field input {
    width: 76px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-sm);
    background: var(--mac-white);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05);
    color: var(--mac-ink);
    font: 700 15px/1 var(--mac-font);
    text-align: center;
}

.mac-sales-body .mac-checkout .quantity-field input:focus {
    border-color: var(--mac-ink);
    background: var(--mac-white);
    outline: 3px solid var(--mac-cyan);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--mac-ink);
    transform: none;
}

.mac-sales-body .mac-checkout .buyer-grid input {
    min-height: 50px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-sm);
    background: var(--mac-white);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}

.mac-sales-body .mac-checkout .buyer-grid input:focus {
    border-color: var(--mac-ink);
    background: var(--mac-white);
    outline: 3px solid var(--mac-cyan);
    outline-offset: 2px;
    box-shadow: none;
}

.mac-sales-body .mac-checkout .plin-card {
    position: relative;
    overflow: hidden;
    max-width: 620px;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-warm);
    box-shadow: var(--checkout-shadow);
}

.mac-sales-body .mac-checkout .payment-brand {
    width: fit-content;
    padding: 5px 9px;
    border: 0;
    border-radius: var(--checkout-radius-pill);
    background: var(--mac-yellow);
}

.mac-sales-body .mac-checkout .plin-card img {
    width: 165px;
    height: 165px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-white);
    box-shadow: 0 6px 18px rgba(45, 32, 20, .1);
}

.mac-sales-body .mac-checkout .copy-number {
    border: 1px solid var(--mac-ink);
    border-radius: var(--checkout-radius-sm);
    background: var(--mac-white);
}

.mac-sales-body .mac-checkout .receipt-dropzone {
    min-height: 98px;
    border: 2px dashed #008b95;
    border-radius: var(--checkout-radius-md);
    background: var(--mac-white);
    color: #163c40;
    box-shadow: none;
}

.mac-sales-body .mac-checkout .receipt-dropzone:hover,
.mac-sales-body .mac-checkout .receipt-dropzone.is-dragging {
    border-color: #006d74;
    background: #eaffff;
}

.mac-sales-body .mac-checkout .receipt-field input:focus-visible + .receipt-dropzone {
    outline: 3px solid var(--mac-cyan);
    outline-offset: 3px;
    box-shadow: 0 0 0 1px var(--mac-ink);
}

.mac-sales-body .mac-checkout .receipt-selection {
    border: 1px solid var(--checkout-line);
    border-left: 4px solid #008b95;
    border-radius: var(--checkout-radius-md);
    background: var(--mac-white);
}

.mac-sales-body .mac-checkout .step-actions {
    border-top: 1px solid var(--checkout-line-soft);
}

.mac-sales-body .mac-checkout .step-actions > .button {
    width: auto;
    min-height: 52px;
    border: 2px solid var(--mac-ink);
    border-radius: var(--checkout-radius-md);
    box-shadow: 0 4px 0 var(--mac-ink);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.mac-sales-body .mac-checkout .button-primary:hover,
.mac-sales-body .mac-checkout .btn-siguiente:hover {
    background: #a90000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 0 var(--mac-ink);
}

.mac-sales-body .mac-checkout .checkout-success {
    width: min(100%, 820px);
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-warm);
    box-shadow: var(--checkout-shadow);
}

.mac-sales-body .mac-checkout .checkout-success > .eyebrow {
    width: fit-content;
    margin-bottom: 9px;
    padding: 5px 9px;
    border-radius: var(--checkout-radius-pill);
    background: rgba(255, 255, 0, .52);
    color: var(--mac-red);
}

.mac-sales-body .mac-checkout .checkout-success h2 {
    max-width: 590px;
    margin: 0 0 15px;
    font-size: clamp(42px, 4.5vw, 64px);
}

.mac-sales-body .mac-checkout .checkout-success > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 0 22px;
    color: #4d4741;
    line-height: 1.55;
}

.mac-sales-body .mac-checkout .success-stamp {
    right: 28px;
    top: 28px;
    width: 104px;
    height: 104px;
    border: 0;
    background: var(--mac-yellow);
    box-shadow: none;
}

.mac-sales-body .mac-checkout .order-reference {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: var(--checkout-radius-md);
    background: rgba(255, 255, 0, .38);
    box-shadow: 0 7px 20px rgba(45, 32, 20, .08);
}

.mac-sales-body .mac-checkout .order-reference > span {
    margin: 0;
    color: #5a5148;
    font-size: 14px;
}

.mac-sales-body .mac-checkout .order-reference strong {
    min-width: 0;
    color: var(--mac-red);
    font-size: clamp(19px, 2.4vw, 28px);
    text-align: right;
}

.mac-sales-body .mac-checkout .success-summary {
    max-width: none;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.mac-sales-body .mac-checkout .success-summary .summary-caption {
    display: block;
    margin-bottom: 10px;
    color: var(--mac-ink);
}

.mac-sales-body .mac-checkout .success-summary .summary-total {
    padding-inline: 12px;
    border: 0;
    border-radius: var(--checkout-radius-sm);
    background: rgba(255, 255, 0, .3);
}

.mac-sales-body .mac-checkout .confirmation-whatsapp {
    min-height: 52px;
    background: var(--mac-red);
    color: var(--mac-white);
    box-shadow: 0 4px 0 var(--mac-ink);
}

.mac-sales-body .mac-checkout .confirmation-whatsapp:hover {
    background: #a90000;
    color: var(--mac-white);
    transform: translateY(-1px);
    box-shadow: 0 5px 0 var(--mac-ink);
}

.mac-sales-body .mac-checkout .confirmation-whatsapp:focus-visible {
    outline: 3px solid var(--mac-cyan);
    outline-offset: 3px;
}

.mac-sales-body .product-direct-checkout .direct-product-card {
    margin-bottom: 8px;
    padding: 14px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-lg);
    background: var(--mac-warm);
    box-shadow: var(--checkout-shadow);
}

.mac-sales-body .product-direct-checkout .direct-product-image {
    border: 0;
    border-radius: var(--checkout-radius-md);
    background: var(--mac-soft);
}

.mac-sales-body .product-direct-checkout .direct-public-price {
    border: 0;
    border-radius: var(--checkout-radius-pill);
    background: var(--mac-yellow);
}

.mac-sales-body .product-direct-checkout .direct-variant-options {
    padding: 18px 0 0;
    border: 0;
    background: transparent;
}

.mac-sales-body .product-direct-checkout .direct-quantity-field {
    width: min(100%, 240px);
    padding: 10px 12px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-soft);
}

.mac-sales-body .product-direct-checkout .direct-total {
    width: min(100%, 520px);
    border: 1px solid var(--checkout-line);
    border-left: 6px solid var(--mac-red);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-yellow);
}

.mac-sales-body .product-direct-checkout .product-mobile-summary,
.mac-sales-body .mac-checkout .payment-summary {
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius-md);
    background: var(--mac-soft);
}

@media (hover: hover) and (pointer: fine) {
    .mac-sales-body .mac-checkout .combo-card:hover {
        border-color: rgba(0, 0, 0, .34);
        transform: translateY(-2px);
        box-shadow: var(--checkout-shadow-hover);
    }

    .mac-sales-body .mac-checkout .combo-card.is-selected:hover {
        border-color: var(--mac-red);
        box-shadow: var(--checkout-shadow-hover);
    }
}

@media (max-width: 767px) {
    .mac-sales-body .mac-checkout .checkout-shell { padding-inline: 12px; }
    .mac-sales-body .mac-checkout .selected-mac-summary { display: grid; box-shadow: none; }
    .mac-sales-body .mac-checkout .mobile-progress-track { border-radius: var(--checkout-radius-pill); }
    .mac-sales-body .mac-checkout .checkout-layout form { padding: 20px 16px; box-shadow: 0 8px 22px rgba(45, 32, 20, .1); }
    .mac-sales-body .mac-checkout .checkout-step > .checkout-side-column { position: static; display: grid; width: 100%; gap: 12px; margin: 18px 0 0; }
    .mac-sales-body .mac-checkout .checkout-step > .checkout-side-column .checkout-aside,
    .mac-sales-body .mac-checkout .checkout-step > .checkout-side-column .checkout-coupon-panel { padding: 16px; box-shadow: none; }
    .mac-sales-body .mac-checkout .checkout-step > .checkout-side-column .summary-update { min-height: 0; }
    .mac-sales-body .mac-checkout .payment-summary { border-radius: var(--checkout-radius-md); }
    .mac-sales-body .mac-checkout .step-actions > .button { width: 100%; }
    .mac-sales-body .mac-checkout .checkout-success h2 { font-size: clamp(38px, 11vw, 48px); }
    .mac-sales-body .mac-checkout .success-stamp { width: 78px; height: 78px; }
    .mac-sales-body .mac-checkout .order-reference { grid-template-columns: 1fr; gap: 7px; }
    .mac-sales-body .mac-checkout .order-reference strong { text-align: left; }
    .mac-sales-body .mac-checkout .confirmation-whatsapp { width: 100%; }
    .mac-sales-body .product-direct-checkout .direct-product-card { padding-bottom: 14px; }
    .mac-sales-body .product-direct-checkout .direct-product-image { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mac-sales-body .mac-checkout .combo-card,
    .mac-sales-body .mac-checkout .step-actions > .button { transition: none; }
}
