/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #2d5a27;
  --green-l: #4a7c3f;
  --pink:    #e8a598;
  --cream:   #faf8f5;
  --light:   #f3f0eb;
  --border:  #e4dfd8;
  --text:    #1a1a1a;
  --muted:   #6b7280;
  --white:   #ffffff;
  --radius:  10px;
  --shadow:  0 2px 12px rgba(0,0,0,.08);
  --shadow-h:0 6px 24px rgba(0,0,0,.13);
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.section-title {
  text-align: center;
  margin-bottom: .5rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section  { padding: 4rem 0; }
.section-light { background: var(--cream); }

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.logo-e {
  color: var(--pink);
  font-style: italic;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-group {
  position: relative;
}

.nav-item, .nav-group > a {
  display: block;
  padding: .5rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.nav-item:hover, .nav-group > a:hover {
  background: var(--light);
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  min-width: 200px;
  padding: .5rem 0;
  z-index: 200;
}

.dropdown-wide { min-width: 220px; }

.dropdown a {
  display: block;
  padding: .5rem 1.1rem;
  font-size: .875rem;
  transition: background .1s;
}
.dropdown a:hover { background: var(--cream); }

.nav-group:hover .dropdown { display: block; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
    gap: 0;
  }
  body.nav-open .main-nav { display: flex; }
  .nav-group { width: 100%; }
  .nav-group > a, .nav-item { padding: .75rem .5rem; width: 100%; }
  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    margin: 0 0 .5rem 1rem;
    padding: 0;
    border-radius: 0;
  }
  .dropdown a { padding: .5rem .75rem; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .8rem 1.75rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  transition: .15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-l); }
.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, #1e3d1a 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero-sub {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: .75rem;
}

.hero-content h1 { color: var(--white); margin-bottom: 1rem; }

.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-trust span {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}

.breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }

.occasion-icon { font-size: 2.5rem; margin-bottom: .5rem; }

/* ── Occasion strip ──────────────────────────────────────────────────────── */
.occasion-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}

.pill-scroll {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.pill-scroll::-webkit-scrollbar { display: none; }

.pill-scroll-wrap { flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .9rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .825rem;
  font-weight: 500;
  white-space: nowrap;
  transition: .15s;
}
.pill:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ── Product grid ────────────────────────────────────────────────────────── */
.demo-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: .75rem 1rem;
  font-size: .85rem;
  margin-bottom: 1.5rem;
}
.demo-notice code {
  font-family: monospace;
  background: rgba(0,0,0,.07);
  padding: .1em .3em;
  border-radius: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-3px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--light);
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  width: 100%;
  height: 100%;
}

.prime-badge {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: #00a8e0;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
  letter-spacing: .04em;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem;
  flex: 1;
}
.product-title {
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}
.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
}
.btn-amazon {
  display: block;
  background: #ff9900;
  color: var(--white);
  text-align: center;
  padding: .6rem .75rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  margin-top: auto;
  transition: background .15s;
}
.product-card:hover .btn-amazon { background: #e88800; }

/* ── Trust cards ─────────────────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-grid, .trust-row { grid-template-columns: 1fr; }
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.trust-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.trust-card h3 { margin-bottom: .5rem; font-size: 1rem; }
.trust-card p  { font-size: .9rem; color: var(--muted); }

/* ── Type grid ───────────────────────────────────────────────────────────── */
.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }

.type-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  text-align: center;
  padding: 1rem .75rem;
  border: 2px solid var(--accent, var(--green));
  color: var(--accent, var(--green));
  transition: .15s;
}
.type-card:hover {
  background: var(--accent, var(--green));
  color: var(--white);
}
.type-name { line-height: 1.3; }

/* ── Town grid ───────────────────────────────────────────────────────────── */
.town-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.town-pill {
  display: inline-block;
  padding: .4rem .85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .85rem;
  transition: .15s;
}
.town-pill:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section { max-width: 780px; margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--green);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 1.25rem 1rem;
  font-size: .9rem;
  color: var(--muted);
}

/* ── Blog ────────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-3px);
}
.blog-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.04); }

.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.blog-date { font-size: .8rem; color: var(--muted); }
.blog-card-body h2 { font-size: 1.1rem; }
.blog-card-body p  { font-size: .875rem; color: var(--muted); flex: 1; }
.btn-link { color: var(--green); font-weight: 600; font-size: .875rem; }

/* ── Hero variants ───────────────────────────────────────────────────────── */
.hero-occasion {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--occasion-colour, #2d5a27) 80%, #000) 0%,
    color-mix(in srgb, var(--occasion-colour, #2d5a27) 40%, #000) 100%
  );
}
.hero-type {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--type-colour, #2d5a27) 70%, #000) 0%,
    color-mix(in srgb, var(--type-colour, #2d5a27) 30%, #000) 100%
  );
}
.hero-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.75);
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1.25rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo { color: var(--white); margin-bottom: .75rem; }
.footer-brand p { font-size: .875rem; line-height: 1.6; }
.footer-disclosure { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .75rem; }

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: .75rem;
}
.footer-links a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  padding: .2rem 0;
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.25rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--white); }
