@font-face {
  font-family: Inter;
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #e52b22;
  --red-dark: #b71917;
  --red-soft: #fff0ee;
  --cream: #f8f3ec;
  --paper: #fffaf4;
  --white: #fff;
  --ink: #2f2a27;
  --muted: #756b65;
  --line: #eaded2;
  --green: #87a28f;
  --shadow: 0 24px 70px rgba(67, 48, 36, .12);
  --shadow-small: 0 14px 36px rgba(67, 48, 36, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
  letter-spacing: -.02em;
}

body.modal-open,
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid rgba(229, 43, 34, .42);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  left: 18px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  transition: top .2s ease;
}

.skip-link:focus { top: 18px; }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.topbar {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px 20px;
  background: var(--red);
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .01em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(234, 222, 210, .86);
  background: rgba(255, 250, 244, .92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { flex: 0 0 auto; }
.brand img { width: 142px; height: auto; }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: .88rem;
  font-weight: 700;
}

.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--red); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-trigger {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  cursor: pointer;
  color: var(--muted);
  font-size: .85rem;
}

.search-trigger span { font-size: 1.2rem; }

.button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 15px 32px rgba(229, 43, 34, .23); }
.button-primary:hover { background: var(--red-dark); }
.button-light { border-color: var(--line); background: var(--white); box-shadow: var(--shadow-small); }
.button-light:hover { border-color: rgba(229,43,34,.26); }
.button-ghost { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.14); color: var(--white); }

.menu-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle span:nth-child(3) { transform: translateY(6px); }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

.hero {
  min-height: 690px;
  padding-block: 72px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(229,43,34,.12);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow-light {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.14);
  color: var(--white);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3.1rem, 5.4vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.075em;
}

.hero-copy > p {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: -.02em;
}

.button-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.quick-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-stats div {
  min-height: 98px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 30px rgba(67, 48, 36, .06);
}

.quick-stats strong { font-size: 1.5rem; letter-spacing: -.06em; }
.quick-stats span { margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.3; }

.hero-visual {
  position: relative;
  min-height: 615px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #d8d0c7;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 18%, rgba(255,255,255,.44), transparent 32%);
  pointer-events: none;
}

.product-float {
  position: absolute;
  z-index: 2;
  width: 155px;
  aspect-ratio: 1;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 50px rgba(41,27,20,.18);
  backdrop-filter: blur(10px);
}

.product-float img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.float-a { top: 46px; right: 176px; transform: rotate(-2deg); }
.float-b { top: 70px; right: 36px; transform: rotate(2deg); }
.float-c { top: 216px; right: 184px; transform: rotate(2deg); }
.float-d { top: 228px; right: 40px; transform: rotate(-1deg); }

.hero-card {
  position: absolute;
  z-index: 3;
  left: 34px;
  right: 34px;
  bottom: 28px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 20px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(255,250,244,.91);
  box-shadow: 0 20px 50px rgba(41,27,20,.18);
  backdrop-filter: blur(14px);
}

.hero-card small { grid-column: 1 / -1; color: var(--red-dark); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.hero-card strong { max-width: 390px; font-size: 1.85rem; line-height: 1.05; letter-spacing: -.055em; }
.hero-card a { color: var(--red-dark); font-size: .82rem; font-weight: 800; }

.section-block { padding-block: 96px; }

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2,
.about-copy h2,
.collection-copy h2,
.quote-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -.065em;
}

.section-heading > p {
  max-width: 470px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}

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

.category-card {
  position: relative;
  min-height: 255px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(67,48,36,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.category-card:hover { transform: translateY(-5px); border-color: rgba(229,43,34,.24); box-shadow: var(--shadow-small); }
.category-card h3 { position: relative; z-index: 2; margin: 0; font-size: 1.25rem; letter-spacing: -.04em; }
.category-card span { position: relative; z-index: 2; display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }
.category-card img { position: absolute; z-index: 1; width: 58%; height: 76%; right: -1%; bottom: -4%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.category-card:hover img { transform: scale(1.035) rotate(-1deg); }
.category-card::after { content: "→"; position: absolute; z-index: 3; left: 22px; bottom: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--red-soft); color: var(--red-dark); font-weight: 800; }

.catalog-section { padding-block: 96px; background: var(--cream); }
.catalog-heading { align-items: center; }

.catalog-toolbar {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.75);
}

.catalog-search {
  flex: 1 1 280px;
  min-width: 240px;
  height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.catalog-search > span:not(.sr-only) { color: var(--red); font-size: 1.3rem; }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.catalog-search input::placeholder { color: #9a9089; }

.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.is-active { border-color: var(--red); background: var(--red); color: var(--white); }

.result-count { min-height: 20px; margin: 18px 2px; color: var(--muted); font-size: .82rem; }

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

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(67,48,36,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-small); }

.product-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / .94;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbf6ef);
}

.product-card-image img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .28s ease; }
.product-card:hover .product-card-image img { transform: scale(1.045); }
.product-tag { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 7px 9px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-size: .61rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.product-card-copy { min-height: 142px; padding: 17px 18px 19px; display: flex; flex-direction: column; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.product-card h3 { margin: 9px 0 14px; font-size: 1rem; line-height: 1.25; letter-spacing: -.035em; }
.product-price { margin-top: auto; color: var(--red-dark); font-size: .85rem; font-weight: 800; }

.loading-card,
.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  padding: 30px;
  display: grid;
  place-items: center;
  border: 1px dashed #d8c9bd;
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

.catalog-more-wrap { margin-top: 30px; display: grid; place-items: center; }

.collection-banner {
  min-height: 420px;
  margin-block: 92px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(105deg, #2c211c 0%, #4d352b 62%, #765040 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.collection-copy { position: relative; z-index: 2; }
.collection-copy h2 { max-width: 620px; }
.collection-copy p { max-width: 520px; margin: 20px 0 26px; color: rgba(255,255,255,.74); line-height: 1.6; }
.collection-products { position: relative; height: 310px; }
.collection-products img { position: absolute; width: 250px; height: 285px; padding: 14px; object-fit: contain; border-radius: 28px; background: rgba(255,255,255,.91); box-shadow: 0 22px 55px rgba(0,0,0,.22); mix-blend-mode: normal; }
.collection-products img:first-child { right: 112px; top: 8px; transform: rotate(-5deg); }
.collection-products img:last-child { right: -26px; top: 34px; transform: rotate(7deg); }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { min-height: 410px; display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-small); }
.service-card > img { width: 100%; height: 100%; object-fit: cover; }
.service-card > div { padding: 34px 30px; display: flex; flex-direction: column; align-items: start; }
.service-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--red-soft); color: var(--red-dark); font-size: .7rem; font-weight: 800; }
.service-card h3 { margin: 34px 0 12px; font-size: 1.8rem; letter-spacing: -.055em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.service-card a { margin-top: auto; padding-top: 24px; color: var(--red-dark); font-size: .82rem; font-weight: 800; }

.about-section { padding-block: 96px; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; }
.about-image { position: relative; }
.about-image img { width: 100%; min-height: 500px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.about-image span { position: absolute; left: 22px; bottom: 22px; padding: 11px 15px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: .75rem; font-weight: 800; backdrop-filter: blur(10px); }
.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy p { margin: 20px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.72; }

.store-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.store-grid a { min-height: 190px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 10px 28px rgba(67,48,36,.06); transition: transform .2s ease, box-shadow .2s ease; }
.store-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); }
.store-grid img { width: 116px; height: 106px; object-fit: contain; mix-blend-mode: multiply; }
.store-grid span { color: var(--red-dark); font-size: .72rem; font-weight: 800; }

.quote-section { padding-block: 96px; background: var(--ink); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.quote-copy > p { max-width: 530px; margin: 22px 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.contact-lines { display: flex; flex-direction: column; align-items: start; gap: 9px; color: rgba(255,255,255,.9); font-weight: 700; }

.quote-form { padding: 32px; display: grid; gap: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.07); }
.quote-form label { display: grid; gap: 8px; color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input,
.quote-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.09); color: var(--white); outline: none; }
.quote-form input { height: 48px; padding: 0 14px; }
.quote-form textarea { padding: 14px; resize: vertical; }
.quote-form input:focus,
.quote-form textarea:focus { border-color: rgba(255,255,255,.52); }
.quote-form textarea::placeholder { color: rgba(255,255,255,.4); }
.quote-form .button { justify-self: start; }
.form-note { margin: -6px 0 0; color: rgba(255,255,255,.48); font-size: .68rem; }

.site-footer { padding: 68px 0 22px; background: #211915; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.2fr .8fr .7fr; gap: 48px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand p,
.footer-grid p { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.65; }
.footer-grid h2 { margin: 0 0 16px; color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: start; }
.footer-grid a { margin-bottom: 9px; color: rgba(255,255,255,.75); font-size: .8rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: .7rem; }

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #20b766;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(16,124,70,.28);
  font-size: .78rem;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  z-index: 79;
  right: 20px;
  bottom: 84px;
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229,43,34,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--red);
  box-shadow: 0 12px 30px rgba(47,42,39,.16);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, background .22s ease, color .22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--red); color: var(--white); }
.back-to-top:focus-visible { outline: 3px solid rgba(229,43,34,.25); outline-offset: 3px; }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.product-modal {
  width: min(940px, calc(100% - 30px));
  max-height: min(790px, calc(100vh - 30px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(31,20,14,.35);
}

.product-modal::backdrop { background: rgba(27,19,15,.68); backdrop-filter: blur(5px); }
.modal-close { position: sticky; z-index: 5; top: 15px; float: right; width: 44px; height: 44px; margin: 15px 15px -59px 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; font-size: 1.7rem; line-height: 1; box-shadow: var(--shadow-small); }
.product-detail { min-height: 630px; display: grid; grid-template-columns: 1.05fr .95fr; }
.product-gallery { padding: 46px; display: grid; grid-template-columns: 74px 1fr; gap: 18px; background: var(--white); }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumb { width: 70px; height: 70px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); cursor: pointer; }
.gallery-thumb.is-active { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-main { min-width: 0; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 470px; object-fit: contain; mix-blend-mode: multiply; }
.product-detail-copy { padding: 72px 46px 46px; display: flex; flex-direction: column; align-items: start; }
.detail-category { color: var(--red-dark); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-detail-copy h2 { margin: 13px 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; letter-spacing: -.06em; }
.detail-sku { margin: 0; color: var(--muted); font-size: .72rem; }
.detail-description { margin: 28px 0 0; color: var(--muted); line-height: 1.7; }
.detail-material { margin: 18px 0 0; padding: 9px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-size: .7rem; font-weight: 800; }
.detail-price { margin-top: auto; padding-top: 30px; color: var(--red-dark); font-size: 1.5rem; font-weight: 800; }
.detail-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.detail-note { margin: 14px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }

.noscript { padding: 18px; background: #fff3cd; text-align: center; }

@media (max-width: 1100px) {
  .main-nav { gap: 18px; font-size: .8rem; }
  .search-trigger { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
  .hero-visual { min-height: 570px; }
  .product-float { width: 135px; }
  .float-a { right: 154px; }
  .float-c { right: 158px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-search { flex-basis: auto; }
  .service-card { grid-template-columns: 1fr; }
  .service-card > img { height: 230px; }
  .store-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    z-index: 90;
    inset: 116px 0 0;
    margin: 0;
    padding: 44px 26px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: var(--paper);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .menu-toggle { display: grid; }
  .hero { padding-block: 54px 74px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 610px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog-heading { align-items: start; }
  .collection-banner { grid-template-columns: 1fr; }
  .collection-products { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-image img { min-height: 430px; }
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { min-height: 440px; }
  .gallery-main img { height: 360px; }
  .product-detail-copy { min-height: 500px; padding-top: 46px; }
}

@media (max-width: 680px) {
  .section-shell,
  .nav-wrap { width: min(calc(100% - 32px), var(--max)); }
  .topbar { min-height: 42px; font-size: .67rem; line-height: 1.35; }
  .nav-wrap { min-height: 76px; gap: 10px; }
  .brand img { width: 112px; }
  .nav-budget { min-height: 42px; padding: 0 15px; font-size: .76rem; }
  .menu-toggle { width: 42px; height: 42px; }
  .main-nav { inset: 118px 0 0; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero-copy > p { margin-top: 21px; font-size: .98rem; }
  .quick-stats { grid-template-columns: 1fr; }
  .quick-stats div { min-height: 82px; }
  .hero-visual { min-height: 530px; }
  .product-float { width: 112px; border-radius: 20px; }
  .float-a { top: 34px; right: 132px; }
  .float-b { top: 58px; right: 22px; }
  .float-c { top: 164px; right: 138px; }
  .float-d { top: 178px; right: 26px; }
  .hero-card { left: 18px; right: 18px; bottom: 18px; padding: 22px; grid-template-columns: 1fr; }
  .hero-card strong { font-size: 1.5rem; }
  .section-block,
  .catalog-section,
  .about-section,
  .quote-section { padding-block: 72px; }
  .section-heading { margin-bottom: 26px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 220px; }
  .filter-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .filter-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .product-card-copy { min-height: 134px; padding: 14px; }
  .product-card h3 { font-size: .88rem; }
  .product-meta { font-size: .58rem; }
  .product-tag { left: 9px; top: 9px; font-size: .54rem; }
  .collection-banner { width: min(calc(100% - 32px), var(--max)); min-height: 440px; margin-block: 72px; padding: 34px 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .about-image img { min-height: 330px; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid a { min-height: 160px; padding: 14px; }
  .store-grid img { width: 90px; height: 80px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 46px; padding: 0 14px; font-size: .7rem; }
  .back-to-top { right: 14px; bottom: 74px; width: 44px; height: 44px; }
  .product-modal { width: calc(100% - 16px); max-height: calc(100vh - 16px); border-radius: 24px; }
  .product-gallery { min-height: 390px; padding: 68px 20px 24px; grid-template-columns: 1fr; }
  .gallery-thumbs { order: 2; flex-direction: row; justify-content: center; }
  .gallery-main img { height: 280px; }
  .product-detail-copy { min-height: 440px; padding: 32px 24px 38px; }
}

/* Menu suspenso de categorias — desktop */
@media (min-width: 881px) {
  .nav-category-menu {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  .nav-category-trigger::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 0 0 7px;
    display: inline-block;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease, margin .2s ease;
    vertical-align: middle;
  }

  .nav-category-menu:is(:hover, :focus-within) .nav-category-trigger::after {
    margin-top: 3px;
    transform: rotate(225deg);
  }

  .nav-category-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -18px;
    width: 190px;
    height: 14px;
  }

  .nav-category-dropdown {
    position: absolute;
    z-index: 120;
    top: calc(100% + 13px);
    left: 50%;
    width: 208px;
    padding: 10px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(234, 222, 210, .96);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 48px rgba(62, 39, 27, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -7px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .nav-category-menu:is(:hover, :focus-within) .nav-category-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .main-nav .nav-category-dropdown a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-size: .86rem;
    line-height: 1.2;
  }

  .main-nav .nav-category-dropdown a:hover,
  .main-nav .nav-category-dropdown a:focus-visible {
    background: var(--red-soft);
    color: var(--red);
    outline: none;
  }
}

@media (max-width: 880px) {
  .nav-category-menu { display: contents; }
  .nav-category-dropdown { display: none; }
}

@media (max-width: 420px) {
  .nav-budget { display: none; }
  .nav-actions { margin-left: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 360px; margin-inline: auto; }
  .product-card-image { aspect-ratio: 1 / .82; }
  .store-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Revisão 2 — conteúdo real, catálogo e novos fluxos */

.main-nav a.is-current { color: var(--red); }

.hero {
  min-height: 620px;
  padding-block: 46px 54px;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.hero h1 {
  font-size: clamp(3rem, 4.7vw, 4.55rem);
  line-height: .97;
}

.hero-copy > p { margin-top: 20px; }
.button-row { margin-top: 22px; }
.quick-stats { margin-top: 22px; }

.quick-stats div {
  min-height: 82px;
  padding: 14px 16px;
}

.quick-stats strong { font-size: 1.35rem; }
.quick-stats span:last-child { text-transform: none; }

.rs-flag {
  position: relative;
  width: 34px;
  height: 23px;
  margin: 0 0 4px;
  overflow: hidden;
  border: 1px solid rgba(47,42,39,.12);
  border-radius: 3px;
  background: linear-gradient(145deg, #159447 0 36%, #e31e2f 36% 64%, #f6d53b 64% 100%);
  box-shadow: 0 3px 8px rgba(47,42,39,.12);
}

.rs-flag i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-visual { min-height: 540px; }

.product-float {
  width: 132px;
  padding: 10px;
  background: #fff;
  border-color: #fff;
}

.product-float img { mix-blend-mode: multiply; }
.float-a { top: 34px; right: 158px; }
.float-b { top: 50px; right: 30px; }
.float-c { top: 174px; right: 164px; }
.float-d { top: 188px; right: 34px; }
.hero-card { bottom: 22px; padding: 22px 24px; }
.hero-card strong { font-size: 1.65rem; }

.category-card h3 { color: var(--red-dark); }
.category-card .category-count { color: var(--muted); }
.desktop-title-break { display: block; }
.category-highlight { color: var(--red); font-weight: 800; }

.category-card img {
  width: 49%;
  height: 61%;
  left: auto;
  right: 8%;
  bottom: 9%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.category-card:hover img { transform: scale(1.035); }
.category-card::after { content: none; }

.category-arrow {
  position: absolute !important;
  z-index: 3 !important;
  left: 22px;
  bottom: 22px;
  width: 38px;
  height: 38px;
  margin: 0 !important;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-dark) !important;
  font-size: 1rem !important;
  font-weight: 800;
  line-height: 1;
  padding: 0 0 2px;
}

.category-card.is-selected {
  border-color: rgba(229,43,34,.7);
  box-shadow: 0 16px 38px rgba(229,43,34,.12);
}

.home-products-section {
  padding-block: 88px;
  background: var(--cream);
}

.home-products-section[hidden] { display: none; }
.home-products-heading { align-items: center; }
.home-product-grid { grid-template-columns: repeat(4, 1fr); }

.products-catalog { min-height: 72vh; padding-top: 78px; }
.products-catalog #catalog-title {
  margin: 0;
  font-size: clamp(2.45rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}

.product-card-image img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  object-position: center;
}

.product-card-copy { min-height: 116px; }
.product-card h3 { margin-bottom: 0; }

.product-tag.material-acrylic,
.detail-material.material-acrylic {
  background: var(--red-soft);
  color: var(--red-dark);
}

.product-tag.material-ps,
.detail-material.material-ps {
  background: #e8f3ff;
  color: #1767a6;
}

.button-secondary {
  border-color: #d9d2cc;
  background: #e6e1dd;
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover { background: #d8d1cb; }
.product-detail-copy { padding-top: 62px; }
.detail-actions { margin-top: auto; padding-top: 30px; }
.detail-actions button { border: 0; }

.service-card .service-button {
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  color: #fff;
  font-size: .75rem;
}

.about-image img { object-position: 88% center; }
.about-image span { max-width: calc(100% - 44px); text-align: center; }

.store-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.store-grid a {
  grid-column: auto;
  min-height: 245px;
  gap: 18px;
}

.store-grid img { width: 154px; height: 135px; }
.store-grid span { font-size: .86rem; }

.contact-lines {
  margin-top: 28px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-button {
  min-height: 48px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.contact-button:hover { background: rgba(255,255,255,.16); }
.contact-whatsapp { background: #179e5a; border-color: #179e5a; }
.contact-whatsapp:hover { background: #13864c; }
.contact-button svg { width: 19px; height: 19px; fill: currentColor; }

.footer-brand img {
  width: 150px;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

.footer-address {
  color: rgba(255,255,255,.68) !important;
  font-size: .8rem !important;
  line-height: 1.65;
}

.footer-address:hover { color: #fff !important; text-decoration: underline; }

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.92) !important;
  font-size: .86rem !important;
  font-weight: 700;
}

.footer-contact svg { width: 17px; height: 17px; fill: var(--red); }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px;
  height: 40px;
  margin: 0 !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.social-links a:hover { background: var(--red); border-color: var(--red); }
.social-links svg { width: 19px; height: 19px; fill: currentColor; }

.whatsapp-float { gap: 8px; }
.whatsapp-float svg { width: 20px; height: 20px; fill: currentColor; }

.quote-modal {
  width: min(760px, calc(100% - 30px));
  max-height: min(850px, calc(100vh - 30px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(31,20,14,.35);
}

.quote-modal::backdrop { background: rgba(27,19,15,.68); backdrop-filter: blur(5px); }

.product-quote-form {
  padding: 48px;
  display: grid;
  gap: 18px;
}

.product-quote-form > .eyebrow { justify-self: start; margin-bottom: 0; }
.product-quote-form h2 { margin: 0; padding-right: 50px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.04; letter-spacing: -.06em; }
.product-quote-form > p { margin: -6px 0 4px; color: var(--muted); line-height: 1.6; }
.product-quote-form label { display: grid; gap: 8px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.product-quote-form input,
.product-quote-form select,
.product-quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.product-quote-form input,
.product-quote-form select { height: 48px; padding: 0 13px; }
.product-quote-form textarea { padding: 13px; resize: vertical; }
.product-quote-form input:focus,
.product-quote-form select:focus,
.product-quote-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,43,34,.08); }

.quote-items { display: grid; gap: 10px; }
.quote-item-row {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 120px 38px;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.remove-product-button {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-dark);
  cursor: pointer;
  font-size: 1.3rem;
}
.add-product-button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red-dark);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero { gap: 28px; }
  .hero h1 { font-size: clamp(2.9rem, 5.6vw, 4.1rem); }
  .home-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .hero { padding-block: 48px 70px; grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .home-product-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid a,
  .store-grid a:nth-child(4),
  .store-grid a:nth-child(5) { grid-column: auto; }
  .store-grid a:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
}

@media (max-width: 680px) {
  .desktop-title-break { display: none; }
  .service-card .service-button { margin-top: 26px; }
  .hero { padding-top: 40px; }
  .quick-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .product-float { width: 108px; }
  .float-a { top: 30px; right: 126px; }
  .float-b { top: 48px; right: 20px; }
  .float-c { top: 152px; right: 132px; }
  .float-d { top: 164px; right: 24px; }
  .home-products-section { padding-block: 70px; }
  .home-products-heading { align-items: flex-start; }
  .product-quote-form { padding: 42px 20px 28px; }
  .quote-item-row { grid-template-columns: 1fr 88px 34px; padding: 10px; }
  .remove-product-button { width: 34px; height: 34px; }
  .contact-lines { flex-direction: column; align-items: stretch; }
  .contact-button { justify-content: center; }
  .store-grid { grid-template-columns: 1fr; }
  .store-grid a,
  .store-grid a:last-child { grid-column: auto; width: 100%; }
  .store-grid a { min-height: 205px; }
  .about-image img { object-position: 88% center; }
}

@media (max-width: 420px) {
  .home-product-grid { grid-template-columns: 1fr; }
  .quote-item-row { grid-template-columns: 1fr 72px; }
  .remove-product-button { grid-column: 1 / -1; justify-self: end; margin: -3px 0 0; }
}

/* Revisão 3 — hero, navegação persistente e formulário geral */

html { scroll-padding-top: 132px; }

.topbar {
  position: sticky;
  z-index: 120;
  top: 0;
  height: 34px;
  min-height: 34px;
}

.site-header { top: 34px; }
.brand img { width: 158px; }

.main-nav {
  margin-left: clamp(38px, 6vw, 88px);
  gap: 24px;
}

.nav-actions { margin-left: auto; }

.hero {
  width: min(calc(100% - 40px), 1280px);
  min-height: calc(100svh - 116px);
  padding-block: 34px;
  grid-template-columns: 1.04fr .96fr;
  align-content: center;
}

.hero h1 {
  font-size: clamp(3rem, 3.55vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.068em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-mobile { display: none; }

.hero-copy > .eyebrow {
  max-width: 600px;
  line-height: 1.35;
}

.hero-copy > p { max-width: 610px; }

.hero-visual {
  min-height: min(590px, calc(100svh - 170px));
  background: #d8d0c7;
}

.hero-visual::after {
  background: radial-gradient(circle at 70% 17%, rgba(255,255,255,.35), transparent 34%);
}

.product-float {
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 20px 55px rgba(34,24,18,.18), inset 0 1px 0 rgba(255,255,255,.55);
  backdrop-filter: blur(18px) saturate(1.22);
  animation: product-float 5.8s ease-in-out infinite;
}

.product-float:nth-child(2) { animation-delay: -.9s; }
.product-float:nth-child(3) { animation-delay: -1.8s; }
.product-float:nth-child(4) { animation-delay: -2.7s; }

.product-float img {
  opacity: 1;
  transition: opacity .28s ease, transform .28s ease;
}

.product-float.is-changing img { opacity: 0; transform: scale(.92); }

@keyframes product-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.hero-card {
  grid-template-columns: 1fr;
  align-items: start;
  border-color: rgba(255,255,255,.62);
  background: rgba(255,250,244,.70);
  box-shadow: 0 22px 55px rgba(35,24,18,.17), inset 0 1px 0 rgba(255,255,255,.55);
  backdrop-filter: blur(12px) saturate(1.1);
}

.hero-card a { justify-self: start; margin-top: 4px; }

.rs-flag-image {
  width: 38px;
  height: 27px;
  margin: 0 0 4px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 3px 9px rgba(47,42,39,.15);
}

.about-image { aspect-ratio: 1; }
.about-image img {
  height: 100%;
  min-height: 0;
  aspect-ratio: 1;
  object-position: center;
}

.store-grid img {
  width: 205px;
  height: 162px;
  max-width: 92%;
  mix-blend-mode: normal;
}

.quote-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: #514c49;
  color: #fff;
  outline: none;
}

.quote-form select:focus { border-color: rgba(255,255,255,.52); }

.general-product-picker {
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.general-product-picker[hidden] { display: none; }

.general-product-picker .quote-item-row {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.065);
}

.general-product-picker .quote-item-row label { color: rgba(255,255,255,.76); }
.general-product-picker .quote-item-row select,
.general-product-picker .quote-item-row input {
  border-color: rgba(255,255,255,.15);
  background: #514c49;
  color: #fff;
}

.general-product-picker .add-product-button { color: #fff; }

@media (max-width: 1100px) {
  .main-nav { margin-left: 28px; gap: 17px; }
  .brand img { width: 150px; }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 122px; }
  .main-nav {
    top: 116px;
    bottom: 0;
    inset-inline: 0;
    height: calc(100dvh - 116px);
    margin: 0;
    background: #fffaf4 !important;
    backdrop-filter: none;
    box-shadow: inset 0 1px 0 var(--line);
  }
  .menu-open .main-nav { background: #fffaf4 !important; }
  .hero {
    min-height: auto;
    padding-block: 48px 72px;
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 560px; }
}

@media (max-width: 680px) {
  .topbar { height: 42px; min-height: 42px; }
  .site-header { top: 42px; }
  .brand img { width: 124px; }
  .main-nav { top: 118px; height: calc(100dvh - 118px); }
  .hero-title-line { white-space: normal; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.45rem); }
  .hero-visual { min-height: 510px; }
  .store-grid img { width: 185px; height: 145px; }
}

/* Revisão 4 — ritmo das seções, cozinhas rotativas e refinamentos do catálogo */

.main-nav {
  margin-left: auto;
  gap: 24px;
}

.nav-actions { margin-left: 12px; }

.nav-budget {
  min-height: 44px;
  padding-inline: 19px;
  white-space: nowrap;
  font-size: .76rem;
  letter-spacing: .015em;
}

.hero-highlight {
  color: var(--red);
  font-weight: 800;
}

.hero-visual {
  isolation: isolate;
  background: #d8d0c7;
}

.hero-kitchen-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.15s ease;
}

.hero-kitchen-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-kitchen-layer.is-active {
  opacity: 1;
}

.hero-visual::after { z-index: 1; }

.product-float {
  z-index: 2;
  border-color: rgba(234,222,210,.9);
  background: #fff;
  box-shadow: 0 20px 52px rgba(34,24,18,.18);
  backdrop-filter: none;
}

.hero-card { z-index: 3; }

#categorias,
#servicos,
#onde-comprar {
  position: relative;
  clip-path: inset(0 -100vmax);
}

#categorias {
  background: #fff9f3;
  box-shadow: 0 0 0 100vmax #fff9f3;
}

@media (min-width: 881px) {
  #categorias { scroll-margin-top: -76px; }
}

.home-products-section { background: #f7f1ea; }

#servicos {
  background: #fbf6f0;
  box-shadow: 0 0 0 100vmax #fbf6f0;
}

.about-section { background: #fffdf9; }

#onde-comprar {
  background: #f8f3ec;
  box-shadow: 0 0 0 100vmax #f8f3ec;
}

.product-reference {
  color: var(--red-dark);
  font-weight: 800;
}

.product-card-copy {
  min-height: 84px;
  padding: 12px 16px 13px;
}

.product-card h3 { margin: 6px 0 0; }

.product-card--tall .product-card-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 86%;
  transform: translate(-50%, -50%);
}

.product-card--tall:hover .product-card-image img { transform: translate(-50%, -50%) scale(1.018); }

.store-grid img {
  width: 238px;
  height: 178px;
  max-width: 98%;
  transform: scale(1.06);
}

@media (max-width: 1100px) {
  .main-nav { margin-left: auto; gap: 17px; }
  .nav-wrap { gap: 18px; }
  .nav-actions { margin-left: 8px; }
  .nav-budget { padding-inline: 15px; font-size: .7rem; }
}

@media (max-width: 880px) {
  .main-nav { margin: 0; gap: 0; }
  .nav-actions { margin-left: auto; }
  .nav-budget { font-size: .67rem; }
  .store-grid img { width: 225px; height: 168px; }
}

@media (max-width: 680px) {
  .hero {
    width: min(calc(100% - 28px), 1280px);
    padding-block: 34px 58px;
    gap: 34px;
  }
  .hero h1 { font-size: clamp(2.45rem, 10.8vw, 3.15rem); }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; }
  .hero-title-mobile .hero-title-line { white-space: nowrap; }
  .hero-copy > p { font-size: .94rem; line-height: 1.62; }
  .quick-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .quick-stats div { min-height: 94px; padding: 13px 10px; }
  .quick-stats strong { font-size: 1.35rem; }
  .quick-stats span { font-size: .6rem; line-height: 1.35; }
  .rs-flag-image { width: 32px; height: 23px; }
  .hero-visual { min-height: 455px; border-radius: 26px; }
  .hero-card { padding: 20px; }
  .hero-card strong { font-size: 1.35rem; }
  .section-block,
  .about-section,
  .quote-section { padding-block: 62px; }
  .section-heading h2,
  .about-copy h2,
  .quote-copy h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .category-card { min-height: 205px; }
  .product-card-copy { min-height: 80px; padding: 11px 13px 12px; }
  .store-grid img { width: 235px; height: 170px; }
  .quote-form { border-radius: 20px; }
  .site-footer { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kitchen-layer { transition: none; }
}

@media (max-width: 420px) {
  .product-card { width: 100%; }
}

/* V11 — navegação por produto e lista de orçamento */
.product-card-main { display: block; color: inherit; }
.product-card-main:hover { color: inherit; }
.product-card .product-card-add {
  width: calc(100% - 26px);
  min-height: 36px;
  margin: 0 13px 13px;
  padding: 8px 12px;
  border: 1px solid rgba(229,43,34,.22);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
}
.product-card .product-card-add:hover { background: var(--red); color: var(--white); }

.slideshow-toggle {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.slideshow-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slideshow-toggle .play-icon { display: none; }
.slideshow-toggle.is-paused .pause-icon { display: none; }
.slideshow-toggle.is-paused .play-icon { display: block; }

.quote-list-float {
  position: fixed;
  z-index: 78;
  left: 20px;
  bottom: 20px;
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(229,43,34,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(47,42,39,.16);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, border-color .2s ease;
}
.quote-list-float svg { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote-list-count { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--line); color: var(--muted); font-size: .66rem; }
.quote-list-float.has-items { border-color: var(--red); opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.quote-list-float.has-items .quote-list-count { background: var(--red); color: #fff; }
.cart-toast { position: fixed; z-index: 120; left: 50%; bottom: 84px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: .76rem; font-weight: 800; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .22s ease; }
.cart-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.quote-list-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.clear-quote-list { min-height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--red-dark); cursor: pointer; font-size: .72rem; font-weight: 800; }

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-submit-row .button {
  flex: 1 1 210px;
  justify-content: center;
}

.form-status {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.45;
}

.quote-modal .form-status,
.product-quote-form .form-status {
  border: 1px solid var(--line);
  background: var(--red-soft);
  color: var(--red-dark);
}

.form-status[data-type="success"] {
  background: rgba(26, 140, 74, .12);
  color: #178246;
}

.form-status[data-type="error"] {
  background: rgba(229, 43, 34, .12);
  color: var(--red-dark);
}

.success-popup {
  position: fixed;
  z-index: 220;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(27,19,15,.56);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.success-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.success-popup-card {
  position: relative;
  width: min(430px, 100%);
  padding: 38px 30px 32px;
  display: grid;
  justify-items: center;
  gap: 13px;
  border: 1px solid rgba(26, 140, 74, .14);
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 34px 100px rgba(20, 57, 34, .28), 0 0 0 12px rgba(26, 140, 74, .08);
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
}

.success-popup.is-visible .success-popup-card { transform: none; }

.success-popup-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(47,42,39,.08);
}

.success-popup-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fc46a, #128a4c);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(26, 140, 74, .28);
}

.success-popup-card strong {
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: -.045em;
}

.success-popup-card p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quote-quick-look {
  position: fixed;
  z-index: 118;
  left: 20px;
  bottom: 80px;
  width: min(360px, calc(100vw - 40px));
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 54px rgba(47,42,39,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.98);
  transition: .22s ease;
}
.quote-quick-look.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.quote-quick-header { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.quote-quick-header strong { font-size: 1rem; }
.quote-quick-header button,
.quote-quick-item > button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--red-soft); color: var(--red-dark); cursor: pointer; font-size: 1.15rem; }
.quote-quick-items { display: grid; gap: 8px; }
.quote-quick-item { padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.quote-quick-item:first-child { border-top: 0; }
.quote-quick-item div { min-width: 0; display: grid; gap: 3px; }
.quote-quick-item strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.quote-quick-item span { color: var(--muted); font-size: .65rem; }
.quote-quick-empty,
.quote-quick-more { margin: 8px 0 12px; color: var(--muted); font-size: .72rem; }
.quote-quick-review { width: 100%; margin-top: 12px; }
.quote-quick-actions { margin-top: 12px; display: grid; gap: 8px; }
.quote-quick-actions .quote-quick-review { margin-top: 0; }
.quote-quick-clear { min-height: 36px; border: 0; background: transparent; color: var(--red-dark); cursor: pointer; font-size: .72rem; font-weight: 800; }

/* Página individual de produto */
.single-product-page { background: var(--cream); }
.product-page-shell { padding-block: 24px 90px; }
.breadcrumbs { margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .74rem; }
.breadcrumbs a { color: var(--red-dark); font-weight: 800; }
.product-back-button { margin-bottom: 18px; padding: 9px 14px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; font-size: .76rem; font-weight: 800; box-shadow: 0 8px 22px rgba(47,42,39,.07); }
.product-back-button:hover { border-color: rgba(229,43,34,.35); color: var(--red-dark); }
.product-back-button span { color: var(--red); font-size: 1rem; line-height: 1; }
.single-product-hero { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: var(--shadow-small); }
.single-product-gallery { min-height: 610px; padding: 42px; display: grid; grid-template-columns: 74px 1fr; gap: 24px; background: linear-gradient(180deg,#fff,#fbf7f2); }
.single-gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.single-gallery-thumb { width: 70px; height: 70px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.single-gallery-thumb.is-active { border-color: var(--red); }
.single-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.single-gallery-main { display: grid; place-items: center; min-width: 0; }
.single-gallery-main img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.single-product-copy { padding: 58px 48px; display: flex; flex-direction: column; align-items: start; }
.single-product-copy h1 { margin: 15px 0 12px; font-size: clamp(2.7rem, 5vw, 5.1rem); line-height: .94; letter-spacing: -.07em; }
.single-reference { margin: 0; color: var(--red-dark); font-size: .78rem; font-weight: 900; }
.single-description { margin: 28px 0 18px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.single-product-actions { margin-top: auto; padding-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.single-product-actions .add-to-quote { border-color: var(--red); background: var(--red); color: #fff; }
.single-product-actions .add-to-quote:hover { background: var(--red-dark); }
.where-product-section, .related-section { padding-top: 80px; }
.section-mini-heading { max-width: 720px; margin-bottom: 28px; }
.section-mini-heading h2 { margin: 12px 0 0; font-size: clamp(2.2rem, 4vw, 3.7rem); letter-spacing: -.06em; }
.product-store-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.product-store-grid a { min-height: 138px; padding: 16px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.product-store-grid img { width: 100%; height: 86px; object-fit: contain; }
.product-store-grid span { color: var(--red-dark); font-size: .66rem; font-weight: 800; }
.related-section .product-grid { grid-template-columns: repeat(3,1fr); }

@media (max-width: 980px) {
  .single-product-hero { grid-template-columns: 1fr; }
  .single-product-gallery { min-height: 520px; }
  .product-store-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 680px) {
  .slideshow-toggle { top: 12px; left: 12px; width: 36px; height: 36px; }
  .quote-list-float { left: 14px; bottom: 14px; min-height: 46px; padding: 0 12px; }
  .quote-list-float > span { display: none; }
  .quote-quick-look { left: 14px; bottom: 70px; width: calc(100vw - 28px); }
  .single-product-page .site-header { position: relative; }
  .product-page-shell { padding-block: 46px 66px; }
  .product-back-button { margin: 0 0 24px; }
  .single-product-hero { border-radius: 24px; }
  .single-product-gallery { min-height: 420px; padding: 20px; grid-template-columns: 1fr; }
  .single-gallery-thumbs { order: 2; flex-direction: row; justify-content: center; }
  .single-gallery-main { min-height: 300px; }
  .single-gallery-main img { height: 300px; }
  .single-product-copy { padding: 34px 24px; }
  .single-product-copy h1 { font-size: 2.75rem; }
  .single-product-actions { width: 100%; }
  .single-product-actions .button { width: 100%; }
  .where-product-section, .related-section { padding-top: 60px; }
  .product-store-grid { grid-template-columns: repeat(2,1fr); }
  .related-section .product-grid { grid-template-columns: 1fr; }
}

/* Ajustes mobile — menu, produto e confirmação de envio */
@media (max-width: 880px) {
  body.menu-open .site-header {
    position: fixed;
    z-index: 210;
    top: 34px;
    left: 0;
    right: 0;
    background: #fffaf4;
    backdrop-filter: none;
  }

  body.menu-open .main-nav {
    position: fixed;
    z-index: 205;
    inset: 116px 0 0;
    height: calc(100dvh - 116px);
    padding: 42px 34px;
    background: #fffaf4 !important;
    box-shadow: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    min-height: 76px;
  }

  .single-product-page .site-header {
    position: sticky;
    top: 42px;
  }

  body.menu-open .site-header {
    top: 42px;
  }

  body.menu-open .main-nav {
    inset: 118px 0 0;
    height: calc(100dvh - 118px);
    padding: 38px 40px;
  }

  .main-nav a {
    padding: 17px 0;
    font-size: 1.08rem;
  }

  .product-page-shell {
    padding-block: 58px 66px;
  }

  .product-back-button {
    margin-bottom: 26px;
  }

  .quote-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 28px;
  }

  .quote-modal .modal-close {
    top: 10px;
    width: 40px;
    height: 40px;
    margin: 10px 10px -50px 0;
    font-size: 1.45rem;
  }

  .product-quote-form {
    padding: 32px 18px 24px;
    gap: 14px;
  }

  .product-quote-form h2 {
    padding-right: 42px;
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .product-quote-form > p {
    margin-top: -2px;
    font-size: .98rem;
    line-height: 1.5;
  }

  .product-quote-form input,
  .product-quote-form select {
    height: 46px;
  }

  .quote-item-row {
    grid-template-columns: minmax(0, 1fr) 86px;
    padding: 12px;
  }

  .quote-item-row label {
    min-width: 0;
  }

  .quote-item-row label:first-child {
    grid-column: 1 / 2;
  }

  .remove-product-button {
    grid-column: 1 / -1;
    justify-self: end;
    margin: -2px 0 0;
  }

  .success-popup {
    padding: 18px;
  }

  .success-popup-card {
    padding: 34px 24px 28px;
    border-radius: 26px;
  }
}

/* Compactação extra do formulário de orçamento em telas menores */
@media (max-width: 520px) {
  .quote-modal {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    max-height: calc(100svh - 14px);
    border-radius: 24px;
    overscroll-behavior: contain;
  }

  .quote-modal .modal-close {
    top: 8px;
    width: 36px;
    height: 36px;
    margin: 8px 8px -44px 0;
    font-size: 1.35rem;
  }

  .product-quote-form {
    padding: 24px 16px 16px;
    gap: 9px;
  }

  .product-quote-form > .eyebrow {
    max-width: calc(100% - 50px);
    padding: 8px 13px;
    font-size: .62rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .product-quote-form h2 {
    padding-right: 38px;
    font-size: clamp(1.78rem, 8.6vw, 2.18rem);
    line-height: 1;
  }

  .product-quote-form > p {
    margin: -2px 0 0;
    font-size: .8rem;
    line-height: 1.38;
  }

  .product-quote-form label {
    gap: 5px;
    font-size: .68rem;
  }

  .product-quote-form input,
  .product-quote-form select {
    height: 40px;
    padding-inline: 11px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .product-quote-form textarea {
    min-height: 54px;
    max-height: 72px;
    padding: 10px 11px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .quote-items {
    gap: 7px;
  }

  .quote-item-row {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
    padding: 9px;
    border-radius: 14px;
  }

  .quote-list-actions {
    gap: 8px 16px;
  }

  .add-product-button,
  .clear-quote-list {
    min-height: 28px;
    font-size: .72rem;
  }

  .form-submit-row {
    gap: 8px;
  }

  .form-submit-row .button {
    min-height: 44px;
    flex-basis: 100%;
  }
}
