/* shop.css: the WestAzz shop window (src/ui/shop.js). Its own look, not the app's: warm paper, desert green,
   big photos, phone first. Plain ASCII; CSP default-src 'self' (no inline style). */
/* Fraunces (SIL Open Font License 1.1, via @fontsource/fraunces 5.1.0, latin), bundled so headings look the same everywhere */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/fraunces-400.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/fraunces-700.woff2) format("woff2"); }
:root {
  --sh-ink: #1E2A22; --sh-muted: #5D6B61; --sh-bg: #F7F4EE; --sh-card: #FFFFFF; --sh-line: #E4DED3;
  --sh-green: #2F4A3A; --sh-accent: #B5652E; --sh-warn-bg: #FFF4DC; --sh-warn: #7A5200;
}
@media (prefers-color-scheme: dark) {
  :root { --sh-ink: #ECE8E0; --sh-muted: #A9B3AB; --sh-bg: #161B18; --sh-card: #1F2621; --sh-line: #333C36;
    --sh-green: #8DBB9C; --sh-accent: #E09A63; --sh-warn-bg: #3A2F16; --sh-warn: #F0CE7E; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.sh { background: var(--sh-bg); color: var(--sh-ink); font: 17px/1.55 Georgia, "Iowan Old Style", "Times New Roman", serif; -webkit-text-size-adjust: 100%; }
.sh a { color: var(--sh-green); }
.sh-preview { background: var(--sh-warn-bg); color: var(--sh-warn); font: 600 14px/1.4 -apple-system, system-ui, sans-serif; padding: 8px 16px; text-align: center; }
.sh-preview a { color: inherit; }
.sh-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; max-width: 1080px; margin: 0 auto; }
.sh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sh-ink); font: 700 20px/1.1 -apple-system, system-ui, sans-serif; }
.sh-brand small { display: block; font-weight: 400; font-size: 13px; color: var(--sh-muted); }
.sh-nav { display: flex; gap: 4px; font: 500 16px/1 -apple-system, system-ui, sans-serif; }
.sh-nav a { text-decoration: none; padding: 12px 12px; border-radius: 999px; color: var(--sh-ink); }
.sh-nav a[aria-current="page"] { background: var(--sh-green); color: var(--sh-bg); }
.sh-main { max-width: 1080px; margin: 0 auto; padding: 0 16px 32px; }
.sh-hero { padding: 24px 0 8px; max-width: 680px; }
.sh-hero h1, .sh-plant h1, .sh-about h1, .sh-contact h1 { font-size: 32px; line-height: 1.15; margin: 8px 0 12px; }
.sh-h2 { font: 700 20px/1.2 -apple-system, system-ui, sans-serif; margin: 28px 0 12px; }
.sh-n { color: var(--sh-muted); font-weight: 400; }
.sh-btn { display: inline-block; background: var(--sh-accent); color: #fff; border: 0; border-radius: 999px; padding: 13px 22px; min-height: 44px;
  font: 600 16px/1.2 -apple-system, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.sh .sh-btn { color: #fff; }
.sh-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.sh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.sh-card a { display: flex; flex-direction: column; gap: 4px; background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: var(--sh-ink); height: 100%; padding-bottom: 12px; }
.sh-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--sh-line); }
.sh-cn { font-weight: 700; padding: 6px 12px 0; line-height: 1.3; }
.sh-cm { color: var(--sh-muted); font-size: 14px; padding: 0 12px; }
.sh-card .sh-price { padding: 0 12px; }
.sh-price { font: 700 17px/1.3 -apple-system, system-ui, sans-serif; color: var(--sh-accent); }
.sh-ask { color: var(--sh-green); font-weight: 600; }
.sh-prev { display: block; font: 13px/1.4 -apple-system, system-ui, sans-serif; color: var(--sh-warn); }
.sh-prevnote { margin: 24px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--sh-warn-bg); color: var(--sh-warn); font: 14px/1.45 -apple-system, system-ui, sans-serif; }
.sh-empty { color: var(--sh-muted); }
.sh-crumb { margin: 8px 0 0; font: 14px/1.4 -apple-system, system-ui, sans-serif; }
.sh-plant, .sh-about, .sh-contact { max-width: 720px; }
.sh-ph { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 8px 0 14px; }
.sh-ph img { width: 100%; height: auto; border-radius: 14px; display: block; background: var(--sh-line); }
@media (min-width: 700px) { .sh-ph { grid-template-columns: 1fr 1fr; } .sh-ph img:first-child { grid-column: 1 / -1; } }
.sh-pp { margin: 0 0 10px; font-size: 22px; }
.sh-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 12px; font: 15px/1.4 -apple-system, system-ui, sans-serif; }
.sh-facts dt { color: var(--sh-muted); }
.sh-facts dd { margin: 0; }
.sh-lines { padding-left: 20px; }
.sh-form { display: flex; flex-direction: column; gap: 12px; background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 14px; padding: 16px; }
.sh-form label { display: flex; flex-direction: column; gap: 4px; font: 600 15px/1.3 -apple-system, system-ui, sans-serif; }
.sh-form input, .sh-form textarea { font: 16px/1.4 -apple-system, system-ui, sans-serif; padding: 10px 12px; border: 1px solid var(--sh-line); border-radius: 10px;
  background: var(--sh-bg); color: var(--sh-ink); width: 100%; }
.sh-form .sh-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.sh-form .sh-check input { width: auto; }
.sh-small { font: 13px/1.4 -apple-system, system-ui, sans-serif; color: var(--sh-muted); margin: 0; }
.sh-foot { max-width: 1080px; margin: 0 auto; padding: 20px 16px 40px; border-top: 1px solid var(--sh-line); color: var(--sh-muted);
  font: 14px/1.5 -apple-system, system-ui, sans-serif; }
.sh-foot p { margin: 4px 0; }
/* filters, tags, sold (2026-11-04) */
.sh-filters { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-chip { display: inline-block; padding: 10px 14px; min-height: 44px; border: 1px solid var(--sh-line); border-radius: 999px; background: var(--sh-card);
  color: var(--sh-ink); text-decoration: none; font: 500 15px/1.4 -apple-system, system-ui, sans-serif; }
.sh .sh-chip { color: var(--sh-ink); }
.sh-chip[aria-current="true"] { background: var(--sh-green); border-color: var(--sh-green); color: var(--sh-bg); }
.sh .sh-chip[aria-current="true"] { color: var(--sh-bg); }
.sh-card a { position: relative; }
.sh-tag { position: absolute; top: 8px; left: 8px; background: var(--sh-warn-bg); color: var(--sh-warn); font: 700 12px/1 -apple-system, system-ui, sans-serif;
  padding: 5px 8px; border-radius: 6px; letter-spacing: 0.04em; }
.sh-tag.sold { background: var(--sh-ink); color: var(--sh-bg); left: auto; right: 8px; }
.sh-card.is-sold img { filter: grayscale(0.6); opacity: 0.75; }
.sh-sold { color: var(--sh-muted); }
.sh-soldnote { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 10px; padding: 10px 12px; }
.sh-desc p { margin: 0 0 10px; }
/* ✏️ the listing editor on the preview plant page (2026-11-04); the same form as the review page */
.sh-editbox { margin: 22px 0 0; background: var(--sh-card); border: 2px dashed var(--sh-accent); border-radius: 14px; padding: 12px 14px; }
.sh-editbox summary { font: 700 17px/1.4 -apple-system, system-ui, sans-serif; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.sh-edit { display: flex; flex-direction: column; gap: 12px; margin: 10px 0; font: 16px/1.4 -apple-system, system-ui, sans-serif; }
.sh-edit .field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; flex: 1 1 140px; }
.sh-edit .formrow { display: flex; flex-wrap: wrap; gap: 12px; }
.sh-edit input, .sh-edit select, .sh-edit textarea { font: 16px/1.4 -apple-system, system-ui, sans-serif; padding: 10px 12px; border: 1px solid var(--sh-line);
  border-radius: 10px; background: var(--sh-bg); color: var(--sh-ink); width: 100%; min-height: 44px; }
.sh-edit .btn, .sh-editbox .btn { font: 600 16px/1.2 -apple-system, system-ui, sans-serif; min-height: 44px; min-width: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--sh-line); background: var(--sh-bg); color: var(--sh-ink); cursor: pointer; }
.sh-edit .btn.primary { background: var(--sh-accent); color: #fff; border-color: var(--sh-accent); }
.sh-edit .btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.sh-editbox .filebtn { display: inline-flex; align-items: center; position: relative; overflow: hidden; }
.sh-editbox .filebtn input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stepper { display: flex; gap: 6px; align-items: center; }
.stepper input { text-align: center; font-size: 20px !important; font-weight: 700; max-width: 140px; }
.stepper .btn { font-size: 22px !important; padding: 6px 0 !important; width: 52px; }

/* v2 look (2026-11-04, Aaron: "make it pop"): dark desert-green bands, gold highlights, lifted cards, hero art */
:root {
  --sh-ink: #17211B; --sh-muted: #5E6A62; --sh-bg: #F3EDE2; --sh-card: #FFFDF9; --sh-line: #E3D9C8;
  --sh-green: #1F3B2C; --sh-green-2: #2E5A40; --sh-sage: #9DB8A0; --sh-accent: #C8582A; --sh-sun: #E8B04A; --sh-pink: #E07A8C;
  --sh-shadow: 0 1px 2px rgba(23,33,27,.06), 0 8px 24px rgba(23,33,27,.08);
  --sh-shadow-up: 0 2px 4px rgba(23,33,27,.08), 0 18px 40px rgba(23,33,27,.16);
  --sh-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sh-sans: "Avenir Next", Avenir, -apple-system, system-ui, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --sh-ink: #EDE7DC; --sh-muted: #A9B4AC; --sh-bg: #111713; --sh-card: #1A221D; --sh-line: #2C3730;
    --sh-green: #0E1F16; --sh-green-2: #8FC1A0; --sh-accent: #E8784A; --sh-sun: #F0C060; }
}
body.sh { font: 17px/1.6 var(--sh-sans); background:
  radial-gradient(1200px 500px at 85% -10%, rgba(232,176,74,.18), transparent 60%),
  radial-gradient(900px 600px at -10% 30%, rgba(157,184,160,.22), transparent 60%), var(--sh-bg); background-attachment: fixed; }
.sh a { color: var(--sh-green-2); }

/* header: dark band, logo + wordmark */
.sh-top { max-width: none; background: var(--sh-green); padding: 14px max(16px, calc(50% - 540px)); position: sticky; top: 0; z-index: 5; }
.sh-brand { color: #F6F1E7; font: 700 22px/1 var(--sh-display); letter-spacing: .01em; }
.sh-brand small { color: var(--sh-sage); font: 600 11px/1.6 var(--sh-sans); letter-spacing: .14em; text-transform: uppercase; }
.sh-brand img { background: #F6F1E7; border-radius: 10px; padding: 3px; width: 38px; height: 38px; }
.sh-nav { font: 600 15px/1 var(--sh-sans); }
.sh-nav a { color: #E6EFE7; }
.sh-nav a:hover { background: rgba(255,255,255,.08); }
.sh-nav a[aria-current="page"] { background: var(--sh-sun); color: var(--sh-green); }

/* hero: full-bleed green with the cactus art */
.sh-hero { max-width: none; margin: 0 calc(50% - 50vw) 8px; padding: 56px max(16px, calc(50vw - 540px)) 64px; color: #F6F1E7; position: relative; overflow: hidden;
  background: url(/static/art/column-flower.svg) no-repeat right max(0px, calc(50vw - 560px)) bottom -30px / 340px auto,
    url(/static/art/barrel-flower.svg) no-repeat right calc(max(0px, calc(50vw - 560px)) + 250px) bottom -20px / 190px auto,
    radial-gradient(700px 400px at 80% 0%, rgba(232,176,74,.35), transparent 70%),
    linear-gradient(160deg, #1F3B2C 0%, #2E5A40 55%, #3E6B4C 100%); }
.sh-hero::before { content: "Homegrown in Perth \00B7  Western Australia"; display: inline-block; font: 700 12px/1 var(--sh-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--sh-green); background: var(--sh-sun); padding: 7px 12px; border-radius: 999px; }
.sh-hero h1 { font: 700 clamp(34px, 6vw, 58px)/1.05 var(--sh-display); max-width: 15ch; margin: 18px 0 14px; letter-spacing: -.01em; }
.sh-hero p { max-width: 52ch; color: #DCE7DD; font-size: 18px; }
.sh-hero .sh-btn { box-shadow: 0 6px 20px rgba(200,88,42,.45); }
@media (max-width: 699px) { .sh-hero { padding-bottom: 200px; background-size: 220px auto, 130px auto, auto, auto; background-position: right 8px bottom -20px, right 190px bottom -10px, 0 0, 0 0; } }

.sh-btn { background: var(--sh-accent); font: 700 16px/1.2 var(--sh-sans); padding: 14px 26px; transition: transform .15s, box-shadow .15s; }
.sh-btn:hover { transform: translateY(-1px); }

h1, .sh-plant h1, .sh-about h1, .sh-contact h1 { font-family: var(--sh-display); letter-spacing: -.01em; }
.sh-plant h1, .sh-about h1, .sh-contact h1 { font-size: clamp(30px, 5vw, 44px); }
.sh-h2 { font: 700 26px/1.2 var(--sh-display); margin: 32px 0 14px; }

/* filters */
.sh-filters { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; }
.sh-chip { font: 600 14px/1.4 var(--sh-sans); background: var(--sh-card); border-color: var(--sh-line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.sh-chip:hover { border-color: var(--sh-green-2); }
.sh-chip[aria-current="true"] { background: var(--sh-green); border-color: var(--sh-green); }

/* cards: lift, bigger photo, price as a pill */
.sh-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
@media (max-width: 520px) { .sh-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.sh-card a { border: 0; border-radius: 20px; box-shadow: var(--sh-shadow); padding-bottom: 16px; transition: transform .18s ease, box-shadow .18s ease; }
.sh-card a:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow-up); }
.sh-card img { aspect-ratio: 4 / 5; transition: transform .4s ease; }
.sh-card a:hover img { transform: scale(1.04); }
.sh-cn { font: 700 19px/1.25 var(--sh-display); padding: 12px 16px 2px; }
.sh-cm { padding: 0 16px; font-size: 13px; }
.sh-card .sh-price { align-self: flex-start; margin: 8px 16px 2px; padding: 4px 12px; border-radius: 999px; background: rgba(200,88,42,.12); font: 800 17px/1.3 var(--sh-sans); }
.sh-tag { font: 800 11px/1 var(--sh-sans); background: var(--sh-sun); color: var(--sh-green); padding: 6px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.sh-tag.sold { background: var(--sh-ink); color: var(--sh-bg); }

/* plant page */
.sh-plant { max-width: 980px; }
@media (min-width: 900px) {
  .sh-plant { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 40px; align-items: start; }
  .sh-plant > * { grid-column: 2; }
  .sh-plant > .sh-ph { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 90px; }
}
.sh-ph img { border-radius: 22px; box-shadow: var(--sh-shadow); }
.sh-pp { font: 800 30px/1.2 var(--sh-sans); color: var(--sh-accent); }
.sh-facts { background: var(--sh-card); border-radius: 16px; padding: 16px 18px; box-shadow: var(--sh-shadow); gap: 8px 18px; font: 15px/1.4 var(--sh-sans); }
.sh-facts dt { font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; padding-top: 3px; }
.sh-desc { font-size: 17.5px; }
.sh-desc p:first-child { font: 600 21px/1.4 var(--sh-display); color: var(--sh-green-2); }
.sh-crumb { font: 600 13px/1.4 var(--sh-sans); letter-spacing: .04em; }

/* about / contact as cards */
.sh-about, .sh-contact { background: var(--sh-card); border-radius: 22px; padding: 28px clamp(18px, 4vw, 40px); margin-top: 28px; box-shadow: var(--sh-shadow); }
.sh-about h1::after, .sh-contact h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--sh-sun); margin-top: 14px; }

/* footer: dark green, the same band as the header */
.sh-foot { max-width: none; margin-top: 40px; border: 0; background: var(--sh-green); color: #C9D6CB; padding: 32px max(16px, calc(50% - 540px)) 48px; }
.sh-foot b { color: #F6F1E7; font: 700 18px/1.4 var(--sh-display); }
.sh-foot a { color: var(--sh-sun); }
.sh-preview { position: relative; z-index: 6; }
.sh .sh-brand { color: #F6F1E7; }
.sh .sh-nav a { color: #E6EFE7; }
.sh .sh-nav a[aria-current="page"] { color: var(--sh-green); }
.sh .sh-foot a { color: var(--sh-sun); }
.sh .sh-chip[aria-current="true"] { color: #F6F1E7; }
.sh-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; font: 600 14px/1.4 var(--sh-sans); color: #F6F1E7; }
.sh-trust li::before { content: "\2713"; color: var(--sh-sun); font-weight: 800; margin-right: 7px; }
/* hero = a collage (renamed hero-N.jpg on each change: browsers keep the old picture otherwise) of Aaron's own plant photos (2026-11-04), darkened on the text side so the words read */
.sh-hero { background:
    linear-gradient(90deg, rgba(20,38,28,.94) 0%, rgba(20,38,28,.82) 38%, rgba(20,38,28,.25) 68%, rgba(20,38,28,.05) 100%),
    url(/static/art/hero-2.jpg) center / cover no-repeat, #1F3B2C; padding-top: 64px; padding-bottom: 72px; }
.sh-hero h1, .sh-hero p, .sh-trust { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-width: 699px) {
  .sh-hero { padding-bottom: 56px; background:
    linear-gradient(180deg, rgba(20,38,28,.80) 0%, rgba(20,38,28,.66) 60%, rgba(20,38,28,.30) 100%),
    url(/static/art/hero-2.jpg) 88% center / cover no-repeat, #1F3B2C; }
}
/* 🛒 cart + order pages (2026-11-04) */
.sh-cartlink { white-space: nowrap; }
.sh-tag.hold { background: var(--sh-accent); color: #fff; left: auto; right: 8px; }
.sh-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sh .sh-btn.sh-ghost { background: transparent; color: var(--sh-green-2); border: 2px solid currentColor; box-shadow: none; padding: 12px 22px; }
.sh-cart { max-width: 760px; }
.sh-lines { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-line { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 12px; align-items: center; background: var(--sh-card); border-radius: 16px; padding: 10px; box-shadow: var(--sh-shadow); }
.sh-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.sh-line a { color: var(--sh-ink); text-decoration: none; }
.sh-lp { font: 800 16px/1 var(--sh-sans); color: var(--sh-accent); }
.sh .sh-rm { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--sh-muted); }
.sh-rm:hover { background: var(--sh-line); }
.sh-sum { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; background: var(--sh-card); border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh-shadow); font: 16px/1.4 var(--sh-sans); }
.sh-sum dt { color: var(--sh-muted); }
.sh-sum dd { margin: 0; }
.sh-cart .sh-form { margin-top: 22px; }
.sh-cart .sh-form .sh-h2 { margin-top: 0; }
.sh-status { font: 600 17px/1.4 var(--sh-sans); color: var(--sh-green-2); }
.sh-pay { background: var(--sh-card); border-left: 4px solid var(--sh-sun); border-radius: 12px; padding: 4px 18px 10px; margin: 18px 0; }
@media (max-width: 520px) { .sh-line { grid-template-columns: 56px 1fr auto auto; } .sh-line img { width: 56px; height: 56px; } }
/* the stamp logo (2026-11-04) and About photos */
.sh-brand img { background: none; padding: 0; border-radius: 50%; width: 52px; height: 52px; box-shadow: 0 0 0 2px rgba(246,241,231,.15); }
.sh-aboutpics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; }
.sh-aboutpics img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--sh-shadow); display: block; }
@media (max-width: 520px) { .sh-aboutpics { gap: 6px; } .sh-aboutpics img { border-radius: 10px; } }
/* the top bar: a desert stencil along its foot (Aaron 2026-11-04: "even the top bar ... perhaps a stencil") */
.sh-top { background: url(/static/art/desert-stencil.svg) repeat-x left bottom / auto 64px, linear-gradient(180deg, #16291F 0%, var(--sh-green) 100%);
  padding-bottom: 46px; border-bottom: 1px solid rgba(232,176,74,.25); }
.sh-foot { background: url(/static/art/desert-stencil.svg) repeat-x left bottom / auto 40px, var(--sh-green); padding-bottom: 70px; }
/* contact page: form + a photo and what to expect (2026-11-04) */
.sh-contactwrap { display: grid; gap: 22px; margin-top: 28px; }
.sh-contactwrap .sh-contact { margin-top: 0; max-width: none; }
@media (min-width: 900px) { .sh-contactwrap { grid-template-columns: 1.4fr 1fr; align-items: start; } .sh-side { position: sticky; top: 100px; } }
.sh-side img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px 22px 0 0; display: block; }
.sh-sidecard { background: var(--sh-green); color: #E6EFE7; border-radius: 0 0 22px 22px; padding: 18px 22px 22px; box-shadow: var(--sh-shadow); }
.sh-sidecard h2 { font: 700 20px/1.2 var(--sh-display); color: #F6F1E7; margin: 6px 0 10px; }
.sh-ticks { list-style: none; padding: 0; margin: 0 0 14px; }
.sh-ticks li { padding: 4px 0 4px 26px; position: relative; }
.sh-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--sh-sun); font-weight: 800; }
.sh-form { border: 0; box-shadow: inset 0 0 0 1px var(--sh-line); }
.sh-form input:focus, .sh-form textarea:focus { outline: 2px solid var(--sh-sun); outline-offset: 1px; border-color: transparent; }
/* ★ trust: real eBay feedback (2026-11-04) */
.sh .sh-trustbadge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--sh-card);
  color: var(--sh-ink); text-decoration: none; box-shadow: var(--sh-shadow); font: 600 14px/1.3 var(--sh-sans); }
.sh .sh-trustbadge.on-dark { background: rgba(246,241,231,.12); color: #F6F1E7; box-shadow: none; border: 1px solid rgba(246,241,231,.25); }
.sh-stars { color: var(--sh-sun); letter-spacing: 1px; }
.sh-herotrust { margin: 18px 0 0; }
.sh-plantrust { margin: 4px 0 18px; }
.sh-reviews { margin: 40px 0 10px; }
.sh-reviews ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sh-reviews li { background: var(--sh-card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--sh-shadow); border-top: 4px solid var(--sh-sun); }
.sh-reviews blockquote { margin: 0 0 8px; font: 400 17px/1.45 var(--sh-display); }

/* 🖼 Gallery (2026-11-05): a scroll of every plant, each photo tagged with its name */
.sh-galhead { max-width: 760px; }
.sh-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sh-gtile { position: relative; border-radius: 12px; overflow: hidden; background: var(--sh-line); }
.sh-gtile a { display: block; color: inherit; text-decoration: none; }
.sh-gtile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.sh-glabel { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 4px 8px; border-radius: 8px; font-size: 0.8rem; line-height: 1.25;
  background: rgba(20, 28, 23, 0.78); color: #F7F4EE; font-style: italic; }
.sh-gtile .sh-tag { position: absolute; top: 8px; left: 8px; }
.sh-turnstile { min-height: 65px; }
@media (max-width: 420px) { .sh-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 🌱 Growing tips (2026-11-05) */
.sh-tipnav { margin: 10px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.sh-tipgroup { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 14px; padding: 14px 16px; margin: 0 0 14px; scroll-margin-top: 90px; }
.sh-tipgroup h2 { margin: 0 0 8px; font-family: var(--sh-display, serif); }
.sh-tipl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; }
.sh-tipl dt { font-weight: 700; white-space: nowrap; }
.sh-tipl dd { margin: 0; }
@media (max-width: 520px) { .sh-tipl { grid-template-columns: 1fr; gap: 2px; } .sh-tipl dd { margin-bottom: 8px; } }
.sh-gask { position: absolute; top: 8px; right: 8px; padding: 6px 10px; min-height: 32px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: #F7F4EE; color: #1E2A22 !important; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.sh-gtog { position: absolute; opacity: 0; pointer-events: none; }
.sh-gpic { display: block; cursor: pointer; }
.sh-gtog:focus-visible + .sh-gpic { outline: 3px solid #E2B95B; outline-offset: -3px; }
.sh-gabout { display: none; position: absolute; inset: 0; z-index: 2; padding: 14px; overflow: auto; cursor: pointer;
  background: rgba(20, 30, 24, 0.94); color: #F7F4EE; font-size: 0.9rem; line-height: 1.4; }
.sh-gabout b { display: block; margin-bottom: 6px; font-size: 0.95rem; }
.sh-gabout a { color: #E2B95B; font-weight: 700; }
.sh-gclose { display: block; margin-top: 8px; font-size: 0.75rem; opacity: 0.7; }
.sh-gtog:checked ~ .sh-gabout { display: block; }
.sh-gtog:checked ~ .sh-glabel, .sh-gtog:checked ~ .sh-gask { visibility: hidden; }
.sh-gask:focus-visible { outline: 2px solid #E2B95B; outline-offset: 2px; }
/* 🌿 the species link on a tile that is wholly a shop link (2026-11-06): sits above the label, right */
.sh-gsp { position: absolute; right: 8px; bottom: 44px; padding: 3px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  background: rgba(20, 28, 23, 0.78); color: #F7F4EE !important; text-decoration: none; }
.sh-gsp:focus-visible { outline: 2px solid #E2B95B; outline-offset: 2px; }
.sh-gtog:checked ~ .sh-gsp { visibility: hidden; }
.sh-forms .sh-chip[aria-current="true"] { background: #E2B95B; color: #1E2A22; border-color: transparent; }

/* 📦 delivery address on the order form (2026-11-05) */
.sh-addr { border: 1px solid var(--sh-line); border-radius: 12px; padding: 10px 14px 4px; margin: 8px 0 12px; }
.sh-addr legend { font-weight: 700; padding: 0 6px; }
.sh-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 📷 shop photo box (src/ui/shop.js photoBox, 2026-11-05) */
.shrv-pics { border: 1px solid rgba(127,127,127,.35); border-radius: 12px; padding: 10px 12px; margin: 12px 0; }
.shrv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0; }
.shrv-pic { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.shrv-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.shrv-pic input { margin-right: 4px; }

/* 🌵 favourites + garden (2026-11-06) */
.sh-card, .sh-gtile { position: relative; }
.sh-fav { position: absolute; top: 8px; left: 8px; z-index: 2; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--sh-line);
  background: rgba(255,255,255,0.92); color: #B23A48; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 10px; }
.sh-fav[aria-pressed="true"] { background: #FCE8EB; border-color: #E7A9B2; }
.sh-fav.wide { position: static; font-size: 16px; color: var(--sh-ink); background: var(--sh-card); text-align: left; width: 100%; }
.sh-fav.wide span { color: #B23A48; font-size: 20px; }
.sh-favrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sh-favrow .sh-fav.wide { width: auto; }
.gd h2 { margin-top: 28px; }
.gd-scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gd-scene { display: flex; flex-direction: column; gap: 2px; padding: 12px; min-height: 52px; border: 1px solid var(--sh-line); border-radius: 12px; background: var(--sh-card); cursor: pointer; }
.gd-scene input { position: absolute; opacity: 0; pointer-events: none; }
.gd-scene:has(input:checked) { border-color: var(--sh-green, #2F4A3A); box-shadow: 0 0 0 2px var(--sh-green, #2F4A3A); }
.gd-scene.is-soon { opacity: 0.5; cursor: default; }
.gd-scene small { color: var(--sh-muted); }
.gd-favs, .gd-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.gd-favs li { display: flex; align-items: center; gap: 10px; background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 12px; padding: 6px 8px; }
.gd-favs img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.gd-favs span { flex: 1; }
.gd-x { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--sh-muted); font-size: 18px; cursor: pointer; }
.gd-pick summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.gd-find { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--sh-line); font-size: 16px; box-sizing: border-box; }
.gd-list { max-height: 420px; overflow-y: auto; }
.gd-name input { padding: 10px; border-radius: 10px; border: 1px solid var(--sh-line); font-size: 16px; max-width: 100%; }
.gd-view svg { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--sh-line); }
.gd-plant { cursor: pointer; }
.gd-plant:focus { outline: 3px solid #E2B23C; }
.gd-tap { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 12px; padding: 10px; }
.gd-tap img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.gd-tap[hidden], .gd-acts[hidden], .gd-shared[hidden] { display: none; }
.gd-empty { color: var(--sh-muted); }

.sh-favbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 12px; }
.sh-favtoggle { cursor: pointer; font: inherit; color: var(--sh-ink); background: var(--sh-card); width: auto; flex: 0 0 auto; }
/* on: a tint that reads in light and dark (2026-11-06: light pink with pale text was unreadable in dark mode) */
.sh-favtoggle[aria-pressed="true"] { background: rgba(178, 58, 72, 0.16); border-color: #B23A48; color: var(--sh-ink); }
.sh-favnone { color: var(--sh-muted); }
.sh-gallery > li[hidden], .sh-grid > li[hidden] { display: none; }

/* the nav scrolls on its own on a phone (2026-11-06: 7 links + cart are wider than the screen, and the whole page
   dragged sideways): the links swipe, the page never moves sideways */
html, body.sh { overflow-x: hidden; }
.sh-nav { overflow-x: auto; max-width: 100%; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sh-nav::-webkit-scrollbar { display: none; }
.sh-nav a { flex: 0 0 auto; white-space: nowrap; }
.sh-top > * { min-width: 0; }
/* ⟳ Process now in the preview banner (never on westazz.com) */
.sh-preview button { font: inherit; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; margin-left: 6px; cursor: pointer; min-height: 32px; }
.proc-fab { position: fixed; z-index: 9; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sh-line); background: var(--sh-card); color: var(--sh-ink);
  font: 600 15px/1 -apple-system, system-ui, sans-serif; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; }

.shrv-star { font: inherit; font-size: 14px; border: 1px solid var(--sh-line); background: var(--sh-card); color: var(--sh-ink); border-radius: 999px; padding: 6px 10px; min-height: 36px; cursor: pointer; }
.shrv-star[aria-pressed="true"] { background: #F7E3A3; color: #4A3A10; border-color: #D9B64A; }

/* 🏷 photo stickers (2026-11-06): "Parent example" / "Mother plant" / "Father plant", bottom-left */
.sh-phf { position: relative; margin: 0; }
.sh-ptag { position: absolute; left: 10px; bottom: 10px; background: rgba(30, 42, 34, 0.86); color: #FFF6DC; font: 700 13px/1 -apple-system, system-ui, sans-serif;
  padding: 7px 10px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.shrv-tag { font: inherit; font-size: 14px; border: 1px solid var(--sh-line); background: var(--sh-card); color: var(--sh-ink); border-radius: 8px; padding: 6px; min-height: 36px; }
@media (min-width: 700px) { .sh-ph .sh-phf:first-child { grid-column: 1 / -1; } }
.gd-unfav { font: inherit; font-size: 14px; background: none; border: 0; color: var(--sh-muted); text-decoration: underline; cursor: pointer; padding: 8px 0; }

/* 🌿 species pages (2026-11-06): /plants (Plants A-Z, grouped by genus) and /plants/<species> */
.sh-species { max-width: 980px; }
.sh-species h1 { font: 700 clamp(30px, 5vw, 44px)/1.1 var(--sh-display); letter-spacing: -.01em; margin: 14px 0 2px; }
.sh-sub { margin: 0 0 16px; color: var(--sh-muted); font: 700 12px/1.4 var(--sh-sans); letter-spacing: .14em; text-transform: uppercase; }
.sh-species .sh-desc { max-width: 720px; }
.sh-species .sh-h2 { margin-top: 28px; }
.sh-species .sh-grid { margin-bottom: 6px; }
.sh-species .sh-gallery { margin-top: 10px; }
.sh-species .sh-buy { margin-top: 26px; }
.sh-species .sh-soldnote { max-width: 720px; margin: 14px 0; }
.sh-genus { background: var(--sh-card); border-radius: 16px; padding: 14px 18px 8px; margin: 0 0 14px; box-shadow: var(--sh-shadow); scroll-margin-top: 90px; }
.sh-genus h2 { margin: 0 0 6px; font: 700 22px/1.2 var(--sh-display); }
.sh-genus h2 .sh-n { font: 500 14px/1.4 var(--sh-sans); }
.sh-splist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 22px; }
.sh-splist li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; border-top: 1px solid var(--sh-line); font: 16px/1.4 var(--sh-sans); }
.sh-splist a { font-weight: 600; text-decoration: none; }
.sh-splist a:hover { text-decoration: underline; }
.sh-splist .sh-n { font-size: 13px; white-space: nowrap; text-align: right; }
/* a gallery label that is a link to its species page keeps the label look (the a colour rule would turn it green) */
.sh a.sh-glabel { color: #F7F4EE; text-decoration: underline dotted rgba(247, 244, 238, .55); text-underline-offset: 2px; }
.sh a.sh-glabel:hover { background: rgba(20, 28, 23, 0.92); text-decoration-color: #F7F4EE; }
@media (max-width: 520px) { .sh-splist { grid-template-columns: 1fr; } .sh-genus { padding: 12px 14px 6px; } }
