/* One checkout layout, starting with phone-sized screens. Scoped to avoid site styles. */
body.memoshot-cart-preview-visible { overflow: hidden; }
body.memoshot-cart-preview-visible .mouseCursor { display: none; }
@media screen {
body .memoshot-cart-preview-backdrop { padding: 0; background: #faf8f4; }
body .memoshot-cart-preview-modal { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; box-shadow: none; background: #faf8f4; color: #17233c; font-size: 16px; line-height: 1.6; }
body .memoshot-cart-preview-head { padding: 20px max(20px, calc((100vw - 760px) / 2)); background: #fff; gap: 12px; flex-shrink: 0; }
body .memoshot-cart-preview-head h3 { font-size: clamp(24px, 4vw, 32px); line-height: 1.25; }
body .memoshot-cart-preview-head h3:focus { outline: none; }
body .memoshot-cart-preview-close { width: 48px; height: 48px; flex: 0 0 48px; font-size: 20px; }
body .memoshot-cart-preview-progress { padding: 12px max(20px, calc((100vw - 760px) / 2)); font-size: 14px; letter-spacing: 0; text-transform: none; background: #fff; border-bottom: 1px solid #e2e8f0; }
body .memoshot-cart-preview-body { min-height: 0; padding: 24px max(20px, calc((100vw - 760px) / 2)); overscroll-behavior: contain; }
body .memoshot-cart-preview-panel { display: grid; gap: 20px; }
body .memoshot-cart-preview-panel[hidden], body .memoshot-cart-preview-actions [hidden] { display: none !important; }
body .memoshot-cart-preview-message:empty { display: none; }
body .memoshot-cart-preview-message { font-size: 16px; }
body .memoshot-cart-preview-card { padding: 22px; border-radius: 16px; }
body .memoshot-cart-preview-card h4, body .checkout-experience h4 { margin: 0 0 16px; font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; }
body .checkout-intro { margin: 0; color: #506078; font-size: 16px; line-height: 1.65; }
body .checkout-experiences { display: grid; gap: 16px; min-width: 0; }
body .checkout-experience { padding: 22px; border: 1px solid #dce4ef; border-radius: 16px; background: #fff; min-width: 0; }
body .checkout-experience small { display: block; font-size: 14px; color: #506078; margin-bottom: 6px; }
body .checkout-duration { display: grid; gap: 8px; margin: 0 0 16px; font-size: 16px; font-weight: 600; }
body .checkout-duration select { width: 100%; min-height: 52px; padding: 12px; border: 1px solid #aab8c9; border-radius: 8px; background: #fff; color: #17233c; font: inherit; }
body .checkout-inclusions { margin: 12px 0 0; color: #506078; font-size: 16px; }
body .checkout-inclusions summary { cursor: pointer; min-height: 48px; padding: 12px 0; color: #17233c; font-weight: 600; }
body .checkout-inclusions ul { padding-left: 22px; margin: 8px 0 16px; }
body .checkout-inclusions li { margin-bottom: 8px; }
body .checkout-experience-foot { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid #e2e8f0; margin-top: 12px; padding-top: 16px; }
body .checkout-experience-foot strong { font-size: 24px; }
body .checkout-remove { min-height: 48px; padding: 8px 12px; background: transparent; border: 0; text-decoration: underline; font: inherit; color: #8d2441; }
body .memoshot-cart-preview-fields { grid-template-columns: 1fr; gap: 24px; }
body .memoshot-cart-preview-field label, body .memoshot-cart-preview-card small { font-size: 15px; text-transform: none; letter-spacing: 0; }
body .memoshot-cart-preview-field input, body .memoshot-cart-preview-field select { width: 100%; min-height: 52px; padding: 12px; font-size: 16px; }
body .memoshot-cart-preview-field .memoshot-cart-preview-error { font-size: 15px; }
body .memoshot-cart-preview-location { margin-top: 28px; }
body .memoshot-cart-preview-location-subtitle, body .memoshot-cart-preview-location-rule, body .memoshot-cart-availability-note { font-size: 16px; line-height: 1.6; }
body .memoshot-cart-preview-location-summary { grid-template-columns: 1fr 1fr; }
body .memoshot-cart-preview-location-summary small { font-size: 14px; }
body .memoshot-cart-availability-label { font-size: 16px; }
body .memoshot-cart-availability-head { gap: 8px; }
body .memoshot-cart-availability-selects { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 6px; }
body .memoshot-cart-availability-head button { width: 28px; flex: 0 0 28px; padding: 0; }
body .memoshot-cart-availability-head select { width: 100%; padding: 6px; }
body .memoshot-cart-availability-head select { font-size: 16px; min-height: 48px; }
body .memoshot-cart-availability-day { min-width: 0; min-height: 48px; padding: 6px 0; }
body .memoshot-cart-availability-day strong { font-size: 16px; }
body .memoshot-cart-availability-day small { display: none; }
body .memoshot-cart-preview-fields strong { font-size: 18px; overflow-wrap: anywhere; }
body .memoshot-cart-preview-installment { grid-template-columns: 1fr auto; font-size: 16px; padding: 16px; }
body .memoshot-cart-preview-installment span:nth-child(2) { grid-row: 2; color: #506078; }
body .memoshot-cart-preview-installment strong { grid-column: 2; grid-row: 1; }
body .memoshot-cart-preview-total { font-size: 18px; padding: 20px; gap: 16px; }
body .memoshot-cart-preview-total strong { font-size: 24px; }
body .memoshot-cart-preview-terms { justify-content: flex-start; align-items: flex-start; font-size: 16px; line-height: 1.6; gap: 12px; padding: 12px 0; }
body .memoshot-cart-preview-terms input { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
body .memoshot-cart-preview-actions { flex-shrink: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px 12px; align-items: stretch; padding: 12px max(20px, calc((100vw - 760px) / 2)) max(12px, env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px #17233c0a; }
body .memoshot-cart-preview-action-summary { grid-column: 1 / -1; margin: 0; font-size: 18px; text-align: left; white-space: normal; }
body .memoshot-cart-preview-action-summary:empty { display: none; }
body .memoshot-cart-preview-actions-right { display: contents; }
body .memoshot-cart-preview-actions .btn { grid-column: 2; grid-row: 2; width: 100%; min-height: 52px; min-width: 0; margin: 0; border-radius: 10px; padding: 12px; font-size: 16px; line-height: 1.4; text-transform: none; letter-spacing: 0; white-space: normal; }
body .memoshot-cart-preview-actions .checkout-secondary { grid-column: 1; background: #f1f4f8; border: 1px solid #dce4ef; box-shadow: none; color: #354d71; text-decoration: none; }
body .memoshot-cart-preview-actions .checkout-secondary:hover { background: #e5ebf3; color: #17233c; }
body .memoshot-cart-preview-actions .checkout-secondary::before { display: none; }
body .checkout-utility { border-top: 1px solid #dce4ef; padding-top: 8px; font-size: 16px; }
body .checkout-utility summary { cursor: pointer; padding: 12px 0; min-height: 48px; font-weight: 600; }
body .checkout-utility p { font-size: 16px; margin: 8px 0; }
body .checkout-utility-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; }
body .checkout-text-action { background: transparent; border: 0; color: #354d71; text-decoration: underline; font: inherit; padding: 12px 4px; min-height: 48px; cursor: pointer; }
body .checkout-text-action:disabled { opacity: .5; cursor: not-allowed; }
body .memoshot-cart-preview-modal :is(button, input, select, summary, a):focus-visible { outline: 3px solid #a96611; outline-offset: 3px; }
@media (min-width: 760px) {
  body .memoshot-cart-preview-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body [data-cart-preview-panel="customer"] .memoshot-cart-preview-fields { grid-template-columns: 1fr; }
}
}
@media print { .checkout-summary-tools { display: none !important; } }

@media screen and (min-width: 1024px) {
  body .memoshot-cart-preview-head,
  body .memoshot-cart-preview-progress,
  body .memoshot-cart-preview-body,
  body .memoshot-cart-preview-actions {
    padding-inline: max(20px, calc((100vw - 960px) / 2));
  }
}

body .checkout-discount-row { display: flex; gap: 12px; margin: 8px 0; }
body .checkout-discount-row input { flex: 1; min-width: 0; width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; font: inherit; font-size: 16px; }
body .checkout-discount-row button { background: #edf2f8; color: #354d71; border: 1px solid #dce4ef; min-height: 48px; padding: 12px 20px; border-radius: 8px; font: inherit; }

body .checkout-addon-list { display: grid; gap: 12px; margin-top: 16px; }
body .checkout-addon-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e2e8f0; padding-top: 12px; }
body .checkout-addon-row > div { min-width: 0; overflow-wrap: anywhere; }
body .checkout-addon-row strong { display: block; font-size: 16px; }
body .checkout-addon-row small { display: block; color: #506078; }
body .checkout-addon-toggle { flex-shrink: 0; min-width: 80px; min-height: 48px; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f1f4f8; color: #354d71; font: inherit; cursor: pointer; }
body .checkout-addon-toggle[aria-pressed="true"] { background: #e8f0ff; border-color: #337fff; }

body .checkout-addon-info { display: flex; align-items: center; gap: 12px; flex: 1; }
body .checkout-addon-info > div { min-width: 0; overflow-wrap: anywhere; }
body .checkout-addon-image { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #f1f4f8; color: #7b8aa0; }
body .checkout-addon-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
body .checkout-addon-image-placeholder { font-size: 26px; font-weight: 400; line-height: 1; }
@media screen and (max-width: 480px) {
  body .checkout-addon-row { gap: 10px; }
  body .checkout-addon-info { gap: 8px; }
  body .checkout-addon-image { width: 48px; height: 48px; flex-basis: 48px; }
  body .checkout-addon-image-placeholder { font-size: 22px; }
}
