:root {
  --bg: #1e2a23; --panel: #243129; --line: #35453b;
  --gold: #d9b98a; --cream: #f0ece4; --sage: #a8b5aa; --stock: #8fbf9a;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

/* Nav */
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.nav .logo { font-family: var(--serif); font-size: 22px; color: var(--gold); letter-spacing: 1px; }
.nav ul { display: flex; gap: 26px; list-style: none; }
.nav a { color: var(--sage); font-size: 14px; } .nav a:hover, .nav a.on { color: var(--gold); }
@media (max-width: 640px) {
  .nav .wrap { flex-direction: column; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .nav .logo { white-space: nowrap; }
  .nav ul { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .nav a { font-size: 13px; }
}

/* Split homepage hero */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; }
/* aspect-ratio keeps the crop gentle on the (near-)square product photography;
   at 4:3 a square shot loses ~12% top and bottom instead of macro-cropping */
.panel { position: relative; aspect-ratio: 4 / 3; min-height: 380px; max-height: 600px;
  background-size: cover; background-position: center; width: 100%;
  display: flex; align-items: flex-end; overflow: hidden; }
.panel-fresh { background-position: center 32%; } /* bias to the flower heads, crop the box below */
.panel::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30, 42, 35, 0.15) 30%, rgba(30, 42, 35, 0.85)); }
.panel-inner { position: relative; padding: 34px 36px 38px; max-width: 480px; }
.panel h2 { font-size: 32px; color: var(--cream); }
.panel p { color: var(--sage); margin-top: 6px; font-size: 15px; }
.panel .buy { display: inline-block; padding: 11px 26px; margin-top: 16px; }
.panel:hover .buy { background: var(--cream); border-color: var(--cream); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  /* full-width square panels: the square shots show the whole bouquet uncropped */
  .panel { aspect-ratio: 1 / 1; min-height: 0; max-height: none; }
  .panel h2 { font-size: 26px; }
}
.viewall { text-align: center; padding: 4px 0 34px; }
.viewall a { color: var(--gold); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

/* Homepage */
.intro { text-align: center; padding: 44px 0 8px; }
.intro h1 { font-size: 38px; }
.intro p { color: var(--sage); margin-top: 6px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 22px 0 30px; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 7px 20px; font-size: 14px; color: var(--sage); background: none; cursor: pointer; font-family: var(--sans); }
.filter.on { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.subfilters { display: none; padding-top: 0; margin-top: -16px; }
.subfilters.show { display: flex; }
.subfilter { border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; font-size: 12.5px;
  color: var(--sage); background: none; cursor: pointer; font-family: var(--sans); }
.subfilter.on { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 44px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .grid { grid-template-columns: repeat(2, 1fr); } .intro h1 { font-size: 28px; } }
@media (max-width: 460px)  { .grid { grid-template-columns: 1fr; } }
.prod { background: var(--panel); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.prod img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.prod .pb { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.prod .coll { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.prod h3 { font-size: 19px; margin-top: 2px; }
.prod .sub { font-size: 13px; color: var(--sage); }
.prod .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.prod .price { font-size: 16px; }
.stock { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--stock); }
.stock.out { color: var(--sage); }
.stock.addon { color: var(--gold); }
.buy { display: block; text-align: center; background: var(--gold); color: var(--bg); font-size: 12px;
  letter-spacing: 1px; text-transform: uppercase; padding: 10px 0; margin-top: 12px; border-radius: 2px; }
.buy.out { background: none; border: 1px solid var(--line); color: var(--sage); }

/* Trust strip, guides row, footer */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding-top: 18px; padding-bottom: 18px; color: var(--sage); font-size: 14px; }
.sechead { text-align: center; padding: 40px 0 6px; }
.sechead .eyebrow { color: var(--gold); letter-spacing: 2.5px; font-size: 12px; text-transform: uppercase; }
.sechead h2, .sechead h1 { font-size: 26px; margin-top: 6px; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 0 46px; }
@media (max-width: 760px) { .guides { grid-template-columns: 1fr; } }
.guide { border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.guide .g-tag { color: var(--gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.guide h3 { font-size: 19px; margin-top: 8px; }
.guide p { color: var(--sage); font-size: 14px; margin-top: 8px; }
.footer { border-top: 1px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; color: var(--sage); font-size: 13px; }

/* Fresh flowers teaser band (homepage) */
.teaser { border-bottom: 1px solid var(--line); }
.teaser .wrap { text-align: center; padding-top: 40px; padding-bottom: 44px; }
.teaser .eyebrow { color: var(--gold); letter-spacing: 2.5px; font-size: 12px; text-transform: uppercase; }
.teaser h2 { font-size: 26px; margin-top: 6px; }
.teaser .buy { display: inline-block; padding: 12px 30px; margin-top: 18px; }

/* Product page */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 44px 0; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } }
.pd .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pd .thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; cursor: pointer; }
.pd h1 { font-size: 32px; }
.pd .sub { color: var(--sage); margin-top: 4px; }
.pd .price { font-size: 24px; margin-top: 16px; }
.pd .desc { color: var(--sage); margin-top: 18px; font-size: 15px; }
.pd .desc p { margin-bottom: 12px; }
.pd .buy { max-width: 340px; padding: 13px 0; font-size: 13px; }
.pd .note { font-size: 12.5px; color: var(--sage); margin-top: 10px; }
.pd .notice { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 3px; padding: 12px 14px; margin-top: 14px; max-width: 340px; font-size: 14px; color: var(--cream); }
.pd .notice a { color: var(--gold); text-decoration: underline; }

/* Article / static pages */
.article { max-width: 960px; margin: 0 auto; padding: 44px 24px 60px; }
.article h1 { font-size: 34px; margin-bottom: 20px; }
.article h2 { font-size: 25px; margin: 28px 0 10px; }
.article h3 { font-size: 20px; margin: 22px 0 8px; }
.article p, .article li { color: var(--sage); margin-bottom: 14px; font-size: 17px; line-height: 1.7; }
.article ul, .article ol { padding-left: 22px; }
.article img { border-radius: 4px; margin: 18px 0; }
.article a { color: var(--gold); text-decoration: underline; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.article strong { color: var(--cream); }
.single-post-image img { width: 100%; height: auto; object-fit: cover; }

/* WP fragment overrides: inline colours from the old light theme don't read on the
   dark background, so pull the intro paragraph back to the palette. */
.article p.has-text-color { color: var(--cream) !important; }

/* FAQ accordion + category filter */
.faq-categories { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.faq-cat-btn { border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; font-size: 13px;
  color: var(--sage); background: none; cursor: pointer; font-family: var(--sans); }
.faq-cat-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.faq-group { margin-top: 34px; }
.faq-group.hidden { display: none; }
.faq-jump { color: var(--sage); font-size: 14px; margin-bottom: 18px; }
.faq-jump a { color: var(--gold); }
.article h2 { scroll-margin-top: 12px; }
.toc { border: 1px solid var(--line); border-radius: 4px; padding: 16px 20px; margin: 18px 0 8px; }
.toc-title { color: var(--gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.toc ul { list-style: none; margin-top: 8px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--sage); font-size: 14px; }
.toc a:hover { color: var(--gold); }
.faq-section-title { color: var(--gold); font-size: 28px; margin-top: 44px; scroll-margin-top: 12px; }
.faq-section-title.hidden { display: none; }
.faq-group-title { color: var(--gold); font-size: 22px; margin-bottom: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  text-align: left; background: none; border: 0; color: var(--cream); font-family: var(--serif);
  font-size: 17px; padding: 15px 18px; cursor: pointer; line-height: 1.4; }
.faq-question span { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.faq-answer { display: none; padding: 0 18px 16px; color: var(--sage); font-size: 15px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span { transform: rotate(45deg); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.article:has(.contact-grid) { max-width: 1080px; }
.contact-info-cards { display: grid; gap: 14px; }
.contact-info-card { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; }
.contact-info-card h4 { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--gold); margin-bottom: 6px; }
.contact-info-card p { color: var(--sage); font-size: 14px; margin-bottom: 0; }
.contact-info-card p + p { margin-top: 10px; }
.contact-info-card strong { color: var(--cream); }

/* Guide CTA boxes */
.category-cta-box { background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 24px; margin: 26px 0; }
.category-cta-box h4 { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--gold); margin-bottom: 8px; }
.category-cta-box p { color: var(--sage); margin-bottom: 14px; }
.article a.button { display: inline-block; background: var(--gold); color: var(--bg); border-radius: 2px;
  padding: 10px 22px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }

/* Our Story CTA box (light panel kept from the old theme, restyled to palette) */
.df-story-cta { background: var(--panel) !important; border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 24px !important; margin-top: 30px; }
.df-story-cta h3 { color: var(--gold) !important; margin-top: 0; }
.df-story-cta p { color: var(--sage) !important; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.wp-block-button__link { display: inline-block; background: var(--gold) !important; color: var(--bg) !important;
  border: 1px solid var(--gold) !important; border-radius: 2px; padding: 10px 22px; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none !important; }
.is-style-outline .wp-block-button__link { background: none !important; color: var(--gold) !important;
  border-color: var(--line) !important; }

/* Contact map embed */
.map-embed { margin: 18px 0 24px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; }
