.checkout-section { padding: 80px 24px; background: #f2f4ec; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; max-width: 1180px; margin: auto; align-items: start; }
.checkout-faq h2 { color: #193f2c; margin-bottom: 18px; }
.checkout-faq > p { color: #616e5d; margin-bottom: 26px; }
.checkout-faq-list details { border-bottom: 1px solid #d7dece; padding: 17px 0; }
.checkout-faq-list summary { cursor: pointer; font-size: 19px; font-weight: 600; color: #264a32; }
.checkout-faq-list details p { padding-top: 10px; color: #64715c; line-height: 1.8; }
.checkout-help { display: flex; align-items: center; gap: 13px; margin-top: 25px; color: #3d643e; }
.checkout-help i { font-size: 32px; }.checkout-help strong { display: block; }
.checkout-panel { min-width: 0; background: #fffefa; border: 1px solid #dde3d3; border-radius: 20px; padding: 28px; box-shadow: 0 16px 40px #18392108; }
.package-picker { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.package-picker legend { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.package-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.package-option { display: flex; align-items: center; gap: 8px; border: 1px solid #d8dfce; border-radius: 10px; padding: 12px 10px; cursor: pointer; color: #35523a; min-width: 0; }
.package-option:has(input:checked) { border-color: #2f784b; background: #eef5e6; box-shadow: inset 0 0 0 1px #2f784b; }
.package-option input, .modal-option input { accent-color: #1d7545; flex-shrink: 0; width: 17px; height: 17px; }
.package-option strong { display: block; font-size: 16px; line-height: 1.4; }.package-option small { display: block; font-size: 13px; }.package-option b { margin-left: auto; white-space: nowrap; font-size: 19px; }
.checkout-panel h3 { color: #244630; font-size: 25px; font-weight: 700; margin-bottom: 18px; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.checkout-wide { grid-column: 1 / -1; }.checkout-fields > div { min-width: 0; }
.checkout-fields label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 6px; color: #46523f; }
#order .checkout-fields input, #order .checkout-fields textarea, #order .checkout-fields select { width: 100%; border: 1px solid #dce1d3; border-radius: 8px; padding: 12px; background: #fff; font-size: 16px; line-height: 1.5; color: #253e2b; }
.checkout-fields textarea { resize: vertical; }.checkout-fields small { display: block; color: #72796a; font-size: 13px; margin-top: 4px; }
.checkout-fields :is(input,select,textarea):focus { outline: 2px solid #6d9b65; outline-offset: 1px; }
.checkout-summary { margin: 22px 0; padding: 18px; background: #f0f4e9; border: 1px solid #dce6cf; border-radius: 12px; }
.checkout-summary h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #254a31; }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; color: #52624b; }
.checkout-summary strong { white-space: nowrap; }.checkout-summary .summary-total { border-top: 1px solid #d5dfc8; margin-top: 12px; padding-top: 12px; font-size: 21px; color: #245b34; }
.checkout-primary { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; border: 0; border-radius: 10px; background: #11613c; color: #fff; padding: 14px 18px; font-size: 18px; font-weight: 600; cursor: pointer; text-align: center; }
.checkout-primary:hover:not(:disabled) { background: #0c4c2e; }.checkout-primary:disabled { opacity: .45; cursor: not-allowed; }
.checkout-caption { color: #6c7766; font-size: 14px; line-height: 1.7; text-align: center; margin-top: 12px; }
.checkout-locked { padding: 30px 4px; text-align: center; }.checkout-locked p { color: #65725d; margin-bottom: 16px; }
.checkout-symbol { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; background: #dfeee3; border: 1px solid #c5dfce; color: #176440; font-size: 27px; }
#lock-countdown { display: block; margin: 18px 0; font-size: 56px; line-height: 1.2; color: #23633e; font-variant-numeric: tabular-nums; }
.checkout-modal { box-sizing: border-box; padding: 0; width: min(480px, calc(100% - 28px)); max-height: min(560px, calc(100vh - 48px)); max-height: min(560px, calc(100dvh - 48px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))); border: 1px solid #d3e3d7; border-top: 3px solid #17633e; border-radius: 16px; color: #254a32; background: #fff; overflow: hidden; margin: auto; box-shadow: 0 24px 80px #0826174d; }
.checkout-modal[open] { display: flex; flex-direction: column; }
.checkout-modal::backdrop { background: #0c372bbb; backdrop-filter: blur(4px); }
.checkout-modal .modal-hero { position: relative; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; background: #f2f8f3; padding: 13px 18px; text-align: left; border-bottom: 1px solid #dfe8dd; }
.checkout-modal .modal-hero .checkout-symbol { width: 40px; height: 40px; font-size: 20px; flex-shrink: 0; margin: 0; }
.checkout-modal .modal-hero h2 { color: #175c38; font-size: 23px; font-weight: 700; line-height: 1.35; margin: 0; }
#thankyou-modal .modal-hero { padding-right: 56px; }
.modal-product { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e0e9df; border-radius: 9px; padding: 8px; margin: 12px 0; text-align: left; }
.modal-product img { width: 48px; height: 48px; border-radius: 7px; object-fit: cover; }.modal-product strong, .modal-product small { display: block; }.modal-product strong { font-size: 16px; }.modal-product small { color: #74816b; font-size: 13px; }
.checkout-modal .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #81a187 #eef3ec; padding: 14px 18px; scroll-padding-block: 12px; }
.modal-body > p:first-child { color: #5e7b64; font-size: 15px; line-height: 1.6; }
.modal-options { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.modal-option { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #bdd3c1; border-radius: 11px; cursor: pointer; }
.modal-footer { flex: 0 0 auto; padding: 12px 18px; border-top: 1px solid #dfe8dd; background: #fffefa; box-shadow: 0 -4px 14px #254a3206; }
.modal-footer .checkout-primary { padding: 11px 14px; font-size: 17px; }
.modal-footer .checkout-text-button { margin-top: 8px; font-size: 14px; }
.modal-body .checkout-summary { margin: 12px 0 0; padding: 12px; }
.modal-body .checkout-summary > div { margin-top: 4px; }
.modal-body .checkout-summary .summary-total { margin-top: 8px; padding-top: 8px; font-size: 20px; }
.modal-body .checkout-caption { margin-top: 10px; line-height: 1.5; }
.modal-option strong, .modal-option small { display: block; }.modal-option strong { font-size: 18px; line-height: 1.4; }.modal-option small { font-size: 14px; margin-top: 4px; }.modal-option > i { margin-left: auto; opacity: .35; }
.combo-option { background: #10603b; color: white; border-color: #10603b; }.single-option { color: #855041; border-color: #d5b7aa; background: #fffdf9; }.modal-option:has(input:checked) { outline: 3px solid #93b96b; outline-offset: 2px; }.modal-option:has(input:checked) > i { opacity: 1; }
.checkout-text-button { display: block; margin: 14px auto 0; color: #536d53; text-decoration: underline; font-size: 15px; background: transparent; border: 0; cursor: pointer; }
.modal-close { position: absolute; top: 9px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #e4ede2; font-size: 28px; line-height: 1; color: #395d3d; cursor: pointer; }
.thankyou-summary { margin: 12px 0; }.thankyou-summary > div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid #e7ebdf; }.thankyou-summary dt { color: #748269; }.thankyou-summary dd { margin: 0; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.checkout-modal-open { overflow: hidden; }
[hidden] { display: none !important; }
@media (max-width: 1023px) { .checkout-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }.checkout-faq { max-width: 720px; }.checkout-panel { width: 100%; } }
@media (max-width: 600px) {
  .checkout-section { padding: 48px 16px; }.checkout-panel { padding: 18px 14px; border-radius: 15px; }.checkout-fields { grid-template-columns: minmax(0,1fr); }
  .package-options { gap: 8px; }.package-option { flex-wrap: wrap; padding: 10px 8px; gap: 6px; }.package-option strong { font-size: 15px; }.package-option b { width: 100%; margin-left: 23px; font-size: 20px; line-height: 1.2; }
  .checkout-modal .modal-hero { padding: 12px 14px; gap: 9px; }.checkout-modal .modal-hero h2 { font-size: 21px; }.checkout-modal .modal-body { padding: 12px 14px; }.modal-footer { padding: 10px 14px; }.modal-option { padding: 10px; }.modal-option strong { font-size: 17px; }.checkout-summary { padding: 14px; }
}