/* A focused, compact checkout with the cart and next action always together. */
.checkout-page { background:#f5f5f1; padding-bottom:0; }
.checkout-page .announcement,.checkout-page .nav-links,.checkout-page .nav-actions>.btn,.checkout-page .mobile-dock,.checkout-page .menu-toggle { display:none; }
.checkout-page .nav-shell { background:var(--paper); }
.checkout-page .nav { height:80px; max-width:1150px; }
.checkout { max-width:1150px; padding:30px 0 60px; }
.checkout-title { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.checkout-heading { margin-bottom:22px; }
.checkout-heading .text-link { font-size:12px; }
.checkout-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr); gap:32px; align-items:start; }
.checkout-main { min-width:0; padding:28px; background:#fff; border:1px solid #ebede6; border-radius:16px; }
.checkout-progress { display:flex; align-items:center; gap:12px; margin-bottom:30px; }
.checkout-progress button { display:flex; align-items:center; gap:12px; border:0; background:none; padding:0; color:var(--muted); font-size:12px; opacity:1; }
.checkout-progress button:disabled { cursor:default; }
.checkout-progress .checkout-chevron { width:12px; height:12px; color:#92958b; }
.checkout-progress [aria-current] { color:var(--ink); font-weight:600; }
.checkout h2 { font-size:22px; letter-spacing:-.035em; line-height:1.3; }
.checkout-help { font-size:12px; color:var(--muted); margin:8px 0 24px; }
.checkout-summary { background:#fafaf7; border:1px solid #e2e4dc; border-radius:16px; padding:24px; position:sticky; top:24px; }
.checkout-summary h2 { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.checkout-summary h2>span { font:12px 'DM Sans',sans-serif; background:#eceee5; width:25px; height:25px; display:grid; place-items:center; border-radius:50%; }
.summary-item { display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:center; gap:12px; margin-bottom:18px; font-size:12px; }
.summary-photo { position:relative; }
.summary-photo img { width:60px; height:60px; object-fit:contain; background:#fff; border:1px solid var(--line); border-radius:8px; }
.summary-photo>span { position:absolute; right:-5px; top:-6px; background:var(--ink); color:white; border-radius:50%; min-width:18px; height:18px; display:grid; place-items:center; font-size:10px; }
.summary-description { min-width:0; }
.summary-item small { display:block; color:var(--muted); font-size:11px; line-height:1.5; margin-top:4px; }
.summary-item>b { white-space:nowrap; font-weight:500; }
.checkout-summary dl { border-top:1px solid var(--line); padding-top:20px; margin:24px 0 0; }
.checkout-summary dl>div { display:flex; justify-content:space-between; gap:12px; margin-bottom:12px; font-size:12px; }
.checkout-summary dd { margin:0; }
.checkout-summary .checkout-total { font-size:19px; border-top:1px solid var(--line); padding-top:16px; margin-top:18px; font-weight:600; }
.checkout-summary-actions { margin-top:22px; }
.checkout .checkout-primary { width:100%; background:var(--ink); color:white; border-radius:999px; padding:15px 18px; font-size:13px; gap:14px; }
.checkout .checkout-primary:hover { background:#383e31; }
.checkout-summary-note { font-size:11px; line-height:1.6; color:var(--muted); margin:14px 0; }
.checkout-summary .text-link { font-size:11px; }
.bag-line { display:grid; grid-template-columns:100px minmax(0,1fr); gap:18px; border-bottom:1px solid var(--line); padding:0 0 22px; margin-bottom:22px; }
.bag-line>img { width:100px; height:100px; object-fit:contain; border:1px solid var(--line); border-radius:12px; }
.bag-line-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bag-line h3 { font-size:18px; }
.bag-line p { font-size:11px; color:var(--muted); margin:5px 0 10px; }
.bag-remove { border:0; border-bottom:1px solid var(--line); padding:2px 0; background:none; font-size:11px; color:var(--muted); }
.bag-line-fields { display:grid; grid-template-columns:1fr 76px; gap:12px; margin:12px 0; }
.bag-line label,.checkout-label,.checkout-fields label { display:block; font-size:12px; }
.checkout select,.checkout input:not([type=radio]):not([type=checkbox]),.checkout textarea { width:100%; border:1px solid #d8dbd1; background:white; border-radius:8px; padding:10px 12px; color:var(--ink); margin-top:6px; font-size:13px; min-height:42px; }
.checkout textarea { resize:vertical; min-height:74px; }
.checkout input::placeholder,.checkout textarea::placeholder { color:#92958c; }
.bag-line .bag-line-price { color:var(--ink); font-size:14px; font-weight:600; margin:14px 0 0; }
.checkout-price-note { font-size:11px; line-height:1.6; color:var(--muted); margin:0; }
.checkout .btn { font-size:13px; padding:13px 22px; }
.checkout-options { padding:0; margin:24px 0 0; border:0; }
.checkout-options legend { font-size:15px; font-weight:500; margin-bottom:14px; }
.checkout-option { display:flex; align-items:center; gap:10px; border:1px solid #d8dbd1; border-radius:10px; background:#fff; padding:15px; margin-bottom:10px; cursor:pointer; }
.checkout-option:has(input:checked) { background:#fbfaed; border-color:#aaa23c; }
.checkout-option input,.checkout-consent input { accent-color:var(--ink); width:16px; height:16px; flex-shrink:0; margin:0; }
.checkout-option>span { flex:1; }
.checkout-option b { font-size:12px; font-weight:500; }
.checkout-option small { display:block; font-size:10px; color:var(--muted); margin-top:4px; line-height:1.5; }
.checkout-shipping-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.checkout-shipping-options .checkout-option { align-items:flex-start; margin:0; padding:14px 12px; flex-wrap:wrap; }
.checkout-shipping-options input { margin-top:2px; }
.checkout-shipping-options .checkout-option>b { margin-left:26px; }
.checkout-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:20px; }
.checkout-fields>label:last-child { grid-column:1/-1; }
.checkout-fields label span { color:var(--muted); margin-left:5px; }
.checkout-actions { display:flex; margin-top:24px; align-items:center; }
.checkout-actions .text-link { border:0; border-bottom:1px solid var(--line); background:none; padding:0 0 4px; font-size:12px; }
.checkout-review { background:#f6f7f2; border:1px solid var(--line); border-radius:10px; padding:18px; margin:20px 0; }
.checkout-review>div+div { border-top:1px solid var(--line); margin-top:16px; padding-top:16px; }
.checkout-review b { font-size:12px; }
.checkout-review p { font-size:12px; color:var(--muted); margin:8px 0; }
.checkout-review button { border:0; background:none; font-size:11px; padding:0; }
.checkout-demo-note { background:#f3f4ec; border-radius:8px; padding:12px 14px; font-size:11px; color:var(--muted); margin:20px 0; }
.checkout-consent { display:flex; align-items:flex-start; gap:10px; font-size:11px; line-height:1.6; }
.checkout-consent input { margin-top:2px; }
.checkout-consent a { text-decoration:underline; text-underline-offset:3px; }
.checkout-error { border:1px solid #debab0; background:#fff5f1; border-radius:8px; color:#83472e; font-size:12px; padding:12px; margin-bottom:20px; }
.checkout-empty p { color:var(--muted); font-size:13px; margin:16px 0 25px; }
.checkout-result { padding:10px 0; }
.checkout-done-icon { width:46px; height:46px; display:grid; place-items:center; background:var(--yellow); border-radius:50%; margin-bottom:20px; }
.checkout-done-icon svg { width:24px; height:24px; }
.checkout-result>p { color:var(--muted); font-size:13px; margin:16px 0; }
.checkout-reference { font-weight:600; color:var(--ink)!important; }
.checkout-next { background:#f6f7f2; border-radius:12px; padding:20px; margin:24px 0; }
.checkout-next h3 { font-size:16px; }
.checkout-next p { font-size:12px; color:var(--muted); margin-top:8px; }
.checkout-result>.text-link { display:block; border:0; background:none; padding:0; margin-top:20px; font-size:12px; }
.checkout-page .footer { background:transparent; color:var(--muted); padding:0 0 24px; }
.checkout-page .footer>.wrap { max-width:1150px; }
.checkout-page .footer-grid { display:none; }
.checkout-page .footer-bottom { border-top:1px solid var(--line); padding-top:20px; font-size:10px; }
.checkout [hidden] { display:none!important; }
@media(max-width:1000px) {
 .checkout-grid { grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:22px; }
 .checkout-main,.checkout-summary { padding:22px; }
 .bag-line { grid-template-columns:75px minmax(0,1fr); gap:14px; }
 .bag-line>img { width:75px; height:75px; }
 .checkout-shipping-options { grid-template-columns:1fr; }
 .checkout-shipping-options .checkout-option { flex-wrap:nowrap; }
 .checkout-shipping-options .checkout-option>b { margin-left:0; }
}
@media(max-width:760px) {
 .checkout { width:calc(100% - 32px); padding:22px 0 32px; }
 .checkout-grid { grid-template-columns:1fr; gap:20px; }
 .checkout-main,.checkout-summary { padding:20px; border-radius:14px; }
 .checkout-summary { position:static; }
 .checkout-heading { margin-bottom:18px; }
 .checkout h2 { font-size:21px; }
 .checkout-progress { margin-bottom:24px; }
 .checkout-fields { grid-template-columns:1fr; gap:16px; }
 .checkout-fields>label:last-child { grid-column:auto; }
 .checkout-page .nav { width:calc(100% - 32px); height:72px; gap:16px; }
 .checkout-page .nav-actions { gap:12px; }
 .checkout-page .saved-link { font-size:11px; }
 .checkout-page .logo { font-size:27px; gap:8px; }
 .checkout-page .logo svg { width:32px; }
 .checkout-page .footer>.wrap { width:calc(100% - 40px); }
}
