:root {
  --sand: #f7f2eb;
  --linen: #f1e7db;
  --clay: #d8c1a7;
  --rust: #b65d3a;
  --forest: #47624d;
  --espresso: #3c2a24;
  --ink: #2f2926;
  --white: #fffaf6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--espresso);
}

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

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(60, 42, 36, 0.08);
  width: 100%;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 96px;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--forest);
}

.nav-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--clay);
  color: var(--espresso);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav-cta {
  background: var(--rust);
  border: none;
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--forest);
}

.hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  margin: 16px 0;
}

.hero h1 span {
  display: block;
  font-size: clamp(24px, 3vw, 40px);
  color: var(--rust);
}

.hero-text {
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 520px;
}

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

.primary,
.secondary {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

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

.secondary {
  background: transparent;
  border: 2px solid var(--forest);
  color: var(--forest);
}

.hero-highlight {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.hero-highlight div {
  background: var(--white);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(60, 42, 36, 0.08);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.image-card {
  background: linear-gradient(135deg, rgba(182, 93, 58, 0.9), rgba(71, 98, 77, 0.9)),
    url("https://images.unsplash.com/photo-1506368083636-6defb67639c9?auto=format&fit=crop&w=800&q=80") center/cover;
  color: var(--white);
  padding: 40px;
  border-radius: 30px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 20px 40px rgba(60, 42, 36, 0.2);
}

.image-card span {
  font-size: 22px;
  font-weight: 700;
  max-width: 240px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.store-hero {
  padding-bottom: 20px;
}

.store-hero .image-card {
  background: linear-gradient(135deg, rgba(182, 93, 58, 0.2), rgba(71, 98, 77, 0.22)),
    url("imagenes/Primera-asados-en-tienda.png") center/cover;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.chip {
  background: var(--linen);
  border: 1px solid var(--clay);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip.is-active {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.product-grid {
  display: grid;
  gap: 24px;
}

.category-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.category-group {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(60, 42, 36, 0.08);
}

.category-group.is-hidden {
  display: none;
}

.category-group h3 {
  margin-bottom: 8px;
}

.subcategory-list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.subcategory-list li {
  background: var(--linen);
  border: 1px solid var(--clay);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
}

.product-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  background: var(--white);
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(60, 42, 36, 0.08);
}

.product-photo {
  border-radius: 18px;
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.photo-smoke {
  background-image: url("imagenes/Ahumados_home.png");
}

.photo-ceramic {
  background-image: url("imagenes/ceramica-pag-principal.png");
  background-position: center 35%;
}

.photo-metal {
  background-image: url("imagenes/parrillas_home.png");
}

.photo-special {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=800&q=80");
}

.product-info h3 {
  margin-bottom: 12px;
}

.short {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--forest);
}

.long {
  margin-bottom: 16px;
}

.meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.price {
  color: var(--rust);
}

.stock {
  color: var(--forest);
}

.about {
  background: var(--linen);
  border-radius: 30px;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.about-quote {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(60, 42, 36, 0.08);
  font-weight: 700;
  color: var(--rust);
}

.about-quote span {
  display: block;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 600;
}

.shipping-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.shipping-card,
.contact-card {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(60, 42, 36, 0.08);
}

.contact-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(60, 42, 36, 0.14);
  outline: 2px solid rgba(182, 93, 58, 0.35);
  outline-offset: 2px;
}

.shipping-card ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.site-footer {
  background: var(--espresso);
  color: var(--white);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .nav {
    min-height: 84px;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 14px;
  }

  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--clay);
    border-radius: 14px;
    padding: 12px;
    font-size: 14px;
  }

  .js .nav-links {
    display: none;
  }

  .js .nav-links.is-open {
    display: flex;
  }

  .logo-img {
    height: 70px;
  }

  .nav-cta {
    grid-column: auto;
    justify-self: center;
    align-self: center;
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero {
    padding: 56px 20px 40px;
    gap: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .image-card {
    min-height: 260px;
    width: 100%;
    padding: 28px;
  }

  .section {
    padding: 40px 20px;
  }

  .primary,
  .secondary {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .logo-img {
    height: 60px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero h1 span {
    font-size: clamp(20px, 7vw, 30px);
  }

  .section-header h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .site-footer {
    padding: 28px 20px;
  }
}
