:root {
  --bg: #f4ecde;
  --paper: #fffcf5;
  --ink: #2b261f;
  --muted: #695f52;
  --brand: #2c5b27;
  --brand-soft: #dcebd2;
  --accent: #b87a24;
  --border: #ddcfba;
  --elev-1: 0 10px 30px rgba(68, 50, 24, 0.08);
  --elev-2: 0 16px 34px rgba(68, 50, 24, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, #fff5de 0%, transparent 36%),
    radial-gradient(circle at 86% 4%, #f0e6d2 0%, transparent 34%),
    linear-gradient(180deg, #f8f1e6 0%, var(--bg) 44%, #f0e8da 100%);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.58;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 241, 230, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  position: relative;
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  /* shown only as fallback when logo fails to load */
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(420px, 92vw);
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(248, 241, 230, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(20, 36, 18, 0.14);
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  z-index: 60;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav .invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  transition: background-color 170ms ease, color 170ms ease;
}

.main-nav li.active > strong,
.main-nav strong.active {
  display: block;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgba(44, 91, 39, 0.12);
}

.main-nav .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

.main-nav a:hover {
  background: rgba(44, 91, 39, 0.08);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--brand);
  font-weight: 700;
  background: rgba(44, 91, 39, 0.12);
}

.main-nav li.active > a {
  color: var(--brand);
  font-weight: 700;
  background: rgba(44, 91, 39, 0.12);
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  cursor: pointer;
}

.header-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.header-cart-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.header-cart-btn .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
}

.mobile-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.mobile-toggle-bars span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-toggle-m {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 0 6px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  margin-left: 4px;
  box-shadow: 0 4px 10px rgba(44, 91, 39, 0.34);
}

.hero {
  padding: 4.8rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.hero-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fffdf8 0%, #fff7ea 100%);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--elev-1);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #2f5f2a 0%, #3a6d34 100%);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(44, 91, 39, 0.26);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(44, 91, 39, 0.32);
  filter: saturate(1.05);
}

.btn-secondary {
  color: var(--brand);
  background: linear-gradient(180deg, #e8f3e0 0%, var(--brand-soft) 100%);
  box-shadow: none;
}

.section {
  padding: 2.8rem 0;
}

.prose p {
  max-width: 75ch;
}

.page-head {
  padding: 2.8rem 0 1.2rem;
}

.page-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-head p {
  color: var(--muted);
  max-width: 75ch;
}

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

.card {
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--elev-1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}

.product-visual {
  position: relative;
  min-height: 190px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  padding: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(44, 91, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.product-visual-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-visual-icon {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  line-height: 1;
}

.product-visual-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transform: scale(1.08);
  transform-origin: center;
}

.product-visual-slider {
  padding: 0.6rem 2.2rem;
}

.product-visual-track {
  display: flex;
  width: 100%;
  transition: transform 220ms ease;
  position: relative;
  z-index: 1;
}

.product-visual-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 160px;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
}

.product-visual-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-visual-nav[data-slider-prev] {
  left: 0.35rem;
}

.product-visual-nav[data-slider-next] {
  right: 0.35rem;
}

.product-visual--honey {
  background: linear-gradient(180deg, #eef5dc 0%, #dfe9bb 100%);
}

.product-visual--summer {
  background: linear-gradient(180deg, #fff1c9 0%, #f7d883 100%);
}

.product-visual--comb {
  background: linear-gradient(180deg, #fff4dc 0%, #f3d18d 100%);
}

.product-visual--spread {
  background: linear-gradient(180deg, #f6f4eb 0%, #e8efcf 100%);
}

.product-visual--wax {
  background: linear-gradient(180deg, #f9f1d8 0%, #e9d69d 100%);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.6rem 0;
}

.product-meta strong {
  color: var(--brand);
}

.shipping-options {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 0 0 12px;
}
.shipping-options legend {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 4px;
  color: var(--text);
}
.shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}
.shipping-option + .shipping-option {
  border-top: 1px solid var(--border);
}
.shipping-option input[type="radio"] {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.shipping-option-label {
  flex: 1;
  font-size: 0.95rem;
}
.shipping-option-label small {
  font-size: 0.8rem;
  opacity: 0.65;
}
.shipping-option-price {
  font-size: 0.95rem;
  color: var(--brand);
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: #7ca86f;
  box-shadow: 0 0 0 3px rgba(124, 168, 111, 0.18);
}

label {
  font-size: 0.88rem;
  font-weight: 600;
}

.variant-picker-hidden {
  display: none !important;
}

.variant-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0.4rem;
}

.variant-row {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(44, 91, 39, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfa 0%, #f6f2e9 100%);
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.variant-row:hover,
.variant-row:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 91, 39, 0.28);
  box-shadow: 0 10px 18px rgba(44, 91, 39, 0.12);
}

.variant-row:focus-visible {
  outline: 0;
}

.variant-row-info {
  display: grid;
  gap: 0.2rem;
}

.variant-row-info strong {
  font-size: 0.94rem;
}

.variant-row-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.variant-row-action {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.variant-row-price {
  color: var(--brand);
  font-size: 0.95rem;
}

.variant-row-hint {
  font-size: 0.76rem;
  color: var(--muted);
}

.checkout-wrap {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
}

.cart-list {
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
}

.cart-item strong {
  color: #22351f;
}

.cart-item small {
  color: #5c6a57;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  background: #f3eee6;
  color: #1f351c;
  font-weight: 700;
  cursor: pointer;
}

.qty-remove {
  width: auto;
  min-width: 36px;
  padding: 0 0.55rem;
  border-color: #d8b7b2;
  background: #fff3f2;
  color: #8b2522;
}

.qty-remove:hover {
  background: #ffe5e2;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, #1f3d1c 0%, #264a22 100%);
  color: #e9f1e2;
  padding: 2.2rem 0;
}

.site-footer a {
  display: block;
  color: #d6e7cd;
  margin: 0.2rem 0;
}

.footer-contact-item,
a.footer-contact-item {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.5rem;
  color: #d6e7cd;
  margin: 0.45rem 0;
  text-decoration: none;
  line-height: 1.4;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  opacity: 0.85;
  justify-self: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1.55fr) minmax(0, 0.7fr);
  gap: 1rem;
}

.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(233, 241, 226, 0.26);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #d6e7cd;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100vh;
  background: linear-gradient(180deg, #1f3c1b 0%, #2f5a2b 100%);
  color: #f5f7ed;
  transform: translateX(102%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 70;
  padding: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer h3 {
  color: #f5f7ed;
}

.cart-drawer .cart-item {
  border-color: rgba(228, 241, 221, 0.35);
  background: rgba(247, 252, 244, 0.96);
}

.cart-drawer .cart-item strong {
  color: #1f351c;
}

.cart-drawer .cart-item small {
  color: #42583f;
}

.cart-drawer .qty-btn {
  border-color: #c7dcc0;
  background: #e7f2e2;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 14, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 60;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.inline-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-section,
.contact-strip {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffef9 0%, var(--paper) 100%);
  margin: 1rem auto 0;
  box-shadow: var(--elev-1);
}

.faq-section h2,
.contact-strip h2 {
  margin-bottom: 0.8rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.faq-item {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.faq-item p {
  margin: 0.35rem 0 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.contact-links a {
  font-weight: 700;
}

@media (max-width: 930px) {
  .hero-grid,
  .product-grid,
  .checkout-wrap,
  .footer-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-visual,
  .product-visual-image,
  .product-visual-track img {
    min-height: 150px;
    height: 150px;
  }

  .main-nav {
    width: min(96vw, 420px);
  }

  .variant-row {
    grid-template-columns: 1fr;
  }

  .variant-row-action {
    justify-items: stretch;
  }

  .header-actions {
    gap: 0.35rem;
  }
}

.main-nav.open {
  display: flex;
}
