#checkout-dialog {
  width: min(1080px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid #e4c28a80;
  border-radius: 6px;
  color: #14231f;
  background: #f7f5ef;
  box-shadow: 0 30px 120px #0006;
  font: 400 14px/1.6 "DM Sans", Arial, sans-serif;
  overscroll-behavior: contain;
}
#checkout-dialog::backdrop { background: #0a1713b8; backdrop-filter: blur(7px); }
#checkout-dialog *, #checkout-dialog *::before, #checkout-dialog *::after { box-sizing: border-box; }
#checkout-dialog [hidden] { display: none !important; }
#checkout-dialog button, #checkout-dialog input, #checkout-dialog select { font: inherit; }
#checkout-dialog button { cursor: pointer; }
#checkout-dialog button:disabled { cursor: wait; opacity: .7; }
#checkout-dialog :focus-visible { outline: 3px solid #9d6c25; outline-offset: 3px; }
#checkout-dialog h2:focus { outline: none; }
#checkout-dialog p, #checkout-dialog h2, #checkout-dialog h3 { margin: 0; }
#checkout-dialog .checkout-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 34px; background: #14231f; color: #f7f5ef; }
#checkout-dialog .checkout-top > div > p:last-child { margin-top: 5px; color: #d4dacd; font-size: 12px; }
#checkout-dialog .checkout-kicker { font-size: 10px; letter-spacing: 1.65px; line-height: 1.7; font-weight: 650; text-transform: uppercase; }
#checkout-dialog .checkout-top .checkout-kicker { color: #e4c28a; }
#checkout-dialog .checkout-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ffffff50; border-radius: 50%; background: transparent; color: #f7f5ef; font-size: 28px; line-height: 1; }
#checkout-dialog .checkout-close:hover { background: #ffffff16; }
#checkout-dialog .checkout-progress { display: flex; list-style: none; margin: 0; padding: 20px 34px; gap: 22px; border-bottom: 1px solid #d9dacf; }
#checkout-dialog .checkout-progress li { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: #62695f; font-size: 12px; }
#checkout-dialog .checkout-progress li > span:first-child { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid #9a9f91; border-radius: 50%; font-size: 11px; }
#checkout-dialog .checkout-progress [aria-current] { color: #14231f; font-weight: 650; }
#checkout-dialog .checkout-progress [aria-current] > span:first-child { background: #e4c28a; border-color: #e4c28a; }
#checkout-dialog .checkout-progress .is-complete > span:first-child { background: #14231f; color: #f7f5ef; border-color: #14231f; }
#checkout-dialog .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
#checkout-dialog .checkout-main { padding: 32px 34px; min-width: 0; }
#checkout-dialog h2 { font: 400 clamp(32px, 3.8vw, 45px)/1.1 "Italiana", "Times New Roman", serif; letter-spacing: -.6px; margin-top: 10px; max-width: 540px; }
#checkout-dialog .checkout-intro { margin: 17px 0 25px; color: #515e54; font-size: 13px; }
#checkout-dialog .checkout-details-section + .checkout-details-section { margin-top: 30px; padding-top: 25px; border-top: 1px solid #d9dacf; }
#checkout-dialog .checkout-details-section > h3 { margin-bottom: 18px; font-size: 14px; font-weight: 650; }
#checkout-dialog .checkout-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 19px 16px; }
#checkout-dialog .checkout-wide { grid-column: 1 / -1; min-width: 0; }
#checkout-dialog .checkout-field { min-width: 0; }
#checkout-dialog .checkout-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 650; }
#checkout-dialog input:not([type="checkbox"]), #checkout-dialog select { display: block; min-width: 0; width: 100%; min-height: 48px; border: 1px solid #959e91; border-radius: 3px; padding: 11px 10px; color: #14231f; background: #fffefb; box-shadow: none; font-size: 13px; }
#checkout-dialog input::placeholder { color: #73786c; opacity: 1; }
#checkout-dialog input[type="date"] { appearance: none; }
#checkout-dialog input[type="date"]::-webkit-date-and-time-value { text-align: left; }
#checkout-dialog input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #14231f; }
#checkout-dialog [aria-invalid="true"] { border-color: #9e302d !important; outline-color: #9e302d; }
#checkout-dialog .checkout-hint { margin-top: 8px; color: #596457; font-size: 11px; line-height: 1.65; }
#checkout-dialog .checkout-spaced { margin: 11px 0 21px; }
#checkout-dialog .checkout-field-error { margin-top: 6px; color: #972c28; font-size: 12px; }
#checkout-dialog .checkout-errors:empty, #checkout-dialog .checkout-status:empty { display: none; }
#checkout-dialog .checkout-errors { margin-top: 20px; color: #972c28; font-size: 12px; font-weight: 650; }
#checkout-dialog .checkout-status { margin-top: 20px; border-left: 3px solid #ad782e; padding: 12px 14px; background: #ece5d6; font-size: 13px; }
#checkout-dialog .checkout-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 27px; }
#checkout-dialog .checkout-primary, #checkout-dialog .checkout-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border: 1px solid #14231f; border-radius: 3px; font-size: 12px; font-weight: 650; line-height: 1.5; transition: background .2s; }
#checkout-dialog .checkout-primary { background: #14231f; color: #f7f5ef; gap: 24px; }
#checkout-dialog .checkout-primary:hover { background: #2f473b; }
#checkout-dialog .checkout-secondary { background: transparent; color: #14231f; border-color: #939d8e; }
#checkout-dialog .checkout-secondary:hover { background: #eaeade; }
#checkout-dialog .checkout-sample { width: 100%; text-align: left; justify-content: flex-start; }
#checkout-dialog .checkout-test-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#checkout-dialog .checkout-test-card { min-width: 0; padding: 15px 12px; border: 1px solid #929d8d; border-radius: 5px; text-align: left; background: #eeeee3; color: #14231f; }
#checkout-dialog .checkout-test-card:hover { border-color: #14231f; background: #e5e8da; }
#checkout-dialog .checkout-test-card span { display: block; font-size: 9px; font-weight: 650; letter-spacing: 1px; }
#checkout-dialog .checkout-test-card strong { display: block; margin: 12px 0 8px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
#checkout-dialog .checkout-test-card small { display: block; font-size: 10px; line-height: 1.5; }
#checkout-dialog .checkout-consent { margin-top: 24px; padding: 16px; background: #eaece1; border-radius: 3px; }
#checkout-dialog .checkout-consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; cursor: pointer; }
#checkout-dialog .checkout-privacy { margin-top: 25px; padding-top: 17px; border-top: 1px solid #d9dacf; color: #596457; font-size: 10px; }
#checkout-dialog .checkout-security { margin-top: 22px; padding: 13px 15px; border: 1px solid #c7cfbd; border-radius: 3px; color: #40523e; background: #eef0e5; font-size: 11px; }
#checkout-dialog .checkout-review { display: grid; gap: 16px; overflow-wrap: anywhere; }
#checkout-dialog .checkout-review section { padding: 18px; border: 1px solid #c5cbbc; border-radius: 4px; background: #fffefb; }
#checkout-dialog .checkout-review-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
#checkout-dialog .checkout-review-heading h3 { font-size: 13px; font-weight: 650; }
#checkout-dialog .checkout-review-heading .checkout-edit { margin-top: 0; padding-block: 7px; }
#checkout-dialog .checkout-review p { font-size: 13px; }
#checkout-dialog .checkout-review small { display: block; margin-top: 12px; color: #596457; font-size: 11px; }
#checkout-dialog .checkout-masked { display: inline-block; margin-left: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#checkout-dialog .checkout-summary { min-width: 0; padding: 34px 27px; background: #e9ecdf; border-left: 1px solid #d2d8c8; overflow-wrap: anywhere; }
#checkout-dialog .checkout-summary-image { display: block; width: 100%; height: 132px; margin-bottom: 24px; border-radius: 4px; object-fit: cover; }
#checkout-dialog .checkout-summary h3 { margin: 10px 0 23px; font: 400 31px/1.1 "Italiana", "Times New Roman", serif; }
#checkout-dialog .checkout-summary-visit { display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
#checkout-dialog .checkout-summary-visit strong { font-size: 15px; font-weight: 550; }
#checkout-dialog .checkout-edit { min-height: 44px; background: none; border: 0; border-bottom: 1px solid #7b876f; color: #14231f; padding: 9px 0; margin-top: 9px; font-size: 11px; }
#checkout-dialog .checkout-summary dl { margin: 26px 0 0; }
#checkout-dialog .checkout-summary dl > div { display: flex; gap: 15px; justify-content: space-between; align-items: baseline; padding: 9px 0; font-size: 11px; }
#checkout-dialog .checkout-summary dd { margin: 0; flex-shrink: 0; font-weight: 600; }
#checkout-dialog .checkout-summary dl .checkout-total { border-top: 1px solid #b7c0aa; margin-top: 13px; padding-top: 20px; font-size: 13px; }
#checkout-dialog .checkout-total dd { font: 400 36px/1.1 "Italiana", "Times New Roman", serif; }
#checkout-dialog .checkout-free { margin-top: 16px; font-size: 11px; }
#checkout-dialog .checkout-zero { margin-top: 23px; padding: 12px; background: #dce3cd; font-size: 12px; font-weight: 650; text-align: center; border: 1px solid #b4bfa5; }
#checkout-dialog .checkout-summary-note { margin-top: 20px; color: #4f5f4d; font-size: 11px; }
#checkout-dialog .checkout-success { margin: 28px 0; padding: 25px 20px; border: 2px dashed #8a6b38; background: #efe6d5; }
#checkout-dialog .checkout-success strong { display: block; font-size: 17px; letter-spacing: 1px; line-height: 1.5; }
#checkout-dialog .checkout-success p { margin-top: 16px; font-size: 13px; }
#checkout-dialog #checkout-reference { display: block; margin-top: 5px; font-size: 11px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  #checkout-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  #checkout-dialog .checkout-top { padding: 18px 20px; }
  #checkout-dialog .checkout-progress { padding: 16px 20px; gap: 12px; }
  #checkout-dialog .checkout-progress li { font-size: 10px; gap: 7px; }
  #checkout-dialog .checkout-progress li > span:first-child { flex-basis: 23px; height: 23px; }
  #checkout-dialog .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  #checkout-dialog .checkout-main { padding: 26px 22px; }
  #checkout-dialog .checkout-summary { padding: 25px 22px; border-left: 0; border-top: 1px solid #d2d8c8; }
  #checkout-dialog .checkout-summary h3 { font-size: 28px; }
}
@media (max-width: 420px) {
  #checkout-dialog .checkout-top { gap: 12px; padding: 15px; }
  #checkout-dialog .checkout-top .checkout-kicker { font-size: 8px; letter-spacing: 1px; }
  #checkout-dialog .checkout-top > div > p:last-child { font-size: 10px; }
  #checkout-dialog .checkout-progress { padding: 13px 14px; gap: 8px; }
  #checkout-dialog .checkout-progress li { flex-direction: column; text-align: center; font-size: 9px; }
  #checkout-dialog .checkout-progress li > span:first-child { flex-basis: auto; width: 23px; }
  #checkout-dialog .checkout-main { padding: 23px 17px; }
  #checkout-dialog .checkout-fields, #checkout-dialog .checkout-test-cards { grid-template-columns: minmax(0, 1fr); }
  #checkout-dialog .checkout-field input, #checkout-dialog .checkout-field select { font-size: 16px; }
  #checkout-dialog .checkout-actions { flex-wrap: wrap; }
  #checkout-dialog .checkout-actions > button { flex: 1 1 auto; }
  #checkout-dialog .checkout-primary { gap: 12px; padding-inline: 15px; }
  #checkout-dialog .checkout-summary { padding: 23px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  #checkout-dialog *, #checkout-dialog *::before, #checkout-dialog *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
