/* Phones: collections as one dropdown instead of a long column of tabs. */
.collections-select { display: none; }
@media (max-width: 640px) { .collections-select { display: block; } nav.cats { display: none; } }

/* Rose Cottage Floral Creations: botanical editorial. Cream backgrounds, forest and charcoal type, generous space. */
:root {
  --cream: #fbf8f3;
  --paper: #ffffff;
  --linen: #dbe6d3;
  --sage-deep: #3e5a48;
  --sage-mid: #7f9a7e;
  --sage-tint: #cfdfc8;
  --sage-wash: #e6eee2;
  --rose: #b35a6d;
  --rose-deep: #963f52;
  --rose-tint: #f3cdd6;
  --rose-wash: #fbe7ec;
  --rose-text: #a0475a;
  --forest: #3e5a48;
  --forest-2: #4d6a53;
  --sage: #a3b59f;
  --blush: #b35a6d;
  --blush-soft: #f8e6ea;
  --charcoal: #2d2a28;
  --muted: #6f6a65;
  --line: #e6dfd6;
  --danger: #9b2c2c;
  --ok: #3f6049;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(62,90,72,.06), 0 8px 24px -12px rgba(62,90,72,.18);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font: 17px/1.6 var(--sans); }
/* Nothing may scroll sideways: the closed basket drawer and its backdrop sit off the edge until they are opened. */
body { overflow-x: clip; }
.scrim { left: 0; right: 0; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--blush); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--forest); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: .75rem; display: block; }
.section { padding: clamp(40px, 7vw, 84px) 0; }
.section.alt { background: linear-gradient(180deg, var(--linen), var(--sage-wash)); }
h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; margin-top: 12px; background: linear-gradient(90deg, var(--rose), var(--sage-mid)); }
h2.no-rule::after { display: none; }
.hero-band { background: linear-gradient(135deg, var(--sage-tint) 0%, var(--sage-wash) 40%, var(--rose-wash) 70%, var(--rose-tint) 100%); }
.hero-band .eyebrow { color: var(--rose-text); }
:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-head { padding: clamp(32px, 6vw, 64px) 0 0; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 99; }

/* Header: sticky on phones, with the basket always one tap away. */
.site-header { position: sticky; top: 0; z-index: 40; background: linear-gradient(90deg, var(--sage-wash), #f7f0f2); border-bottom: 2px solid var(--sage-mid); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; width: min(1360px, 100% - 40px); }
.brand { font: 600 1.45rem/1 var(--serif); color: var(--forest); text-decoration: none; margin-right: auto; letter-spacing: .01em; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex: none; }
.brand-mark { width: 52px; height: 52px; flex: 0 0 auto; }
.brand small { display: block; font: 600 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.nav a { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: .98rem; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a[aria-current="page"], .nav a:hover { color: var(--blush); }
.basket-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--forest); background: var(--forest); color: #fff; font: 600 .95rem var(--sans); cursor: pointer; text-decoration: none; }
.basket-btn:hover { background: var(--forest-2); color: #fff; }
.basket-count { background: var(--rose); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.menu-toggle { display: none; }
.announce { background: linear-gradient(90deg, var(--rose), #c46b7d, var(--rose)); color: #fff; text-align: center; padding: 10px 16px; font-size: .95rem; }

/* Basket drawer: slides in from the right. */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--cream); box-shadow: -20px 0 40px -20px rgba(0,0,0,.25); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 60; display: flex; flex-direction: column; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head, .drawer-foot { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-foot { border-top: 1px solid var(--line); border-bottom: 0; flex-direction: column; align-items: stretch; gap: 12px; background: var(--rose-tint); }
.drawer-head { background: var(--sage-tint); }
.drawer .total { color: var(--forest); }
.drawer-body { overflow: auto; padding: 8px 22px; flex: 1; }
.drawer-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.scrim { position: fixed; inset: 0; background: rgba(62,90,72,.35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 55; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--rose); background: var(--rose); color: #fff; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: var(--sage-wash); color: var(--forest); border-color: var(--sage-mid); }
.btn.ghost:hover { background: var(--sage-tint); color: var(--forest); border-color: var(--forest); }
.btn.blush { background: var(--blush); border-color: var(--blush); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--forest); }
.field > span em { font-weight: 400; color: var(--muted); font-style: normal; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cdc4b6; border-radius: 10px; background: var(--paper); font: 1rem var(--sans); color: var(--charcoal); }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(86,115,90,.22); }
.field-error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; }
.form-error { background: #fbeaea; color: var(--danger); border: 1px solid #efc4c4; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.row.three { grid-template-columns: 1fr 1fr 1fr; }
.card { background: linear-gradient(180deg, #ffffff, var(--sage-wash)); border: 1px solid var(--sage-tint); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.notice { background: #eef3ec; border: 1px solid #cfdccb; color: var(--ok); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.notice.error { background: #fbeaea; border-color: #efc4c4; color: var(--danger); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font: 600 .9rem var(--sans); background: var(--sage-tint); color: var(--forest); }
.pill.blush { background: var(--rose-tint); color: var(--rose-deep); }
.pill.sold { background: #ebe6de; color: var(--muted); }

/* Hero, shop grid, product cards */
.hero { display: grid; gap: 40px; align-items: center; padding: clamp(40px, 8vw, 96px) 0; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; } }
.hero .lede { font-size: 1.15rem; color: #433f38; max-width: 36ch; }
.hero-art { aspect-ratio: 4/5; border-radius: 240px 240px 22px 22px; background: linear-gradient(160deg, var(--sage-mid), var(--rose-tint)); overflow: hidden; display: grid; place-items: center; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* Phones: buttons first and full width, the photo a short banner underneath so the page isn't just one huge picture. */
@media (max-width: 899px) {
  .hero { gap: 22px; padding: 28px 0 32px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-actions { flex-direction: column; margin-top: 18px; }
  .hero-actions .btn { text-align: center; }
  .hero-art { aspect-ratio: 16/10; border-radius: 22px; }
}
.cats { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.cats a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sage-mid); background: var(--sage-wash); text-decoration: none; color: var(--charcoal); font-weight: 500; }
.cats a[aria-current="page"] { background: var(--rose); color: #fff; border-color: var(--rose); }
.cats a:hover { border-color: var(--sage-mid); background: var(--sage-tint); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.toolbar .input { max-width: 320px; }
.toolbar .sort { max-width: 200px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.grid > *, .product > *, .checkout > *, .hero > * { min-width: 0; }
.grid.posts { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.posts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { background: linear-gradient(180deg, #ffffff 0%, var(--sage-wash) 100%); border-radius: var(--radius); border: 1px solid var(--sage-tint); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .thumb { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--sage-tint), var(--rose-tint)); position: relative; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card .thumb .pill { position: absolute; top: 12px; left: 12px; }
.product-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: 1.25rem; margin: 0; }
.product-card h3 a { color: var(--forest); text-decoration: none; }
.product-card .price { color: var(--rose-deep); font-size: 1.05rem; }
.product-card .price { font-weight: 600; color: var(--charcoal); }
.product-card.is-sold .thumb img { filter: grayscale(.6); opacity: .8; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* Product page */
.product { display: grid; gap: 36px; padding: 40px 0 60px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.gallery .main { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--linen); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gallery .thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; flex: none; }
.gallery .thumbs img[aria-current="true"] { border-color: var(--forest); }
.price-big { font: 600 1.7rem var(--serif); color: var(--rose-deep); margin: 4px 0 16px; }
.band { background: linear-gradient(160deg, var(--sage-tint) 0%, var(--sage-wash) 45%, var(--rose-tint) 100%); padding-bottom: 40px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.options { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.variant-list { display: grid; gap: 10px; margin-bottom: 18px; }
.variant-list label { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid #cdc4b6; border-radius: 12px; background: var(--paper); cursor: pointer; }
.variant-list input { accent-color: var(--forest); width: 20px; height: 20px; margin-right: 10px; }
.variant-list label:has(input:checked) { border-color: var(--rose); box-shadow: 0 0 0 2px var(--rose) inset; background: var(--rose-tint); }
.variant-list label.is-sold { opacity: .5; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cdc4b6; border-radius: 999px; overflow: hidden; background: var(--paper); }
.qty input { width: 64px; text-align: center; border: 0; min-height: 48px; font: 600 1rem var(--sans); background: transparent; }

/* Checkout */
.checkout { display: grid; gap: 32px; padding: 40px 0 60px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font: 600 1.25rem var(--serif); color: var(--forest); padding-top: 14px; }
.date-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.date-grid label { position: relative; }
.date-grid input { position: absolute; opacity: 0; pointer-events: none; }
.date-grid .day { display: grid; place-items: center; min-height: 58px; border: 1px solid #cdc4b6; border-radius: 12px; background: var(--paper); font-size: .9rem; text-align: center; line-height: 1.2; cursor: pointer; padding: 4px; }
.date-grid .day strong { font-size: 1.05rem; display: block; }
.date-grid input:checked + .day { background: var(--rose); color: #fff; border-color: var(--rose); }
.date-grid .day:hover { border-color: var(--sage-mid); background: var(--sage-tint); }
.date-grid input:focus-visible + .day { outline: 3px solid var(--forest-2); outline-offset: 2px; }
.method { display: grid; gap: 10px; }
.method label { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid #cdc4b6; border-radius: 12px; background: var(--paper); cursor: pointer; }
.method label:has(input:checked) { border-color: var(--rose); box-shadow: 0 0 0 2px var(--rose) inset; background: var(--rose-tint); }
.method input { margin-top: 4px; accent-color: var(--forest); width: 20px; height: 20px; flex: none; }
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-group label { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid #cdc4b6; border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 600; }
.toggle-group label:has(input:checked) { background: var(--sage-deep, var(--forest)); color: #fff; border-color: var(--forest); }
.toggle-group input { position: absolute; opacity: 0; pointer-events: none; }
.discount-entry { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.discount-entry .field { margin-bottom: 8px; }
.discount-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hide { display: none !important; }

/* Pages, blog, forms */
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.post-card { display: grid; gap: 14px; }
.post-card .cover { aspect-ratio: 16/9; border-radius: var(--radius); background: var(--linen); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 a { color: var(--forest); text-decoration: none; }
.post-card .cover { background: linear-gradient(160deg, var(--sage-tint), var(--rose-tint)); }
.post-meta { font-size: .9rem; color: var(--muted); }
.story-band { background: linear-gradient(135deg, var(--forest), var(--sage-mid)); color: var(--paper); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.story-band h2, .story-band h3 { color: var(--paper); }
.story-band a { color: var(--blush-soft); }
.steps { counter-reset: s; display: grid; gap: 16px; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--rose-tint); color: var(--rose-deep); display: grid; place-items: center; font-weight: 700; }
.site-footer { background: linear-gradient(160deg, #4d6a53 0%, #3e5a48 55%, #7d3f50 100%); color: #f7faf6; padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); margin-top: 40px; }
.site-footer h3 { color: var(--paper); font-size: 1.1rem; }
.site-footer a { color: #fff; }
.site-footer .fine a { color: #fbd9df; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.22); margin-top: 32px; padding-top: 18px; font-size: 1rem; color: #f0f5ee; }

/* Menu: on phones and iPads it sits behind the menu button, so nothing ever wraps or squashes. The full menu needs a wide screen. */
@media (max-width: 1319px) {
  .menu-toggle { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-header .wrap { position: relative; width: 100%; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}
@media (min-width: 761px) and (max-width: 1319px) {
  .nav { left: auto; width: min(380px, 100%); right: 20px; border: 1px solid var(--line); border-radius: 0 0 16px 16px; }
}

/* Mobile */
@media (max-width: 760px) {
  .row, .row.three, .toggle-group { grid-template-columns: 1fr; }
  .toolbar .input, .toolbar .sort { max-width: none; }
  .basket-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  h1 { font-size: 2.1rem; }
  body { font-size: 16px; }
  .btn { width: 100%; }
  .btn.small, .btn.inline { width: auto; }
  .product-card .body { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Admin */
.admin-shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
@media (min-width: 768px) { .admin-shell { grid-template-columns: 210px minmax(0, 1fr); } }
@media (min-width: 1100px) { .admin-shell { grid-template-columns: 230px minmax(0, 1fr); } }
.admin-nav { background: var(--forest); color: #d8e0d6; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.admin-nav .brand { color: var(--paper); margin-bottom: 14px; }
.admin-nav a { color: #d8e0d6; text-decoration: none; min-height: 46px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; font-weight: 500; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--paper); }
.admin-nav form { margin-top: auto; }
.admin-nav button { background: transparent; color: #d8e0d6; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; min-height: 44px; width: 100%; font: 600 .95rem var(--sans); cursor: pointer; }
.admin-main { padding: 28px clamp(16px, 3vw, 40px) 60px; max-width: none; width: 100%; min-width: 0; }
.admin-main h1 { font-size: 2rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 26px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font: 600 2rem var(--serif); color: var(--forest); }
.stat small { color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.table th, table.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.table th { background: var(--linen); font-weight: 600; color: var(--forest); font-size: .85rem; letter-spacing: .02em; }
table.table tr:last-child td { border-bottom: 0; }
.avail { display: inline-flex; border: 1px solid #cdc4b6; border-radius: 999px; overflow: hidden; background: var(--paper); }
.avail button { border: 0; min-height: 44px; padding: 0 14px; background: transparent; font: 600 .88rem var(--sans); cursor: pointer; color: var(--muted); }
.avail button[aria-pressed="true"] { background: var(--forest); color: var(--paper); }
.avail button.sold[aria-pressed="true"] { background: #6b6a64; }
.avail button.hid[aria-pressed="true"] { background: var(--blush); }
.big-list { display: grid; gap: 12px; }
.big-list .item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .big-list .item { grid-template-columns: 1fr auto; align-items: center; } }
.drag-handle { cursor: grab; color: var(--muted); user-select: none; padding: 0 6px; }
.dragging { opacity: .5; }
.help { font-size: 1rem; color: var(--muted); margin-top: -10px; margin-bottom: 14px; }
fieldset.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; background: var(--paper); }
fieldset.panel legend { font: 600 1.1rem var(--serif); color: var(--forest); padding: 0 6px; }
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.photo-grid figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-grid figcaption { padding: 8px; }
/* Product edit page: photo tiles wide enough for their buttons; Remove is an outlined button, not a red block. */
/* auto-fit: photos share the row (3 photos fill it), wrapping onto new rows only when there are more */
.product-admin .photo-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.product-admin .photo-grid figure { min-width: 0; }
.product-admin .photo-grid figcaption { display: grid; gap: 10px; padding: 12px; }
.product-admin .main-tag { margin: 0; justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--sage-wash); color: var(--forest); font-weight: 600; }
.product-admin .photo-grid form { margin: 0; display: grid; gap: 8px; min-width: 0; }
.product-admin .photo-grid .btn.small { min-height: 48px; font-size: 1.05rem; padding: 0 16px; width: 100%; }
.product-admin .photo-grid .photo-remove .btn { background: transparent; color: var(--rose-deep); border: 1px solid var(--rose); }
.product-admin .photo-grid .photo-remove .btn:hover { background: var(--rose-wash); color: var(--rose-deep); border-color: var(--rose-deep); }
.product-admin .photo-grid .photo-replace label { display: grid; gap: 6px; font-size: 1rem; }
.product-admin input[type="file"] { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; font: 1rem var(--sans); padding: 8px; border: 1px solid #cdc4b6; border-radius: 10px; background: var(--paper); }
.product-admin input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--forest); background: var(--sage-wash); border: 1px solid var(--sage-mid); border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login .card { width: min(420px, 100%); }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; padding: 6px 0; }
.cal a.day, .cal div.day { min-height: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-decoration: none; color: var(--charcoal); display: flex; flex-direction: column; gap: 6px; position: relative; }
.cal a.day:hover { border-color: var(--forest-2); box-shadow: var(--shadow); }
.cal .day.blank { background: transparent; border-color: transparent; }
.cal .day.closed { background: repeating-linear-gradient(45deg, #f4f0e7, #f4f0e7 8px, #efe9dc 8px, #efe9dc 16px); color: var(--muted); }
.cal .day.peak { border: 2px solid var(--blush); }
.cal .day.today .num { background: var(--forest); color: var(--paper); border-radius: 999px; padding: 0 7px; }
.cal .num { font: 600 .95rem var(--sans); }
.cal .peak-label { font-size: .72rem; color: #9a4a5b; font-weight: 600; line-height: 1.2; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.badge { font: 600 .72rem/1 var(--sans); padding: 4px 6px; border-radius: 999px; background: var(--linen); color: var(--forest); }
.badge.deliv { background: #e6ece3; color: #3f6049; }
.badge.coll { background: #ece6dc; color: #5b4f45; }
.badge.sub { background: var(--blush-soft); color: #9a4a5b; }
.badge.count { background: var(--forest); color: var(--paper); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin: 14px 0; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--muted); }
.legend .l-d::before { background: #3f6049; } .legend .l-c::before { background: #5b4f45; } .legend .l-s::before { background: var(--blush); } .legend .l-p::before { border: 2px solid var(--blush); background: transparent; }
.ticket { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.ticket .status { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ticket .detail { font-size: .95rem; }
.ticket .note { background: var(--blush-soft); border-radius: 10px; padding: 10px 12px; font-style: italic; }
.ticket .card-msg { border-left: 3px solid var(--blush); padding: 6px 12px; font-family: var(--serif); font-size: 1.15rem; }
.status-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.status-buttons button { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid #cdc4b6; background: var(--paper); font: 600 .85rem var(--sans); cursor: pointer; color: var(--charcoal); }
.status-buttons button[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
dialog.sheet { width: min(720px, 96vw); max-height: 92dvh; border: 0; border-radius: 18px; padding: 0; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); }
dialog.sheet::backdrop { background: rgba(62,90,72,.4); }
dialog.sheet .inner { padding: 24px; max-height: 88dvh; overflow: auto; overscroll-behavior: contain; }
.workroom-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

/* Print: the daily workroom and card sheet */
@media print {
  .no-print, .site-header, .site-footer, .admin-nav, .announce, .drawer, .scrim { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .print-page { width: 100%; max-width: none; padding: 0; margin: 0; }
  .ticket { break-inside: avoid; border: 1px solid #000; box-shadow: none; page-break-inside: avoid; }
  .badge { border: 1px solid #000; background: none; color: #000; }
  h1, h2, h3 { color: #000; }
}

.cal { margin-bottom: 40px; }

/* Blog editor: toolbar, photo tool and live preview */
.editor-bar { display: grid; gap: 10px; padding: 12px; margin-bottom: 8px; border-radius: 16px; background: var(--sage-wash); border: 1px solid var(--sage-tint); }
.photo-tool { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.photo-tool .input { flex: 1 1 220px; min-height: 44px; }
.photo-tool .btn { min-height: 44px; }
.photo-tool #photo-status { flex-basis: 100%; min-height: 1.2em; margin: 0; }
.blog-preview { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 4vw, 36px); margin-bottom: 24px; }
.post-photo { margin: 1.6em 0; }
.post-photo img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--sage-wash); }
.prose blockquote, .blog-preview blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--rose); color: var(--forest); font-style: italic; }
.prose hr, .blog-preview hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose ol { padding-left: 1.4em; }
.prose a, .blog-preview a { color: var(--rose-text); text-decoration: underline; text-underline-offset: 3px; }

/* Calendar week view: seven days at a glance; two columns on tablets, one on phones */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.week-day { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.week-day.is-today { border: 2px solid var(--rose); }
.week-head { display: grid; gap: 2px; text-decoration: none; color: var(--charcoal); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.week-dow { font: 600 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.week-num { font: 600 1.15rem var(--serif); }
.week-empty { margin: 0; color: var(--muted); font-size: .85rem; }
.week-item { display: grid; gap: 3px; padding: 9px 10px; border-radius: 12px; background: var(--sage-wash); text-decoration: none; color: var(--charcoal); font-size: .85rem; min-width: 0; overflow-wrap: anywhere; }
.week-item.sub { background: var(--rose-wash); }
.week-item-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.week-item-name { font-weight: 600; }
.week-item-goods, .week-item-state { color: var(--muted); font-size: .8rem; }
@media (max-width: 1023px) { .week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .week { grid-template-columns: 1fr; } }

/* Activity log filter chips reuse the status button look */
.status-buttons a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid #cdc4b6; background: var(--paper); font: 600 .85rem var(--sans); color: var(--charcoal); text-decoration: none; }
.status-buttons a:not(.btn)[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* Our story: the main block on the home page */
.story { background: linear-gradient(180deg, var(--paper) 0%, var(--sage-wash) 100%); padding: clamp(56px, 8vw, 110px) 0; }
.story-grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-text h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); margin: 10px 0 18px; }
.story-prose p { font-size: 1.12rem; line-height: 1.8; color: var(--charcoal); }
.story-prose p:first-child { font-size: 1.3rem; color: var(--forest); }
.story-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.collage { display: grid; gap: 14px; }
.collage-frame { margin: 0; position: relative; border-radius: 24px; overflow: hidden; background: var(--sage-tint); box-shadow: 0 22px 44px -26px rgba(62, 90, 72, .55); }
.collage-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collage-frame figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--paper); color: var(--rose-text); font: 600 .82rem var(--sans); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.collage-1 .collage-frame { aspect-ratio: 4 / 5; }
.collage-2 { grid-template-columns: 1fr 1fr; }
.collage-2 .collage-frame { aspect-ratio: 3 / 4; }
.collage-2 .collage-frame:nth-child(2) { margin-top: 42px; }
.collage-3 { grid-template-columns: 1.1fr 1fr; grid-auto-rows: auto; }
.collage-3 .collage-frame:first-child { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.collage-3 .collage-frame:not(:first-child) { aspect-ratio: 4 / 3; }
.story-note { border-radius: 24px; background: var(--paper); border: 1px solid var(--sage-tint); padding: clamp(28px, 4vw, 52px); box-shadow: 0 22px 44px -30px rgba(62, 90, 72, .5); }
.story-note span { display: block; font: 600 clamp(2.2rem, 4vw, 3rem) var(--serif); color: var(--forest); line-height: 1.1; }
.story-note p { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 640px) { .collage-2 .collage-frame:nth-child(2) { margin-top: 24px; } }

/* Our story admin: photo slots */
.story-slots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.story-slot { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.story-slot img, .story-empty { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.story-empty { display: grid; place-items: center; background: var(--sage-wash); color: var(--muted); font-size: .9rem; }


/* Owner's panel, made for everyone: larger type, bigger buttons, plain layout */
.admin-main { font-size: 1.12rem; line-height: 1.6; }
.admin-main h1 { font-size: 2.4rem; }
.admin-main h2 { font-size: 1.7rem; }
.admin-main .help, .admin-main small, .admin-main .muted { font-size: 1.02rem; }
.admin-main .btn { min-height: 54px; font-size: 1.1rem; padding: 0 24px; }
.admin-main .btn.small { min-height: 48px; font-size: 1.02rem; padding: 0 18px; }
.admin-main .input, .admin-main select, .admin-main textarea { min-height: 54px; font-size: 1.12rem; }
.admin-main .field > span { font-size: 1.12rem; font-weight: 600; }
.admin-main .table th, .admin-main .table td { font-size: 1.05rem; padding: 14px 12px; }
.admin-main .stat b { font-size: 3rem; }
.admin-main .stat small { font-size: 1.05rem; }
.admin-nav { padding: 24px 18px; }
.admin-nav .nav-heading { margin: 18px 0 4px; padding: 0 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: #b9c6b8; font-weight: 700; }
.admin-nav a { min-height: 54px; font-size: 1.12rem; }
.admin-nav button { min-height: 54px; font-size: 1.05rem; }
.dash-actions { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 6px 0 34px; }
@media (min-width: 640px) { .dash-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dash-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dash-actions a { display: grid; gap: 4px; padding: 22px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sage-tint); color: var(--charcoal); text-decoration: none; min-height: 96px; box-shadow: 0 14px 30px -26px rgba(62, 90, 72, .7); }
.dash-actions a b { font: 600 1.35rem var(--serif); color: var(--forest); }
.dash-actions a span { color: var(--muted); font-size: 1.05rem; }
.dash-actions a:hover { border-color: var(--sage-mid); background: var(--sage-wash); }

/* Owner's product list: a photo for each item, taller rows, bigger buttons */
.big-list .item { padding: 22px; }
.big-list .item-row { display: flex; gap: 16px; align-items: center; min-width: 0; }
.item-thumb { width: 108px; height: 108px; flex: 0 0 auto; object-fit: cover; border-radius: 16px; background: var(--sage-wash); border: 1px solid var(--sage-tint); }
.item-thumb-empty { display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.big-list .item strong { font-size: 1.45rem; }
.big-list .avail button { min-height: 52px; font-size: 1.02rem; padding: 0 16px; }
@media (max-width: 640px) { .item-thumb { width: 84px; height: 84px; } }

/* Delete buttons: white text on a clear red, so the word can be read */
.btn.danger, .btn.danger:hover { color: #fff; }
.btn.danger:hover { background: #7d2a2a; border-color: #7d2a2a; }
.page-list { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .page-list { grid-template-columns: 1fr 1fr; } }
.page-card { display: grid; gap: 6px; padding: 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sage-tint); color: var(--charcoal); text-decoration: none; box-shadow: 0 14px 30px -26px rgba(62, 90, 72, .7); }
.page-card b { font: 600 1.4rem var(--serif); color: var(--forest); }
.page-card span { color: var(--muted); font-size: 1.05rem; }
.page-card em { font-style: normal; font-weight: 700; color: var(--rose-text); margin-top: 6px; }
.page-card:hover { border-color: var(--sage-mid); background: var(--sage-wash); }
.back-link { display: inline-block; margin-bottom: 8px; font-weight: 600; color: var(--rose-text); text-decoration: none; min-height: 44px; line-height: 44px; }

/* Owner's panel for everyone: instructions on every page, and much bigger controls */
.how-to { background: var(--sage-wash); border: 2px solid var(--sage-mid); border-radius: 20px; padding: 0 24px 22px; margin: 0 0 30px; }
.how-to summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 60px; font: 700 1.25rem var(--sans); color: var(--forest); }
.how-to summary::-webkit-details-marker { display: none; }
.how-to summary::before { content: "▾"; font-size: 1.2rem; color: var(--rose-text); }
.how-to:not([open]) summary::before { content: "▸"; }
.how-to summary span { font-weight: 500; color: var(--muted); font-size: 1.05rem; }
.how-to h2 { font: 600 1.7rem var(--serif); color: var(--forest); margin: 4px 0 10px; }
.how-to ol { margin: 0; padding-left: 1.4rem; display: grid; gap: 10px; font-size: 1.2rem; line-height: 1.5; color: var(--charcoal); }
.admin-main { font-size: 1.2rem; }
.admin-main .help, .admin-main small, .admin-main .muted { font-size: 1.1rem; }
.admin-main .btn { min-height: 62px; font-size: 1.22rem; padding: 0 30px; border-radius: 999px; }
.admin-main .btn.small { min-height: 56px; font-size: 1.12rem; padding: 0 22px; }
.admin-main .input, .admin-main select, .admin-main textarea { min-height: 62px; font-size: 1.2rem; }
.admin-main textarea.input { min-height: 180px; }
.admin-main .field > span { font-size: 1.22rem; font-weight: 700; margin-bottom: 4px; }
.admin-main .status-buttons button, .admin-main .avail button, .admin-main .status-buttons a:not(.btn) { min-height: 58px; font-size: 1.15rem; padding: 0 20px; }
.admin-main input[type="checkbox"] { width: 28px; height: 28px; }
.admin-main h1 { font-size: 2.6rem; }
.admin-main .table th, .admin-main .table td { font-size: 1.15rem; padding: 16px 14px; }
.admin-main .card h2 { font-size: 1.9rem; }
.admin-nav a, .admin-nav button { font-size: 1.2rem; min-height: 60px; }
.admin-nav .nav-heading { font-size: 1rem; }


/* What the four product buttons mean, at the top of the products page */
.states { background: var(--paper); border: 1px solid var(--sage-tint); border-radius: 20px; padding: 22px 24px; margin-bottom: 30px; }
.states h2 { font: 600 1.7rem var(--serif); color: var(--forest); margin: 0 0 6px; }
.state-list { display: grid; gap: 12px; }
.state-row { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--sage-wash); }
.state-row p { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--charcoal); }
.state-name { font-size: 1.2rem; }
.state-name.on { color: var(--forest); }
.state-name.sold { color: var(--rose-text); }
.state-name.hid { color: var(--muted); }

/* A one-line explanation under each box on the owner's panel */
.box-note { margin: 0 0 12px; padding: 10px 16px; border-left: 4px solid var(--sage-mid); background: var(--sage-wash); border-radius: 10px; font-size: 1.12rem; line-height: 1.5; color: var(--charcoal); }

/* Collection groups (owner's product page): one tidy card, columns that line up */
.group-title { font: 600 1.5rem var(--serif); color: var(--forest); margin: 26px 0 6px; }
.group-row { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(220px, 1.2fr) auto; gap: 12px; align-items: center; padding: 12px 16px; margin: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.group-name { font-size: 1.15rem; font-weight: 600; color: var(--charcoal); }
.group-row .group-input { min-height: 56px; }
.group-row .btn { min-height: 56px; }
@media (max-width: 640px) { .group-row { grid-template-columns: 1fr; } }
.group-row-wide { grid-template-columns: minmax(200px, 1fr) minmax(220px, 1.2fr) auto auto; }
.group-count { display: block; font-size: 1rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) { .group-row-wide { grid-template-columns: 1fr; } }

/* Owner sign-in link at the foot of the About page */
.owner-link { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.owner-link a { color: var(--rose-text); font-weight: 600; text-decoration: none; display: inline-block; min-height: 44px; line-height: 44px; }
.owner-link a:hover { text-decoration: underline; }

/* ---- Mobile and tablet pass ---------------------------------------------------------------- */

/* Notches and the iPhone home bar (landscape and portrait) */
.site-header .wrap, .admin-nav, .admin-main, .site-footer .wrap {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
.admin-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

/* Touch: a visible response when a finger lands, since hover does not exist on phones */
.btn:active, .cats a:active, .cat-chips a:active, .product-card:active, .page-card:active, .dash-actions a:active,
.status-buttons button:active, .avail button:active, .nav a:active, .admin-nav a:active, .item-thumb:active {
  transform: scale(.97);
  filter: brightness(.94);
}
@media (hover: none) {
  .btn:hover, .cats a:hover, .product-card:hover, .dash-actions a:hover { transform: none; }
}

/* Tablets (768–1023px): two columns, not one long strip */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid, .grid.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Owner's menu: a single button on phones, the full menu from tablets upwards */
.admin-menu { display: contents; }
.admin-menu summary { display: none; }
@media (max-width: 767px) {
  .admin-nav .admin-menu { display: block; }
  .admin-menu summary { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.12); color: var(--paper); font: 700 1.2rem var(--sans); cursor: pointer; list-style: none; margin-bottom: 8px; }
  .admin-menu summary::-webkit-details-marker { display: none; }
  .admin-menu summary::after { content: "Open ▾"; font-size: 1rem; font-weight: 600; }
  .admin-menu[open] summary::after { content: "Close ▴"; }
}

/* Tables on phones: each row becomes a card, with the column names shown beside each value */
@media (max-width: 640px) {
  table.table thead { display: none; }
  table.table, table.table tbody, table.table tr { display: block; width: 100%; }
  table.table tr { border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; margin-bottom: 12px; background: var(--paper); }
  table.table td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: 8px 0; text-align: right; }
  table.table td::before { content: attr(data-label); font-weight: 700; color: var(--forest); text-align: left; flex: 0 0 auto; }
  table.table td:empty { display: none; }
}

/* Home page: the collections as a few groups, not a long list of buttons (six at most) */
.home-groups { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 760px) { .home-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-group { display: grid; gap: 8px; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sage-tint); color: var(--charcoal); text-decoration: none; box-shadow: 0 14px 30px -26px rgba(62, 90, 72, .7); }
.home-group b { font: 600 1.35rem var(--serif); color: var(--forest); line-height: 1.25; }
.home-group span { font-size: 1.02rem; color: var(--muted); line-height: 1.5; }
.home-group em { font-style: normal; font-weight: 700; color: var(--rose-text); margin-top: 4px; min-height: 44px; display: flex; align-items: center; }
.home-group:active { transform: scale(.98); }


/* Flower Club: bigger type, strong contrast, big targets, for easy reading and buying. */
.fc-hero, .fc-section { padding: 56px 0; }
.fc-hero { background: var(--sage-wash); text-align: center; }
.fc-examples { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fc-examples img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.fc-section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fc-hero h1, .fc-section h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.1; margin: 8px 0 16px; }
.fc-section h2 { font-size: clamp(1.9rem, 4.5vw, 2.4rem); margin: 0 0 18px; }
.fc-section h3 { font-size: 1.5rem; margin: 24px 0 8px; }
.fc-lede { font-size: 1.35rem; line-height: 1.55; color: var(--charcoal); margin: 0 0 24px; }
.fc-text, .fc-list li, .fc-faq p, .fc-steps li { font-size: 1.2rem; line-height: 1.65; }
.fc-list { list-style: none; padding: 0; margin: 20px 0; }
.fc-list li { padding: 10px 0; }
.fc-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fc-steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 72px; position: relative; }
.fc-steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font: 700 1.2rem var(--sans); display: flex; align-items: center; justify-content: center; }
.fc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 34px; border-radius: 999px; border: 2px solid var(--rose-deep); background: var(--rose-deep); color: #fff; font: 700 1.25rem var(--sans); text-decoration: none; cursor: pointer; }
.fc-btn:hover, .fc-btn:focus-visible { background: #7d3243; border-color: #7d3243; color: #fff; }
.fc-btn.ghost { background: #fff; color: var(--forest); border-color: var(--forest); }
.fc-btn.ghost:hover { background: var(--sage-wash); color: var(--forest); }
.fc-btn.wide { width: 100%; }
.fc-help-line { font-size: 1.1rem; margin: 18px 0 0; }
.fc-help-line a, .fc-faq a { color: var(--forest); font-weight: 600; text-decoration: underline; }
.fc-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.fc-price { background: var(--paper); border: 2px solid var(--sage-mid); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.fc-price h3 { margin: 0 0 6px; }
.fc-amount { font: 700 2.8rem/1.1 var(--serif); color: var(--rose-deep); margin: 0 0 14px; }
.fc-amount span { font: 600 1.1rem var(--sans); color: var(--charcoal); }
.fc-totals { width: 100%; border-collapse: collapse; font-size: 1.15rem; }
.fc-totals th, .fc-totals td { padding: 10px 6px; border-top: 1px solid var(--line); text-align: left; }
.fc-totals td { text-align: right; }
.fc-form { font-size: 1.15rem; }
.fc-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); padding: 22px; margin: 0 0 20px; min-width: 0; }
.fc-panel legend { font: 700 1.5rem var(--serif); padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.fc-panel legend span { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; font: 700 1.1rem var(--sans); display: inline-flex; align-items: center; justify-content: center; }
.fc-panel .field > span, .fc-q { font-size: 1.15rem; font-weight: 600; color: var(--charcoal); }
.fc-q { margin: 14px 0 8px; }
.fc-panel .input { font-size: 1.15rem; min-height: 54px; border: 2px solid var(--sage-mid); }
.fc-panel .input:focus { outline: 3px solid var(--rose-deep); outline-offset: 2px; }
.fc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fc-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fc-choices.three { grid-template-columns: repeat(3, 1fr); }
.fc-choices.stack { grid-template-columns: 1fr; }
@media (max-width: 520px) { .fc-choices { grid-template-columns: 1fr; } .fc-choices.three { grid-template-columns: 1fr; } }
.fc-choice { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 2px solid var(--sage-mid); border-radius: var(--radius); background: #fff; cursor: pointer; min-height: 60px; }
.fc-choice input { width: 26px; height: 26px; margin: 2px 0 0; flex: none; accent-color: var(--rose-deep); }
.fc-choice span { display: block; }
.fc-choice strong { display: block; font-size: 1.2rem; }
.fc-choice small { display: block; font-size: 1rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.fc-choice:has(input:checked) { border-color: var(--rose-deep); background: var(--rose-wash); box-shadow: 0 0 0 2px var(--rose-deep); }
.fc-choice:has(input:focus-visible) { outline: 3px solid var(--forest); outline-offset: 2px; }
.fc-total { font-size: 1.25rem; font-weight: 700; color: var(--forest); margin: 16px 0 0; min-height: 1.6em; }
.fc-error { font-size: 1.15rem; }
[data-fc-address][hidden], [data-fc-date][hidden], [data-fc-weekday][hidden] { display: none; }
.fc-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; padding: 0 20px; }
.fc-faq summary { cursor: pointer; font-size: 1.25rem; font-weight: 700; padding: 18px 0; color: var(--forest); }
.fc-faq summary:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 2px; }
.fc-faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.fc-faq details p { margin: 0 0 18px; }
.fc-summary { background: var(--paper); border: 2px solid var(--sage-mid); border-radius: var(--radius); padding: 8px 22px; margin: 22px 0; font-size: 1.2rem; }
.fc-ref { font: 700 1.5rem ui-monospace, Menlo, monospace; letter-spacing: .04em; color: var(--rose-deep); }
.fc-bank { background: #fff; border: 2px dashed var(--forest); border-radius: var(--radius); padding: 18px 22px; font-size: 1.25rem; line-height: 1.7; margin: 14px 0 26px; }
.fc-ok { background: var(--sage-wash); border: 2px solid var(--forest); border-radius: var(--radius); padding: 16px 20px; font-size: 1.2rem; font-weight: 600; color: var(--forest); }

/* Admin Orders: filter tabs. */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.filter-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--sage-mid); background: #fff; color: var(--forest); font-weight: 600; text-decoration: none; }
.filter-tabs a:hover { background: var(--sage-wash); }
.filter-tabs a[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.filter-tabs .count { min-width: 26px; padding: 0 8px; border-radius: 999px; background: var(--sage-wash); color: var(--forest); font-size: .9rem; text-align: center; line-height: 24px; }
.filter-tabs a[aria-current="page"] .count { background: #fff; }

/* Admin → Card payments (Stripe). */
.stripe-keys:not(.current) { opacity: .85; }
.stripe-keys.current { border-color: var(--forest); box-shadow: 0 0 0 2px var(--sage-tint); }
.stripe-saved { margin: 0 0 8px; color: var(--ok); font-weight: 600; }
.stripe-saved code { background: var(--sage-wash); padding: 2px 8px; border-radius: 6px; color: var(--charcoal); }
.stripe-remove { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; font-size: .95rem; color: var(--muted); }
.stripe-copy { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.stripe-copy .input { flex: 1 1 320px; }
.stripe-events { columns: 2; padding-left: 20px; margin: 12px 0; }
.stripe-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.stripe-result { max-width: 900px; margin-bottom: 18px; border-width: 2px; }
.stripe-result.good { border-color: var(--ok); } .stripe-result.bad { border-color: var(--danger); }
.stripe-result h2 { margin: 0 0 8px; }
.stripe-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.stripe-checks li { padding: 10px 14px; border-radius: 10px; background: var(--cream); border-left: 5px solid var(--sage-mid); }
.stripe-checks li.ok { border-left-color: var(--ok); } .stripe-checks li.warn { border-left-color: #b7791f; } .stripe-checks li.fail { border-left-color: var(--danger); }
.avail-note { font-size: .9rem; min-width: 7em; }
.fc-choices.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { .fc-choices.four { grid-template-columns: repeat(2, 1fr); } }
.gallery-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.gallery-grid { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 16px; }
.gallery-grid li { break-inside: avoid; margin: 0 0 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gallery-grid a { display: block; }
.gallery-grid img { display: block; width: 100%; height: auto; transition: transform .25s ease; }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.03); }
.gallery-grid li { overflow: hidden; }
.gallery-grid p { margin: 0; padding: 10px 14px 12px; font-size: .95rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30, 36, 32, .92); display: flex; align-items: center; justify-content: center; padding: 24px 56px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 10px; }
.lightbox figcaption { color: #fff; font-size: 1.05rem; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 999px; font: 400 2rem/1 var(--sans); width: 48px; height: 48px; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .3); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 520px) { .lightbox { padding: 16px 8px; } .lb-nav { top: auto; bottom: 14px; transform: none; } }
.nav-new { margin-left: 8px; align-self: center; line-height: 1.4; padding: 2px 8px; border-radius: 999px; background: var(--rose-deep); color: #fff; font: 700 .75rem var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.remember { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; background: var(--sage-wash); border-radius: 12px; cursor: pointer; }
.remember input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--forest); }
.remember strong { display: block; }
.remember small { display: block; color: var(--muted); font-size: .92rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-deep); text-decoration: underline; cursor: pointer; }
.dp { max-width: 420px; margin: 8px 0 4px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dp-title { margin: 0; font: 600 1.35rem var(--serif); color: var(--forest); text-align: center; flex: 1; }
.dp-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cdc4b6; background: var(--paper); font: 400 1.6rem/1 var(--sans); color: var(--forest); cursor: pointer; }
.dp-nav:hover:not(:disabled), .dp-nav:focus-visible { background: var(--sage-tint); }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-week, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-week span { text-align: center; font: 600 .78rem var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0; }
.dp-day { display: grid; place-items: center; aspect-ratio: 1; min-height: 44px; border-radius: 10px; border: 1px solid transparent; background: transparent; font: 600 1rem var(--sans); color: var(--charcoal); }
button.dp-day { background: var(--sage-wash); border-color: var(--sage-tint); cursor: pointer; }
button.dp-day:hover { background: var(--sage-tint); border-color: var(--sage-mid); }
button.dp-day[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
button.dp-day:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 2px; }
.dp-day.off { color: #b9b3a8; font-weight: 400; }
.dp-chosen { margin: 12px 0 0; font-weight: 600; color: var(--forest); text-align: center; min-height: 1.5em; }
.dp-none { margin: 8px 0 0; color: var(--rose-deep); font-weight: 600; text-align: center; }
.dp-none[hidden] { display: none; }
.cal-max-btn { margin-left: auto; }
body.cal-max .admin-nav, body.cal-max .how-to { display: none; }
body.cal-max .admin-shell { grid-template-columns: minmax(0, 1fr); }
body.cal-max .admin-main { max-width: none; padding: 14px clamp(12px, 2vw, 28px) 24px; }
body.cal-max .admin-top { margin-bottom: 10px; }
body.cal-max .cal { grid-template-rows: auto; grid-auto-rows: 1fr; min-height: calc(100dvh - 190px); }
body.cal-max .week { min-height: calc(100dvh - 190px); }

/* ---- Products page: collapsible groups and collections ---------------------------------------- */
.admin-top h1 .pg-total { font: 600 1rem var(--sans); color: var(--muted); background: var(--sage-wash); border-radius: 999px; padding: 2px 12px; vertical-align: middle; margin-left: 6px; }
.pg-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.pg-tools .input { min-height: 46px; width: auto; flex: 0 1 auto; }
.pg-tools #pg-q { flex: 1 1 220px; min-width: 180px; }
.pg-tools .btn { min-height: 46px; }
.pg-tools2 { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-bottom: 18px; position: relative; }
.pg-pop { position: static; }
.pg-pop summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.pg-pop summary::-webkit-details-marker { display: none; }
.pg-popform { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(460px, 100%); display: grid; gap: 8px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.pg-popform p { margin: 0; font-size: 1rem; line-height: 1.45; }
.pg-chev { width: 12px; height: 12px; border-right: 3px solid var(--forest-2); border-bottom: 3px solid var(--forest-2); transform: rotate(-45deg); transition: transform .15s; flex: none; margin: 0 4px; }
details[open] > summary > .pg-chev { transform: rotate(45deg); }
.pg-meta { color: var(--muted); font-size: .95rem; }
.pg-cat { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 8px; overflow: hidden; }
.pg-cat > summary { padding: 8px 14px; min-height: 56px; }
.pg-cat > summary:hover { background: var(--sage-wash); }
.pg-cat-name { font: 600 1.2rem var(--serif); color: var(--forest); }
.pg-menutag { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--forest); background: var(--sage-tint); border-radius: 999px; padding: 2px 10px; }
.pg-offtag { display: none; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rose-text); background: var(--rose-wash); border-radius: 999px; padding: 2px 10px; }
.pg-cat.is-off .pg-offtag { display: inline-block; }
.pg-cat.is-off > summary .pg-cat-name, .pg-cat.is-off > summary .pg-meta { opacity: .8; }
.pg-cat.is-off .pg-products { opacity: .55; }
.pg-switch { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--sage-mid); background: var(--sage-wash); color: var(--forest); font: 600 .95rem var(--sans); cursor: pointer; }
.pg-switch i { width: 38px; height: 22px; border-radius: 999px; background: var(--forest); position: relative; transition: background .15s; }
.pg-switch i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: right .15s; }
.pg-switch[aria-checked="false"] { background: #f1ece3; border-color: #cdc4b6; color: var(--muted); }
.pg-switch[aria-checked="false"] i { background: #b9b3a8; }
.pg-switch[aria-checked="false"] i::after { right: 19px; }
.pg-body { padding: 4px 12px 12px; border-top: 1px solid var(--line); }
.pg-products { list-style: none; margin: 0; padding: 0; }
.pg-item { display: grid; grid-template-columns: auto 52px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #eee8dc; }
.pg-item:last-child { border-bottom: 0; }
.pg-item[hidden], .pg-cat[hidden], .pg-group[hidden] { display: none; }
.pg-item.dragging { opacity: .45; }
.pg-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sage-wash); display: block; }
.pg-name { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 1.05rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.pg-name:hover { color: var(--rose-deep); }
.pg-name small { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; margin-top: 1px; }
.pg-avail { margin: 0; }
.pg-avail select { min-height: 44px; width: auto; min-width: 140px; padding: 0 12px; font-size: 1rem; border-radius: 10px; border: 1px solid #cdc4b6; background: var(--paper); }
.pg-item[data-status="sold_out"] .pg-avail select, .pg-item[data-status="not_for_sale"] .pg-avail select { border-color: var(--rose); color: var(--rose-text); }
.pg-item[data-status="hidden"] .pg-avail select { background: #f1ece3; color: var(--muted); }
.pg-item[data-status="hidden"] .pg-name { color: var(--muted); }
.pg-item .btn.small { min-height: 44px; }
.pg.no-drag .drag-handle { opacity: .25; cursor: default; }
.pg-none { margin: 10px 4px; }
.pg-settings { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pg-settings label { display: flex; gap: 8px; align-items: center; font-size: .95rem; color: var(--muted); }
.pg-settings .input { min-height: 44px; width: auto; }
.pg-settings .danger { margin-left: auto; }
.pg-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--forest); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; }
.pg-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) {
  .pg-item { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .pg-item .drag-handle { display: none; }
  .pg-thumb { width: 44px; height: 44px; }
  .pg-avail { grid-column: 2 / 4; }
  .pg-avail select { width: 100%; }
  .pg-item .btn.small { grid-row: 1; grid-column: 3; }
  .pg-tools .input, .pg-tools #pg-q { flex: 1 1 100%; }
}

/* Footer links are easy to tap (they were bare 20px lines) */
.site-footer .cols > div + div p { display: flex; flex-direction: column; margin: 0; }
.site-footer .cols > div + div p a { display: block; padding: 11px 0; line-height: 1.25; }
.site-footer .cols > div + div p br { display: none; }
/* Small "back" links above page titles get a proper tap area */
.eyebrow a { display: inline-flex; align-items: center; min-height: 44px; }
fieldset { min-width: 0; }
.site-footer .fine a { display: inline-block; padding: 12px 0; }

.pg-switch.pg-menu { margin-left: 0; padding: 0 6px 0 14px; }
.pg-menu .pg-switch-text { font-weight: 500; }
.pg-rename { display: flex; gap: 8px; align-items: center; flex: 1 1 260px; max-width: 420px; margin: 0; }
.pg-rename .input { min-height: 44px; }

/* Shop page: special spaces (special occasions, Flower Club, gift vouchers) */
.feature { border-radius: 24px; padding: clamp(24px, 4vw, 40px); margin: 0 0 24px; }
.feature h2 { margin: 4px 0 8px; font: 600 clamp(1.6rem, 3vw, 2.1rem) var(--serif); color: var(--forest); }
.feature p { margin: 0 0 18px; max-width: 46ch; font-size: 1.08rem; }
.feature .eyebrow { margin: 0; }
.feature.occasions { background: linear-gradient(135deg, var(--rose-wash), #fff6f1); border: 1px solid var(--rose-tint); }
.feature-head { margin-bottom: 18px; }
.occ-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.occ-card { position: relative; display: grid; gap: 6px; padding: 22px 22px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--rose-tint); text-decoration: none; color: var(--charcoal); transition: transform .15s, box-shadow .15s; }
.occ-card:hover, .occ-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); }
.occ-name { font: 600 1.5rem var(--serif); color: var(--forest); padding-right: 52px; }
.occ-card .nav-new { position: absolute; top: 20px; right: 18px; margin: 0; }
.occ-card em { font-style: normal; font-weight: 700; color: var(--rose-text); min-height: 28px; }
.feature-row { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .feature-row { grid-template-columns: 3fr 2fr; } }
.feature-row .feature { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.feature.club { background: linear-gradient(150deg, var(--sage-wash), #f3f7ef); border: 1px solid var(--sage-tint); }
.feature.vouchers { background: var(--paper); border: 1px dashed var(--rose); }
.feature-row + .cats { margin-top: 28px; }
.feature.occasions + .feature-row { margin-top: 0; }

/* ---- Products page fixes ---- */
.pg-cat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-cat > summary::-webkit-details-marker { display: none; }
.pg-cat > summary::marker { content: ""; }
.pg-chev { display: none; }
.pg-cat > summary::before { content: "▸"; flex: none; width: 20px; color: var(--forest-2); font-size: 1.2rem; line-height: 1; text-align: center; }
.pg-cat[open] > summary::before { content: "▾"; }
.pg-cat-name { font: 600 1.4rem/1.2 var(--serif); }
.pg-cat > summary .pg-switch { margin-left: auto; }
.pg .pg-tools .input, .pg .pg-tools .btn, .pg .pg-tools2 .btn { min-height: 46px; height: 46px; font-size: 1rem; }
.pg .pg-tools .btn, .pg .pg-tools2 .btn { padding: 0 18px; }
.pg .pg-tools .input { padding: 0 14px; }
.pg-tools2 { margin-bottom: 14px; }
/* The owner menu's name stacks (it was running into the page) and the tips box is slim when closed */
.admin-nav .brand { flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; }
.admin-nav .brand small { margin-top: 0; }
.how-to:not([open]) { padding-bottom: 0; margin-bottom: 20px; }
.how-to:not([open]) summary { min-height: 52px; }
@media (max-width: 720px) {
  .pg-cat > summary { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: center; padding: 10px 12px; }
  .pg-cat > summary::before { grid-column: 1; grid-row: 1; }
  .pg-cat-name { grid-column: 2; grid-row: 1; }
  .pg-cat > summary .pg-meta { grid-column: 2; grid-row: 2; }
  .pg-cat > summary .pg-offtag, .pg-cat > summary .pg-menutag { grid-column: 2; justify-self: start; }
  .pg-cat > summary .pg-switch { grid-column: 3; grid-row: 1 / span 2; margin-left: 0; }
}
.pg-rename .input { flex: 1 1 auto; min-width: 0; }
.pg-settings .btn.danger { background: transparent; color: var(--rose-deep); border: 1px solid var(--rose); }
.pg-settings .btn.danger:hover { background: var(--rose-wash); }
@media (max-width: 720px) {
  .pg-settings { flex-direction: column; align-items: stretch; }
  .pg-rename { max-width: none; width: 100%; flex: none; }
  .pg-settings .pg-menu { align-self: flex-start; }
  .pg-settings form[action$="/delete"] { margin-left: 0 !important; }
  .pg-settings .btn.danger { width: 100%; }
}

/* ---- About page ---- */
.about-hero { background: linear-gradient(135deg, var(--sage-wash), #f7f0f2); padding: clamp(44px, 8vw, 92px) 0 clamp(36px, 6vw, 64px); text-align: center; border-bottom: 1px solid var(--sage-tint); }
.about-hero h1 { font: 600 clamp(2.4rem, 6vw, 3.8rem)/1.08 var(--serif); color: var(--forest); margin: 6px 0 18px; }
.about-lede { max-width: 62ch; margin: 0 auto 26px; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.65; color: #433f38; }
.about-lede p { margin: 0; }
.about-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0; }
.about-story { padding: clamp(40px, 7vw, 80px) 0; }
.about-story-grid { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .about-story-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .about-side { position: sticky; top: 96px; } }
.about-points { display: grid; gap: 30px; }
.about-point { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.about-point:last-child { border-bottom: 0; padding-bottom: 0; }
.about-num { font: 600 2.6rem/1 var(--serif); color: var(--rose); min-width: 2.2ch; }
.about-point h2 { margin: 0 0 8px; font: 600 clamp(1.5rem, 3vw, 1.9rem)/1.2 var(--serif); color: var(--forest); }
.about-point .prose { font-size: 1.1rem; line-height: 1.7; }
.about-point .prose p { margin: 0; }
.about-side { display: grid; gap: 18px; }
.about-photo { margin: 0; border-radius: 22px; overflow: hidden; background: var(--sage-wash); box-shadow: var(--shadow); }
.about-photo img { display: block; width: 100%; height: auto; }
.about-photo figcaption { padding: 10px 16px; font-size: .95rem; color: var(--muted); background: var(--paper); }
.about-quote { padding: 26px; border-radius: 22px; background: var(--rose-wash); border: 1px solid var(--rose-tint); }
.about-quote .prose { font: italic 500 1.2rem/1.6 var(--serif); color: var(--forest); }
.about-quote .prose p { margin: 8px 0 0; }
.about-info { padding: clamp(40px, 7vw, 72px) 0; background: var(--sage-wash); }
.about-info h2 { margin: 4px 0 24px; font: 600 clamp(1.8rem, 4vw, 2.4rem) var(--serif); color: var(--forest); }
.about-info-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .about-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .about-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about-info-card { padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--sage-tint); display: grid; gap: 8px; align-content: start; }
.about-info-card svg { color: var(--rose-deep); }
.about-info-card h3 { margin: 2px 0 0; font: 600 1.3rem var(--serif); color: var(--forest); }
.about-info-card .prose { font-size: 1rem; line-height: 1.6; color: #433f38; }
.about-info-card .prose p { margin: 0; }
.about-cta { background: linear-gradient(150deg, #4d6a53, #3e5a48 60%, #7d3f50); color: #fff; padding: clamp(36px, 6vw, 60px) 0; }
.about-cta-inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .about-cta-inner { grid-template-columns: 1fr auto; } }
.about-cta h2 { margin: 0 0 8px; font: 600 clamp(1.7rem, 4vw, 2.2rem) var(--serif); color: #fff; }
.about-cta .prose { color: #f7faf6; font-size: 1.1rem; max-width: 60ch; }
.about-cta .prose p { margin: 0; }
.about-cta .btn { background: #fff; color: var(--forest); border-color: #fff; }
.about-cta .btn:hover { background: var(--rose-wash); }

/* ---- Contact page ---- */
.contact-hero { background: linear-gradient(135deg, var(--sage-wash), #f7f0f2); padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 5vw, 52px); text-align: center; border-bottom: 1px solid var(--sage-tint); }
.contact-hero h1 { font: 600 clamp(2.4rem, 6vw, 3.6rem)/1.08 var(--serif); color: var(--forest); margin: 6px 0 14px; }
.contact-lede { max-width: 58ch; margin: 0 auto; font-size: clamp(1.1rem, 2vw, 1.25rem); line-height: 1.65; color: #433f38; }
.contact-lede p { margin: 0 0 10px; }
.contact-main { padding: clamp(32px, 6vw, 72px) 0; }
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sage-tint); text-decoration: none; color: var(--charcoal); min-width: 0; }
a.contact-card { transition: transform .15s, box-shadow .15s, border-color .15s; }
a.contact-card:hover, a.contact-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sage-mid); }
.contact-card svg { flex: none; width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--rose-wash); color: var(--rose-deep); }
.contact-card span { display: grid; gap: 2px; min-width: 0; }
.contact-card small { color: var(--muted); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.contact-card strong { font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-form-wrap { background: linear-gradient(180deg, #fff, var(--sage-wash)); border: 1px solid var(--sage-tint); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 6px; }
.contact-form h2 { margin: 0 0 8px; font: 600 clamp(1.6rem, 3vw, 2rem) var(--serif); color: var(--forest); }
.contact-form .btn { justify-self: start; margin-top: 8px; }
.contact-thanks { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 20px 0; }
.contact-thanks svg { color: var(--forest-2); }
.contact-thanks h2 { margin: 0; font: 600 2rem var(--serif); color: var(--forest); }
.contact-thanks p { margin: 0 0 8px; max-width: 40ch; }
@media (max-width: 420px) { .contact-card { padding: 14px; gap: 12px; } .contact-card svg { width: 40px; height: 40px; padding: 9px; } .contact-card strong { font-size: .95rem; } }

/* ---- Blog ---- */
.blog-hero { background: linear-gradient(135deg, var(--sage-wash), #f7f0f2); padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 5vw, 52px); text-align: center; border-bottom: 1px solid var(--sage-tint); }
.blog-hero h1 { font: 600 clamp(2.2rem, 5.5vw, 3.4rem)/1.1 var(--serif); color: var(--forest); margin: 6px 0 12px; }
.blog-hero p { max-width: 54ch; margin: 0 auto; font-size: 1.15rem; line-height: 1.6; color: #433f38; }
.blog-main { padding: clamp(28px, 5vw, 60px) 0 clamp(40px, 7vw, 80px); }
.blog-feature { display: grid; grid-template-columns: 1fr; border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #fff, var(--rose-wash)); border: 1px solid var(--rose-tint); text-decoration: none; color: var(--charcoal); box-shadow: var(--shadow); transition: transform .15s; }
@media (min-width: 860px) { .blog-feature:has(img) { grid-template-columns: 1.1fr 1fr; } }
.blog-feature:hover, .blog-feature:focus-visible { transform: translateY(-2px); }
.blog-feature img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.blog-feature-body { padding: clamp(24px, 5vw, 52px); display: grid; gap: 12px; align-content: center; }
.blog-flag { justify-self: start; background: var(--rose-deep); color: #fff; font: 700 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.blog-feature h2 { margin: 0; font: 600 clamp(1.9rem, 4vw, 2.7rem)/1.15 var(--serif); color: var(--forest); }
.blog-excerpt { color: #433f38; line-height: 1.65; font-size: 1.05rem; }
.blog-feature .blog-excerpt { font-size: 1.15rem; }
.blog-meta { color: var(--muted); font-size: .92rem; }
.blog-more { color: var(--rose-text); font-weight: 700; margin-top: 4px; }
.blog-sub { margin: clamp(32px, 5vw, 52px) 0 18px; font: 600 1.7rem var(--serif); color: var(--forest); }
.blog-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--charcoal); transition: transform .15s, box-shadow .15s; }
.blog-card:hover, .blog-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog-band { display: flex; align-items: baseline; gap: 10px; padding: 22px 24px 18px; }
.blog-band b { font: 600 2.6rem/1 var(--serif); color: var(--forest); }
.blog-band span { font: 600 .95rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--forest-2); }
.blog-card.sage .blog-band { background: linear-gradient(135deg, var(--sage-wash), var(--sage-tint)); }
.blog-card.rose .blog-band { background: linear-gradient(135deg, var(--rose-wash), var(--rose-tint)); }
.blog-card.linen .blog-band { background: linear-gradient(135deg, #f6f1e6, #ece4d2); }
.blog-card-body { display: grid; gap: 8px; padding: 20px 24px 24px; align-content: start; }
.blog-card-body strong { font: 600 1.45rem/1.25 var(--serif); color: var(--forest); }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.copy-row .input { flex: 1 1 320px; min-width: 0; font-size: .95rem; }
.how-feed summary { cursor: pointer; font-weight: 600; color: var(--forest); min-height: 44px; display: flex; align-items: center; }
.orders-table .nowrap, .nowrap { white-space: nowrap; }
.orders-table td { vertical-align: top; }
.orders-table { font-size: .98rem; }
.orders-table th, .orders-table td { padding: 12px 10px; }
.orders-table td { overflow-wrap: break-word; }
.orders-table td:nth-child(3) { min-width: 150px; }
.orders-table td:nth-child(5) { white-space: nowrap; }
.orders-table td:nth-child(2) { min-width: 112px; }
.orders-table td:nth-child(4) { min-width: 190px; }
.orders-table td:nth-child(6) { min-width: 128px; }
.orders-table td:nth-child(7) { min-width: 138px; }
.orders-table small { font-size: .88rem; }
.orders-table .pill { white-space: normal; border-radius: 12px; display: inline-block; line-height: 1.3; padding: 3px 10px; }
.orders-table .status-buttons { margin-top: 6px; }
.orders-table .status-buttons button { min-height: 44px; padding: 6px 12px; font-size: .92rem; line-height: 1.15; white-space: normal; max-width: 130px; }

/* ---- Easier for older eyes and hands ---- */
/* A clear keyboard focus ring everywhere, light on the dark green of the owner menu and footer */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 3px; }
.admin-nav :focus-visible, .site-footer :focus-visible, .about-cta :focus-visible, .lightbox :focus-visible { outline-color: #ffffff; }
.skip:focus-visible { outline: 3px solid var(--rose-deep); }
.input:focus-visible, textarea:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 2px; }
/* Text that was too pale on its background */
.admin-nav .brand small { color: #d4dfd2; }
.admin-nav .nav-heading { color: #d6e0d4; }
.eyebrow a, .calendar-back { color: var(--rose-text); }
.skip { color: #2d4a38; }
.pill small, .pill.blush small { color: #5a4a50; }
.help a, .muted a, a.muted { color: var(--rose-text); }
/* The basket button always says what it is, with a bag to look at, and the header copes with very large text */
.basket-btn .basket-icon { width: 20px; height: 20px; flex: none; }
@media (max-width: 760px) {
  .basket-btn .label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 460px) {
  .site-header .wrap { gap: 8px; }
  .brand { flex: 1 1 0; min-width: 0; white-space: normal; font-size: 1.15rem; gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small { font-size: .68rem; letter-spacing: .1em; }
  .basket-btn { padding: 0 10px; gap: 6px; }
  .basket-btn .label { display: none; }
}
/* On a very short screen (a big zoom on a laptop) the header scrolls away instead of covering the page */
@media (max-height: 520px) { .site-header { position: static; } }
/* After a mistake the first problem is brought into view */
.field-error, .form-error { scroll-margin-top: 120px; }
.is-sending { opacity: .75; cursor: progress; }

/* Very large text or a very narrow screen: nothing may be wider than the screen */
label:has(input:checked) small.muted, label:has(input:checked) small { color: #4a3d43; }
.blog-band { flex-wrap: wrap; row-gap: 2px; }
.dp-day { min-width: 0; }
@media (max-width: 420px) {
  .dp { padding: 8px; }
  .dp-week, .dp-grid { gap: 2px; }
  .dp-day { min-height: 40px; aspect-ratio: auto; height: 40px; }
  .fc-panel { padding: 14px; }
  .fc-choices.four { gap: 8px; }
  .fc-choice { padding: 12px; }
}
.blog-grid > *, .blog-card-body, .blog-band { min-width: 0; }
.blog-card-body { overflow-wrap: anywhere; }
.blog-band b { font-size: clamp(1.9rem, 9vw, 2.6rem); }
