:root {
  --bg: #f8ede3;
  --brown: #6b3f33;
  --brown-dark: #5c3a2e;
  --red: #b8393b;
  --red-soft: #c55a55;
  --tile: #a2887d;
  --category: #7f5a4d;
  --text: #6b3f33;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.3;
}

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

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

/* ---------- Header ---------- */
.site-header {
  max-width: 984px;
  margin: 0 auto;
  padding: 14px 40px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--brown);
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo img {
  width: 72px;
}

.logo span {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.25;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
}

.nav a {
  background: var(--brown);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  width: 80px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.nav a:hover,
.nav a.active {
  background: var(--red);
}

/* ---------- Common ---------- */
main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 50px 60px;
}

.eyebrow {
  color: var(--red);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.title {
  color: var(--red);
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 36px;
}

.body-text {
  font-size: 17px;
  line-height: 1.25;
}

.body-text p + p {
  margin-top: 20px;
}

.align-right {
  text-align: right;
}

/* ---------- Home ---------- */
.hero {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
}

.home-heading {
  font-size: 29px;
  font-weight: 400;
  text-align: center;
  margin: 24px 0 26px;
}

.home-text {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
}

.btn-big {
  display: block;
  width: 360px;
  max-width: 100%;
  margin: 34px auto 0;
  padding: 15px;
  background: var(--brown-dark);
  color: #fff;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s;
}

.btn-big:hover {
  background: var(--red);
}

/* ---------- Two-column layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
}

.about-photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-photos img:first-child {
  margin-left: 60px;
}

/* ---------- Product / menu tiles ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 22px;
}

.tile figure {
  background: var(--tile);
  aspect-ratio: 292 / 212;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tile figure img {
  max-width: 100%;
  max-height: 100%;
}

.tile figcaption,
.tile .caption {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 10px;
}

.price {
  color: var(--red);
  font-size: 13px;
  white-space: nowrap;
}

.tile.hidden {
  display: none;
}

/* Menu */
.menu-layout {
  display: grid;
  grid-template-columns: 630px 1fr;
  gap: 16px;
  align-items: start;
}

.menu-layout .grid {
  gap: 18px 44px;
}

.menu-layout .tile figure img {
  max-height: 88%;
}

.menu-layout .tile .caption {
  justify-content: flex-start;
  padding-left: 2px;
}

.filter-btn {
  background: var(--red-soft);
  color: #fff;
  border: none;
  font: inherit;
  font-size: 15px;
  padding: 12px 6px;
  margin-bottom: 34px;
  cursor: pointer;
}

.menu-intro {
  padding-top: 0;
}

.menu-intro .body-text {
  margin-top: 0;
}

/* Products */
.products-layout {
  display: grid;
  grid-template-columns: 318px 1fr;
  gap: 48px;
}

.products-layout .title {
  margin-bottom: 26px;
}

.categories {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 34px;
}

.categories button {
  background: var(--category);
  color: #fff;
  border: none;
  font: inherit;
  font-size: 16px;
  height: 43px;
  cursor: pointer;
  transition: background 0.2s;
}

.categories button:hover,
.categories button.active {
  background: var(--red-soft);
}

.product-group {
  display: none;
}

.product-group.active {
  display: grid;
}

/* Play */
.play-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.play-photos img {
  width: 70%;
}

.play-photos img:last-child {
  margin: 16px 0 0 auto;
}

.play-layout .eyebrow {
  margin-top: 30px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
  margin-top: 22px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 10px;
}

.contact-list img {
  width: 30px;
}

.contact-footer {
  max-width: 800px;
  margin: 50px auto 0;
  text-align: center;
  font-size: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    padding: 14px 16px;
  }

  .nav {
    justify-content: center;
    gap: 10px;
  }

  main {
    padding: 30px 16px 50px;
  }

  .split,
  .menu-layout,
  .products-layout,
  .play-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .menu-intro {
    order: -1;
  }

  .about-photos img:first-child,
  .play-photos img:last-child {
    margin-left: 0;
  }

  .play-photos img {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
