/* From the design preview, preview/site.css (tools/theme-sync.mjs). */
/* The site's own pages and chrome (8 October, site-pages.js): the header's tools and menu, the
   footer, the 404, Questions & answers, the account, order tracking, the email designs,
   Track 07's shop page, and the product page's reviews and related flowers. Track 07 dresses them
   as stationery (postcards, stamps, airmail), and Track 10 wears its design. (Track 08's glasshouse:
   arched panes, plant labels, seed packets, went with the track on 27 October.) */

/* ---- Small parts ----------------------------------------------------------------------------- */
.tbc{display:inline-block;margin-left:8px;padding:2px 8px;border:1px solid var(--line);border-radius:99px;font-weight:600;font-size:9px;line-height:1.6;letter-spacing:1px;text-transform:uppercase;color:var(--muted);background:var(--surface);vertical-align:middle;white-space:nowrap}
.stars{display:inline-flex;gap:2px;vertical-align:middle}
.stars svg{width:14px;height:14px;fill:#d4a24c}

/* ---- The review bar's link ------------------------------------------------------------------- */
/* Email designs, at every width since 27 October (Jin Hao, once the Direction menu, the Photo
   selections link and the note had gone; until then it stayed off screens up to 1000 px wide, for
   lack of room). On phones it shares one row with the staff switches (notices.css). */
.review-links{display:flex;gap:22px;white-space:nowrap}

/* ---- Never wider than the screen (14 October, Jin Hao: on phones the pages scrolled sideways and
   zoomed out). Whatever sticks out of the page (a tilted card, a corner spray at 320 px) is cut at
   the screen's edge. It takes both elements: on html alone, or body alone, a phone still widens
   the page to its content (measured in Chrome's layout viewport). `clip` keeps body from becoming
   a scroller, so the stories' sticky stages and window scrolling are as before; lock scrolling on
   html (as story-locked does), not body, which no longer reaches the viewport. */
html,body{overflow-x:clip}

/* ---- Header: search, account, bag and the menu ----------------------------------------------- */
.header-tools{display:flex;align-items:center;gap:10px}
.header .tool-link,.header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:none;color:inherit;transition:background-color .2s ease}
.header .tool-link:hover,.header .menu-toggle:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.header .tool-link svg,.header .menu-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}
/* The bag (15 October, Jin Hao: "removing the bag word, and keep the bag number-count inside the
   bag"): a round tool like the others, its count in the middle of the bag's body (2 px under the
   icon's centre); the word stays for screen readers. */
.header .header-tools .bag-link{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:0;width:38px;height:38px;margin:0 2px;padding:0;border-radius:50%;color:inherit;transition:background-color .2s ease}
.header .header-tools .bag-link:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.header .header-tools .bag-link svg{width:24px;height:24px;stroke-width:1.25;stroke-linejoin:round}
.header .header-tools .bag-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.header .header-tools #bag-count{position:absolute;left:50%;top:calc(50% + 2px);translate:-50% -50%;min-width:0;margin:0;border:0;border-radius:0;font-size:10px;font-weight:700;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;text-align:center;pointer-events:none}

/* The menu glides in from the left and back out (site-pages.js toggles `is-open`; closed, it
   stays laid out but unseen and untouchable). Only transform and opacity move, so phones keep up;
   the page's dim fades on its own layer. Each line arrives a beat after the one above it (--i).
   Track 07's postcard panel settles from a slight tilt (Track 08's arched panel rose a little as
   it came, until the track went). Nothing here touches the page's own layout: the page behind is held still by
   site-pages.js, not by hiding its overflow (that re-lays out the whole page, a long frame at the
   start of the glide). The dim is not blurred, and Track 08's arched panel had no shadow: the
   first blur on a page, and a soft shadow around the 180 px arch, each stall the first open by 50
   to 120 ms while the graphics card prepares them (measured 8 October). The panel and its lines
   keep their own layers (will-change; nothing is drawn into them while the menu is hidden):
   rebuilt at the start of the close, they stalled the glide-out for up to 0.4 s. */
/* Closed, the panel waits past the right edge (up to 800 px out on a 390 px phone). The layer clips
   it: iOS Safari can count a fixed layer's off-screen content as page width (14 October). */
.site-menu{--site-menu-width:min(280px,calc(100vw - 44px));--site-menu-flyout-width:min(248px,calc(100vw - 112px));--site-menu-shift:0px;position:fixed;inset:0;z-index:600;display:flex;justify-content:flex-start;visibility:hidden;pointer-events:none;transition:visibility 0s linear .5s;overflow:hidden;overflow:clip}
.site-menu.is-shop-open{--site-menu-shift:min(0px,calc(100vw - var(--site-menu-width) - var(--site-menu-flyout-width) - 20px))}
.site-menu::before{content:'';position:absolute;inset:0;background:rgba(40,30,32,.34);opacity:0;transition:opacity .42s ease}
.site-menu.is-open{visibility:visible;pointer-events:auto;transition:visibility 0s}
.site-menu.is-open::before{opacity:1;transition-duration:.5s}
.site-menu[hidden]{display:none}
.site-menu-panel{position:relative;flex:0 0 var(--site-menu-width);width:var(--site-menu-width);height:100%;overflow:visible;background:var(--surface);color:var(--ink);padding:74px 28px 30px;box-shadow:24px 0 60px -34px rgba(40,25,30,.55);translate:var(--site-menu-shift) 0;transform:translate3d(-104%,0,0);transition:transform .44s cubic-bezier(.5,0,.75,0),translate .38s cubic-bezier(.4,0,.2,1),opacity .3s ease;will-change:transform}
.site-menu-panel>nav{height:100%;margin-left:-8px;margin-right:-20px;padding-inline:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.site-menu.is-open .site-menu-panel{transform:none;transition:transform .62s cubic-bezier(.16,1,.3,1),translate .38s cubic-bezier(.4,0,.2,1),opacity .3s ease}
.site-menu-close,.site-menu-group>*,.site-menu-note{opacity:0;transform:translate3d(-22px,0,0);transition:opacity .2s ease,transform .3s ease;will-change:transform,opacity}
.site-menu.is-open :is(.site-menu-close,.site-menu-group>*,.site-menu-note){opacity:1;transform:none;transition:opacity .45s ease calc(.14s + var(--i,0) * 32ms),transform .6s cubic-bezier(.16,1,.3,1) calc(.14s + var(--i,0) * 32ms)}
body[data-direction="gardenpostcard"] .site-menu-panel{transform-origin:0 100%}
body[data-direction="gardenpostcard"] .site-menu:not(.is-open) .site-menu-panel{transform:translate3d(-104%,0,0) rotate(-3deg)}
@media (prefers-reduced-motion:reduce){
  .site-menu,.site-menu::before,.site-menu-panel,.site-menu-close,.site-menu-group>*,.site-menu-note{transition-duration:.15s!important;transition-delay:0s!important}
  .site-menu .site-menu-panel,body[data-direction] .site-menu:not(.is-open) .site-menu-panel,.site-menu-close,.site-menu-group>*,.site-menu-note{transform:none!important}
  .site-menu:not(.is-open) .site-menu-panel{opacity:0}
  .site-menu-panel{transition:none!important}
}
.site-menu-close{position:absolute;top:20px;right:20px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);display:grid;place-items:center}
.site-menu-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
#site-menu .site-menu-group h2{font-weight:600;font-size:10px;line-height:1;font-family:inherit;letter-spacing:2.6px;text-transform:uppercase;color:var(--accent);margin:28px 0 10px}
#site-menu .site-menu-group:first-child h2{margin-top:0}
.site-menu-group a{display:block;font:italic 25px/1.35 var(--serif);padding:3px 0;color:var(--ink)}
.site-menu-group a:hover{color:var(--accent)}
.site-menu-note{margin-top:34px;font-size:11px;color:var(--muted)}
body[data-direction="gardenpostcard"] .site-menu-panel{border:0;border-image:none}

/* ---- Footer ---------------------------------------------------------------------------------- */
body[data-direction] footer.site-footer{display:block;padding:64px 6% 30px;background:var(--surface);border-top:1px solid var(--line);text-align:left}
body[data-direction] footer.site-footer .footer-top{display:grid;grid-template-columns:minmax(200px,1fr) 2.4fr;gap:44px;align-items:start;max-width:1440px;margin:auto}
body[data-direction] footer.site-footer .footer-brand{display:block;font:inherit}
/* The shop's line on one line (27 October, reviewers; it wrapped in a 250 px box): new words, short
   enough for a 320 px phone at this size (226 px; tmp/work-1027/tagline-widths.cjs). */
body[data-direction] footer.site-footer .footer-brand span{display:block;margin-top:6px;font:italic 25px/1.25 var(--serif);color:var(--ink);white-space:nowrap}
body[data-direction] footer.site-footer .footer-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
body[data-direction] footer.site-footer h2{font-weight:600;font-size:10px;line-height:1;font-family:inherit;letter-spacing:2.6px;text-transform:uppercase;color:var(--accent);margin:0 0 16px}
body[data-direction] footer.site-footer .footer-col a{display:block;padding:5px 0;font-size:13px;color:var(--ink)}
body[data-direction] footer.site-footer .footer-col a:hover{color:var(--accent)}
body[data-direction] footer.site-footer>.footer-meta{display:grid;grid-template-columns:auto 1fr;gap:12px 30px;align-items:center;justify-content:normal;max-width:1440px;margin:44px auto 0;padding-top:22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
body[data-direction] footer.site-footer .footer-social{display:flex;gap:10px;flex-wrap:wrap}
body[data-direction] footer.site-footer .footer-social>*{padding:5px 12px;border:1px solid var(--line);border-radius:99px;background:var(--paper)}
body[data-direction] footer.site-footer .footer-social a{color:var(--ink)}
body[data-direction] footer.site-footer .footer-pay{justify-self:end}
body[data-direction] footer.site-footer .footer-legal{grid-column:1/-1;display:block;font-size:10px;line-height:1.7}
/* 07 (9 October, Jin Hao): no edge and no surface of its own. The footer continues the page's
   colour (the story page's garden ends on its blush, other pages on the paper) and fades to a
   lighter pink, and the small print is a shade darker, for contrast on the pink. Its 3D meadow
   band was removed on 22 October (Jin Hao: a cleaner footer), so it keeps the base padding. */
body[data-direction="gardenpostcard"] footer.site-footer{--footer-from:var(--paper);--muted:#6e4c51;--accent:#8c4f59;position:relative;border-top:0;background:linear-gradient(180deg,var(--footer-from) 0,#f7e4e6 42%,#fbedef 100%)}
/* A page that ends on the review garden: the footer starts on the garden's last colour (its 3D
   ground as lit, #e5c3bc; its loading wash; its static gallery's paper). footer-garden.js mirrors
   the garden's mode onto the body (a :has() on the body made Chrome restyle the whole page
   whenever the menu's DOM changed: a 120 px jump at the menu glide's first frame). */
body[data-direction="gardenpostcard"][data-footer-from="webgl"] footer.site-footer{--footer-from:#e5c3bc}
body[data-direction="gardenpostcard"][data-footer-from="loading"] footer.site-footer{--footer-from:#ecd7d3}
body[data-direction="gardenpostcard"][data-footer-from="static"] footer.site-footer{--footer-from:#fbf2ee}
body[data-direction="gardenpostcard"] footer.site-footer .footer-social>*{background:rgba(255,255,255,.55);border-color:#e6c9cc}
body[data-direction="gardenpostcard"] footer.site-footer>.footer-meta{border-top-color:#e6c9cc}

/* ---- Shared page parts ----------------------------------------------------------------------- */
.site-page .page-head{position:relative}
.site-head h1 em,.site-page h2 em{font-style:italic;color:var(--accent)}

/* ---- 404 ------------------------------------------------------------------------------------- */
.lost{display:grid;grid-template-columns:minmax(260px,.9fr) 1.1fr;gap:6vw;align-items:center;max-width:1180px;margin:auto;padding:70px 6% 110px;min-height:62vh}
.lost-art svg{width:100%;max-width:440px;margin:auto;display:block}
.lost-postcard .lost-art svg{transform:rotate(-3deg);filter:drop-shadow(0 20px 26px rgba(80,40,45,.18))}
.lost-copy h1 em{font-style:italic;color:var(--accent)}
.lost-copy p{margin:18px 0 26px;max-width:470px;color:var(--muted)}
.lost-search{display:flex;gap:10px;max-width:460px}
.lost-search .search{max-width:none;flex:1;border-radius:99px;padding:12px 16px}
.lost-search .button{border-radius:99px;min-height:46px}
.lost-links{display:flex;gap:24px;flex-wrap:wrap;margin-top:28px}

.faq-care{margin:0;padding-left:20px}
.faq-care li{padding:4px 0}

/* ---- Questions & answers --------------------------------------------------------------------- */
.faq-layout{display:grid;grid-template-columns:250px 1fr;gap:56px;align-items:start;padding-top:20px}
.faq-topics{position:sticky;top:24px;display:flex;flex-direction:column;gap:6px}
.faq-topics .search{max-width:none;margin-bottom:12px;border-radius:99px;padding:11px 16px}
.faq-topic{padding:9px 16px;border-radius:99px;font-size:13px;color:var(--ink)}
.faq-topic:hover{background:var(--soft)}
.faq-topic.active{background:var(--accent);color:#fff}
.faq-group{margin-bottom:46px;scroll-margin-top:24px}
.site-page .faq-group h2{font-size:34px;margin-bottom:14px}
.faq-item{border-top:1px solid var(--line)}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item summary{display:flex;align-items:center;gap:12px;padding:18px 44px 18px 0;cursor:pointer;list-style:none;position:relative;font-size:15px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary span:first-child{flex:1}
.faq-item summary::after{content:'';position:absolute;right:6px;top:50%;width:14px;height:14px;margin-top:-7px;background:linear-gradient(currentColor,currentColor) center/14px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 14px no-repeat;color:var(--accent);transition:transform .25s ease}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-answer{padding:0 44px 22px 0;color:var(--muted);max-width:720px}
.faq-postcard .faq-item{border-top-style:dashed}

/* ---- Account --------------------------------------------------------------------------------- */
.account-form .form-grid .wide,.track-form .form-grid .wide{grid-column:1/-1}
.account-form .button,.track-form .button{margin-top:18px;border-radius:99px}
.account-layout{display:grid;grid-template-columns:220px 1fr;gap:50px;align-items:start;padding-top:10px}
.account-nav{display:flex;flex-direction:column;gap:4px;position:sticky;top:24px}
.account-nav a{padding:10px 16px;border-radius:99px;font-size:13px}
.account-nav a:hover{background:var(--soft)}
.account-nav a[aria-current="page"]{background:var(--accent);color:#fff}
.account-nav a:last-child{margin-top:14px;color:var(--muted);border:1px solid var(--line)}
.site-page .account-title{font-size:36px;margin-bottom:22px}
.order-cards{display:grid;gap:18px}
.order-card{padding:24px 26px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.order-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.order-card-head b{display:block;font:italic 26px/1.1 var(--serif)}
.order-card-head small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.order-card-foot{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;font-size:13px}
.order-thumbs{display:flex;gap:8px;margin-top:16px}
.order-card-foot .order-thumbs{margin-top:0}
.order-thumbs img{width:62px;height:62px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.status-pill{padding:5px 12px;border-radius:99px;font-size:11px;background:var(--soft);color:var(--accent);white-space:nowrap}
.status-pill.is-done{background:var(--accent);color:#fff}
.order-steps{list-style:none;padding:0;margin:24px 0 6px;display:grid;grid-template-columns:repeat(5,1fr);gap:0;counter-reset:step}
.order-steps li{position:relative;padding:26px 10px 0 0;font-size:12px}
.order-steps li::before{content:'';position:absolute;left:0;right:0;top:8px;height:2px;background:var(--line)}
.order-steps li.done::before,.order-steps li.current::before{background:var(--accent)}
.order-steps .step-dot{position:absolute;left:0;top:2px;width:14px;height:14px;border-radius:50%;background:var(--surface);border:2px solid var(--line)}
.order-steps li.done .step-dot{background:var(--accent);border-color:var(--accent)}
.order-steps li.current .step-dot{border-color:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 18%,transparent)}
.order-steps b{display:block;font-weight:600}
.order-steps small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.order-steps li:not(.done):not(.current) b{color:var(--muted);font-weight:400}
.order-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.site-page .order-detail-head h2{font-size:40px}
.order-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:34px;margin-top:30px}
.order-columns h3{font-size:24px;margin:0 0 12px}
.order-side h3{margin-top:22px}
.order-side h3:first-child{margin-top:0}
.order-side p{color:var(--muted);font-size:13px}
.order-message{font:italic 20px/1.45 var(--serif)!important;color:var(--ink)!important;padding:16px 20px;background:var(--soft);border-radius:14px}
.order-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:26px}
.order-actions .button{border-radius:99px}
.order-lines{border-top:1px solid var(--line)}
.order-line{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}
.order-line img{width:64px;height:64px;object-fit:cover;border-radius:12px}
.order-line b{display:block;font:italic 19px/1.2 var(--serif);font-weight:400}
.order-line small{color:var(--muted)}
.order-sum{display:flex;justify-content:space-between;padding:8px 0;font-size:13px;color:var(--muted)}
.order-sum.total{color:var(--ink);border-top:1px solid var(--line);padding-top:12px}
.address-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:14px}
.address-card{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:18px;font-size:13px;text-align:left;color:var(--ink)}
.address-card p{margin:10px 0 14px;line-height:1.7}
.address-card.is-default{border-color:var(--accent)}
.address-add{display:grid;place-items:center;border-style:dashed;color:var(--accent);font-size:14px;min-height:150px}
.account-form{max-width:640px}
.account-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:10px 0 26px}
.account-form h3{font-size:24px;margin-bottom:6px}
.account-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.account-quick a{padding:20px 22px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.account-quick b{display:block;font:italic 30px/1 var(--serif);color:var(--accent)}
.account-quick span{font-size:12px;color:var(--muted)}
.account-empty{padding:30px 0}
.account-postcard .order-card{box-shadow:4px 5px 0 var(--soft)}

/* ---- The overview's sketch blocks (9 October, Track 07) ---------------------------------------- */
/* The latest order's card is a sketch-drawn 3D block in its own shape: drawn in ink with a second,
   fainter line as a pencil sketch has, and a hatched back face offset up and to the right, so it
   stands as a block (the pencil's wobble: the lv-sketch filter, site-pages.js). A roof sign, a
   head and a tail light, the order's status on a sketched pill, and the ordered flowers at its
   windows. The three quick links below are drawn the same way, in their own rounded shape. (A
   mascot face on the card and tyres for the links were tried and taken out the same day.) */
.site-page .bus-card,.site-page .sketch-quick a{--bus-ink:var(--ink);--bus-side:color-mix(in srgb,var(--bus-ink) 14%,var(--surface));--bus-dx:14px;--bus-dy:10px;position:relative;border:1.6px solid var(--bus-ink);outline:1px solid color-mix(in srgb,var(--bus-ink) 34%,transparent);outline-offset:3px}
/* The back faces sit behind the fronts: the card and the links make no stacking context of their
   own (no isolation, transform or filter), so z-index -1 goes under their backgrounds. */
.site-page .bus-card::before,.site-page .sketch-quick a::before{content:'';position:absolute;inset:-1.6px;z-index:-1;border-radius:inherit;border:1.6px solid var(--bus-ink);background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--bus-ink) 50%,transparent) 0 1px,transparent 1px 6px) var(--bus-side);transform:translate(var(--bus-dx),calc(-1 * var(--bus-dy)));filter:url(#lv-sketch)}
.site-page .bus-card{margin-top:22px;box-shadow:0 26px 30px -26px color-mix(in srgb,var(--bus-ink) 70%,transparent)}
.site-page .bus-card .bus-sign{position:absolute;top:-17px;left:34px;padding:4px 11px 5px;border:1.6px solid var(--bus-ink);border-radius:7px;background:var(--surface);font:600 9px/1.2 'Lovento Sans',Arial,sans-serif;letter-spacing:2.6px;text-transform:uppercase;color:var(--bus-ink);box-shadow:3px -3px 0 var(--bus-side),3px -3px 0 1.6px var(--bus-ink)}
.site-page .bus-light{position:absolute;bottom:8px;width:13px;height:13px;border-radius:50%;border:1.6px solid var(--bus-ink);background:#ffe9a6;box-shadow:inset -2px -2px 0 rgba(0,0,0,.1)}
.site-page .bus-light.is-head{left:11px}
.site-page .bus-light.is-tail{right:11px;background:#e8706e}
.site-page .bus-card .status-pill{border:1.4px solid var(--bus-ink);background:var(--surface);color:var(--bus-ink);box-shadow:2px 2px 0 var(--bus-side)}
.site-page .bus-card .status-pill.is-done{background:var(--bus-ink);color:#fff}
.site-page .bus-card .order-thumbs img{border:1.6px solid var(--bus-ink);border-radius:14px 14px 8px 8px;box-shadow:3px -3px 0 var(--bus-side),3px -3px 0 1.6px var(--bus-ink)}
.site-page .sketch-quick{margin-top:18px;gap:24px}
.site-page .sketch-quick a{--bus-dx:10px;--bus-dy:8px;background:var(--surface);transition:box-shadow .2s}
.site-page .sketch-quick a:hover{box-shadow:0 10px 18px -12px var(--bus-ink)}
.site-page .sketch-quick b{color:var(--bus-ink)}

/* ---- Track your order ------------------------------------------------------------------------ */
.track-layout{display:grid;grid-template-columns:minmax(280px,.8fr) 1.4fr;gap:44px;align-items:start;padding-top:10px}
.track-form{padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:22px}
.track-form .form-grid{display:grid;gap:16px}
.track-form .subtle{margin-top:16px}
.track-result{padding:30px 32px;background:var(--surface);border:1px solid var(--line);border-radius:22px}
.track-result.is-missing{background:var(--soft)}
.track-result.is-missing h2{font-size:32px;margin-bottom:8px}
.track-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0 18px}
.track-facts div{padding:14px 16px;border-radius:14px;background:var(--paper);border:1px solid var(--line)}
.track-facts small{display:block;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.track-facts .tbc{margin-left:0}
.track-result .text-link{display:inline-block;margin-top:20px}
.track-postcard .track-form{border-style:dashed}

/* ---- Email designs --------------------------------------------------------------------------- */
.emails-layout{display:grid;grid-template-columns:250px 1fr;gap:40px;align-items:start;padding-top:10px}
.email-list{display:flex;flex-direction:column;gap:8px;position:sticky;top:24px}
.email-list a{padding:13px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.email-list a b{display:block;font-size:13px}
.email-list a small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.email-list a[aria-current="page"]{border-color:var(--accent);background:var(--soft)}
.email-preview{min-width:0}
.email-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;padding:16px 20px;margin-bottom:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;font-size:12px}
.email-meta small{display:inline-block;width:62px;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}
.email-widths{display:flex;gap:6px;justify-content:flex-end;align-items:center}
.email-widths a{padding:6px 14px;border-radius:99px;border:1px solid var(--line);font-size:11px}
.email-widths a[aria-current="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.email-frame{display:block;width:100%;max-width:680px;height:900px;margin:auto;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 30px 60px -44px rgba(40,30,30,.55)}
.email-frame.is-phone{max-width:390px}

/* ---- Track 07's shop page -------------------------------------------------------------------- */
.page-head.shop-head{position:relative;padding-right:calc(6% + 190px)}
/* The shop goes straight to its flowers (14 October): the breadcrumbs, then the filters. */
.page-head.shop-head-plain,body[data-floral="true"] .page-head.shop-head-plain{padding-top:26px;padding-bottom:2px}
.shop-art{position:absolute;right:6%;top:34px;width:160px}
.shop-art svg{width:100%;display:block}
body[data-direction="gardenpostcard"] .shop-art{transform:rotate(5deg)}
.sort-field{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.sort-field select{appearance:none;-webkit-appearance:none;padding:10px 36px 10px 16px;border:1px solid var(--line);border-radius:99px;color:var(--ink);font-size:12px;letter-spacing:0;text-transform:none;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/11px no-repeat}
.shop-designed .search{border-radius:99px;padding:10px 16px}
/* The designed shop's tools (22 October, Jin Hao: "more organized and clean"). Every control has one
   height and one shape: the collections and the search share the first row; under a hairline, the
   count and the sort. Up to 1000 px wide the search leads, over the collections; phones slide the
   collections sideways in one row, from the screen's edge. */
.shop-designed .shop-tools{--tool-line:var(--lawn-line,var(--line));--tool-height:42px;display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,23vw,320px);grid-template-areas:"filters search" "results results";align-items:center;gap:22px 32px;margin-bottom:30px}
.shop-designed .shop-tools .filters{grid-area:filters;gap:8px}
.shop-designed .shop-tools .chip{flex:none;white-space:nowrap}
.shop-search{grid-area:search;position:relative;margin:0}
.shop-search svg{position:absolute;left:17px;top:50%;width:17px;height:17px;margin-top:-8.5px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;color:var(--muted);pointer-events:none}
.shop-designed .shop-search .search{display:block;width:100%;max-width:none;height:var(--tool-height);padding:0 18px 0 44px;border:1px solid var(--tool-line);border-radius:99px;background:var(--surface);color:var(--ink);font-size:13px;-webkit-appearance:none;appearance:none}
.shop-search .search::-webkit-search-decoration,.shop-search .search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.shop-search .search::placeholder{color:var(--muted);opacity:1}
.shop-clear{position:absolute;right:8px;top:50%;display:grid;place-items:center;width:30px;height:30px;margin-top:-15px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;transition:background-color .2s ease,color .2s ease}
.shop-clear svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.shop-clear:hover,.shop-clear:focus-visible{background:var(--soft);color:var(--ink)}
.shop-designed .shop-search:has(.shop-clear) .search{padding-right:46px}
/* The count, the collections and the sort share a row; when a long search makes the count too wide,
   the two pills move under it, still on the right. Since 17 November the collections are a pill in
   the sort's design (app.js: label.sort-field.category-field) and their chip row above went, so the
   hairline that parted the two rows went too. */
.shop-results{grid-area:results;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px}
.shop-count{margin:0;min-width:0;font-size:13px;color:var(--muted)}
.shop-designed .sort-field{flex:none;margin-left:auto;white-space:nowrap;gap:12px;--lv-dd-chev-x:16px}
.shop-designed .category-field~.sort-field{margin-left:0}
.shop-designed .sort-field select{height:var(--tool-height);padding:0 42px 0 18px;border:1px solid var(--tool-line);border-radius:99px;background:var(--surface);color:var(--ink);font-size:13px}
@media (max-width:1000px){
  .shop-designed .shop-tools{grid-template-columns:minmax(0,1fr);grid-template-areas:"search" "filters" "results";gap:16px}
  .shop-search{max-width:460px}
}
/* 07 (and Track 10, which wears it): the collections as ivory pills in the serif's italic, the chosen
   one in rose. Until 22 October they were tilted stamps with dashed edges. The cards stay postcards
   with an address line. */
body[data-direction="gardenpostcard"] .shop-designed .chip{display:inline-flex;align-items:center;height:var(--tool-height,42px);padding:0 19px;border:1px solid var(--tool-line,var(--line));border-radius:99px;background:var(--surface);color:var(--ink);font:italic 17px/1 var(--serif);transition:border-color .2s ease,background-color .2s ease,color .2s ease}
body[data-direction="gardenpostcard"] .shop-designed .chip:hover{border-color:var(--accent)}
body[data-direction="gardenpostcard"] .shop-designed .chip.active{border-color:var(--accent);background:var(--accent);color:#fff}
body[data-direction="gardenpostcard"] :is(.shop-designed,.product-related) .product-card h3{padding-bottom:6px;background:linear-gradient(var(--line),var(--line)) left bottom/100% 1px no-repeat}
body[data-direction="gardenpostcard"] :is(.shop-designed,.product-related) .price{font:italic 17px var(--serif);color:var(--accent)}

/* ---- Product page: reviews and related flowers ----------------------------------------------- */
.product-more{padding-top:10px}
.product-reviews{margin-bottom:70px}
.product-review-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:22px;margin-bottom:14px}
.product-review{display:grid;grid-template-columns:92px 1fr;gap:16px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.product-review.is-empty{grid-template-columns:1fr}
.product-review-media{position:relative}
.product-review-media img{width:92px;height:116px;object-fit:cover;border-radius:12px}
.product-review-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,252,248,.92);color:var(--accent);font-size:13px}
.product-review-body p{margin:8px 0 10px;font:italic 18px/1.4 var(--serif);display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.product-review-meta{font-size:11px;color:var(--muted)}
.product-more-postcard .product-review{transform:rotate(-.6deg);box-shadow:4px 5px 0 var(--soft)}
.product-more-postcard .product-review:nth-child(even){transform:rotate(.7deg)}
/* Reviews on the product page (15 October): the score by the title, the summary with its bars and
   the way to all of them, photos that lead to the reviews page, the shop's replies, other designs'
   reviews labelled. */
.product-rating{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:-6px 0 16px;padding:2px 0;border:0;background:none;font:inherit;font-size:13px;color:var(--muted);cursor:pointer;text-align:left}
.product-rating b{font-size:15px;font-weight:600;color:var(--ink)}
.product-rating span:last-child{text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent);text-underline-offset:3px}
.product-rating:hover span:last-child,.product-rating:focus-visible span:last-child{color:var(--accent)}
.product-reviews:focus{outline:none}
.product-review-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:30px;align-items:center;margin:0 0 26px;padding:22px 26px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.product-review-score{display:grid;justify-items:start;gap:5px}
.product-review-score b{font:500 54px/1 var(--serif);color:var(--ink)}
.product-review-score small{color:var(--muted);font-size:12px}
.product-review-bars{list-style:none;margin:0;padding:0;display:grid;gap:7px;justify-self:center;width:100%;max-width:560px}
.product-review-bars li{display:grid;grid-template-columns:54px minmax(0,1fr) 38px;gap:10px;align-items:center;font-size:12px;color:var(--muted)}
.product-review-bars i{display:block;height:7px;border-radius:99px;background:linear-gradient(90deg,var(--accent) var(--w),color-mix(in srgb,var(--line) 85%,transparent) var(--w))}
.product-review-bars b{font-weight:600;color:var(--ink);text-align:right}
.product-review-cta{display:grid;justify-items:center;gap:8px;text-align:center}
.product-review-cta small{color:var(--muted);font-size:12px}
.product-review-cta .button,.product-review-more{border-radius:99px}
.product-review-body{min-width:0;overflow-wrap:anywhere}
.product-review.no-media{grid-template-columns:1fr}
.product-review-media{display:block;align-self:start}
.product-review-media.is-video{width:92px;height:116px;border-radius:12px;background:var(--soft);display:grid;place-items:center}
.product-review-media.is-video .product-review-play{position:static;transform:none}
.product-review-count{position:absolute;right:6px;bottom:6px;padding:1px 7px;border-radius:99px;background:rgba(43,36,32,.74);color:#fff;font-size:11px;font-weight:600}
.product-review-reply{margin:0 0 10px;padding:8px 12px;border-left:2px solid var(--accent);border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--soft) 55%,transparent);font-size:13px;line-height:1.5;color:var(--ink)}
.product-review-reply span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-review-reply b{display:block;margin-bottom:2px;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.product-review-more{margin:4px 0 16px}
@media (max-width:700px){
  .product-review-summary{grid-template-columns:1fr;gap:16px;padding:18px}
  .product-review-bars{max-width:none}
  .product-review-cta{justify-items:stretch}
  .product-review-score b{font-size:44px}
  .product-review-media.is-video{width:76px;height:96px}
}

/* ---- Phones and tablets ---------------------------------------------------------------------- */
@media (max-width:1000px){
  body[data-direction] footer.site-footer .footer-top{grid-template-columns:1fr;gap:30px}
  .address-cards{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  .lost,.faq-layout,.account-layout,.track-layout,.emails-layout,.order-columns{grid-template-columns:1fr}
  .lost{gap:30px;padding-top:40px}
  .lost-art svg{max-width:300px}
  .faq-topics,.account-nav,.email-list{position:static}
  .account-nav{flex-direction:row;flex-wrap:wrap}
  /* The topics as an index of equal tiles, two a row, each with its number of questions (Jin Hao,
     14 October: wrapped along a line they ran ragged). The search takes the row above; an odd last
     tile takes a row of its own. The count is the link's data-count, drawn after its label, so the
     label and its breeze (link-breeze.js) stay as they are. */
  .faq-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .faq-topics .search{grid-column:1/-1;margin-bottom:6px}
  .faq-topic{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;min-width:0;min-height:62px;padding:11px 14px 12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);line-height:1.35}
  .faq-topic::after{content:attr(data-count);font:400 11.5px/1.3 'Lovento Sans',Arial,sans-serif;letter-spacing:.01em;text-transform:none;color:var(--muted)}
  .faq-topic.active{border-color:var(--accent)}
  .faq-topic.active::after{color:rgba(255,255,255,.82)}
  .faq-topic:last-of-type:nth-of-type(odd){grid-column:1/-1}
  .faq-postcard .faq-topic{border-style:dashed;border-color:var(--petal-line,var(--line))}
  .faq-postcard .faq-topic.active{border-color:var(--accent)}
  .account-nav a:last-child{margin-top:0}
  .order-steps{grid-template-columns:1fr;gap:4px}
  .order-steps li{padding:0 0 12px 28px}
  .order-steps li::before{left:6px;right:auto;top:16px;bottom:0;width:2px;height:auto}
  .order-steps li:last-child::before{display:none}
  .email-meta{grid-template-columns:1fr}
  .email-widths{justify-content:flex-start}
  .page-head.shop-head{padding-right:6%}
  .shop-art{position:static;width:110px;margin:-6px 0 10px auto}
  .track-facts{grid-template-columns:1fr}
}
@media (max-width:700px){
  .header .header-tools{gap:2px}
  .header .tool-link,.header .menu-toggle{width:34px;height:34px}
  .header .header-tools .bag-link{width:34px;height:34px;margin:0 1px}
  .header .header-tools .bag-link svg{width:23px;height:23px}
  .header .header-tools #bag-count{font-size:9.5px}
  body[data-direction] footer.site-footer{padding:44px 6% 26px}
  body[data-direction] footer.site-footer .footer-nav{grid-template-columns:1fr 1fr;gap:20px}
  body[data-direction] footer.site-footer>.footer-meta{grid-template-columns:1fr}
  body[data-direction] footer.site-footer .footer-pay{justify-self:start}
  .track-form,.track-result,.order-card{padding:22px}
  .account-form .form-grid{grid-template-columns:1fr}
  .address-cards,.account-quick{grid-template-columns:1fr}
  .site-page .bus-card{--bus-dx:10px;--bus-dy:8px}
  .site-page .sketch-quick{gap:20px}
  .order-card-foot{flex-wrap:wrap}
  .shop-designed .shop-tools{--tool-height:40px;gap:14px;margin-bottom:22px}
  .shop-search{max-width:none}
  .shop-designed .shop-tools .filters{flex-wrap:nowrap;overflow-x:auto;margin-inline:-6vw;padding:2px 6vw;scroll-padding-inline:6vw;scrollbar-width:none;overscroll-behavior-x:contain}
  .shop-designed .shop-tools .filters::-webkit-scrollbar{display:none}
  /* Phones (17 November): the count on its own line, then the two pills side by side, half the row
     each, so every choice fits whole ("Price: high to low", "Home flowers"). Their labels are kept
     for screen readers and as the lists' headings ("Collection", "Sort by"), but not shown. */
  .shop-designed .shop-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  .shop-designed .shop-results .shop-count{grid-column:1/-1}
  .shop-designed .shop-results .sort-field{min-width:0;margin:0}
  .shop-designed .shop-results .sort-field>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  .shop-designed .shop-results .sort-field select{width:100%;min-width:0;padding:0 34px 0 16px}
  body[data-direction="gardenpostcard"] .shop-designed .chip{padding:0 16px;font-size:16px}
  .product-review{grid-template-columns:76px 1fr}
  .product-review-media img{width:76px;height:96px}
  .lost-search{flex-direction:column}
}
