/* Checkout keeps the price visible and the request controls in one form. */
html:not(.admin-route) .checkout-page { padding-bottom:70px; }
html:not(.admin-route) .checkout-page .commerce-heading { margin-bottom:24px; }
html:not(.admin-route) .checkout-page .commerce-heading h1 { font-family:var(--body);font-size:clamp(28px,3vw,40px);font-weight:700;letter-spacing:-.045em;text-transform:none; }
html:not(.admin-route) .checkout-page .commerce-checkout-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:26px;align-items:start; }
html:not(.admin-route) .checkout-page #commerce-checkout-form { grid-column:1;grid-row:1;padding:26px;border-radius:12px;border-color:#ded8ca;box-shadow:0 6px 22px #302b2108;min-width:0; }
html:not(.admin-route) .checkout-page .checkout-order-summary { grid-column:2;grid-row:1;padding:24px;border-radius:12px;border-color:#ded8ca;box-shadow:0 6px 22px #302b2108;min-width:0;position:sticky;top:106px; }
html:not(.admin-route) .checkout-page .checkout-order-summary h2 { margin:6px 0 14px;font:700 22px/1.2 var(--body);letter-spacing:-.035em; }
html:not(.admin-route) .checkout-page .checkout-order-summary>div { font-size:14px;border-color:#e7e2d7;padding:10px 0; }
html:not(.admin-route) .checkout-page .checkout-order-summary .commerce-grand { padding:15px 0;margin:2px 0 12px;color:#292b25;font-size:15px!important; }
html:not(.admin-route) .checkout-page .commerce-grand strong { color:#292b25;font:750 30px/1.2 var(--body);letter-spacing:-.04em;font-variant-numeric:tabular-nums; }
html:not(.admin-route) .checkout-page :is(.checkout-order-details,.checkout-coupon-details,.checkout-rewards-disclosure) { border:1px solid #ddd6c6;border-radius:9px;background:#fcfaf5;margin:10px 0;min-width:0; }
html:not(.admin-route) .checkout-page :is(.checkout-order-details,.checkout-coupon-details,.checkout-rewards-disclosure)>summary { display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;min-height:52px;padding:13px 15px;color:#37382e;font-size:14px;font-weight:650;cursor:pointer; }
html:not(.admin-route) .checkout-page summary::-webkit-details-marker { display:none; }
html:not(.admin-route) .checkout-page :is(.checkout-order-details,.checkout-coupon-details,.checkout-rewards-disclosure)>summary::after { content:'+';display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:6px;background:#eee7d6;color:#705525;font-size:20px;font-weight:400; }
html:not(.admin-route) .checkout-page :is(.checkout-order-details,.checkout-coupon-details,.checkout-rewards-disclosure)[open]>summary::after { content:'−'; }
html:not(.admin-route) .checkout-page :is(.checkout-order-details,.checkout-coupon-details)[open]>summary { border-bottom:1px solid #e7e2d7; }
html:not(.admin-route) .checkout-page .checkout-order-details>[data-case-cart] { display:block;padding:10px 6px;border:0; }
html:not(.admin-route) .checkout-page .checkout-order-details .case-cart-case>header { padding:12px; }
html:not(.admin-route) .checkout-page .checkout-order-details .case-cart-body { padding:10px; }
html:not(.admin-route) .checkout-page .checkout-order-details .case-cart-overview { font-size:13px; }
html:not(.admin-route) .checkout-page .checkout-order-details .case-cart-art { max-width:380px;width:100%;margin:0 auto 12px; }
html:not(.admin-route) .checkout-page .checkout-coupon-details .commerce-coupon-form { padding:15px;margin:0; }
html:not(.admin-route) .checkout-page .checkout-coupon-details input { min-height:46px;font-size:16px; }
html:not(.admin-route) .checkout-page .checkout-order-summary>p { color:#6c6d62;font-size:12px;line-height:1.6; }
html:not(.admin-route) .checkout-page :is(.checkout-shipping,.checkout-payment) { margin:0 0 25px;padding:0;border:0;min-width:0; }
html:not(.admin-route) .checkout-page .checkout-section-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;margin:0 0 14px; }
html:not(.admin-route) .checkout-page .checkout-section-heading>a { display:flex;align-items:center;min-height:44px;font-size:13px;color:#765829; }
html:not(.admin-route) .checkout-page .checkout-section-heading h2 { margin:4px 0;font:700 21px/1.25 var(--body);letter-spacing:-.035em; }
html:not(.admin-route) .checkout-page .checkout-address { display:block;padding:14px 16px;margin:0 0 20px;border:1px solid #e0dbcf;border-radius:8px;background:#f7f5ee;font-size:14px;line-height:1.65;color:#45473d; }
html:not(.admin-route) .checkout-page .checkout-address .checkout-section-heading { margin-bottom:7px; }
html:not(.admin-route) .checkout-page :is(.checkout-shipping,.checkout-payment)>legend { padding:0;font-size:16px;font-weight:700;color:#34362d; }
html:not(.admin-route) .checkout-page :is(.checkout-order-details,.checkout-coupon-details)>summary small { margin-left:auto;text-align:right;font-size:12px;font-weight:400;color:#757062; }
html:not(.admin-route) .checkout-page .checkout-address p { margin:0; }
html:not(.admin-route) .checkout-page .checkout-address a { display:flex;align-items:center;justify-content:center;min-height:44px;flex-shrink:0;padding:0 10px;border:1px solid #d5c9b0;border-radius:6px;background:#fffdf8;font-size:13px;font-weight:650;color:#705626;text-decoration:none; }
html:not(.admin-route) .checkout-page .commerce-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 0;gap:10px; }
html:not(.admin-route) .checkout-page .commerce-options label { min-width:0;min-height:64px;padding:12px;gap:9px;border:1px solid #d7d5cc;border-radius:9px;background:#fff;font-size:14px;cursor:pointer; }
html:not(.admin-route) .checkout-page .commerce-options label:has(input:checked) { border-color:#9c7b42;background:#f6eedb;box-shadow:inset 0 0 0 1px #9c7b42; }
html:not(.admin-route) .checkout-page .commerce-options input { flex:0 0 18px;accent-color:#806030; }
html:not(.admin-route) .checkout-page .commerce-options label strong { font-size:14px; }
html:not(.admin-route) .checkout-page .commerce-options label b { color:#303127;font-size:14px;white-space:nowrap; }
html:not(.admin-route) .checkout-page .checkout-payment>p { margin:0;font-size:14px;color:#6c6d62;line-height:1.6; }
html:not(.admin-route) .checkout-page .checkout-rewards-disclosure { margin:0 0 22px; }
html:not(.admin-route) .checkout-page .checkout-rewards-disclosure summary span { min-width:0; }
html:not(.admin-route) .checkout-page .checkout-rewards-disclosure summary small { display:block;color:#777266;font-size:12px;font-weight:400;margin-top:3px; }
html:not(.admin-route) .checkout-page #checkout-rewards { padding:4px 16px 16px;margin:0;border:0; }
html:not(.admin-route) .checkout-page #checkout-rewards .rewards-header { display:none; }
html:not(.admin-route) .checkout-page .rewards-estimate { font-size:13px;margin:10px 0 16px;padding:10px 12px; }
html:not(.admin-route) .checkout-page .rewards-selection { font-size:13px;line-height:1.55;margin-bottom:0; }
html:not(.admin-route) .checkout-page .checkout-rewards-rules { margin-top:12px; }
html:not(.admin-route) .checkout-page .checkout-rewards-rules summary { min-height:44px;display:flex;align-items:center;font-size:13px;cursor:pointer;color:#735927;text-decoration:underline;text-underline-offset:3px; }
html:not(.admin-route) .checkout-page .checkout-rewards-rules p { font-size:12px;line-height:1.6;color:#727267; }
html:not(.admin-route) .checkout-page .checkout-submit-bar { display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e1dccf;padding-top:18px;margin-top:18px; }
html:not(.admin-route) .checkout-page .checkout-submit-total { display:grid;gap:3px;color:#6f7066;font-size:12px; }
html:not(.admin-route) .checkout-page .checkout-submit-total strong { font-size:24px;color:#292b25;font-weight:750;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums; }
html:not(.admin-route) .checkout-page .checkout-submit-bar .btn { min-height:50px;border-radius:8px;border-color:#dfb770;color:#28271f;background:linear-gradient(#f3d69e,#dfb970);box-shadow:inset 0 1px #fff4d5,0 4px 9px #73542615;font-size:14px;font-weight:750;padding:13px 20px;text-transform:none;letter-spacing:0; }
html:not(.admin-route) .checkout-page .checkout-submit-bar .btn:disabled { opacity:.65;cursor:wait; }
html:not(.admin-route) .checkout-page #checkout-status:not(:empty) { border:1px solid #d4c5aa;border-radius:7px;padding:12px;font-size:14px;line-height:1.5;background:#fbf5e8;scroll-margin-top:110px; }
html:not(.admin-route) .checkout-page #checkout-status.is-error { border-color:#d9aaa0;color:#8c2920;background:#fff2ee; }
html:not(.admin-route) .checkout-page .checkout-assistance { display:block;font-size:13px;color:#705626;min-height:44px;align-content:center; }
html:not(.admin-route) .checkout-page :is(summary,a,input,select,button):focus-visible { outline:3px solid #bd954f;outline-offset:3px; }
@media(max-width:900px) {
  html:not(.admin-route) .checkout-page .commerce-checkout-grid { grid-template-columns:minmax(0,1fr);gap:18px; }
  html:not(.admin-route) .checkout-page .checkout-order-summary { grid-column:1;grid-row:1;position:static; }
  html:not(.admin-route) .checkout-page #commerce-checkout-form { grid-column:1;grid-row:2; }
}
@media(max-width:760px) {
  html:not(.admin-route) .checkout-page { padding-top:22px;padding-bottom:calc(100px + env(safe-area-inset-bottom)); }
  html:not(.admin-route) .checkout-page .commerce-heading { margin-bottom:18px; }
  html:not(.admin-route) .checkout-page .page-breadcrumb { margin-bottom:10px; }
  html:not(.admin-route) .checkout-page .commerce-heading h1 { font-size:29px;line-height:1.12; }
  html:not(.admin-route) .checkout-page :is(#commerce-checkout-form,.checkout-order-summary) { padding:18px; }
  html:not(.admin-route) .checkout-page .checkout-order-summary h2 { font-size:19px;margin-bottom:8px; }
  html:not(.admin-route) .checkout-page .checkout-order-summary>div { padding:7px 0; }
  html:not(.admin-route) .checkout-page .checkout-order-summary .commerce-grand { padding:10px 0;margin-bottom:8px; }
  html:not(.admin-route) .checkout-page .commerce-grand strong { font-size:28px; }
  html:not(.admin-route) .checkout-page .checkout-order-summary>p { margin-bottom:0; }
  html:not(.admin-route) .checkout-page .checkout-address { padding:12px;gap:10px;font-size:13px;line-height:1.5; }
  html:not(.admin-route) .checkout-page .checkout-section-heading h2 { font-size:19px; }
  html:not(.admin-route) .checkout-page .checkout-shipping .commerce-options label { display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px 8px;padding:12px; }
  html:not(.admin-route) .checkout-page .checkout-shipping .commerce-options label b { grid-column:2; }
  html:not(.admin-route) .checkout-page .commerce-options label small { font-size:11px;line-height:1.4; }
  html:not(.admin-route) .checkout-page .checkout-submit-bar { position:fixed;inset:auto 0 0;z-index:100;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #d7c9ac;background:#fffdf8;box-shadow:0 -5px 24px #302b2112;gap:12px; }
  html:not(.admin-route) .checkout-page .checkout-submit-bar .btn { flex:1;max-width:260px;min-height:50px;padding:12px 14px;justify-content:center; }
  html:not(.admin-route) .checkout-page .checkout-submit-total strong { font-size:24px; }
  html:not(.admin-route) .checkout-page #checkout-status { scroll-margin-bottom:110px; }
  html:not(.admin-route):has(#commerce-checkout-form) { scroll-padding-bottom:110px; }
  html:not(.admin-route):has(#commerce-checkout-form) .pbrx-support { position:static;right:auto;bottom:auto;margin:20px 16px calc(110px + env(safe-area-inset-bottom)); }
  html:not(.admin-route):has(#commerce-checkout-form) .pbrx-support__launchers { justify-content:flex-start; }
  html:not(.admin-route):has(#commerce-checkout-form) .pbrx-chat { position:fixed;right:16px;bottom:calc(96px + env(safe-area-inset-bottom));height:min(650px,calc(100dvh - 128px - env(safe-area-inset-bottom))); }
}
@media(max-width:350px) {
  html:not(.admin-route) .checkout-page :is(#commerce-checkout-form,.checkout-order-summary) { padding:14px; }
  html:not(.admin-route) .checkout-page .checkout-submit-bar { padding-inline:12px;gap:10px; }
  html:not(.admin-route) .checkout-page .checkout-submit-bar .btn { font-size:13px;padding-inline:10px; }
  html:not(.admin-route) .checkout-page .checkout-submit-total strong { font-size:22px; }
}

/* Card payments use the same large controls and remain readable at 320px. */
html:not(.admin-route) .checkout-page .checkout-payment label:has(input[value="Stripe"]) { grid-column:1/-1; }
html:not(.admin-route) .checkout-page .checkout-payment label small { display:block;font-size:12px;color:#6c6d62;line-height:1.5; }
html:not(.admin-route) .checkout-page .checkout-payment .payment-method-mark--stripe { background:#363333;color:#fff; }
html:not(.admin-route) .checkout-page .checkout-payment-note { margin-top:12px; }
html:not(.admin-route) .checkout-page .checkout-submit-bar .btn [data-checkout-submit-label] { display:inline;font:inherit;color:inherit; }
