*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
}
img, video, svg { max-width: 100%; height: auto; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-link {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}
.nav-link:hover { color: #8a5a2b; }
.dark .nav-link:hover { color: #cbb48a; }

#mobile-nav.is-open { display: block; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbb48a, transparent);
  border: 0;
}

.hero-panel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}
.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 70vh;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 22, 16, 0.78) 0%, rgba(28, 22, 16, 0.35) 55%, rgba(28, 22, 16, 0.12) 100%),
    linear-gradient(180deg, rgba(28, 22, 16, 0.2) 0%, rgba(28, 22, 16, 0.45) 100%);
}

.product-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.product-tile img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-tile:hover img { transform: scale(1.04); }
.product-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(20, 15, 10, 0.82));
  color: #f6efe4;
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  background: #1f7a46;
  color: #fff;
  font-weight: 650;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(31, 122, 70, 0.65);
}
.wa-float:hover { background: #176338; }

.field {
  width: 100%;
  border: 1px solid #d8cbb6;
  background: #fffdf8;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  color: inherit;
  outline: none;
}
.field:focus { border-color: #8a5a2b; }
.dark .field {
  border-color: #3d3428;
  background: #1c1813;
}
