/* Fonts, served from this site (public/fonts/): DM Serif Display and Inter, Latin and Latin Extended. */
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/dm-serif-display-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/dm-serif-display-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-serif-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-serif-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sage: #6b7a66;
  --sage-deep: #3f4a3c;
  --sage-soft: #e3e9d8;
  --brand-sage: #b2c09c;
  --sunflower: #e8b923;
  --burgundy: #7c1d2c;
  --burgundy-deep: #5c1320;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --gold: #a87812;
  --ink: #2a2a26;
  --muted: #6b6a63;
  --line: #e4ddd0;
  --radius: 14px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; color: var(--sage-deep); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.6rem; }
.eyebrow {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 .8em;
}
.lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--sage-deep); text-decoration: none; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.nav a:hover { color: var(--burgundy); }
.nav a[aria-current="page"] { color: var(--burgundy); font-weight: 600; }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-size: 1rem; font-weight: 600; color: var(--sage-deep); cursor: pointer; }
.menu-btn svg { display: block; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--burgundy); color: #fff; text-decoration: none;
  font-weight: 500; font-size: .95rem; border: 0; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--burgundy-deep); }
.btn.ghost { background: transparent; color: var(--sage-deep); border: 1.5px solid var(--sage-deep); }
.btn.ghost:hover { background: var(--sage-deep); color: #fff; }
.btn.small { padding: 9px 18px; font-size: .85rem; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 80vh; background: var(--cream); }
.hero .copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px 64px max(20px, calc((100vw - 1160px) / 2 + 20px)); }
.hero h1 { max-width: 12ch; }
.hero .copy > p { font-size: 1.15rem; max-width: 42ch; color: var(--muted); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .photo { position: relative; min-height: 420px; }
.hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero .photo { order: -1; min-height: 56vw; }
  .hero .copy { padding: 40px 16px 56px; }
}

.banner { background: var(--sage-deep); color: #f0ece2; text-align: center; font-size: .9rem; padding: 10px 16px; }
.banner strong { color: #fff; }

section { padding: 88px 0; }
section[id] { scroll-margin-top: 84px; }
section.alt { background: var(--paper); }
section.sage { background: var(--sage-soft); }
.section-head { margin-bottom: 44px; }

.badge {
  display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--burgundy); color: #fff; font-weight: 600;
}
.badge.soft { background: var(--sage-soft); color: var(--sage-deep); }
.price { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--burgundy); font-weight: 400; margin: 20px 0 22px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .img { aspect-ratio: 4 / 5; overflow: hidden; background: #1d1d1d; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .img img { transform: scale(1.04); }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card .card-price { font-family: var(--serif); font-size: 1.5rem; color: var(--burgundy); font-weight: 400; }
.card .card-price.tbc { font-size: 1rem; font-family: var(--sans); color: var(--muted); font-weight: 400; }
.options { display: flex; gap: 8px; margin: -4px 0 16px; flex-wrap: wrap; }
.options button {
  font: inherit; font-size: .8rem; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.options button.active { border-color: var(--sage-deep); background: var(--sage-deep); color: #fff; }

.card-price { font-family: var(--serif); font-size: 1.5rem; color: var(--burgundy); }
.card-price.tbc { font-size: 1rem; font-family: var(--sans); color: var(--muted); }
.btn.sold { background: #b9b4aa; cursor: not-allowed; }
.secure { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info-grid h3 { font-size: 1.3rem; }
.info-grid p { color: var(--muted); margin: 0; }

.mock-flag {
  background: #f6d860; color: #3a2c00; text-align: center; padding: 6px 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}

/* Seasons */
.season-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.season-tab {
  font: inherit; cursor: pointer; text-align: left; padding: 10px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; gap: 1px;
}
.season-tab .name { font-family: var(--serif); font-size: 1.25rem; color: var(--sage-deep); line-height: 1.2; }
.season-tab .when { font-size: .75rem; color: var(--muted); }
.season-tab.later { opacity: .7; }
.season-tab[aria-selected="true"] { background: var(--sage-deep); border-color: var(--sage-deep); opacity: 1; }
.season-tab[aria-selected="true"] .name, .season-tab[aria-selected="true"] .when { color: #fff; }
.season-tab:focus-visible { outline: 3px solid var(--brand-sage); outline-offset: 2px; }
.season-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.season-intro h2 { font-size: 2rem; }
.season-intro p { color: var(--muted); margin: 0 0 12px; }
.season-intro .delivery { color: var(--ink); }
.season-intro .cutoff { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--burgundy); background: #f6e9ea; padding: 4px 12px; border-radius: 999px; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.style-card .img { position: relative; }
.style-card .img .badge { position: absolute; top: 12px; left: 12px; }
.style-card.is-off .img img { filter: grayscale(.6); opacity: .75; }
.stock { font-size: .85rem; color: var(--muted); margin: -6px 0 16px !important; flex: 0 !important; }
.stock strong { color: var(--burgundy); }
/* Placeholders for content Sarah still needs to supply */
.ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px;
  text-align: center; padding: 24px; box-shadow: inset 0 0 0 2px #d8cfbd; outline: 2px dashed #b9ad95; outline-offset: -10px;
  background: repeating-linear-gradient(135deg, #e9e3d6 0 14px, #efe9dd 14px 28px); color: var(--sage-deep);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.ph small { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.ph-tag, .text-ph .ph-tag { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #3a2c00; background: #f6d860; padding: 4px 10px; border-radius: 999px; }
.ph-portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); }
/* A stand-in photo: shown normally, with a small tag so it's clear it'll be replaced. */
.ph-photo { position: relative; }
.ph-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ph-corner { position: absolute; top: 12px; right: 12px; z-index: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.text-ph { border: 2px dashed #d9c77a; background: #fffbe8; border-radius: var(--radius); padding: 18px 20px; margin: 4px 0 20px; }
.text-ph .ph-tag { display: inline-block; margin-bottom: 10px; }
.text-ph p { margin: 0 0 6px; }
.text-ph ul { margin: 0; padding-left: 18px; color: var(--muted); }
.todo { background: #fff3b8; color: #5a4a00; border-radius: 4px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.text-ph .todo { background: none; padding: 0; color: #5a4a00; }
.season-later { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; }
.season-later p { color: var(--muted); }
.disclaimer { margin: 28px 0 0; font-size: .88rem; color: var(--muted); font-style: italic; }

/* Page headers (inner pages) */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
section.after-head { padding-top: 24px; }
.text-link { color: var(--burgundy); font-weight: 500; text-decoration: none; font-size: .95rem; }
.text-link:hover { text-decoration: underline; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }

/* Home: the current wreaths, then click through to each product page */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.home-shop { padding: 48px 0 72px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-tile { display: block; text-decoration: none; color: inherit; }
.product-tile .img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #1d1d1d; margin-bottom: 14px; }
.product-tile .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-tile:hover .img img { transform: scale(1.03); }
.product-tile p { margin: 0; }
.product-tile .category { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.product-tile .name { font-family: var(--serif); font-size: 1.45rem; color: var(--sage-deep); line-height: 1.2; margin: 2px 0; }
.product-tile .price { font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--burgundy); font-weight: 500; }
.product-tile .price.tbc { color: var(--muted); font-weight: 400; }
.product-tile:hover .name { text-decoration: underline; text-underline-offset: 3px; }

/* Product page */
.product-page { padding: 32px 0 80px; }
.product-page .back { margin: 0 0 20px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-photo img, .product-photo .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-note { font-size: .82rem; margin: 10px 0 0; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.product-info .price { font-family: var(--serif); font-size: 1.9rem; color: var(--burgundy); margin: 0 0 6px; }
.product-info .price .tbc { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.product-info .stock { margin: 0 0 18px !important; }
.product-info .description { font-size: 1.05rem; color: var(--muted); margin: 0 0 24px; }
.product-info .buy { margin-bottom: 22px; }
.product-info .delivery { margin: 0 0 10px; }
.product-info .cutoff { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--burgundy); background: #f6e9ea; padding: 4px 12px; border-radius: 999px; margin: 0 0 10px; }
.product-info .disclaimer { margin-top: 12px; }
.style-card .img { display: block; }
.style-card h3 a { color: inherit; text-decoration: none; }
.style-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Bundles */
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.bundle { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.bundle ul { list-style: none; padding: 0; margin: 4px 0 18px; }
.bundle li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.bundle .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.bundle .card-price s { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-left: 4px; }
.bundle .note { margin: 12px 0 0; }

/* Custom design & workshops */
ol.steps { padding-left: 20px; margin: 0 0 24px; display: grid; gap: 8px; color: var(--muted); }
ol.steps strong { color: var(--ink); font-weight: 600; }
.workshop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.workshop { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.workshop h3 { margin-bottom: 4px; }
.workshop p { color: var(--muted); margin: 0 0 16px; }
.photo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.photo-row input[type=file] { background: #fff; width: 100%; }
.optional { font-weight: 400; color: var(--muted); }
.door-preview { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }

/* Form */
form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
label { font-size: .85rem; font-weight: 500; display: grid; gap: 6px; min-width: 0; }
input, select, textarea {
  max-width: 100%; min-width: 0;
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); border-color: transparent; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; background: var(--sage-soft); color: var(--sage-deep); }

footer { background: var(--brand-sage); color: #2f3829; padding: 56px 0 36px; font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer a { color: #1f261b; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .logo img { height: 130px; }
footer .small { grid-column: 1 / -1; border-top: 1px solid rgba(0,0,0,.12); padding-top: 22px; font-size: .8rem; }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
  .about, .season-layout, .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-shop { padding: 28px 0 56px; }
  .ph-corner { top: 8px; right: 8px; font-size: .56rem; letter-spacing: .08em; padding: 3px 8px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header .wrap { height: 68px; }
  .logo img { height: 50px; }
  section[id] { scroll-margin-top: 68px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 20px; border-bottom: 1px solid var(--line); gap: 16px; }
  .hide-sm { display: none; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  .hero .copy { padding: 32px 16px 8px; }
  .hero h1 { max-width: none; }
  footer { padding: 44px 0 28px; }
  footer .wrap { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  footer .wrap > div:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
  footer .logo img { height: 96px; }
  .hero .copy > p { font-size: 1.05rem; }
  .lede { font-size: 1.02rem; }
  .section-head { margin-bottom: 28px; }
  .page-head { padding: 40px 0 4px; }
  .page-head h1 { font-size: 2.2rem; }
  .season-tab { padding: 8px 14px; }
  .season-tab .name { font-size: 1.1rem; }
  .season-later { padding: 28px 18px; }
  .nav.open { display: flex; }
  .menu-btn { display: flex; align-items: center; gap: 8px; line-height: 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
}

/* Stock messages */
.unavailable { background: #f6e9ea; color: var(--burgundy); border-radius: 10px; padding: 12px 16px; font-weight: 500; margin: 0 0 18px; }
.sold-label { color: var(--muted); font-weight: 400; }
.mock-flag a, .mock-flag button { color: inherit; font: inherit; font-weight: 600; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }

/* Contact form */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 14px 16px; border-radius: 10px; background: #f6e9ea; color: var(--burgundy); font-weight: 500; }
.btn:disabled { opacity: .6; cursor: default; }

/* Shop (seasons) page: heading and season tabs centred; the products keep their normal layout */
.page-head.shop-page { text-align: center; }
.page-head.shop-page .lede { margin-left: auto; margin-right: auto; }
.after-head.shop-page .season-tabs { justify-content: center; }

/* Keep the test-mode strip's reset button on the same line */
.mock-flag { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }

/* Shop page wreaths: photo with its description beside it, the pair centred */
.style-list { display: grid; gap: 28px; justify-items: center; }
.style-list .style-card { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 380px); width: min(100%, 720px); }
.style-list .style-card .img { aspect-ratio: 4 / 5; }
.style-list .style-card .body { justify-content: center; padding: 28px 30px; }
.style-list .style-card p { flex: 0; }
.style-list .style-card h3 { font-size: 1.9rem; }
@media (max-width: 720px) {
  .style-list .style-card { grid-template-columns: 1fr; }
  .style-list .style-card .body { padding: 22px; }
}
.after-head.shop-page .disclaimer, .after-head.shop-page .secure { text-align: center; }

/* Coming-soon seasons: greyed-out wreath photo */
.product-tile .img { position: relative; }
/* Photos are greyed; the illustrated placeholders (.svg) show in full colour. */
.coming-soon .img img:not([src$='.svg']), .later-img img:not([src$='.svg']) { filter: grayscale(1) contrast(.85); opacity: .45; }
.coming-soon .img { background: #d9d5cc; }
.coming-soon:hover .img img { transform: none; }
.coming-soon .img .badge, .later-img .badge { position: absolute; top: 12px; left: 12px; }
.coming-soon .name { color: var(--muted); }
.later-img { position: relative; width: min(100%, 280px); margin: 0 auto 18px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #d9d5cc; }
.later-img img { width: 100%; height: 100%; object-fit: cover; }
.last-one { color: var(--burgundy); font-weight: 700; }
.stock .last-one { display: inline-block; background: #f6e9ea; padding: 2px 10px; border-radius: 999px; margin-right: 4px; }

/* Sold out: greyed photo with a band across it (home tiles, shop cards, product page) */
.sold-out-photo { position: relative; width: 100%; height: 100%; }
.sold-out-photo img { filter: grayscale(1); opacity: .55; }
.product-photo .sold-out-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sold-out-band { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; padding: 12px 8px;
  background: rgba(124, 29, 44, .92); color: #fff; font-family: var(--serif); font-size: 1.6rem; letter-spacing: .02em; }
.style-card.is-off .img .sold-out-photo img { filter: grayscale(1); opacity: .55; }
.product-tile:has(.sold-out-photo):hover .img img { transform: none; }

/* Season tabs: an even grid of equal-sized buttons (6 across on desktop, 3 on phones) */
.season-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 900px; margin-left: auto; margin-right: auto; }
.season-tab { text-align: center; justify-items: center; align-content: center; min-height: 64px; padding: 10px 8px; }
.season-tab .when { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 720px) {
  .season-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .season-tab { min-height: 58px; padding: 8px 4px; }
  .season-tab .name { font-size: 1.05rem; }
  .season-tab .when { font-size: .68rem; }
}
footer .small { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
footer .small a { text-decoration: underline; text-underline-offset: 2px; }

/* About and custom design photos keep their own shape (landscape door shots) */
.ph-photo img { aspect-ratio: auto; height: auto; }
.workshop-cta { text-align: center; margin: 32px 0 8px; }
.workshop p:last-child { margin-bottom: 0; }

/* Bundle builder: tick seasons, live price summary */
.bundle-builder { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bundle-builder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bundle-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bundle-option { position: relative; display: grid; gap: 10px; cursor: pointer; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 10px; transition: border-color .15s, box-shadow .15s; }
.bundle-option input { position: absolute; opacity: 0; pointer-events: none; }
.bundle-option .thumb { display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #d9d5cc; }
.bundle-option .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bundle-option .text { display: grid; gap: 1px; padding: 0 4px 4px; }
.bundle-option .category { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.bundle-option .name { font-family: var(--serif); font-size: 1.15rem; color: var(--sage-deep); line-height: 1.2; }
.bundle-option .price { color: var(--burgundy); font-weight: 500; font-size: .95rem; }
.bundle-option .tick { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 2px solid var(--line); }
.bundle-option:has(input:checked) { border-color: var(--burgundy); box-shadow: 0 0 0 1px var(--burgundy); }
.bundle-option:has(input:checked) .tick { background: var(--burgundy); border-color: var(--burgundy); }
.bundle-option:has(input:checked) .tick::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.bundle-option:has(input:focus-visible) { outline: 3px solid var(--brand-sage); outline-offset: 2px; }
.bundle-option.is-disabled { cursor: default; opacity: .6; }
.bundle-option.is-disabled .thumb img { filter: grayscale(1); }
.bundle-option.is-disabled .tick { display: none; }
.bundle-option.is-disabled .name { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.bundle-summary { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.bundle-summary p { margin: 0; }
.bundle-summary .count { font-family: var(--serif); font-size: 1.5rem; color: var(--sage-deep); }
.bundle-summary ul { list-style: none; margin: 0; padding: 0; }
.bundle-summary li, .bundle-summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; border-bottom: 1px dashed var(--line); }
.bundle-summary .saving { color: var(--sage-deep); font-weight: 600; }
.bundle-summary .total { font-weight: 700; font-size: 1.1rem; border-bottom: 0; }
.bundle-summary .nudge { color: var(--burgundy); font-weight: 500; font-size: .92rem; }
.bundle-summary .btn { text-align: center; }
@media (max-width: 900px) {
  .bundle-builder { grid-template-columns: 1fr; }
  .bundle-summary { position: static; }
}
@media (max-width: 720px) {
  .bundle-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bundle-option .name { font-size: 1rem; }
}

/* Home landing: a shorter hero so the wreaths show sooner */
.hero { min-height: 0; height: min(62vh, 560px); }
.hero .copy { padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.hero .copy > p { font-size: 1.05rem; }
.hero .photo { min-height: 0; }
@media (max-width: 900px) {
  .hero { height: auto; }
  .hero .photo { min-height: 0; height: 46vw; max-height: 320px; }
  .hero .copy { padding: 28px 16px 36px; }
}
.hero h1 { max-width: 15ch; }

/* Product page gallery: main photo + close-up thumbnails */
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s; }
.gallery-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { opacity: 1; border-color: var(--burgundy); }
.gallery-thumb:focus-visible { outline: 3px solid var(--brand-sage); outline-offset: 2px; }
.gallery-thumbs.in-card { gap: 8px; margin: 2px 0 14px; max-width: 280px; }
.gallery-thumbs.in-card .gallery-thumb { border-radius: 8px; }

/* Home landing: text only (no photo) */
.hero.hero-text { display: block; height: auto; padding: 56px 0 24px; }
.hero.hero-text .copy { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 720px) {
  .hero.hero-text { padding: 36px 0 8px; }
  .hero.hero-text .copy { padding: 0 16px; }
}
.hero.hero-text { text-align: center; }
.hero.hero-text h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero.hero-text .copy > p { margin-left: auto; margin-right: auto; }
.hero.hero-text .actions { justify-content: center; }
.hero.hero-text h1 { margin-bottom: 0; }
/* Landing heading on one line where there's room */
.hero.hero-text h1 { max-width: none; font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
@media (min-width: 721px) { .hero.hero-text h1 { white-space: nowrap; } }
.see-all { text-align: center; margin: 28px 0 0; }
.home-shop { padding-top: 24px; }

/* Product page quantity picker, beside the buy button */
.product-info .buy { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.qty-picker { display: grid; gap: 4px; font-size: .8rem; font-weight: 500; color: var(--muted); }
.qty-picker select { padding: 12px 14px; min-width: 76px; border-radius: 999px; font-size: .95rem; color: var(--ink); }
.product-info .made-in { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }

/* Four seasons (home tiles, seasons page) */
.hero.hero-text .intro-lines { line-height: 1.8; margin-bottom: 1em; }
.hero.hero-text .intro-lines span { display: block; }
@media (max-width: 720px) { .hero.hero-text .intro-lines { letter-spacing: .08em; font-size: .72rem; } }
.home-shop .choose { text-align: center; color: var(--muted); margin: 0 0 24px; }
.season-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
/* Five tiles (the seasons and Ribbon wreaths) sit in one row on desktop. */
@media (min-width: 901px) { .season-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
/* Season names stay on one line, shrinking to fit the tile or tab when a name is long
   ("Winter / Christmas"): 11.5cqi fits about 8.5em of text in the tile/tab's width. */
.season-tile, .season-tab { container-type: inline-size; }
.season-tile .name { font-size: min(1.7rem, 11.5cqi); margin: 0 0 2px; white-space: nowrap; }
.season-tile .category { letter-spacing: .06em; font-size: .72rem; margin-bottom: 4px; }
.season-tile .price { font-size: .92rem; }
@media (max-width: 900px) { .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } }
@media (max-width: 720px) {
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .season-tile .name { font-size: min(1.35rem, 11.5cqi); }
  .season-tile .price { font-size: .82rem; }
}
.season-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; }
@media (max-width: 720px) { .season-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Five tabs (the seasons and Ribbon wreaths): one row on desktop; on phones the odd last one is centred. */
@media (min-width: 721px) { .season-tabs:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 960px; } }
.season-tab .name { white-space: nowrap; font-size: min(1.25rem, 11.5cqi); }
@media (max-width: 720px) { .season-tab .name { font-size: min(1.05rem, 11.5cqi); } }
@media (max-width: 720px) { .season-tabs > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 4px); } }
.season-intro { text-align: center; max-width: 60ch; margin: 0 auto 28px; }
.season-intro p { margin: 0 0 6px; color: var(--muted); }
.season-intro .eyebrow { margin-bottom: 8px; }
.season-intro .delivery { font-size: .92rem; }
.product-info .multibuy { font-size: .9rem; color: var(--muted); }
.bundle-option.is-full { cursor: default; opacity: .45; }
#contact-form [hidden] { display: none !important; }

/* Delivery date picker (Christmas wreaths) */
.product-info .buy { flex-wrap: wrap; }
.date-picker { display: grid; gap: 4px; font-size: .85rem; font-weight: 500; }
.date-picker select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.date-error { color: var(--burgundy); font-weight: 500; font-size: .9rem; margin: -10px 0 14px; }
.bundle-date { margin: 14px 0; }
.bundle-date .note { margin: 6px 0 0; font-size: .85rem; }

/* Size toggle (product page) */
.size-picker { border: 0; padding: 0; margin: 0 0 18px; }
.size-picker legend { font-size: .85rem; font-weight: 500; padding: 0; margin-bottom: 6px; }
.size-picker label { display: inline-block; margin-right: 8px; cursor: pointer; }
.size-picker input { position: absolute; opacity: 0; pointer-events: none; }
.size-picker span { display: inline-block; min-width: 72px; text-align: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; color: var(--ink); transition: background .15s, border-color .15s; }
.size-picker label:hover span { border-color: var(--sage-deep); }
.size-picker input:checked + span { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.size-picker input:focus-visible + span { outline: 3px solid var(--brand-sage); outline-offset: 2px; }
/* Size choice in each bundle option */
.bundle-option .price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bundle-size { font: inherit; font-size: .85rem; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }

/* Wreath photos are never cropped: shown whole (contain) in their frame, with the space
   around them filled by a blurred copy of the same photo (--bg, set by shop-render.js). */
.fit { position: relative; overflow: hidden; isolation: isolate; background-color: var(--cream); }
.fit::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--bg, none) center / cover no-repeat; filter: blur(20px) brightness(.92); }
.fit:has(.sold-out-photo)::before { filter: blur(20px) brightness(.92) grayscale(1); opacity: .55; }
.fit img { object-fit: contain !important; position: relative; }
.gallery-main.fit { border-radius: var(--radius); }
.gallery-main.fit img { border-radius: 0; }
/* The season photos are square, so the home page season tiles are too. */
.season-tile .img { aspect-ratio: 1; }

/* Menu: 8 links plus Shop only fit on one line from about 1000px wide, so narrower screens
   (tablets too) get the ☰ menu. Labels never wrap onto two lines. */
.nav a { white-space: nowrap; }
@media (max-width: 1000px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 20px; border-bottom: 1px solid var(--line); gap: 16px; }
  .nav.open { display: flex; }
  .menu-btn { display: flex; align-items: center; gap: 8px; line-height: 1; }
}

/* A sold-out size can't be chosen. */
.size-picker label.is-sold { cursor: default; }
.size-picker label.is-sold span { opacity: .5; text-decoration: line-through; }
.qty-picker[hidden] { display: none; }

/* Coming-soon seasons: the season's photo in full colour, with a "Coming soon" badge. */
.season-tile .img .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.later-img img:not([src$='.svg']) { filter: none; opacity: 1; }

/* A wreath with one size shows it as text on the bundles page. */
.bundle-option .bundle-size-label { font-size: .85rem; color: var(--muted); }

/* A wreath with one size shows it as text on its page. */
.product-info .size-line { margin: 0 0 14px; color: var(--muted); }
.product-info .size-line strong { color: var(--ink); font-weight: 600; }

/* Home: the heading, with a small line underneath. The heading wraps on smaller screens. */
.hero.hero-text h1 { white-space: normal !important; max-width: 32ch; }
.hero.hero-text .hero-sub { margin: 14px 0 0; }

/* No handmade note set: no gap where it would be. */
.disclaimer:empty { display: none; }

/* Home: the logo as a pale green banner (like the logo stickers), with the heading smaller beneath it. */
.logo-banner { background: var(--sage-soft); padding: 40px 16px; text-align: center; }
.logo-banner img { display: block; width: min(420px, 78vw); height: auto; margin: 0 auto; }
.hero.hero-text { padding-top: 36px; }
.hero.hero-text h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 720px) { .logo-banner { padding: 28px 16px; } .hero.hero-text { padding-top: 24px; } .hero.hero-text h1 { font-size: 1.4rem; } }
/* On the home page the banner is the logo, so the small header logo would repeat it. */
body:has(.logo-banner) .site-header .logo { display: none; }
@media (min-width: 1001px) { body:has(.logo-banner) .site-header .wrap { justify-content: center; } }
@media (max-width: 1000px) { body:has(.logo-banner) .site-header .wrap { justify-content: flex-end; } }
@media (max-width: 720px) {
  body:has(.logo-banner) .site-header .wrap { height: 52px; }
  .logo-banner { padding: 18px 16px; }
  .logo-banner img { width: min(300px, 70vw); }
  .hero.hero-text { padding-top: 18px; }
  .hero.hero-text .intro-lines { margin-bottom: .4em; }
}

/* Workshop booking cards (src/workshops.js) */
.workshop.session { display: flex; flex-direction: column; gap: 10px; }
.workshop.session h3, .workshop.session p { margin: 0; }
.session .when { color: var(--ink); }
.session .price { font-family: var(--serif); font-size: 1.35rem; color: var(--burgundy); }
.session .places { font-weight: 600; color: var(--sage-deep); }
.session .book { display: grid; gap: 12px; margin-top: 4px; }
.session .book > label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.session .book select { width: auto; min-width: 72px; }
.session .plan { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.session .plan legend { font-weight: 500; padding: 0; margin-bottom: 4px; }
.session .plan label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: .95rem; }
.session .plan input { padding: 0; margin: 0; accent-color: var(--burgundy); }
.session .book .btn { justify-self: start; }
.session .terms { font-size: .85rem; }
.session .chip { display: inline-block; background: var(--sage-soft); color: var(--sage-deep); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .85rem; }
.workshop-questions { text-align: center; margin: 28px 0 0; }
.workshop.group { display: flex; flex-direction: column; gap: 10px; }
.workshop.group h3, .workshop.group p { margin: 0; }
.group .when { color: var(--ink); font-weight: 500; }
/* Price and button sit at the bottom, so they line up across cards of different lengths. */
.workshop.group .price { font-family: var(--serif); font-size: 1.25rem; color: var(--burgundy); margin-top: auto; padding-top: 4px; }
.group .go { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.group .chip { display: inline-block; background: var(--sage-soft); color: var(--sage-deep); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .85rem; }
/* More room under the price, button and terms on wider screens. */
@media (min-width: 721px) {
  .workshop.group, .workshop.session { padding-bottom: 36px; }
  .group .go { padding-top: 8px; }
}

/* Privacy policy and terms of sale */
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.4rem; margin: 32px 0 10px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--ink); line-height: 1.65; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal > p:first-child { color: var(--muted); font-size: .9rem; }

/* Page not found */
.not-found-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Two across on smaller screens: an odd last tile sits centred on its own row. */
@media (max-width: 900px) { .season-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); } }
