:root {
  --ink: #171512;
  --muted: #69635a;
  --soft: #f6f2eb;
  --paper: #fffaf3;
  --line: #e2d8ca;
  --accent: #11654a;
  --accent-dark: #0b4735;
  --gold: #b58a44;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(34, 27, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(226, 216, 202, 0.72);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(18px);
  max-width: 100vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 38px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.header-action,
.primary-button,
.secondary-button,
.clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

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

.header-action:hover,
.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.secondary-button,
.clear-button {
  border-color: rgba(23, 21, 18, 0.22);
  background: rgba(255, 250, 243, 0.78);
  color: var(--ink);
}

.secondary-button:hover,
.clear-button:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(600px, 74vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1f1b16;
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(19, 16, 12, 0.84), rgba(19, 16, 12, 0.34) 48%, rgba(19, 16, 12, 0.08)),
    linear-gradient(0deg, rgba(19, 16, 12, 0.66), rgba(19, 16, 12, 0.04) 45%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin: 0 0 clamp(30px, 6vw, 58px) clamp(18px, 6vw, 78px);
  color: var(--white);
}

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

.hero h1,
.section-heading h2,
.featured-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 98px);
}

.hero-copy {
  max-width: 580px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.service-note {
  display: inline-flex;
  align-items: center;
  margin: 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 9px 12px;
  background: rgba(255, 250, 243, 0.12);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.location-note {
  display: inline-flex;
  align-items: center;
  margin: 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 11px;
  background: rgba(17, 101, 74, 0.72);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

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

.section {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: 1260px;
  margin: 0 auto 30px;
}

.section-heading h2,
.featured-copy h2,
.contact-section h2 {
  max-width: 800px;
  font-size: clamp(34px, 5vw, 62px);
}

.catalogue-section {
  background: var(--soft);
}

.catalogue-heading {
  align-items: center;
}

.search-box {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  outline: none;
}

.search-box input:focus {
  border-color: var(--ink);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1260px;
  margin: 0 auto 22px;
}

.category-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.category-tab[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.catalogue-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.clear-button {
  min-height: 38px;
  background: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1260px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid rgba(23, 21, 18, 0.09);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(34, 27, 18, 0.05);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee5d8;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  background: rgba(255, 250, 243, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-info h3 {
  margin: 0;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.35;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 2px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

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

.empty-state {
  grid-column: 1 / -1;
  padding: 46px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.load-more-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 20px 0 4px;
}

.load-more-button {
  min-height: 46px;
  border: 1px solid var(--ink);
  padding: 0 24px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.load-more-button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(54px, 8vw, 86px) clamp(18px, 6vw, 78px);
  border-top: 1px solid var(--line);
}

.contact-section p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.whatsapp-large {
  min-width: 230px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

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

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(19, 16, 12, 0.78), rgba(19, 16, 12, 0.18)),
      linear-gradient(90deg, rgba(19, 16, 12, 0.76), rgba(19, 16, 12, 0.1));
  }

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

  .section-heading {
    display: grid;
    align-items: start;
  }

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

  .featured-products {
    grid-template-rows: repeat(2, minmax(150px, 230px));
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    width: 100%;
    padding: 12px 14px;
    gap: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 40px;
    max-width: calc(100vw - 86px);
    padding: 0 12px;
    font-size: 13px;
    justify-self: end;
    white-space: nowrap;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 28px;
  }

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

  .hero-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  .service-note {
    margin-top: 12px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    margin-top: 18px;
  }

  .section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  .product-card {
    box-shadow: none;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  .badge {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 6px;
    font-size: 9px;
  }

  .product-info {
    gap: 8px;
    padding: 10px;
  }

  .product-info h3 {
    min-height: 40px;
    font-size: 13px;
    line-height: 1.32;
  }

  .product-info p {
    display: none;
  }

  .whatsapp-button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }
}
