:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #6d706f;
  --line: #deded8;
  --soft: #eeeeea;
  --accent: #a66a2b;
  --accent-dark: #744416;
  --green: #128c51;
  --panel: #18191b;
  --shadow: 0 18px 48px rgba(20, 20, 20, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

main {
  min-height: 70vh;
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.16;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  background: rgba(245, 245, 243, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(154px, 12vw, 198px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  background: #fff;
}

.header-phone,
.button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 850;
  white-space: nowrap;
}

.header-phone,
.button.primary {
  color: #fff;
  background: var(--ink);
}

.button {
  border: 1px solid var(--ink);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.ghost {
  background: #fff;
}

.button.whatsapp {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  font: inherit;
}

.hero-shop,
.page-hero,
.section,
.product-detail,
.breadcrumb {
  width: min(calc(100% - 44px), 1180px);
  margin: 0 auto;
  padding-inline: 0;
}

.hero-shop {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 92px);
  padding-bottom: clamp(52px, 8vw, 96px);
}

.hero-content {
  max-width: 610px;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.showcase-item,
.product-card,
.category-card,
.filter-panel,
.empty-state,
.detail-boxes div,
.contact-grid article,
.main-image,
.thumb {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.showcase-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.showcase-item:nth-child(2) {
  transform: translateY(34px);
}

.showcase-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 14px;
  background: radial-gradient(circle at 50% 36%, #fff 0, #fff 38%, var(--soft) 100%);
  border-radius: 8px;
}

.showcase-item span,
.card-meta span,
.section-note,
.product-card p,
.contact-grid p,
.specs span,
.note,
.category-card p {
  color: var(--muted);
}

.showcase-item span {
  font-weight: 750;
}

.showcase-item strong,
.price {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
}

.shop-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 44px), 1180px);
  margin: 0 auto clamp(24px, 5vw, 56px);
  overflow: hidden;
  background: var(--panel);
  border-radius: 10px;
}

.shop-strip div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-strip div:last-child {
  border-right: 0;
}

.shop-strip span,
.eyebrow,
.section-kicker,
.product-topline span,
.detail-boxes span,
.contact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-strip span {
  color: rgba(255, 255, 255, 0.58);
}

.shop-strip strong {
  color: #fff;
  font-size: 1.08rem;
}

.section {
  padding-top: clamp(44px, 7vw, 82px);
  padding-bottom: clamp(44px, 7vw, 82px);
}

.section-heading,
.listing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.text-link,
.icon-link {
  color: var(--accent-dark);
  font-weight: 900;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-grid.large .category-card {
  min-height: 260px;
}

.category-card {
  min-height: 210px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.045);
}

.category-tags,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tags a,
.feature-list span {
  display: inline-flex;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

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

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

.product-card {
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 20, 20, 0.06);
}

.product-image {
  display: block;
  background: radial-gradient(circle at 50% 36%, #fff 0, #fff 38%, var(--soft) 100%);
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 22px;
  transition: transform 220ms ease;
}

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

.product-card-body {
  padding: 18px;
}

.product-topline,
.card-meta,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-topline {
  align-items: flex-start;
}

.product-topline {
  margin-bottom: 12px;
}

.product-topline span:last-child {
  color: var(--accent-dark);
}

.card-meta {
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-meta strong {
  font-size: 1.24rem;
}

.card-meta span {
  font-size: 0.88rem;
  font-weight: 800;
  text-align: right;
}

.page-hero {
  padding-top: clamp(42px, 7vw, 72px);
  padding-bottom: clamp(24px, 4vw, 44px);
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.filter-panel h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.filter-panel strong {
  margin-top: 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.filter-link {
  padding: 9px 11px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 7px;
  font-weight: 800;
}

.filter-link:hover,
.filter-link.is-active {
  color: #fff;
  background: var(--ink);
}

.listing-head {
  color: var(--muted);
  font-weight: 800;
}

.empty-state {
  padding: clamp(30px, 6vw, 70px);
  max-width: none;
}

.empty-state h2 {
  max-width: 640px;
  font-size: clamp(2rem, 3vw, 3.5rem);
}

.empty-state p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a,
.breadcrumb strong {
  color: var(--ink);
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
  padding-top: clamp(28px, 5vw, 60px);
  padding-bottom: clamp(48px, 7vw, 86px);
}

.gallery {
  display: grid;
  gap: 14px;
}

.main-image {
  overflow: hidden;
  background: radial-gradient(circle at 50% 36%, #fff 0, #fff 38%, var(--soft) 100%);
}

.main-image-button {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.main-image img,
.main-image-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: clamp(16px, 3vw, 34px);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.thumb {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.thumb[aria-current="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(166, 106, 43, 0.18);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 6px;
}

.product-detail-copy {
  position: sticky;
  top: 110px;
}

.product-detail-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.price {
  margin-bottom: 22px;
}

.detail-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.detail-boxes div,
.contact-grid article {
  padding: 16px;
}

.detail-boxes span,
.contact-grid span {
  color: var(--muted);
}

.detail-boxes strong {
  font-size: 0.98rem;
}

.specs {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.note {
  margin-top: 22px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-grid article {
  min-height: 170px;
}

.contact-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px max(22px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 132px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer > p:last-child {
  text-align: right;
}

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

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-phone {
    display: none;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav a {
    background: #fff;
    border-radius: 7px;
  }

  .hero-shop,
  .catalogue-layout,
  .product-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase,
  .shop-strip,
  .detail-boxes {
    grid-template-columns: 1fr;
  }

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

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

  .showcase-item:nth-child(2) {
    transform: none;
  }

  .filter-panel,
  .product-detail-copy {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > p:last-child {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand img {
    width: 138px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.4rem);
  }

  .hero-shop,
  .page-hero,
  .section,
  .product-detail,
  .breadcrumb {
    width: min(calc(100% - 32px), 1180px);
    padding-inline: 0;
  }

  .hero-actions,
  .detail-actions,
  .card-actions,
  .card-meta,
  .listing-head,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .button,
  .card-actions .button {
    width: 100%;
  }

  .thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .category-card,
  .product-card-body {
    padding: 14px;
  }

  .specs li {
    display: grid;
    gap: 3px;
  }
}
