:root {
  --bg: #f4efe7;
  --surface: rgba(255, 251, 245, 0.92);
  --surface-strong: #fffdfa;
  --text: #1b1713;
  --muted: #62584d;
  --line: rgba(46, 35, 23, 0.12);
  --line-strong: rgba(46, 35, 23, 0.22);
  --accent: #805b3a;
  --accent-dark: #5e4127;
  --shadow: 0 20px 54px rgba(35, 24, 16, 0.08);
  --success: #295f45;
  --warning: #7a5a10;
  --danger: #7f2b2b;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Avenir Next",
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(199, 165, 123, 0.2), transparent 30%),
    linear-gradient(180deg, #ece4d6 0%, #f5f1e8 24%, #faf7f1 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
li,
input,
textarea,
select {
  line-height: 1.65;
}

p,
li {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Georgia,
    serif;
  color: var(--text);
  letter-spacing: -0.03em;
}

.site-shell {
  width: min(calc(100% - 26px), var(--max-width));
  margin: 18px auto 40px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  margin-bottom: 26px;
  background: rgba(255, 249, 241, 0.88);
  border: 1px solid rgba(58, 42, 28, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff8f2;
  box-shadow: 0 10px 24px rgba(46, 35, 23, 0.12);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.site-nav a,
.policy-links a,
.footer-links a {
  position: relative;
  color: var(--muted);
}

.site-nav a::after,
.policy-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.policy-links a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.hero-card,
.section-card,
.site-footer,
.page-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card,
.section-card,
.page-hero {
  border-radius: var(--radius-lg);
}

.hero-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  padding: clamp(24px, 4vw, 48px);
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-home h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  min-height: 500px;
  padding: 18px;
  object-fit: contain;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffefa 0%, #f3eadb 100%);
}

.button-row,
.meta-row,
.footer-bottom,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-primary {
  background: #1f1a15;
  color: #fffaf4;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(30, 23, 17, 0.16);
}

.bullet-list,
.compact-list,
.footer-links {
  padding-left: 18px;
}

.bullet-list {
  margin: 6px 0 0;
}

.compact-list {
  margin: 10px 0 0;
}

.section-card,
.page-hero {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 40px);
}

.page-hero {
  display: grid;
  gap: 12px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 66ch;
}

.section-heading h2 {
  font-size: clamp(1.95rem, 3.8vw, 3.2rem);
  line-height: 1;
}

.three-up,
.two-up,
.faq-preview,
.policy-grid,
.footer-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.three-up,
.faq-preview,
.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.product-card,
.contact-form,
.site-footer {
  background: var(--surface-strong);
  border: 1px solid rgba(46, 35, 23, 0.08);
}

.info-card,
.contact-form {
  padding: 22px;
  border-radius: var(--radius-md);
}

.info-card h2,
.info-card h3,
.product-card h3 {
  font-size: 1.45rem;
}

.info-card p + p,
.rich-text p + p {
  margin-top: 12px;
}

.centered-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 16px;
  object-fit: contain;
  background: linear-gradient(180deg, #fffdf8 0%, #f0e5d6 100%);
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.sku {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.material-line {
  margin: 0;
  font-size: 0.95rem;
}

.meta-row {
  align-items: center;
  justify-content: space-between;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.stock-0 {
  background: rgba(127, 43, 43, 0.1);
  color: var(--danger);
}

.stock-1 {
  background: rgba(122, 90, 16, 0.12);
  color: var(--warning);
}

.stock-2,
.stock-3 {
  background: rgba(41, 95, 69, 0.12);
  color: var(--success);
}

.product-grid-home .product-card img {
  aspect-ratio: 5 / 4;
}

.contact-layout {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: #fffcf7;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.rich-text {
  display: grid;
  gap: 16px;
}

.rich-text h2 {
  font-size: 1.55rem;
  margin-top: 4px;
}

.site-footer {
  margin-top: 22px;
  padding: 24px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.footer-grid {
  grid-template-columns: 1fr 1.25fr 0.85fr;
  align-items: start;
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-links {
  margin: 0;
}

.footer-links li + li {
  margin-top: 6px;
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(46, 35, 23, 0.1);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.cookie-banner {
  left: 18px;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  width: auto;
  padding: 20px 22px;
  background: rgba(28, 22, 17, 0.96);
  color: #fdf6ef;
  border: 1px solid rgba(255, 247, 238, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(22, 16, 11, 0.3);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner p,
.cookie-banner a {
  color: rgba(255, 247, 238, 0.86);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 1080px) {
  .hero-home,
  .two-up,
  .footer-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .three-up,
  .faq-preview,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 16px), var(--max-width));
    margin-top: 10px;
  }

  .site-header {
    position: static;
    border-radius: 26px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand {
    align-items: center;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-text span:last-child {
    font-size: 0.84rem;
  }

  .hero-home h1,
  .page-hero h1 {
    font-size: 2.5rem;
  }

  .hero-media img {
    min-height: 340px;
  }

  .three-up,
  .faq-preview,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
