/* Cake order popup + minimised strip. Opened by any [data-cake-order] element (optional data-cake="Mad Chocolate"). */
.co-overlay{position:fixed;inset:0;z-index:1000;background:rgba(41,23,17,.55);display:flex;align-items:flex-end;justify-content:center;font-family:'DM Sans',system-ui,sans-serif;color:#452016}
.co-overlay[hidden],.co-strip[hidden],.co-overlay [hidden]{display:none!important}
.co-dialog{flex-direction:row;margin:0;padding:0;gap:0;position:relative;width:100%;max-height:94dvh;background:#fff;border-radius:28px 28px 0 0;display:flex;overflow:hidden;box-shadow:0 -10px 40px rgba(20,10,6,.25);animation:co-up .28s cubic-bezier(.2,.8,.2,1)}
@keyframes co-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.co-side{display:none;margin:0}
.co-main,.co-body,.co-head,.co-foot{box-sizing:border-box}
.co-main{flex:1;min-width:0;display:flex;flex-direction:column;max-height:94dvh}
.co-grab{width:40px;height:5px;border-radius:99px;background:rgba(69,32,22,.18);margin:10px auto 0;flex-shrink:0}
.co-head{display:flex;align-items:center;gap:8px;padding:8px 14px 0 12px;flex-shrink:0}
.co-eyebrow{flex:1;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9a4a36;padding-left:8px}
.co-ib{width:44px;height:44px;border-radius:50%;border:1px solid rgba(69,32,22,.14);background:#fff;color:#452016;display:grid;place-items:center;padding:0;cursor:pointer;flex-shrink:0}
.co-ib.plain{border:0}.co-ib:hover{background:#fff8e9}
.co-ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.co-progress{display:flex;gap:6px;padding:12px 20px 0;flex-shrink:0}.co-progress i{flex:1;height:4px;border-radius:99px;background:rgba(69,32,22,.12)}.co-progress i.on{background:#006bdc}
.co-body{flex:1;overflow-y:auto;padding:0 20px 18px;overscroll-behavior:contain}
.co-step{margin:18px 0 0;font-size:13px;color:#7a5a4c}
.co-q{margin:4px 0 0;font-family:Grandstander,cursive;font-weight:900;font-size:30px;line-height:1.05;letter-spacing:-.04em;color:#452016}
.co-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px;margin-top:18px}
.co-cake{border:0;background:none;padding:0;text-align:left;color:#452016;font:inherit;cursor:pointer;display:flex;flex-direction:column;gap:6px}
.co-cake .ph{position:relative;display:block;border-radius:16px;padding:3px;background:#fff}
.co-cake img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px}
.co-cake[aria-pressed=true] .ph{box-shadow:0 0 0 3px #006bdc}
.co-cake .tick{position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:50%;background:#006bdc;color:#fff;display:none;place-items:center}
.co-cake[aria-pressed=true] .tick{display:grid}
.co-cake b{font-size:12.5px;line-height:1.2}.co-cake small{font-size:11px;color:#7a5a4c;margin-top:-4px}
.co-chosen{display:flex;align-items:center;gap:12px;margin-top:16px;padding:8px;border-radius:16px;background:#ffdee7}
.co-chosen img{width:48px;height:48px;border-radius:11px;object-fit:cover}.co-chosen div{flex:1}.co-chosen p{margin:0}.co-chosen .k{font-size:11px;color:#7a5a4c}.co-chosen .n{font-weight:700;font-size:15px}
.co-link{border:0;background:none;color:#452016;font:inherit;font-size:13px;font-weight:700;text-decoration:underline;cursor:pointer;padding:12px 10px}
.co-label{display:block;font-size:13px;font-weight:700;margin:18px 0 8px}
.co-sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.co-size{position:relative;border:1px solid rgba(69,32,22,.16);border-radius:16px;background:#fff;padding:14px 10px;text-align:left;font:inherit;color:#452016;display:flex;flex-direction:column;gap:4px;cursor:pointer}
.co-size[aria-pressed=true]{border:2px solid #006bdc;background:#eef5ff;padding:13px 9px}
.co-size .w{font-family:Grandstander,cursive;font-weight:800;font-size:20px}.co-size .p{font-weight:700;font-size:15px}.co-size s{font-size:12px;color:#8a6d60}
.co-size .tag{position:absolute;top:-10px;right:8px;background:#ffdc60;border-radius:99px;padding:2px 8px;font-size:10px;font-weight:800}
.co-note{margin:10px 0 0;font-size:12px;line-height:1.5;color:#7a5a4c}
.co-day{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px 16px;border-radius:16px;background:#fff8e9}
.co-day .cal{width:46px;height:46px;border-radius:12px;background:#452016;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}
.co-day .cal span{font-size:9px;font-weight:800;letter-spacing:.08em}.co-day .cal b{font-family:Grandstander,cursive;font-size:19px;line-height:1}
.co-day p{margin:0}.co-day .k{font-size:12px;color:#7a5a4c}.co-day .v{font-weight:700;font-size:15px;margin-top:2px}
.co-field{display:flex;flex-direction:column;gap:6px;margin-top:14px}.co-field label{font-size:13px;font-weight:700}
.co-input{height:50px;border-radius:14px;border:1px solid rgba(69,32,22,.22);padding:0 14px;font:inherit;font-size:16px;color:#452016;background:#fff;width:100%;box-sizing:border-box}
textarea.co-input{height:auto;padding:12px 14px;resize:none}
.co-input:focus,.co-phone:focus-within{outline:2px solid #006bdc;outline-offset:0;border-color:transparent}
.co-phone{display:flex;height:50px;border-radius:14px;border:1px solid rgba(69,32,22,.22);overflow:hidden;background:#fff}
.co-phone .cc{display:grid;place-items:center;padding:0 12px;font-weight:700;background:#eef5ff}
.co-phone input{flex:1;min-width:0;border:0;padding:0 12px;font:inherit;font-size:16px;color:#452016;outline:none;background:transparent}
.co-phone button,.co-otp button{border:0;background:#452016;color:#fff;font:inherit;font-weight:700;font-size:13px;padding:0 14px;cursor:pointer;white-space:nowrap}
.co-phone button:disabled,.co-otp button:disabled{opacity:.5;cursor:default}
.co-otp{display:flex;gap:8px;margin-top:8px}.co-otp input{flex:1}.co-otp button{border-radius:14px;padding:0 18px}
.co-msg{margin:6px 0 0;font-size:12.5px;color:#7a5a4c;min-height:18px}.co-msg.ok{color:#2f7a3a;font-weight:700}.co-msg.err{color:#b3261e}
.co-sum{margin-top:16px;padding:12px 14px;border-radius:16px;background:#fff8e9;display:flex;flex-direction:column;gap:8px;font-size:13px}
.co-sum .r{display:flex;justify-content:space-between;gap:10px;color:#7a5a4c}.co-sum .top{display:flex;align-items:center;gap:12px;color:#452016}.co-sum .top img{width:40px;height:40px;border-radius:10px;object-fit:cover}.co-sum .top div{flex:1;line-height:1.4}
.co-sum .tot{padding-top:8px;border-top:1px dashed rgba(69,32,22,.2);font-weight:800;font-size:15px;color:#452016}
.co-foot{display:flex;align-items:center;gap:12px;padding:14px 20px calc(18px + env(safe-area-inset-bottom));border-top:1px solid rgba(69,32,22,.1);background:#fff;flex-shrink:0}
.co-foot .s{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.co-foot .s span{font-size:12px;color:#7a5a4c}.co-foot .s b{font-family:Grandstander,cursive;font-weight:800;font-size:19px}
.co-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 22px;border-radius:99px;border:0;background:#006bdc;color:#fff;font:inherit;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none;white-space:nowrap}
.co-btn:hover{background:#0056b3}.co-btn:disabled{background:#9fb9d8;cursor:default}.co-btn.wide{flex:1}
.co-btn.ghost{background:none;border:1.5px solid rgba(69,32,22,.3);color:#452016}.co-btn.ghost:hover{background:#fff8e9}
.co-done-img{margin:0 -20px;height:260px;background:#ffdee7}.co-done-img img{width:100%;height:100%;object-fit:cover;display:block}
.co-check{width:48px;height:48px;border-radius:50%;background:#ffdc60;display:grid;place-items:center;margin-top:20px}
.co-done p{font-size:15px;line-height:1.6;color:#6e4a3c;margin:12px 0 0}
/* strip */
.co-strip{position:fixed;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:999;background:#452016;color:#fff8e9;border-radius:22px;padding:8px;display:flex;align-items:center;gap:10px;box-shadow:0 14px 34px rgba(41,23,17,.32);font-family:'DM Sans',system-ui,sans-serif;animation:co-up .28s cubic-bezier(.2,.8,.2,1)}
.co-strip img{width:48px;height:48px;border-radius:14px;object-fit:cover;flex-shrink:0}
.co-strip .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:4px 0}
.co-strip .t b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-strip .t span{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,248,233,.75)}
.co-strip .bars{display:inline-flex;gap:3px}.co-strip .bars i{width:14px;height:3px;border-radius:9px;background:rgba(255,248,233,.3)}.co-strip .bars i.on{background:#ffdc60}
.co-strip .go{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:99px;border:0;background:#ffdc60;color:#452016;font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.co-strip .x{width:40px;height:44px;border:0;background:none;color:rgba(255,248,233,.75);display:grid;place-items:center;cursor:pointer;padding:0}
body.co-lock{overflow:hidden}
@media(min-width:760px){
.co-overlay{align-items:center;padding:24px}
.co-dialog{width:min(940px,100%);height:min(640px,calc(100dvh - 48px));max-height:none;border-radius:30px;box-shadow:0 40px 100px rgba(20,10,6,.35)}
.co-main{max-height:none}
.co-grab{display:none}.co-head{padding:20px 20px 0 24px}
.co-side{display:flex;flex-direction:column;width:340px;flex-shrink:0;background:#452016;color:#fff8e9}
.co-side img{width:100%;height:330px;object-fit:cover;display:block;background:#ffdee7}
.co-side .in{padding:26px 28px;display:flex;flex-direction:column;gap:10px;flex:1}
.co-side .k{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ffdc60}
.co-side .n{margin:0;font-family:Grandstander,cursive;font-weight:900;font-size:32px;line-height:1.02;letter-spacing:-.04em}
.co-side p{margin:0;font-size:14px;line-height:1.6;color:rgba(255,248,233,.78)}
.co-side .co-link{color:#fff8e9;padding:10px 0;align-self:flex-start;margin-top:auto}
.co-body{padding:0 32px 20px}.co-progress{padding:12px 32px 0}.co-foot{padding:16px 24px 20px 32px}
.co-q{font-size:34px}.co-chosen{display:none}
.co-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.co-done-img{display:none}
.co-strip{left:0;right:0;margin:0 auto;width:600px;bottom:24px;padding:10px;gap:14px}
.co-strip img{width:54px;height:54px}
}
@media(prefers-reduced-motion:reduce){.co-dialog,.co-strip{animation:none}}
/* multiple cakes */
.co-qty{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.co-stepper{display:flex;align-items:center;gap:4px;border:1px solid rgba(69,32,22,.16);border-radius:99px;padding:3px}
.co-stepper button{width:40px;height:40px;border-radius:50%;border:0;background:#fff8e9;color:#452016;display:grid;place-items:center;cursor:pointer;padding:0}
.co-stepper button:disabled{opacity:.35;cursor:default}.co-stepper output{min-width:28px;text-align:center;font-weight:800;font-size:16px}
.co-lines{display:flex;flex-direction:column;gap:8px}
.co-line{display:flex;align-items:center;gap:10px;color:#452016;font-size:13px}
.co-line img{width:40px;height:40px;border-radius:10px;object-fit:cover;flex-shrink:0}.co-line>div{flex:1;min-width:0}.co-line b{white-space:nowrap}
.co-edit{border:0;background:none;padding:4px 0;font:inherit;font-weight:700;font-size:13.5px;color:#452016;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(69,32,22,.3);text-underline-offset:3px}
.co-rm{width:32px;height:32px;border:0;border-radius:50%;background:none;color:#8a6d60;display:grid;place-items:center;cursor:pointer;padding:0;flex-shrink:0}.co-rm:hover{background:rgba(69,32,22,.08)}.co-rm .co-ic{width:16px;height:16px}
.co-sum-h{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#7a5a4c}
.co-terms{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#eef5ff;font-size:12.5px;line-height:1.5;color:#3d2a22}
.co-foot .co-btn.ghost{padding:0 16px}
/* floating order widget (cake pages) */
.co-fab{position:fixed;z-index:998;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateY(140%);opacity:0;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s;pointer-events:none;font-family:'DM Sans',system-ui,sans-serif}
.co-fab.show{transform:none;opacity:1;pointer-events:auto}
.co-fab-main{width:100%;display:flex;align-items:center;gap:12px;border:0;cursor:pointer;text-align:left;font:inherit;color:#fff8e9;padding:10px 10px 10px 12px;border-radius:24px;
  background:radial-gradient(120% 140% at 0% 0%,#7a2f45 0%,#452016 55%);box-shadow:0 16px 40px rgba(41,23,17,.35),0 0 0 1px rgba(255,220,96,.18) inset}
.co-fab-pics{position:relative;width:78px;height:58px;flex-shrink:0}
.co-fab-pics img{position:absolute;top:4px;width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #fff8e9;box-shadow:0 6px 14px rgba(0,0,0,.3);transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .6s,left .6s;opacity:0}
.co-fab-pics img[data-pos="0"]{left:22px;z-index:3;opacity:1;transform:scale(1.08)}
.co-fab-pics img[data-pos="1"]{left:0;z-index:2;opacity:1;transform:scale(.82) rotate(-10deg)}
.co-fab-pics img[data-pos="2"]{left:36px;z-index:1;opacity:1;transform:scale(.72) rotate(10deg)}
.co-fab-tag{display:none}
.co-fab-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.co-fab-txt .k{display:none}
.co-fab-txt b{font-family:Grandstander,cursive;font-weight:900;font-size:17px;line-height:1.1;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-fab-txt .s{font-size:11.5px;color:rgba(255,248,233,.78);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-fab-go{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:99px;background:#ffdc60;color:#452016;font-weight:800;font-size:14px;white-space:nowrap;flex-shrink:0;box-shadow:0 4px 0 #e0b630}
.co-fab-go .co-ic{width:16px;height:16px}
.co-fab-main:hover .co-fab-go{background:#ffd23f}
.co-fab-x{position:absolute;top:-10px;right:-4px;z-index:2;width:28px;height:28px;border-radius:50%;border:0;background:#fff;color:#452016;display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 3px 10px rgba(0,0,0,.2)}
.co-fab-x .co-ic{width:14px;height:14px}
@media(max-width:759px){body.co-fab-on{padding-bottom:96px}.co-fab-txt b{white-space:normal;font-size:15.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.co-fab-txt .s{white-space:normal}.co-fab-go{font-size:0;gap:0;width:44px;padding:0;justify-content:center}.co-fab-go .co-ic{width:20px;height:20px}}
@media(min-width:760px){
.co-fab{left:auto;right:24px;bottom:24px;width:290px}
.co-fab-main{flex-direction:column;align-items:stretch;gap:12px;padding:18px 18px 16px;border-radius:28px;text-align:center}
.co-fab-pics{width:100%;height:132px}
.co-fab-pics img{top:10px;width:112px;height:112px;border-width:3px}
.co-fab-pics img[data-pos="0"]{left:calc(50% - 56px);transform:scale(1.04)}
.co-fab-pics img[data-pos="1"]{left:calc(50% - 128px);transform:scale(.72) rotate(-12deg)}
.co-fab-pics img[data-pos="2"]{left:calc(50% + 16px);transform:scale(.72) rotate(12deg)}
.co-fab-tag{display:flex;align-items:center;justify-content:center;text-align:center;position:absolute;right:6px;top:-6px;z-index:4;width:66px;height:66px;border-radius:50%;background:#ff91b2;color:#452016;font-weight:800;font-size:10.5px;line-height:1.15;transform:rotate(12deg);box-shadow:0 6px 14px rgba(0,0,0,.25)}
.co-fab-txt{align-items:center;gap:4px}.co-fab-txt .k{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ffdc60}
.co-fab-txt b{font-size:22px;white-space:normal}.co-fab-txt .s{white-space:normal;font-size:12.5px}
.co-fab-go{justify-content:center;min-height:48px;font-size:15px}
.co-fab-x{top:-8px;right:-8px}
}
@media(prefers-reduced-motion:reduce){.co-fab,.co-fab-pics img{transition:none}}
.co-req{color:#b3261e}
.co-field-err{margin:4px 0 0;font-size:12.5px;color:#b3261e;min-height:0}.co-field-err:empty{display:none}
.co-input[aria-invalid=true]{border-color:#b3261e;outline-color:#b3261e}
.co-done p.co-thanks{margin-top:8px;font-size:17px;font-weight:700;line-height:1.45;color:#452016}
.co-strip.done{background:#2f6b3a}.co-strip.done .ok{width:44px;height:44px;border-radius:50%;background:#ffdc60;color:#452016;display:grid;place-items:center;flex-shrink:0;margin-left:4px}
.co-strip.done .t span{white-space:normal;line-height:1.35}
