/* ---- layout: form + summary ---- */

.co-wrap{max-width:1140px;margin:0 auto;padding:4px 32px 96px;display:grid;grid-template-columns:minmax(0,1fr) 384px;gap:44px;align-items:start}
.co-form{grid-column:1;grid-row:1;min-width:0}
.co-summary{grid-column:2;grid-row:1}
@media (min-width:901px){
  .co-summary{position:sticky;top:88px}}
@media (max-width:900px){
  .co-wrap{grid-template-columns:minmax(0,1fr);gap:20px;padding:4px 20px 88px}
  .co-summary{grid-column:1;grid-row:1}
  .co-form{grid-column:1;grid-row:2}}
/* ---- distraction-free header while checking out ---- */

body.is-checkout .feed-top{display:none!important}
/* ---- Shopify-style breadcrumb ---- */

.flow-steps{max-width:1140px;margin:0 auto;padding:22px 32px 0;gap:2px}
.flow-steps a{flex:0 0 auto;padding:6px 4px;border:0;border-radius:6px;background:none;font-size:14px;font-weight:500;color:var(--onv);text-decoration:none;white-space:nowrap}
.flow-steps a + a::before{content:"\203A";margin-right:10px;color:var(--outline)}
.flow-steps a[aria-current="step"]{background:none;color:var(--on);font-weight:700;border:0}
/* ---- checkout headings + sections ---- */

.co-head{margin:6px 0 2px}
.co-title{font:400 clamp(30px,4vw,40px)/1.15 "Google Sans","Figtree",sans-serif;letter-spacing:-.015em;margin:0}
.co-sub{color:var(--onv);margin:8px 0 0;font-size:16px}
.co-section{padding:30px 0;border-bottom:1px solid var(--line)}
.co-section:last-of-type{border-bottom:0}
.co-h{font:500 20px "Google Sans","Figtree",sans-serif;margin:0 0 18px;letter-spacing:-.01em}
.co-section .field{margin-bottom:16px}
.co-section .field:last-of-type{margin-bottom:0}

.co-pay{margin-top:10px}
.co-trust{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--onv);font-size:14px;margin:16px 0 0}
/* ---- payment box: clean bordered panel, not dashed ---- */

.co-section .pay-box{border:1px solid var(--outline);border-radius:14px;background:var(--bg);padding:20px}
[data-theme="dark"] .co-section .pay-box{background:var(--surface)}
/* ---- order summary: collapsible on mobile, static on desktop ---- */

.co-sum{border:0;margin:0}
.co-sum-head{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font:500 17px "Google Sans","Figtree",sans-serif;padding:4px 0}
.co-sum-head::-webkit-details-marker{display:none}
.co-sum-title{flex:1}
.co-sum-head-total{font-weight:700}
.co-sum-chev{color:var(--onv);transition:transform .2s}
.co-sum[open] .co-sum-chev{transform:rotate(180deg)}
.co-sum-body{padding-top:14px}
.co-summary .sum{margin-top:14px}
.co-summary .link{margin-top:14px}
@media (min-width:901px){
  .co-sum-head{display:none}
  .co-sum-body{padding-top:0}}
/* ---- thank-you step polish ---- */

.co-ordernum{margin:20px 0 0;font:400 32px/1.2 "Google Sans","Figtree",sans-serif;letter-spacing:-.01em}
.co-ordernum-label{display:block;font:500 13px "Roboto",sans-serif;color:var(--onv);letter-spacing:.02em;margin-bottom:4px}
.confirm-card .eyebrow{margin-bottom:2px}
/* ---- cart page header ---- */

.co-top{display:flex;align-items:center;gap:16px;max-width:1140px;margin:0 auto;padding:16px 32px 0}
.co-logo{display:inline-flex;align-items:center;gap:8px;color:var(--pri);text-decoration:none;font:700 20px "Figtree",sans-serif}
.co-top-links{margin-left:auto;display:flex;gap:16px}
.co-top-links a{color:var(--onv);text-decoration:none;font-weight:500}
.co-top-links a:hover{color:var(--on)}
.co-step{max-width:1140px;margin:0 auto;padding:0 32px}
.co-step .co-wrap{padding-left:0;padding-right:0}
.co-step-title{margin:18px 0 14px;font-size:28px}
@media (max-width:900px){.co-top,.co-step{padding-left:16px;padding-right:16px}}
/* ---- delivery area + tip + failure states ---- */

.area-line{margin:-6px 0 14px}
.area-line.bad{color:#C5221F;font-weight:500}
.tip-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.tip-opt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border:1px solid var(--outline);border-radius:12px;background:var(--bg);color:var(--on);font:500 15px "Roboto",sans-serif;cursor:pointer}
.tip-opt small{font-size:12px;color:var(--onv)}
.tip-opt[aria-pressed="true"]{border-color:var(--pri);box-shadow:0 0 0 1px var(--pri);color:var(--pri)}
.co-fail{margin-top:18px;border:1px solid #C5221F}
.co-fail .h3{font-size:20px;margin-bottom:8px}
.co-ref code{font-size:14px;word-break:break-all}
.report-card{max-width:640px;width:100%;margin-top:20px;text-align:left}
.report-card .h3{font-size:22px;margin-bottom:4px}
.confirm{display:flex;flex-direction:column;align-items:center}.co-logo span{display:none}
/* delivery hours: closed-now note with the Request later hours button, and its thank-you */
.sched-closed{margin:0 0 10px}
.late-thanks{font:500 14px "Roboto",sans-serif;color:var(--on)}
