/* =========================================================================
   APBees — Stylesheet
   Brand palette derived from the APBees logo: honey golds, deep teal,
   ember orange, cream parchment. Folk-art / artisan personality.
   =========================================================================*/

:root {
  /* Brand palette */
  --honey-50:  #FFF7E1;
  --honey-100: #FCEBBE;
  --honey-200: #F7D784;
  --honey-300: #F0BE4F;
  --honey-400: #E29A1F;   /* primary honey */
  --honey-500: #C77A0E;
  --honey-600: #9A5A06;

  --teal-300:  #4FB3A8;
  --teal-500:  #1F7F78;   /* deep teal accent */
  --teal-700:  #14524E;

  --ember-400: #E8693B;   /* warm ember accent */
  --ember-600: #B24A22;

  --cream:     #FDF6E3;   /* page background */
  --parchment: #F5EAC8;
  --ink:       #2A1A0B;   /* primary text */
  --ink-soft:  #5B4326;   /* secondary text */
  --line:      #E6D7AF;

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.2vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.075rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  --text-xl:   clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --text-2xl:  clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  --text-hero: clamp(2.5rem, 1.6rem + 4.5vw, 4.75rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(42, 26, 11, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 26, 11, 0.10);
  --shadow-lg: 0 18px 48px rgba(42, 26, 11, 0.16);

  --max-width: 1180px;

  /* Fonts: Fraunces for display (warm serif with bee-like character),
             Plus Jakarta Sans for body (friendly, legible). */
  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ember-600); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-hero); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p  { margin: 0 0 var(--space-4); color: var(--ink-soft); max-width: 65ch; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-500);
  margin-bottom: var(--space-3);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--honey-400);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--honey-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-500);
}
.btn-outline:hover {
  background: var(--teal-500);
  color: var(--cream);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-700);
  color: var(--honey-100);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}
.topbar a { color: var(--honey-100); }
.topbar a:hover { color: var(--honey-300); }

/* Cross-page basket badge in topbar */
.topbar-basket-badge[hidden] { display: none !important; }
.topbar-basket-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--honey-400, #f4b942);
  color: var(--ink, #2a1d0c) !important;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
  margin-left: 0.75rem;
}
.topbar-basket-badge:hover {
  background: var(--honey-300, #ffd479);
  color: var(--ink, #2a1d0c) !important;
  transform: translateY(-1px);
}
.topbar-basket-badge:focus-visible {
  outline: 2px solid var(--honey-100, #fff3cf);
  outline-offset: 2px;
}
.topbar-basket-icon { font-size: 0.95rem; line-height: 1; }
.topbar-basket-label { font-size: 0.75rem; }
.topbar-basket-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--teal-700, #0e4a4a);
  color: var(--honey-100, #fff3cf);
  font-size: 0.7rem;
  font-weight: 700;
}
@media (max-width: 520px) {
  .topbar-basket-label { display: none; }
  .topbar-basket-badge { padding: 0.15rem 0.55rem; }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Fully opaque so product images never bleed through while scrolling */
  background: var(--cream, #fdf6e3);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--honey-300);
  box-shadow: var(--shadow-sm);
  background: var(--honey-50);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-top: 4px;
  font-weight: 600;
}

/* Menu */
.menu {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > li { position: relative; }
.menu a, .menu .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 0.95rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.menu a:hover, .menu .menu-link:hover,
.menu a[aria-current="page"] {
  background: var(--honey-100);
  color: var(--ink);
}
.menu .caret {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
  margin-top: -3px;
  transition: transform .2s ease;
}
.menu .has-dropdown[aria-expanded="true"] .caret { transform: rotate(-135deg); margin-top: 3px; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 70;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown[aria-expanded="true"] .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--ink);
  font-weight: 500;
}
.dropdown a:hover { background: var(--honey-100); color: var(--ember-600); }
.dropdown a small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--honey-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: var(--space-4);
    gap: 4px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .menu.open { display: flex; }
  .menu > li { width: 100%; }
  .menu a, .menu .menu-link { width: 100%; justify-content: space-between; padding: 0.85rem 1rem; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--honey-50);
    margin-top: 4px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  }
  .has-dropdown[aria-expanded="true"] .dropdown { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(226, 154, 31, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(31, 127, 120, 0.14), transparent 65%),
    linear-gradient(180deg, var(--cream), var(--parchment));
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--honey-500), var(--ember-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero p.lead {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -8% -8% -8%;
  background:
    radial-gradient(closest-side, rgba(240, 190, 79, 0.45), transparent 70%);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(42, 26, 11, 0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Honeycomb pattern, used as section divider */
.honeycomb-divider {
  height: 28px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 32' fill='none'><path d='M14 0l14 8v16L14 32 0 24V8z' stroke='%23E29A1F' stroke-opacity='0.35' stroke-width='1.2'/><path d='M42 0l14 8v16L42 32 28 24V8z' stroke='%23E29A1F' stroke-opacity='0.35' stroke-width='1.2'/></svg>");
  background-size: 56px 32px;
  background-repeat: repeat-x;
  opacity: 0.9;
}

/* ---------- Sections ---------- */
section.section {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}
.section-head p { margin-left: auto; margin-right: auto; }

/* Feature trio */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--honey-100);
  display: grid; place-items: center;
  color: var(--ember-600);
  margin-bottom: var(--space-4);
}
.feature h3 { font-size: var(--text-lg); }
.feature p  { margin-bottom: 0; font-size: var(--text-sm); }

/* Apiary feature cards: icon + heading on one row, optional image, paragraph */
.feature-apiary { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.feature-apiary .feature-head {
  display: flex; align-items: center; gap: var(--space-3);
  margin: 0;
}
.feature-apiary .feature-icon { margin: 0; width: 48px; height: 48px; flex: 0 0 48px; }
.feature-apiary h3 { margin: 0; }
.feature-apiary .feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--honey-50, #fbf2dc);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
}
.feature-apiary .feature-media[hidden] { display: none; }
.feature-apiary .feature-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(closest-side, var(--honey-200), var(--honey-100) 70%, var(--honey-50));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.product-media svg { width: 60%; height: 60%; }
.product-card .product-media img.product-photo,
.product-media .product-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  max-width: calc(100% - var(--space-3) * 2);
  background: var(--teal-500);
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
.product-badge.static {
  position: static;
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--space-3);
}
.product-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product-body h3 { font-size: var(--text-lg); margin-bottom: 4px; }
.product-body .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ember-600);
  font-size: var(--text-lg);
}
.product-body p { font-size: var(--text-sm); margin-bottom: 0; }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* About / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--parchment);
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.split-image img { width: 88%; height: 88%; object-fit: contain; }

/* Stats strip */
.stats {
  background: var(--teal-700);
  color: var(--honey-100);
  padding: var(--space-12) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  color: var(--honey-300);
  line-height: 1;
  display: block;
}
.stat .label {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey-100);
  opacity: 0.85;
}

/* Testimonials */
.quote-card {
  background: white;
  border: 1px solid var(--line);
  border-left: 5px solid var(--honey-400);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: var(--text-lg);
  position: relative;
}
.quote-card cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--teal-500);
  letter-spacing: 0.05em;
}
.quotes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--honey-400), var(--ember-400));
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-banner h2 { color: var(--ink); }
.cta-banner p { color: var(--ink); opacity: 0.85; margin-left: auto; margin-right: auto; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--parchment), var(--cream));
  padding: var(--space-20) 0 var(--space-12);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.page-hero p { margin: 0 auto; }

/* ---------- Online ordering ---------- */
.order-hero {
  background:
    radial-gradient(800px 420px at 90% 10%, rgba(31, 127, 120, 0.16), transparent 62%),
    linear-gradient(180deg, var(--parchment), var(--cream));
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: var(--space-8);
  align-items: start;
}
.shop-head {
  text-align: left;
  margin: 0 0 var(--space-8);
}
.shop-head p {
  margin-left: 0;
}
code {
  background: var(--honey-100);
  color: var(--ink);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}
.shop-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.shop-product {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 310px;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.shop-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.shop-product h3 {
  margin-bottom: var(--space-2);
}
.shop-product-image {
  width: calc(100% + (var(--space-6) * 2));
  /* Show the whole product image — no cropping. Aspect ratio keeps cards uniform. */
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) 0;
  border-bottom: 1px solid var(--line);
  background: var(--honey-50);
}
.shop-product p {
  font-size: var(--text-sm);
}
.shop-category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-500);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.shop-subtitle {
  color: var(--ink);
  font-weight: 700;
}
.shop-product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.shop-product.in-basket {
  border-color: var(--brand-deep, #1e5f5c);
  box-shadow: 0 0 0 1px var(--brand-deep, #1e5f5c) inset, var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05));
}
.shop-qty-group {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  background: #fff;
}
.shop-qty-btn {
  background: #f8f5ee;
  border: 0;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink, #2a1a0b);
  transition: background .12s ease;
}
.shop-qty-btn:hover,
.shop-qty-btn:focus {
  background: var(--brand-honey, #e29a1f);
  color: #fff;
  outline: none;
}
.shop-qty-value {
  min-width: 2rem;
  padding: 0 .35rem;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.shop-in-basket-pill {
  display: inline-block;
  font-size: var(--text-xs, .8rem);
  color: var(--brand-deep, #1e5f5c);
  font-weight: 600;
  background: rgba(30, 95, 92, 0.08);
  padding: .15rem .55rem;
  border-radius: 999px;
  margin-left: .5rem;
}
.shop-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-8, 2rem) 0;
  color: var(--ink-soft, #6b5840);
  font-style: italic;
}
.cart-count-inline {
  font-weight: 600;
  margin-left: .35rem;
}

/* ---------- Floating basket FAB + slide-out drawer (products.html) ---------- */
.basket-fab[hidden] { display: none !important; }
.basket-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-honey, #e29a1f);
  color: #2a1a0b;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.basket-fab.visible {
  opacity: 1;
  transform: translateY(0);
}
.basket-fab:hover,
.basket-fab:focus {
  background: #f5b13b;
  outline: none;
}
.basket-fab-icon {
  font-size: 1.2rem;
  line-height: 1;
}
.basket-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.basket-fab-count {
  font-size: .78rem;
  font-weight: 600;
  opacity: .85;
}
.basket-fab-total {
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.basket-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 5, 0.45);
  z-index: 70;
  opacity: 0;
  transition: opacity .2s ease;
}
.basket-overlay.open { opacity: 1; }

.basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform .22s ease;
}
.basket-drawer.open { transform: translateX(0); }
.basket-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line, #eadfc8);
}
.basket-drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.basket-drawer-close {
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink, #2a1a0b);
  padding: 0 .25rem;
}
.basket-drawer-close:hover { color: var(--brand-honey, #e29a1f); }
.basket-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}
.basket-drawer-empty {
  color: var(--ink-soft, #6b5840);
  text-align: center;
  padding: 2rem 0;
}
.basket-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.basket-drawer-foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line, #eadfc8);
  background: #fdfaf3;
}
.basket-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .35rem;
  font-size: 1.05rem;
}
.basket-drawer-subtotal strong {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.basket-drawer-note {
  margin: 0 0 .85rem;
  font-size: .8rem;
  color: var(--ink-soft, #6b5840);
}
.basket-drawer-checkout {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: .5rem;
}
.basket-drawer-checkout[aria-disabled="true"] {
  opacity: .5;
  pointer-events: none;
}
.basket-drawer-keep-shopping {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--brand-deep, #1e5f5c);
  font-weight: 600;
  padding: .5rem;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
}
.basket-drawer-keep-shopping:hover { text-decoration: underline; }

/* Stop background scroll when drawer is open */
body.basket-drawer-open { overflow: hidden; }

/* Line item styling inside the drawer (uses shop.js's existing .cart-row markup) */
.basket-drawer-list .cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: .65rem 0;
  border-bottom: 1px dashed var(--line, #eadfc8);
  align-items: center;
}
.basket-drawer-list .cart-row:last-child { border-bottom: 0; }

@media (max-width: 540px) {
  .basket-fab {
    right: .75rem;
    bottom: .75rem;
    padding: .6rem .9rem;
  }
}
.cart-panel {
  position: relative;
}
.cart-sticky {
  position: sticky;
  top: 118px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}
.cart-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.cart-heading h2 {
  font-size: var(--text-xl);
  margin-bottom: 0;
}
.cart-count {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--honey-100);
  color: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  border: 1px solid var(--line);
}
.cart-empty {
  background: var(--honey-50);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
}
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.cart-row strong,
.cart-row span {
  display: block;
}
.cart-row span {
  color: var(--ink-soft);
  font-size: var(--text-xs);
}
.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
  background: var(--cream);
}
.quantity-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.quantity-control button:hover {
  background: var(--honey-300);
}
.quantity-control output {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}
.fulfilment-box {
  margin: var(--space-6) 0;
  background: var(--honey-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.fulfilment-box h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-500);
  margin-bottom: var(--space-3);
}
.fulfilment-box label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.checkout-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
.checkout-details .form-group {
  margin-bottom: var(--space-2);
}
.checkout-details textarea {
  min-height: 88px;
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  font-size: var(--text-lg);
}
.cart-total strong {
  font-family: var(--font-display);
  color: var(--ember-600);
}
.checkout-button {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-4);
}
.checkout-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.checkout-note {
  font-size: var(--text-xs);
  margin: var(--space-3) 0 0;
  color: var(--ink-soft);
}
.checkout-policy {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
}
.checkout-policy summary {
  cursor: pointer;
  color: var(--brand-deep, #1e5f5c);
  padding: 0.2rem 0;
  font-weight: 600;
}
.checkout-policy-text {
  margin: var(--space-2) 0 0;
  white-space: pre-line;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Prose for interior pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--ink-soft); }
.prose h2 { margin-top: var(--space-12); }
.prose ul { padding-left: 1.25rem; color: var(--ink-soft); }
.prose li { margin-bottom: var(--space-2); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-info-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-info-list .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--honey-100);
  display: grid; place-items: center;
  color: var(--ember-600);
  flex-shrink: 0;
}
.contact-info-list .label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-500);
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-info-list .value { color: var(--ink); font-weight: 500; }

.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--honey-400);
  box-shadow: 0 0 0 4px rgba(226, 154, 31, 0.18);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #1B0E04;
  color: var(--honey-100);
  padding: var(--space-16) 0 var(--space-6);
  margin-top: var(--space-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
.footer-brand p { color: var(--honey-100); opacity: 0.8; max-width: 36ch; font-size: var(--text-sm); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-tag { color: var(--honey-300); }
.footer h4 {
  color: var(--honey-300);
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: var(--space-2); }
.footer a { color: var(--honey-100); opacity: 0.8; font-size: var(--text-sm); }
.footer a:hover { color: var(--honey-300); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(252, 235, 190, 0.12);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--honey-100);
  opacity: 0.7;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; max-width: 360px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .cart-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { font-size: 0.7rem; }
  .shop-products { grid-template-columns: 1fr; }
  .shop-product-actions { align-items: stretch; }
  .shop-product-actions .btn { width: 100%; justify-content: center; }
  .cart-row { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
