:root {
  --paper: #e8e5d8;
  --paper-strong: #f1eee2;
  --paper-soft: #dedacf;
  --ink: #292927;
  --muted: #747166;
  --line: rgba(41, 41, 39, 0.18);
  --accent: #cf3f32;
  --accent-dark: #a92f28;
  --graphite: #343434;
  --charcoal: #272727;
  --shadow: 0 18px 50px rgba(41, 41, 39, 0.16);
  --font-ui: "Manrope", sans-serif;
  --font-display: "Oswald", sans-serif;
  --font-script: "Great Vibes", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.45;
  --pepper-shift: 0px;
}

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

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

main {
  position: relative;
  overflow: hidden;
}

.pepper-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pepper-shape {
  position: absolute;
  width: clamp(90px, 9vw, 150px);
  height: auto;
  opacity: 0.08;
  color: var(--accent);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 80ms linear;
}

.pepper-body {
  fill: currentColor;
}

.pepper-stem,
.pepper-cut {
  fill: none;
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pepper-cut {
  stroke-width: 5;
  opacity: 0.55;
}

.pepper-shape-one {
  top: 860px;
  right: 5vw;
  transform: translateY(calc(var(--pepper-shift) * -0.16)) rotate(-14deg);
}

.pepper-shape-two {
  top: 1620px;
  left: 4vw;
  width: clamp(76px, 7vw, 118px);
  opacity: 0.06;
  transform: translateY(calc(var(--pepper-shift) * 0.12)) rotate(22deg);
}

.pepper-shape-three {
  top: 2720px;
  right: 14vw;
  width: clamp(70px, 6vw, 106px);
  opacity: 0.07;
  transform: translateY(calc(var(--pepper-shift) * -0.1)) rotate(34deg);
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(232, 229, 216, 0.9);
  backdrop-filter: blur(18px);
}

.hero,
.menu-section,
.about-section,
.lavka-section,
.gallery-section,
.contacts-section {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--accent);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 32px);
  color: var(--muted);
  font-size: 15px;
}

.top-nav a {
  transition: color 180ms ease;
}

.top-nav a:hover {
  color: var(--ink);
}

.button,
.category-tab {
  border: 0;
  cursor: pointer;
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.account-link:hover,
.account-link.is-active {
  border-color: rgba(207, 63, 50, 0.34);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 69px));
  display: grid;
  align-items: end;
  padding: clamp(22px, 4vw, 54px);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 15, 14, 0.58), rgba(15, 15, 14, 0.18)),
    linear-gradient(0deg, rgba(15, 15, 14, 0.42), rgba(15, 15, 14, 0.06)),
    rgba(74, 48, 36, 0.16);
}

.hero-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: contrast(1.08) saturate(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: white;
  padding-bottom: clamp(34px, 9vh, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f05a4c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(66px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--accent);
  font-weight: 700;
}

h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.1;
}

.hero-copy {
  width: min(520px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
}

.button.full {
  width: 100%;
}

.hero-hours {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 54px);
  z-index: 1;
  width: min(290px, calc(100% - 36px));
  color: white;
  text-align: right;
}

.hero-hours span,
.contacts-list span,
.product-meta,
.product-description {
  color: var(--muted);
  font-size: 13px;
}

.hero-hours span,
.hero-hours small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.hero-hours strong {
  display: block;
  margin: 2px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  font-weight: 700;
}

.contacts-list span,
.contacts-list strong {
  display: block;
}

.menu-section,
.about-section,
.lavka-section,
.gallery-section,
.contacts-section {
  padding: clamp(58px, 8vw, 116px) clamp(18px, 4vw, 54px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2,
.section-head p:last-child {
  margin-bottom: 0;
}

.section-head > p:last-child {
  color: var(--muted);
  max-width: 520px;
}

.menu-head {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
}

.menu-head h2 {
  justify-self: start;
}

.highlight-legend {
  display: flex;
  flex-wrap: wrap;
  justify-self: start;
  align-items: center;
  gap: 10px 18px;
  max-width: 100%;
  color: #3f3d38;
}

.highlight-legend-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 700;
  line-height: 1.05;
}

.highlight-legend-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(39% at 50% 50%);
  transform: scale(1.28);
  box-shadow: 0 8px 18px rgba(41, 41, 39, 0.12);
}

.section-head.compact {
  display: block;
  margin-bottom: 24px;
}

.category-tabs {
  position: sticky;
  top: 69px;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 10px 0 18px;
  overflow-x: auto;
  background: var(--paper);
}

.category-tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--muted);
  font-weight: 700;
}

.category-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.category-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(207, 63, 50, 0.24);
  border-radius: 8px;
  background: rgba(207, 63, 50, 0.07);
  color: #4b4943;
}

.category-note span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-note p {
  max-width: 980px;
  margin: 0;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 260px minmax(156px, auto);
  min-height: 416px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 68% 20%, rgba(207, 63, 50, 0.12), transparent 28%),
    linear-gradient(180deg, #f4f1e7 0%, var(--paper-strong) 100%);
  box-shadow: 0 22px 50px rgba(41, 41, 39, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    min-height 220ms ease,
    grid-template-rows 220ms ease;
}

.product-card:hover {
  grid-template-rows: 260px minmax(156px, auto);
  transform: translateY(-4px);
  border-color: rgba(207, 63, 50, 0.34);
  box-shadow: 0 30px 70px rgba(41, 41, 39, 0.14);
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 260px;
  padding: 22px 24px 14px;
  background: transparent;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(41, 41, 39, 0.2));
  transition: transform 240ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.045) rotate(-0.8deg);
}

.product-highlights {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.product-highlights img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(39% at 50% 50%);
  transform: scale(1.28);
  box-shadow: 0 6px 14px rgba(41, 41, 39, 0.12);
}

.product-body {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 18px 18px 20px;
  border-top: 1px solid rgba(41, 41, 39, 0.12);
}

.product-meta {
  display: block;
  min-height: 19px;
  margin-bottom: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title {
  display: -webkit-box;
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.04;
  min-height: calc(25px * 1.04 * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-details {
  display: grid;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 260ms ease,
    opacity 180ms ease,
    padding-top 220ms ease;
}

.product-card:hover .product-details {
  max-height: 460px;
  opacity: 1;
  padding-top: 12px;
}

.product-card.is-open .product-details {
  max-height: 460px;
  opacity: 1;
  padding-top: 12px;
}

.product-details > * {
  min-height: 0;
}

.product-description {
  margin: 0;
}

.product-composition {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.product-composition span,
.product-footer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-composition p {
  margin: 0;
  color: #4b4943;
  font-size: 13px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(41, 41, 39, 0.12);
}

.price {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 56px);
  align-items: start;
  background: var(--paper-soft);
}

.about-copy {
  align-self: start;
  min-width: 0;
}

.about-copy h2 {
  display: grid;
  gap: 0;
  margin-bottom: 0;
  font-size: clamp(92px, 10.2vw, 176px);
  line-height: 0.84;
  white-space: nowrap;
}

.about-title-line {
  display: block;
}

.about-amp {
  display: inline-block;
  margin-right: 0.12em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98em;
  font-weight: 400;
  line-height: 0.72;
  transform: translateY(0.04em) scaleX(1.12);
  transform-origin: left center;
}

.about-since {
  display: flex;
  align-items: center;
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: lowercase;
}

.about-description {
  width: min(100%, 480px);
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: clamp(18px, 2.2vw, 28px);
  border-top: 1px solid rgba(41, 41, 39, 0.18);
  color: #555147;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.62;
}

.about-description p {
  margin: 0;
}

.about-description p + p {
  margin-top: 12px;
}

.about-description strong {
  color: var(--ink);
  font-weight: 800;
}

.about-copy > p:not(.eyebrow):not(.about-since) {
  margin-bottom: 0;
  color: #4b4943;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 46px);
  max-width: 980px;
}

.about-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-self: start;
  margin: 0;
}

.about-photo {
  position: relative;
  min-width: 0;
  margin: 0;
}

.about-photo img {
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  border-radius: 8px;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.05);
}

.about-photo figcaption {
  position: absolute;
  left: -42px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  width: min(210px, 78%);
  padding: 16px;
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.about-photo figcaption strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.9;
}

.about-photo figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.lavka-section {
  background: var(--paper);
}

.lavka-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.lavka-head h2 {
  margin-bottom: 0;
}

.lavka-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  max-width: 1180px;
  margin-bottom: clamp(32px, 5vw, 64px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}

.lavka-content p {
  margin: 0;
  color: #555147;
  font-size: clamp(15px, 1.12vw, 17px);
  font-weight: 500;
  line-height: 1.62;
}

.lavka-carousel {
  margin-top: 0;
}

.lavka-track {
  padding-bottom: 10px;
}

.gallery-slide.lavka-slide {
  flex: 0 0 min(390px, 72vw);
  background: var(--paper-soft);
}

.gallery-slide.lavka-slide img {
  height: clamp(420px, 42vw, 620px);
  filter: contrast(1.02) saturate(0.94);
}

.gallery-head {
  align-items: end;
}

.gallery-controls {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
}

.gallery-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(241, 238, 226, 0.78);
  color: var(--ink);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.gallery-button:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

.gallery-button span {
  font-size: 24px;
  line-height: 1;
}

.gallery-carousel {
  margin-inline: calc(clamp(18px, 4vw, 54px) * -1);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 clamp(18px, 4vw, 54px) 8px;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  flex: 0 0 min(560px, 72vw);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite);
  scroll-snap-align: start;
}

.gallery-slide img {
  width: 100%;
  height: clamp(430px, 58vw, 680px);
  object-fit: cover;
  filter: grayscale(0.72) contrast(1.04);
  transition: transform 260ms ease;
}

.gallery-slide:hover img {
  transform: scale(1.035);
}

.gallery-slide figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contacts-section {
  display: grid;
  grid-template-columns: 0.55fr 0.55fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.contacts-list {
  display: grid;
  gap: 18px;
}

.contacts-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contacts-list strong {
  margin-top: 6px;
  font-size: 18px;
}

.map-widget {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
}

.map-widget iframe {
  display: block;
  width: 100% !important;
  min-height: 400px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

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

  .contacts-section {
    grid-template-columns: 1fr 1fr;
  }

  .map-widget {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) {
  .about-columns p + p {
    margin-top: clamp(34px, 4vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pepper-shape {
    transition: none;
    transform: none;
  }

  .product-card,
  .product-details,
  .product-image img {
    transition: none;
  }
}

@media (hover: none) {
  .product-card {
    cursor: pointer;
  }

  .product-card:hover .product-image img {
    transform: none;
  }

  .product-card:hover .product-details {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
  }

  .product-details {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
  }

  .product-card.is-open .product-details {
    max-height: 460px;
    opacity: 1;
    padding-top: 12px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .section-head,
  .lavka-head,
  .about-section,
  .contacts-section {
    grid-template-columns: 1fr;
  }

  .hero-hours {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    text-align: left;
  }

  .about-columns {
    grid-template-columns: 1fr;
  }

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

  .about-photo figcaption {
    left: 18px;
  }

  .gallery-head {
    gap: 18px;
  }

  .gallery-controls {
    justify-self: start;
  }

  .gallery-slide {
    flex-basis: min(360px, 84vw);
  }

  .gallery-slide img {
    height: 420px;
  }

  .gallery-slide.lavka-slide img {
    height: 500px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 11px 14px;
  }

  .brand span {
    font-size: 13px;
  }

  .header-actions {
    gap: 6px;
  }

  .account-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 680px;
    padding: 18px;
  }

  h1 {
    font-size: clamp(54px, 20vw, 96px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .about-media {
    grid-template-columns: 1fr;
  }

  .lavka-content {
    grid-template-columns: 1fr;
  }

  .lavka-slide {
    flex-basis: min(320px, 84vw);
  }

  .gallery-slide.lavka-slide img {
    height: 430px;
  }

  .about-copy h2 {
    font-size: clamp(72px, 21vw, 92px);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 300px minmax(150px, auto);
    min-height: 450px;
  }

  .product-card:hover {
    grid-template-rows: 300px minmax(150px, auto);
  }

  .product-image {
    height: 300px;
    padding: 24px 18px 18px;
  }

  .menu-section,
  .about-section,
  .lavka-section,
  .gallery-section,
  .contacts-section {
    padding: 52px 16px;
  }
}
