/* Cart page (track "cart"). Phone first: 390 px wide, tap targets 44 px or more, text 12 px or more. */
.cartpg{padding:22px 0 60px}
.cartpg .wrap{padding:0 16px}
.ctitle{font-size:clamp(28px,4.4vw,44px);margin:6px 0 16px}
.cartpg h2{font-size:20px;margin:0 0 14px;letter-spacing:-.01em}
.csub{font-size:15px;font-weight:600;margin:22px 0 10px}
.cgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.cmain{display:grid;gap:16px;min-width:0}
.cbox{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;min-width:0}

/* lines */
.clines{list-style:none;margin:0;padding:0}
.cline{display:grid;grid-template-columns:72px minmax(0,1fr) 44px;grid-template-areas:"ph info rem" "ph qty tot";gap:8px 12px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}
.cline:first-child{border-top:0;padding-top:0}
.cline.busy{opacity:.55;pointer-events:none}
.cph{grid-area:ph;align-self:start;width:72px;height:72px;border-radius:14px;background:var(--sage) center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:var(--green)}
.cph .i{width:26px;height:26px}
/* The photo is a real <img> (small copy) filling the same box the background photo filled. */
.cph{overflow:hidden}
.cph img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.cinfo{grid-area:info;min-width:0}
.cname{display:block;font-weight:600;font-size:15px;line-height:1.3;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.cmeta{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:4px;font-size:13px;color:var(--muted)}
.crem{grid-area:rem;align-self:start;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}
.crem:hover{background:var(--sage);color:var(--ink)}
.crem .i{width:18px;height:18px}
.cqty{grid-area:qty;display:inline-flex;align-items:center;justify-self:start;border:1px solid var(--field);border-radius:999px;height:46px}
.cqty button{width:46px;height:44px;border:0;background:transparent;color:var(--green);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:999px}
.cqty button .i{width:18px;height:18px}
.cqty b{min-width:26px;text-align:center;font-size:16px;font-weight:600}
.ctot{grid-area:tot;grid-column:2/4;justify-self:end;font-weight:600;font-size:16px;white-space:nowrap}
.cline .cqty{grid-column:2/3}
.cmore{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:6px;color:var(--green);font-weight:600;font-size:14px;text-decoration:none}
.cmore .i{width:16px;height:16px}

/* pickup or delivery */
.cchoice{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cchoice button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:96px;padding:14px;border:2px solid var(--field);border-radius:18px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.cchoice button .i{width:26px;height:26px;color:var(--green)}
.cchoice button b{display:block;font-size:16px}
.cchoice button small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.cchoice button.on{border-color:var(--green);background:var(--sage)}
.cplace{display:flex;gap:12px;align-items:flex-start;margin-top:12px;padding:14px;border-radius:16px;background:var(--bg);font-size:14.5px}
.cplace .i{width:20px;height:20px;color:var(--green);flex:none;margin-top:2px}
.cplace b{display:block;font-size:13px;color:var(--muted);font-weight:500}
.cplace a{display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-weight:600;text-decoration:none}
.cplace span{display:flex;flex-direction:column;min-width:0}
.cfld{margin-top:12px;min-height:56px}
.cfld .clab{display:block;font-size:12px;color:var(--muted)}
.cfld input{min-height:28px;font-size:16px!important}
.cfld input[type=date]{-webkit-appearance:none;appearance:none;min-width:0;width:100%}
.chint{font-size:13px;color:var(--muted);margin:8px 2px 0}
.chint.center{text-align:center}
.cerr{font-size:14px;color:#A3261D;background:#FBECEA;border-radius:12px;padding:10px 12px;margin:8px 0 0}
.cslots{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cslot{position:relative;display:block;cursor:pointer}
.cslot input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.cslot span{display:flex;align-items:center;justify-content:center;min-height:50px;padding:8px 4px;border:2px solid var(--field);border-radius:14px;font-size:13px;white-space:nowrap;font-weight:600;text-align:center;background:#fff}
.cslot input:checked+span{border-color:var(--green);background:var(--sage)}
.cslot input:focus-visible+span,.cchoice button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* summary */
.crow{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;font-size:15px}
.crow span small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.crow b{font-weight:600;white-space:nowrap}
.crow.ctotal{border-top:1px solid var(--line);margin-top:6px;padding-top:14px;font-size:18px}
.crow.ctotal b{font-size:22px}
.cgo{margin-top:14px;min-height:52px;font-size:16px;cursor:pointer}

/* empty */
.cempty{background:#fff;border:1px solid var(--line);border-radius:20px;text-align:center;padding:44px 18px}
.cemptyico{width:64px;height:64px;border-radius:50%;background:var(--goldbg);color:var(--gold);display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.cemptyico .i{width:28px;height:28px}
.cempty h2{margin:0 0 6px}
.cempty p{color:var(--muted);font-size:14.5px;margin:0 0 20px}
.cempty .btn{min-height:48px}

/* slim bar on phones */
.cbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(0,0,0,.08)}
.cbartot small{display:block;font-size:12px;color:var(--muted);line-height:1.2}
.cbartot b{font-size:19px;line-height:1.2}
.cbar .btn{min-height:48px;padding:12px 18px;font-size:15px;cursor:pointer}
@media(max-width:899px){
 body.cartbody.hasbar footer.site{padding-bottom:84px}
 .cside .cgo,.cside .chint.center{display:none}
}
@media(min-width:900px){
 .cartpg{padding:34px 0 80px}
 .cartpg .wrap{padding:0 22px}
 .cgrid{grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
 .cside{position:sticky;top:96px}
 .cbox{padding:22px}
 .cline{grid-template-columns:84px minmax(0,1fr) auto 96px 44px;grid-template-areas:"ph info qty tot rem";gap:16px}
 .cph{width:84px;height:84px;align-self:center}
 .cline .cqty{grid-column:auto}
 .ctot{grid-column:auto;text-align:right}
 .crem{align-self:center}
 .cslots{grid-template-columns:repeat(4,1fr)}
 .cbar{display:none}
 .cempty{padding:70px 20px}
}

/* UX review 2026-11-19: the footer already leaves room for the bottom bar, so the page itself needs none (it showed as a pale strip under the footer) */
body.cartbody.hasbar{padding-bottom:0}

/* Delivery address in parts (track "address"): street, unit, then city and postal code side by side */
.caddr{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:10px}
.caddr .cfld{margin-top:0;min-width:0}
.caddr .cfull{grid-column:1/-1}
.caddr .cerr{margin:-2px 0 2px}
#fPostal{text-transform:uppercase}
#fPostal::placeholder{text-transform:none}
#delBox .csub{margin-top:18px}

/* A field whose label is the heading above it: the date box keeps its 56 px height with the value centred. */
.cfld.cone{display:flex;align-items:center}
.cnotice{margin:0 0 14px;font-size:15px}

/* Phone audit 2026-11-20 */
/* Narrow phones (under 375 px): the two time columns share the box evenly and a long time may use two lines, so nothing is cut off */
@media(max-width:374px){.cslots{grid-template-columns:repeat(2,minmax(0,1fr))}.cslot span{white-space:normal;line-height:1.2;padding:6px 4px}}
/* "Which day?": the date field fills more of its box so a tap anywhere on the box opens it. The box keeps its 56 px height and looks the same. */
.cfld.cone{padding-top:5px;padding-bottom:5px}
.cfld.cone input[type=date]{min-height:44px}
/* Owner decision 25 Nov 2026: a delivery whose distance or time could not be checked: call, or send a request without payment */
.cnoprice{margin:12px 0 16px;padding:14px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff}
.cnoprice p{margin:6px 0}
.cnoprice .btn{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.creq{display:grid;gap:6px;margin-top:10px}
.creq label{font-size:13px;font-weight:600;color:var(--muted,#555)}
.creq input,.creq textarea{width:100%;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line,#ccc);border-radius:10px;font:inherit;font-size:16px;box-sizing:border-box}
.creq button{margin-top:6px;min-height:44px}
.cdone{margin:8px 0 14px}
/* C12 (owner, 2 Dec 2026): style, note for the florist, card with a message */
.clnote{font-size:13px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.ccard{grid-column:1/-1;font-size:14px}
.ccardon{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.ccardon input{width:20px;height:20px}
.ccardbox{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.ccardbox textarea{width:100%;min-height:64px;padding:10px 12px;border:1px solid var(--field);border-radius:12px;font:inherit}
.ccardsave{align-self:flex-start;min-height:44px}
.ccardtxt{margin:0;color:var(--muted);font-size:13.5px}
