:root {
  --cream: #f5efe4;
  --cream-alt: #ece3d3;
  --paper: #fffdf9;
  --kraft: #c5a47e;
  --kraft-deep: #85623d;
  --sage: #8c9d86;
  --olive: #56664f;
  --olive-deep: #3d4b37;
  --ink: #2a2520;
  --ink-soft: #5c5349;
  --line: #ddd2c0;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(42, 37, 32, 0.06);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--olive-deep);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 300;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.section-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kraft-deep);
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 228, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-monogram {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-by {
  font-size: 0.76rem;
  font-style: italic;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--olive-deep);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--olive);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-button:hover {
  background: var(--olive-deep);
}

.cart-badge {
  background: var(--paper);
  color: var(--olive-deep);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--olive);
  color: var(--paper);
}

.btn-primary:hover:not(:disabled) {
  background: var(--olive-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--kraft-deep);
}

.btn-outline:hover:not(:disabled) {
  background: var(--cream-alt);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 20px 68px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-lead {
  color: var(--ink-soft);
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.photo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}

.photo-caption {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Story */
.story-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.story-media .photo-card img {
  aspect-ratio: 4 / 3;
}

.story-copy p {
  color: var(--ink-soft);
}

/* Shop */
.section-header {
  max-width: 58ch;
  margin-bottom: 34px;
}

.section-sub {
  color: var(--ink-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-img-wrap {
  aspect-ratio: 4 / 3;
  background: var(--cream-alt);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.pack-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--kraft-deep);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--olive-deep);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.product-ingredients {
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--cream);
  border-left: 3px solid var(--sage);
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.product-action {
  margin-top: auto;
}

/* Info & Contact */
.info-section {
  background: var(--cream-alt);
  border-top: 1px solid var(--line);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.info-box p {
  color: var(--ink-soft);
}

.info-note {
  font-size: 0.88rem;
}

.contact-line a {
  color: var(--olive-deep);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 180px;
  max-width: 70vw;
  border-radius: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--olive-deep);
}

.footer-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* Basket Drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 37, 32, 0.45);
  z-index: 200;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--cream);
  border-left: 1px solid var(--line);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.cart-empty {
  color: var(--ink-soft);
  text-align: center;
  margin-top: 36px;
}

.cart-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.cart-item-title {
  font-weight: 700;
  color: var(--ink);
}

.cart-item-sub {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.remove-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--kraft-deep);
  font-size: 0.84rem;
  text-decoration: underline;
  cursor: pointer;
}

.cart-footer {
  padding: 18px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

.cart-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* Mobile Responsive */
@media (max-width: 820px) {
  .hero,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }

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

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }
}
