/* Authenticated receipt, between the complete sign-off card and support. */
#postpurchase-order-summary{max-width:760px;margin:28px auto;padding:0 20px;font:16px/1.55 'Poppins',system-ui,sans-serif;color:#1f1f1f}
#postpurchase-order-summary h2{font:400 clamp(26px,5vw,32px)/1.2 'Fjalla One',sans-serif;color:#E8327A;margin:0 0 18px}
#postpurchase-order-summary table{width:100%;border-collapse:collapse;table-layout:fixed}
#postpurchase-order-summary th,#postpurchase-order-summary td{padding:14px 10px;text-align:left;border-bottom:1px solid #E7D6CC;overflow-wrap:anywhere}
#postpurchase-order-summary thead{background:#FDD3E5}
#postpurchase-order-summary tbody th{font-weight:400}
#postpurchase-order-summary th:last-child,#postpurchase-order-summary td:last-child{width:38%;text-align:right;white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
#postpurchase-order-summary tfoot{background:#fff0f6;font-weight:700;border-top:2px solid #E8327A}
@media(max-width:420px){#postpurchase-order-summary{padding:0 16px;font-size:14px}#postpurchase-order-summary th,#postpurchase-order-summary td{padding:12px 8px}}

/* Build-stable inline validation presentation shared by root and v2. */
#order-form .field-error{display:block;color:#a51d27;background:#fff;font-size:14px;font-weight:600;line-height:1.45;margin:6px 0 10px;text-align:left}
#order-form [aria-invalid="true"]{border-color:#a51d27!important}
#order-form input:focus-visible,#order-form select:focus-visible{outline:2px solid #13853e;outline-offset:2px}
#order-form .hosted-field-container[aria-invalid="true"]{box-shadow:0 0 0 1px #a51d27}

/* Checkout presentation only. Values and hierarchy follow the immutable Claude import
   (IM GLP Reset.dc.html:572-660); no imported scripts or card inputs execute. */
#order [data-action="quantity"]:hover { border-color:#13853E !important; }
#order [data-action="quantity"][aria-pressed="true"] {
  border-color:#13853E !important;
  box-shadow:0 0 0 1px #13853E;
}
#order .package-indicator { flex:none; }
#order [data-action="quantity"] .package-indicator::after {
  content:""; display:block; width:12px; height:12px; border-radius:50%; background:#13853E;
  visibility:hidden;
}
#order [data-action="quantity"][aria-pressed="true"] .package-indicator::after { visibility:visible; }
#order [data-action="quantity"]:focus-visible { outline:3px solid #13853E; outline-offset:4px; }

#order .checkout-form {
  margin-top:28px; padding:0; overflow:hidden; background:#fff;
  border:1px solid #E7D6CC; border-radius:12px;
  font:17px/1.4 'Archivo',sans-serif; color:#1F1D22;
}
#order .checkout-form [data-express] > div { margin:8px 0; }
#order .checkout-form [data-apple] .apple-pay-button {
  display:block; width:100%; height:48px; border:0; border-radius:5px;
  -webkit-appearance:-apple-pay-button; -apple-pay-button-type:buy;
  -apple-pay-button-style:black; cursor:pointer;
}
#order .checkout-form [data-apple] .apple-pay-button:disabled { opacity:.5; cursor:wait; }
#order .checkout-form .steps {
  display:grid; grid-template-columns:1fr 1fr; margin:0;
}
#order .checkout-form [data-step-tab] {
  padding:14px 12px; display:flex; gap:10px; align-items:center;
  justify-content:center; background:#F4EEE9; color:#5A5560;
  font-weight:700; line-height:1.2; text-decoration:none;
}
#order .checkout-form [data-step-tab].active {
  background:#13853E; color:#fff; text-decoration:none;
}
#order .checkout-form [data-step-tab] span:first-child {
  font:900 22px/1 'Archivo',sans-serif;
}
#order .checkout-form form { padding:20px 18px 24px; gap:12px; }
#order .checkout-form h3,
#order .checkout-form legend {
  margin:0; font:800 19px/1.3 'Archivo',sans-serif;
}
#order .checkout-form .required-note {
  margin:0; font-size:14px; color:#5A5560;
}
#order .checkout-form form > label:not(:has(input[type=radio],input[type=checkbox])) { font-size:15px; font-weight:700; }
#order .checkout-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]) {
  width:100%; height:52px; padding:0 14px; border:1px solid #C9C4BE;
  border-radius:6px; font:400 17px 'Archivo',sans-serif; background:#fff; color:#1F1D22;
}
#order .checkout-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]):focus {
  outline:none; border-color:#13853E; box-shadow:0 0 0 3px rgba(19,133,62,.18);
}
#order .checkout-form .phone-row { display:flex; gap:8px; min-width:0; }
#order .checkout-form .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#order .checkout-form .phone-row select { flex:none; width:110px; height:52px; padding:0 8px; border:1px solid #C9C4BE; border-radius:6px; background:#fff; color:#1F1D22; font:400 16px 'Archivo',sans-serif; }
#order .checkout-form .phone-row input { min-width:0; flex:1; }
#order .checkout-form .phone-row select:focus-visible { outline:none; border-color:#13853E; box-shadow:0 0 0 3px rgba(19,133,62,.18); }
#order .checkout-form input[readonly] { background:#F4EEE9 !important; color:#5A5560 !important; cursor:default; }
#order .checkout-form form[data-step="1"] > button[type=submit] {
  min-height:64px; border:0; border-radius:8px; background:#13853E;
  color:#fff; font:900 22px 'Archivo',sans-serif; cursor:pointer;
  box-shadow:0 4px 0 #0B5C2A; margin-top:4px;
}
#order .checkout-form form[data-step="1"] > button[type=submit]:hover { background:#0F7135; }
#order .checkout-form .privacy-note {
  display:flex; justify-content:center; align-items:center; gap:8px;
  text-align:center; font-size:14px; color:#5A5560;
}
#order .checkout-form .privacy-note img { width:16px; height:16px; flex:none; }
#order .checkout-form .legal-note { margin:4px 0 0; font-size:12px; line-height:1.5; color:#5A5560; }
#order .checkout-form .legal-note a { color:#13853E; }
#order .checkout-form fieldset { min-width:0; border:1px solid #E7D6CC; border-radius:8px; padding:12px 14px; }
#order .checkout-form fieldset label:has(input[type=radio]) {
  display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px;
  align-items:start; padding:12px 14px; cursor:pointer;
  font-size:16px; line-height:1.35;
}
#order .checkout-form input[type=radio] { margin:3px 0 0; width:18px; height:18px; accent-color:#13853E; }
#order .checkout-form form[data-step="2"] > [data-action="back"] {
  justify-self:start; min-height:0; margin:0; padding:0; background:none;
  border:0; box-shadow:none; color:#13853E; font:700 14px 'Archivo',sans-serif;
  text-decoration:underline;
}
#order .checkout-form form[data-step="2"] fieldset:has(input[name="package"]) {
  padding:0; overflow:hidden; gap:0; border:1px solid #E7D6CC; border-radius:8px;
}
#order .checkout-form form[data-step="2"] fieldset:has(input[name="package"]) legend {
  padding:10px 14px; width:100%; background:#F4EEE9;
  font:700 14px 'Archivo',sans-serif;
}
#order .checkout-form form[data-step="2"] fieldset:has(input[name="package"]) label {
  border-top:1px solid #EFE4DC; margin:0; font-size:16px;
}
#order .checkout-form [data-server-quote] {
  margin:0; padding:12px 14px; background:#F4EEE9;
  border-radius:6px; font:800 16px/1.45 'Archivo',sans-serif;
}
#order .checkout-form .order-summary { padding:14px; border:1px solid #E7D6CC; border-radius:8px; background:#F4EEE9; }
#order .checkout-form .order-summary dl { margin:12px 0 0; }
#order .checkout-form .order-summary dl div { display:flex; justify-content:space-between; gap:16px; padding:6px 0; }
#order .checkout-form .order-summary dd { margin:0; text-align:right; }
#order .checkout-form .card-vault-consent { margin:0 0 10px; font:14px/1.45 'Archivo',sans-serif; color:#1f1d22; }
#order .checkout-form .order-summary .summary-total { border-top:1px solid #C9C4BE; margin-top:6px; padding-top:12px; font-weight:800; }
#order .checkout-form .order-summary p { margin:8px 0 0; font-size:13px; color:#5A5560; }
#order .checkout-form form[data-step="2"] .checkout-final-actions > button[type=submit] {
  min-height:64px; border:0; border-radius:8px; background:#13853E;
  color:#fff; font:900 22px 'Archivo',sans-serif;
  box-shadow:0 4px 0 #0B5C2A; opacity:.6; cursor:not-allowed;
}
#order .checkout-form form[data-step="2"] .checkout-final-actions > button[type=submit]:not(:disabled) { opacity:1; cursor:pointer; }
[data-postpurchase-shell] [data-action],.downsell [data-action] { cursor:pointer; }
[data-postpurchase-shell] [data-action]:disabled,.downsell [data-action]:disabled,
[data-postpurchase-shell] [data-action][aria-disabled="true"],.downsell [data-action][aria-disabled="true"] { cursor:not-allowed; opacity:.6; }
/* Compact address rows and persistent in-field labels; preserve Claude colors and type. */
#order .checkout-form .address-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
#order .checkout-form .floating-field { position:relative; min-width:0; }
#order .checkout-form .floating-field > input:not([type=radio]):not([type=checkbox]):not([type=hidden]),
#order .checkout-form .floating-field > select {
  display:block; width:100%; height:52px; padding:18px 12px 5px;
  border:1px solid #C9C4BE; border-radius:6px; background:#fff;
  color:#1F1D22; font:400 16px 'Archivo',sans-serif;
}
#order .checkout-form .floating-field > input:not([type=radio]):focus,
#order .checkout-form .floating-field > select:focus-visible {
  outline:none; border-color:#13853E; box-shadow:0 0 0 3px rgba(19,133,62,.18);
}
#order .checkout-form .floating-field > label {
  position:absolute; top:5px; left:13px; max-width:calc(100% - 27px);
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis; pointer-events:none;
  font:700 11px/1.3 'Archivo',sans-serif; color:#5A5560;
}
#order .checkout-form .floating-field > input:placeholder-shown:not(:focus) ~ label {
  top:16px; font-size:15px; color:#5A5560;
}
#order .checkout-form .floating-field > select { appearance:auto; }
#order .checkout-form .phone-row { align-items:stretch; }
#order .checkout-form .phone-row .floating-field { flex:1; min-width:0; }
#order .checkout-form .phone-row .phone-code { flex:none; }
#order .checkout-form [data-billing-separate] { display:grid; gap:10px; }
#order .checkout-form form[data-step="2"] fieldset { gap:10px; }
#order .checkout-form [data-hosted-fields] { grid-template-columns:repeat(2,minmax(0,1fr)); }
#order .checkout-form [data-hosted-fields] legend,
#order .checkout-form [data-hosted-fields] > div:first-of-type { grid-column:1 / -1; }
#order .checkout-form [data-hosted-fields] > div { min-width:0; }
#order .checkout-form .order-summary { padding:12px 14px; }
#order .checkout-form .order-summary dl { margin:6px 0 0; }
#order .checkout-form .order-summary dl div { padding:3px 0; }
#order .checkout-form .order-summary > summary {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  cursor:pointer; font:800 16px/1.4 'Archivo',sans-serif; color:#1F1D22;
  list-style:none;
}
#order .checkout-form .order-summary > summary::-webkit-details-marker { display:none; }
#order .checkout-form .summary-preview-total { margin-left:auto; text-align:right; white-space:nowrap; font-size:14px; }
#order .checkout-form .summary-preview-total output { display:block; font-size:16px; color:#13853E; }
#order .checkout-form .summary-chevron {
  flex:none; width:8px; height:8px; margin:0 3px;
  border-right:1.5px solid #5A5560; border-bottom:1.5px solid #5A5560;
  transform:rotate(-45deg); transition:transform .18s ease;
}
#order .checkout-form .order-summary[open] .summary-chevron { transform:rotate(-135deg); }
#order .checkout-form .order-summary > summary:focus-visible { outline:3px solid #13853E; outline-offset:3px; }
#order .checkout-form .payment-options { padding:12px 14px; }
/* The radio remains keyboard/screen-reader accessible; only its native circle is hidden. */
#order .checkout-form .payment-options-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:8px; }
#order .checkout-form .payment-options-grid[data-visible-count="1"] { grid-template-columns:minmax(0,1fr); }
#order .checkout-form .payment-options-grid[data-visible-count="3"] > [data-last-visible] { grid-column:1 / -1; }
#order .checkout-form fieldset.payment-options .payment-options-grid > label[data-payment-option] {
  position:relative; display:flex; align-items:center; justify-content:center; gap:8px;
  flex:1 1 0; box-sizing:border-box; min-width:0; min-height:58px;
  padding:8px 10px; border:1px solid #C9C4BE; border-radius:8px;
  white-space:nowrap; font:700 14px 'Archivo',sans-serif; cursor:pointer;
  background:#fff; transition:border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
#order .checkout-form .payment-options-grid > label[hidden] { display:none !important; }
#order .checkout-form .payment-options-grid input[name="payment_method"] {
  position:absolute; width:1px; height:1px; padding:0; margin:0;
  overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0;
}
#order .checkout-form .payment-card-icon { flex:none; color:#35363A; }
#order .checkout-form .payment-brand { display:block; width:auto; max-width:100%; height:24px; object-fit:contain; }
#order .checkout-form .payment-brand--apple { height:34px; }
#order .checkout-form .payment-brand--google { height:27px; }
#order .checkout-form .payment-brand--paypal { height:34px; }
#order .checkout-form fieldset.payment-options .payment-options-grid > label[data-payment-option]:has(input:checked) {
  border-color:#13853E; box-shadow:0 0 0 1px #13853E; background:#F1F8F2;
}
#order .checkout-form fieldset.payment-options .payment-options-grid > label[data-payment-option]:has(input:focus-visible) {
  outline:3px solid #13853E; outline-offset:2px;
}
#order .checkout-form .checkout-billing { padding:10px 14px; }
#order .checkout-form .billing-mode-row { display:flex; align-items:center; flex-wrap:wrap; gap:2px 6px; }
#order .checkout-form .billing-mode-row > label { display:inline-flex !important; align-items:center; gap:4px; font-size:13px !important; padding:5px 0 !important; white-space:nowrap; }
#order .checkout-form .billing-mode-row input { flex:none; }
#order .checkout-form [data-billing-separate] { margin-top:8px; }
#order .checkout-form [data-billing-separate][hidden] { display:none !important; }
#order .checkout-form [data-order-bump-slot][hidden] { display:none !important; }
#order .checkout-form .zen-bump { border:2px dashed #473b23; border-radius:8px; overflow:hidden; background:#fffdf3; }
#order .checkout-form .zen-bump-header { display:flex; align-items:center; gap:9px; padding:10px 12px;
  background:#ffe680; color:#13853e; font:700 16px/1.3 'Archivo',sans-serif; cursor:pointer; }
#order .checkout-form .zen-bump-header input { flex:none; width:21px; height:21px; margin:0; accent-color:#13853e; }
#order .checkout-form .zen-bump-arrow { flex:none; font-size:20px; color:#b3261e; }
#order .checkout-form .zen-bump-copy { padding:10px 13px; font:13px/1.42 'Archivo',sans-serif; color:#1f1d22; }
#order .checkout-form .zen-bump-copy p { margin:0 0 8px; }
#order .checkout-form .zen-bump-copy ul { margin:0 0 8px; padding-left:20px; }
#order .checkout-form .zen-bump-copy li { margin:2px 0; }
#order .checkout-form .zen-bump-copy p:last-child { margin-bottom:0; }
#order .checkout-form .zen-bump-copy p:first-child strong { color:#b3261e; }
#order .checkout-form .zen-bump-expiry { color:#5a5560; font-size:14px; }
#order .checkout-form .zen-bump-terms { font-weight:700; }
#order .checkout-form .zen-bump-header:focus-within { outline:3px solid #13853e; outline-offset:-3px; }
#order .checkout-form .checkout-final-actions { min-width:0; }
#order .checkout-form .checkout-final-actions > button[type=submit] { width:100%; }
/* Eligibility/selection is controller-owned. Provider artwork remains SDK-owned. */
#order .checkout-form:has(input[name="payment_method"]:checked:not([value="card"])) [data-hosted-fields],
#order .checkout-form:has(input[name="payment_method"]:checked:not([value="card"])) .checkout-final-actions > button[type=submit] { display:none !important; }
#order .checkout-form:has(input[name="payment_method"][value="card"]:checked) [data-express] { display:none !important; }
#order .checkout-form:has(input[name="payment_method"][value="apple-pay"]:checked) [data-google],
#order .checkout-form:has(input[name="payment_method"][value="apple-pay"]:checked) [data-paypal],
#order .checkout-form:has(input[name="payment_method"][value="google-pay"]:checked) [data-apple],
#order .checkout-form:has(input[name="payment_method"][value="google-pay"]:checked) [data-paypal],
#order .checkout-form:has(input[name="payment_method"][value="paypal"]:checked) [data-apple],
#order .checkout-form:has(input[name="payment_method"][value="paypal"]:checked) [data-google] { display:none !important; }
#order .checkout-form [data-express] { display:grid; gap:10px; }
#order .checkout-form [data-express] > h3 { font-size:15px; text-transform:uppercase; }
/* The Google control itself is always produced by PaymentsClient.createButton.
   Size its host and SDK wrapper, without replacing or skinning the provider artwork. */
#order .checkout-form [data-express] > [data-google],
#order .checkout-form [data-express] > [data-apple],
#order .checkout-form [data-express] > [data-paypal] { width:100%; min-width:0; margin:0; }
#order .checkout-form [data-google] { height:48px; }
#order .checkout-form [data-google] > * { display:block; width:100%; }
#order .checkout-form [data-card-divider] { margin:4px 0; text-align:center; font:800 13px 'Archivo',sans-serif; color:#5A5560; }
#order .checkout-form [data-hosted-fields] > div { height:52px; border:1px solid #C9C4BE; border-radius:6px; background:#fff; padding:12px; }
#order .checkout-form [data-hosted-fields] > div:focus-within { border-color:#13853E; box-shadow:0 0 0 3px rgba(19,133,62,.18); }
#order .checkout-form [hidden], #order .checkout-form form[hidden],
#order .checkout-form fieldset[hidden], #order .checkout-form button[hidden] { display:none !important; }
@media(max-width:700px) {
  #order [data-action="quantity"] {
    grid-template-columns:minmax(0,90px) minmax(0,1fr) !important;
    gap:12px !important; padding:14px !important;
  }
  #order .checkout-form [data-step-tab] { gap:6px; padding:14px 6px; font-size:14px; }
  #order .checkout-form form { padding:20px 16px 24px; }

}
@media(max-width:350px) {
  #order .checkout-form .payment-options-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:420px) {
  #order .checkout-form .address-row { grid-template-columns:minmax(0,1fr); }
  #order .checkout-form .summary-preview-total { font-size:12px; }
  #order .checkout-form .summary-preview-total output { font-size:14px; }
}
@media(max-width:380px) {
  #order [data-action="quantity"] { grid-template-columns:minmax(0,72px) minmax(0,1fr) !important; }
  #order [data-action="quantity"] h3 { font-size:18px !important; }
}
