/* Wedding & event flowers: event picker, booking request form, confirmation. Phone first. */
.evpick .evlead{font-size:17px;color:var(--muted);margin:10px 0 0}
.evpick a.ev8{display:block;text-decoration:none}
.evpick .ev8more .btn{min-height:52px;width:100%;justify-content:space-between;font-size:16px}
.evpick .note{font-size:15px;line-height:1.45;align-items:center}
.evpick .evtoday{display:flex;gap:10px;align-items:center;margin:16px 0 40px;font-size:15px;color:var(--muted)}
.evpick .evtoday a{color:var(--green);font-weight:600;display:inline-block;padding:12px 0}
@media(min-width:761px){.evpick .ev8more .btn{width:auto;gap:24px}}

.evwrap{max-width:640px;margin:0 auto;padding:26px 16px 48px}
.evh{font-size:30px;line-height:1.12;margin-top:8px}
@media(min-width:761px){.evh{font-size:40px}.evwrap{padding-top:40px}}
.evprog{margin:16px 0 18px}
.evprog button{min-height:44px;justify-content:flex-start}
.evprog button span{font-size:12px;line-height:1.25}
.evprog button:not([disabled]){cursor:pointer}

.evform{display:block}
.evstep{display:flex;flex-direction:column;gap:16px;margin-top:8px;padding-top:8px}
.evstep+.evstep{margin-top:30px;border-top:1px solid var(--line);padding-top:24px}
.evform.js .evstep{display:none;border-top:0;margin-top:8px;padding-top:8px}
.evform.js .evstep.cur{display:flex}
.evsub{font-size:22px;display:flex;align-items:center;gap:10px;margin:0}
.evnum{flex:none;width:30px;height:30px;border-radius:50%;background:var(--green);color:#fff;font:600 15px/30px 'DM Sans',sans-serif;text-align:center}
.evhint{margin:0;font-size:15px;line-height:1.45;color:var(--muted)}
.evform.js .evnojs{display:none}
.evhp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

.evform .apfield input,.evform .apfield textarea{min-height:52px}
.evform .apfield input[type=date],.evform .apfield input[type=time]{-webkit-appearance:none;appearance:none}
.evform .apfield.bad input,.evform .apfield.bad textarea{border-color:var(--red);background:#fffafa}
.everr{display:block;color:var(--red);font-size:14px;font-weight:600}
.everrs{display:flex;gap:12px;align-items:flex-start;background:var(--redbg);color:#7c2f27;border-radius:14px;padding:14px 16px;font-size:15px;margin-bottom:8px}
.everrs .i{flex:none;margin-top:2px}
.everrs ul{margin:6px 0 0;padding-left:18px}
.everrs li{margin:2px 0}
.evfix{min-height:52px}
.evfix a{color:var(--green);font-weight:600;text-decoration:underline;padding:12px 4px}

/* flower groups */
.evgrp{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.evgrp summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 14px;cursor:pointer}
.evgrp summary::-webkit-details-marker{display:none}
.evgrp summary b{font-size:17px;flex:1;min-width:0}
.evgrp summary .evcnt{font-size:13px;color:var(--muted);white-space:nowrap}
.evgrp summary .evcnt.has{background:var(--green);color:#fff;border-radius:999px;padding:4px 10px;font-weight:600}
.evgrp summary .i{flex:none;width:18px;height:18px;transform:rotate(90deg);transition:transform .15s;color:var(--muted)}
.evgrp[open] summary .i{transform:rotate(-90deg)}
.evgrp[open] summary{border-bottom:1px solid var(--line)}
.evitem{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line)}
.evitem:last-child{border-bottom:0}
.evitem.on{background:#f3f7f3}
.evitem .th{width:64px;height:64px;border-radius:12px;overflow:hidden;background:#ece9df;display:flex;align-items:center;justify-content:center;color:var(--gold)}
.evitem .th img{width:100%;height:100%;object-fit:cover;display:block}
.evitem .tx{min-width:0}
.evitem .tx b{display:block;font-size:15px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.evitem .tx small{display:block;font-size:14px;color:var(--muted);margin-top:2px}
.evitem .tx small i{font-style:normal;font-size:13px}
.evqty{display:inline-flex;align-items:center;border:1px solid var(--field);border-radius:999px;background:#fff;height:46px}
.evqty button{width:44px;height:44px;border:0;background:transparent;color:var(--green);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}
.evqty button .i{width:18px;height:18px}
.evqty input{width:34px;height:44px;border:0;background:transparent;text-align:center;font:inherit;font-size:16px;font-weight:600;color:var(--ink);padding:0;-moz-appearance:textfield;appearance:textfield}
.evqty input::-webkit-outer-spin-button,.evqty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.evform:not(.js) .evqty button{display:none}
.evform:not(.js) .evqty{border-radius:12px}
.evform:not(.js) .evqty input{width:64px}
.evform.js .evitem:not(.on) .evqty button[data-d="-1"],.evform.js .evitem:not(.on) .evqty input{display:none}
.evform.js .evitem:not(.on) .evqty{border-color:var(--green)}
.evform.js .evitem.on .evqty{background:var(--green);border-color:var(--green)}
.evform.js .evitem.on .evqty button,.evform.js .evitem.on .evqty input{color:#fff}
.evform.js .evgrp:not(.all) .evitem.more:not(.on){display:none}
.evall{margin:12px;width:calc(100% - 24px);min-height:48px}
.evgrp.all .evall{display:none}

/* pickup or delivery */
.evchoice{border:0;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.evchoice legend{font-size:14px;font-weight:600;padding:0;margin-bottom:8px}
.evchoice label{position:relative;display:block;cursor:pointer}
.evchoice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.evchoice span{display:flex;flex-direction:column;gap:8px;align-items:flex-start;height:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px;min-height:84px}
.evchoice span b{font-size:15px;line-height:1.25}
.evchoice input:checked+span{border-color:var(--green);background:#f3f7f3;box-shadow:inset 0 0 0 1px var(--green)}
.evchoice input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}
.evchoice .everr{grid-column:1/-1}
.evform.js .evaddr.off{display:none}
.evtick1{display:flex;align-items:center;gap:12px;min-height:52px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px 14px;font-size:16px;cursor:pointer}
.evtick1 input[type=checkbox]{width:24px;height:24px;accent-color:var(--green);flex:none}

/* summary */
.evsum{margin:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.evsum>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}
.evsum>div:last-child{border-bottom:0}
.evsum dt{font-size:13px;color:var(--muted);padding-top:2px}
.evsum dd{margin:0;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.evsum .evline{display:block}
.evsum .evtot{background:var(--goldbg)}
.evsum .evtot b{font-size:22px;font-family:Fraunces,Georgia,serif;font-weight:500}
.evsum .evtot b.ask{font:600 17px/1.3 'DM Sans',sans-serif}
.evsum .evtot small{display:block;font-size:13.5px;color:#6D5732;margin-top:2px}
.evsend{width:100%;min-height:56px;font-size:17px;white-space:normal}

/* next / back bar */
.evnav{margin:22px -16px 0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(248,247,242,.97);border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px}
.evnav.stick{position:sticky;bottom:0;z-index:5}
.evnav:not(.stick){background:transparent;border-top:0}
.evnav[hidden],.evnav .evlive[hidden]{display:none}
.evnav .evlive{flex:1 1 100%;font-size:14px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}
.evnav .evlive b{color:var(--ink)}
.evnav .btn{min-height:52px;font-size:16px}
.evnav #evBack{flex:0 0 auto}
.evnav #evNext{flex:1}
.evnav .btn[hidden]{display:none}

/* confirmation */
.evdone .evtick{width:56px;height:56px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center}
.evdone .evtick .i{width:28px;height:28px}
.evdone .evh{margin-top:16px}
.evref{margin-top:20px;border:2px dashed var(--gold);border-radius:16px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:4px}
.evref small{font-size:13px;color:var(--muted)}
.evref b{font-size:32px;letter-spacing:.04em;font-family:Fraunces,Georgia,serif;font-weight:500}
.evref span{font-size:14px;color:var(--muted);line-height:1.4}
.evdone .evsub{margin:28px 0 12px}
.evnext{margin:0;padding-left:22px;font-size:16px;line-height:1.5}
.evnext li{margin:6px 0}
.evbtns{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.evbtns .btn{flex:1 1 220px;min-height:52px;font-size:16px}
.evsum .evtot .evplus{display:block;font:500 14px/1.3 'DM Sans',sans-serif}
.evall[hidden]{display:none}

/* UX review 2026-11-19 */
/* The bar that stays at the bottom on the flowers step is solid, so the list does not show through its text */
.evnav.stick{background:#F8F7F2}
/* Back and Next share one row on a phone */
.evnav .btn{padding-left:16px;padding-right:16px}
.evnav #evNext{min-width:0}
/* The number between - and + is a full 44 px wide */
.evqty input{width:44px}
.evform:not(.js) .evqty input{width:64px}

/* Unfinished bookings: the plain notice at step 1 and "Continue where you left off?" (both shown by events.js only) */
.evsave{display:flex;gap:12px;align-items:flex-start;background:var(--sage);color:#2E5442;border-radius:14px;padding:12px 14px;font-size:14.5px;line-height:1.45}
.evsave[hidden],.evresume[hidden]{display:none}
.evsave .i{flex:none;margin-top:2px;color:var(--green)}
.evsave p{margin:0;min-width:0}
.evsave span{display:block}
.evnosave{display:inline-flex;align-items:center;min-height:44px;margin:2px 0 -8px;padding:0 4px 0 0;border:0;background:none;font:inherit;font-weight:600;color:var(--green);text-decoration:underline;cursor:pointer}
.evresume{background:#fff;border:2px solid var(--green);border-radius:16px;padding:16px;margin:8px 0 14px}
.evresume b{display:block;font-size:19px;line-height:1.25}
.evresume p{margin:6px 0 14px;font-size:15px;line-height:1.45;color:var(--muted)}
.evresumeb{display:flex;flex-wrap:wrap;gap:10px}
.evresumeb .btn{flex:1 1 140px;min-height:52px;font-size:16px}

/* Phone audit 2026-11-20 */
/* Narrow phones (under 375 px), flowers step: a chosen flower puts its - 1 + under the name, so the name keeps its room and never breaks inside a word */
@media(max-width:374px){
 .evitem .tx b{overflow-wrap:break-word}
 .evform.js .evitem.on{grid-template-columns:48px minmax(0,1fr)}
 .evform.js .evitem.on .th{width:48px;height:48px}
 .evform.js .evitem.on .evqty{grid-column:2;justify-self:start}
 .evnav .btn{padding-left:12px;padding-right:12px;font-size:15px}
 .evnav #evNext .arr{display:none}
}
@media(max-width:339px){.evnav .btn{padding-left:8px;padding-right:8px}}
/* Short phones (568 px high): the bar that stays at the bottom is a little lower, so header + bar stay under 30% of the screen */
@media(max-height:600px) and (max-width:480px){.evnav.stick{padding-top:6px;gap:6px}.evnav.stick .btn{min-height:46px}}
