/* Shared visual refinement. Keep brand colors; let the products lead. */
:root {
  --cream-50: #fcfaf6;
  --cream-100: #f5f1e9;
  --cream-200: #eae3d6;
  --ink: #302c26;
  --muted: #69645b;
  --line: #e4dfd6;
  --shadow-sm: 0 5px 18px rgb(48 44 38 / 4%);
  --shadow-md: 0 12px 30px rgb(48 44 38 / 8%);
}

body { background: var(--cream-50); }
.catalog-page .reveal { opacity: 1; transform: none; transition: none; }
.section { padding-block: 76px; }
.eyebrow { font-size: .75rem; letter-spacing: .13em; line-height: 1.5; }
.button { min-height: 48px; padding: 13px 22px; border-radius: 7px; font-size: .9375rem; font-weight: 650; box-shadow: none; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.button span[aria-hidden="true"] { display: none; }
.topline { background: #edf0e9; color: #48584a; }
.topline-inner { min-height: 34px; font-size: .75rem; }
.topline strong { color: inherit; }
.topline p:first-child span { display: none; }
.site-header { background: #fcfaf6; backdrop-filter: none; }
.site-header.is-scrolled { background: #fcfaf6; box-shadow: 0 3px 15px rgb(48 44 38 / 5%); }
.header-inner { min-height: 88px; gap: 22px; }
.brand-type strong { font-size: 1.6rem; }
.site-nav { padding: 0; gap: 24px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.site-nav > a:not(.button), .nav-link-button {
  padding: 12px 0; min-height: 48px; border: 0; border-bottom: 2px solid transparent;
  border-radius: 0; background: none; color: #524d45; font-size: .875rem; font-weight: 600; box-shadow: none;
}
.site-nav > a:not(.button):hover, .site-nav > a:not(.button):focus-visible,
.site-nav > a[aria-current="page"], .site-nav > a:not(.button):active {
  color: var(--red-700); background: none; border-color: var(--red-600); box-shadow: none; transform: none;
}
.site-nav > a:not(.button):focus-visible { outline: 2px solid var(--red-600); outline-offset: 5px; }
.region-switcher { font-size: .75rem; color: #48584a; border-color: #bdc8bb; background: transparent; }

/* A compact, light hero keeps the full gallery beside readable text. */
.home-page .hero { min-height: 0; padding: 42px 0 46px; background: var(--cream-100); color: var(--ink); overflow: hidden; }
.home-page .hero::before, .home-page .hero::after { display: none; }
.home-hero-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 76px); }
.home-page .hero-copy { max-width: none; padding: 12px 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.home-page .hero-copy > .eyebrow { color: #526a54; margin-bottom: 22px; }
.home-page .hero h1 { max-width: 620px; margin: 0 0 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.65rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.045em; color: var(--ink); text-shadow: none; }
.home-page .hero h1 em { color: #526a54; font-weight: 400; }
.home-page .hero-lead { max-width: 465px; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 28px; }
.hero-secondary-link { padding-block: 12px; text-underline-offset: 6px; font-size: .9375rem; font-weight: 600; }
.hero-secondary-link:hover { color: var(--red-700); }
.hero-origin { margin: 28px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.hero-origin span { margin-inline: 5px; }
.home-page .hero-product-carousel {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(82, 60, 31, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 32px -8px rgba(45, 35, 20, 0.07), 0 2px 8px rgba(45, 35, 20, 0.03);
  pointer-events: auto;
  user-select: auto;
}
.home-page .hero-carousel-viewport {
  height: auto;
  border-radius: 0;
  overflow: hidden;
  border-bottom: 1px solid #f2ede4;
}
.home-page .hero-carousel-track { height: auto; display: block; pointer-events: auto; }
.home-page .hero-carousel-card { width: 100%; min-width: 0; height: auto; aspect-ratio: 1.4; margin: 0; border-radius: 0; background: #e7ded0; }
.home-page .hero-carousel-card::after { display: none; }
.home-page .hero-carousel-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; transform: none; }
.hero-carousel-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; }
.hero-carousel-caption strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.hero-carousel-caption > span { color: var(--muted); font-size: .75rem; }
.hero-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 16px 12px 22px; }
.hero-carousel-controls > span { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.carousel-buttons { display: flex; align-items: center; gap: 6px; }
.carousel-buttons button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(82, 60, 31, 0.12);
  border-radius: 50%;
  background: #fdfbf7;
  color: var(--ink);
  cursor: pointer;
  transition: all 160ms ease;
}
.carousel-buttons button:hover {
  background: #f2ece0;
  border-color: rgba(82, 60, 31, 0.25);
  transform: scale(1.06);
}
.carousel-buttons [data-carousel-step] { font-size: 1.25rem; line-height: 1; }
[data-carousel-pause] { display: none !important; }
.confidence { background: var(--cream-50); color: var(--ink); border-block: 1px solid var(--line); }
.confidence-grid { padding-block: 23px; }
.confidence-grid > div { min-height: 64px; padding-block: 8px; border-color: var(--line); }
.confidence-icon { color: #6e7869; background: #eef0e9; border: 0; }
.confidence p { font-size: .875rem; color: var(--muted); }
.confidence strong { color: #445740; }
.quality-page-hero, .recipes-hero { background: #3c5140; }

/* Home sections share a measured rhythm and restrained surfaces. */
.home-products-heading, .brand-family-heading { gap: 32px; margin-bottom: 32px; }
.brand-portals-heading { display: block; margin-bottom: 28px; }
.home-products-heading h2, .brand-portals-heading h2, .brand-family-heading h2,
.retailers-heading h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.13; letter-spacing: -.035em; }
.home-products, .brand-portals { background: var(--cream-50); }
.home-products::before, .home-products::after, .brand-family::before, .brand-family::after { display: none; }
.home-products-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
.home-product-tile { grid-column: auto; grid-row: auto; min-height: 0; height: auto; aspect-ratio: 1.15; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: none; }
.home-product-tile img { object-fit: contain; padding: 14px 14px 64px; }
.home-product-tile::before, .home-product-tile::after { display: none; }
.home-product-tile > span { inset: auto 0 0; padding: 17px 20px; background: rgb(255 255 255 / 96%); color: var(--ink); }
.home-product-tile small { color: #526a54; font-size: .75rem; }
.home-product-tile strong, .home-product-tile-large strong, .home-product-tile-tall strong { font-size: 1.25rem; }
.home-product-tile:last-child { grid-column: 2; }
.home-products-action { margin-top: 28px; }
.retailers { background: #f0f1eb; border-block: 1px solid #e2e5da; }
.retailers-heading { max-width: 640px; }
.retailers-heading > p:last-child { font-size: 1rem; }
.retailer-card {
  height: 108px;
  padding: 18px 24px;
  border-radius: 11px;
  border: 1px solid #e3e6dc;
  background: white;
  box-shadow: 0 2px 10px rgba(48, 44, 38, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.retailer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(48, 44, 38, 0.06);
}
.retailer-card > img {
  width: auto;
  max-width: 155px;
  max-height: 52px;
  object-fit: contain;
  margin: auto;
  display: block;
}
.retailer-card > .retailer-logo-fort {
  max-width: 142px;
  max-height: 48px;
}
.retailer-card > .retailer-logo-abeve {
  width: auto;
  height: auto;
  max-width: 142px;
  max-height: 56px;
}
.retailers-note { max-width: 640px; margin: 20px auto 0; font-size: .84rem; line-height: 1.5; color: #71695c; text-align: center; }
.retailers-direct-card {
  margin-top: 30px;
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid #dce2d6;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: 0 4px 20px rgba(35, 55, 38, 0.05);
}
.retailers-direct-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.retailers-direct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eaf1e8;
  color: #24553b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.retailers-direct-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25a25a;
  box-shadow: 0 0 0 3px rgba(37, 162, 90, 0.22);
}
.retailers-direct-text h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  color: #1a261d;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.retailers-direct-text p {
  margin: 0;
  color: #5c5549;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 580px;
}
.retailers-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
}
.retailers-direct-actions .button {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 0.92rem;
  justify-content: center;
  gap: 8px;
}
.retailers-direct-actions .button-whatsapp {
  background: #1f7743;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(31, 119, 67, 0.2);
}
.retailers-direct-actions .button-whatsapp:hover {
  background: #176135;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 119, 67, 0.28);
}
.button-catalog-redirect {
  background: #f7f5f0;
  color: #2b251f;
  border: 1px solid #ddd7cc;
  font-weight: 650;
}
.button-catalog-redirect:hover {
  background: #ede8dc;
  color: #1a261d;
  border-color: #cbc3b4;
}
.button-catalog-redirect .btn-arrow {
  display: inline-block !important;
  margin-left: 4px;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 160ms ease;
}
.button-catalog-redirect:hover .btn-arrow {
  transform: translateX(3px);
}
@media (max-width: 860px) {
  .retailers-direct-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 18px;
    margin-top: 22px;
  }
  .retailers-direct-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }
  .retailers-direct-actions .button {
    flex: 1 1 200px;
  }
}
.brand-family { background: var(--cream-50); border-bottom: 1px solid #e5dfd5; }
.brand-family-heading { max-width: 680px; }
.brand-family-grid { gap: 18px; }
.brand-family-card {
  min-height: 235px;
  padding: 24px 22px;
  border: 1px solid #dfdad0;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(48, 44, 38, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  text-decoration: none;
}
.brand-family-card:not(.is-preview):hover {
  transform: translateY(-2px);
  border-color: #c4beaf;
  box-shadow: 0 8px 24px rgba(48, 44, 38, 0.07);
}
.brand-family-card.is-preview {
  background: #fbf9f4;
  border: 1px dashed #d5cfc0;
  cursor: default;
}
.brand-family-monogram {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #edf0e9;
  color: #3b5a41;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  display: grid;
  place-items: center;
}
.brand-family-card.is-preview .brand-family-monogram {
  background: #eae5d9;
  color: #726b5d;
}
.brand-family-coverage {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #eaf1e8 !important;
  color: #24553b !important;
  border: 1px solid #d0dcce !important;
  font-size: 0.76rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.02em;
  width: fit-content;
}
.brand-family-coverage.is-preview-badge {
  background: #f1ede4 !important;
  color: #726b5d !important;
  border-color: #dfd8cb !important;
}
.brand-family-card > strong {
  font-size: 1.45rem;
  font-family: var(--serif);
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a261d;
  line-height: 1.15;
}
.brand-family-card > p {
  color: #635b4f;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}
.brand-family-action {
  font-size: 0.88rem;
  font-weight: 700;
  color: #24553b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}
.brand-family-card:hover .brand-family-action {
  color: #163e29;
}
.brand-family-card .card-arrow {
  display: inline-block !important;
  transition: transform 160ms ease;
}
.brand-family-card:hover .card-arrow {
  transform: translateX(3px);
}
.brand-family-status {
  font-size: 0.82rem;
  font-weight: 650;
  color: #8c8474;
  margin-top: auto;
}

/* Product card brand image overlay tag */
.product-image {
  position: relative;
}
.product-brand-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.product-brand-tag.brand-tag-santa-heleine {
  background: rgba(255, 255, 255, 0.94);
  color: #1e422c;
  border: 1px solid rgba(30, 66, 44, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-brand-tag.brand-tag-vale-verde {
  background: rgba(247, 243, 235, 0.95);
  color: #384f3a;
  border: 1px solid rgba(56, 79, 58, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand-portal { min-height: 260px; border-radius: 10px; box-shadow: none; }
.brand-portal strong { font-size: 1.6rem; }
.brand-portal p { font-size: .9375rem; }
.brand-portal-action { font-size: .875rem; }

/* Catalog: consistent reading order, rich warm atmosphere, balanced structure */
.catalog-page-hero {
  position: relative;
  padding: clamp(38px, 5.5vw, 62px) 0 clamp(32px, 4.5vw, 52px);
  background:
    radial-gradient(ellipse 65% 55% at 85% 25%, rgba(221, 163, 42, 0.16), transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 85%, rgba(36, 85, 59, 0.06), transparent 60%),
    linear-gradient(135deg, #fefcf7 0%, #f7f1e4 100%);
  border-bottom: 1px solid rgba(200, 185, 160, 0.35);
}

.catalog-page-hero::before,
.catalog-page-hero::after {
  display: none;
}

.catalog-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.catalog-hero-text {
  display: flex;
  flex-direction: column;
}

.catalog-page-hero .page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease;
}
.catalog-page-hero .page-back-link:hover {
  color: var(--red-700);
  transform: translateX(-3px);
}

.catalog-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  background: rgba(36, 85, 59, 0.08);
  border: 1px solid rgba(36, 85, 59, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-900);
  margin-bottom: 14px;
}
.kicker-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ea05f;
  box-shadow: 0 0 0 3px rgba(46, 160, 95, 0.25);
}

.catalog-page-hero h1 {
  max-width: 680px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

.catalog-page-hero-copy {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.68;
  color: #5c5346;
  margin: 0;
}

/* Fatos de procedência do Hero */
.catalog-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.catalog-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(200, 185, 160, 0.45);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #554d42;
  box-shadow: 0 2px 6px rgba(40, 30, 20, 0.03);
}

.catalog-hero-facts strong {
  font-weight: 750;
  color: var(--green-950);
}

/* Moldura Fotográfica da Tábua de Queijos */
.catalog-hero-figure {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(50, 36, 18, 0.12), 0 2px 6px rgba(50, 36, 18, 0.05);
  border: 1px solid rgba(200, 185, 160, 0.4);
  aspect-ratio: 16 / 10;
  max-width: 480px;
  margin-left: auto;
}

.catalog-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.catalog-hero-figure:hover img {
  transform: scale(1.02);
}

.catalog-hero-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 10px;
  background: linear-gradient(to top, rgba(18, 14, 10, 0.78), transparent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Seção Principal do Catálogo */
.catalog-page .catalog {
  padding-top: 32px;
}

/* Seletor de Marcas Organizado */
.brand-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  margin-bottom: 22px;
  background: #ffffff;
  border: 1px solid #e5dfd3;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(45, 35, 20, 0.03);
}

.brand-selector-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-selector-header-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-selector-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-700);
}
.brand-selector-intro .eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--red-600);
  border-radius: 50%;
}

.brand-selector-intro h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-summary-text {
  margin: 0;
  font-size: 0.84rem;
  color: #6a6154;
}

.brand-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 16px;
  border-radius: 9px;
  border: 1px solid #ded7ca;
  background: #fdfcf9;
  cursor: pointer;
  transition: all 180ms ease;
  box-shadow: none;
}

.brand-tab:hover {
  background: #f7f3ea;
  border-color: #c9bea8;
  transform: translateY(-1px);
}

.brand-tab-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #eee8dc;
  color: #4b5d49;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tab-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-tab strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.brand-tab small {
  font-size: 0.72rem;
  color: var(--muted);
}

.brand-tab.is-active {
  background: #1e3f2b;
  border-color: #1e3f2b;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 63, 43, 0.2);
}

.brand-tab.is-active .brand-tab-mark {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.brand-tab.is-active strong {
  color: #ffffff;
}

.brand-tab.is-active small {
  color: #c3d9c7;
}

/* Toolbar de Busca e Categorias */
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  margin: 0 0 18px;
  background: #ffffff;
  border: 1px solid #e5dfd3;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(45, 35, 20, 0.03);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  min-width: 280px;
  padding: 0 14px;
  border: 1px solid #d9d2c4;
  border-radius: 8px;
  background: #faf7f0;
  color: #554e42;
  transition: all 180ms ease;
}

.search-box:focus-within {
  background: #ffffff;
  border-color: #24553b;
  box-shadow: 0 0 0 3px rgba(36, 85, 59, 0.12);
}

.search-box svg {
  color: #857a69;
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.94rem;
  color: var(--ink);
  outline: none;
}
.search-box input::placeholder {
  color: #938977;
}

.filter-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid #ded6c7;
  background: #fdfcf9;
  color: #4b4438;
  cursor: pointer;
  transition: all 160ms ease;
}

.filter-chip:hover {
  background: #f5f0e4;
  border-color: #c4b7a1;
  color: var(--ink);
}

.filter-chip.is-active {
  background: #24553b;
  border-color: #24553b;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(36, 85, 59, 0.22);
}

/* Barra de Status e Contagem */
.catalog-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 4px 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(200, 185, 160, 0.4);
}

.catalog-meta {
  margin: 0;
  font-size: 0.92rem;
  color: #4b4438;
}

.catalog-meta p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-meta strong {
  font-weight: 750;
  color: var(--ink);
}

.catalog-meta-sep {
  color: #c4b9a7;
}

.catalog-meta-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.catalog-price-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #6a6154;
  background: rgba(243, 237, 224, 0.7);
  border: 1px solid rgba(210, 195, 170, 0.4);
  padding: 6px 12px;
  border-radius: 7px;
  line-height: 1.4;
}

.catalog-price-note svg {
  flex-shrink: 0;
  color: #8c7b64;
}
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card {
  display: block;
  border: 1px solid #e6e0d5;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(45, 35, 20, 0.03);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: #c9bea9;
  box-shadow: 0 12px 28px -6px rgba(45, 35, 20, 0.08);
}
.product-open { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; }
.product-open:focus-visible { outline: 3px solid var(--red-600); outline-offset: -4px; border-radius: 12px; }
.product-image { width: 100%; display: block; background: #fff; border-radius: 12px 12px 0 0; }
.product-image::after { display: none; }
.product-image img { width: 100%; height: auto; aspect-ratio: 1.45; padding: 16px 22px; object-fit: contain; }
.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  padding: 20px 22px 18px;
  border: 0;
  border-top: 1px solid #f2ede5;
}
.product-category {
  margin-bottom: 6px;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #24553b;
}
.product-body h3 {
  min-height: 2.5em;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: #1a251c;
}
.product-summary {
  min-height: 2.9em;
  margin: 0 0 16px;
  color: #5d564a;
  font-size: .88rem;
  line-height: 1.5;
  font-style: normal;
}
.product-pricing {
  margin: auto 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.product-piece-estimate,
.product-fixed-price {
  padding: 9px 12px;
  background: #fbf9f4;
  border: 1px solid #eee7dc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-price-highlight {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.price-main-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a261d;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price-main-unit {
  font-size: .84rem;
  font-weight: 550;
  color: #6d6558;
}
.price-estimate-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ede6da;
  color: #4a4337;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.product-specs-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: .8rem;
  color: #6d6558;
  line-height: 1.35;
}
.product-specs-sub strong {
  color: #27221b;
  font-weight: 650;
}
.product-kilo-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 4px 0;
  font-size: 0.83rem;
  color: #554e42;
}
.product-kilo-label {
  font-weight: 550;
  color: #635b4e;
}
.product-kilo-val {
  font-weight: 750;
  color: #1a261d;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.specs-sep {
  color: #c4baa7;
}
.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f0ece3;
  font-size: .9rem;
  font-weight: 650;
  color: #24553b;
  transition: all 160ms ease;
}
.product-link > span {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 160ms ease;
}
.product-card:hover .product-link {
  color: var(--red-700);
}
.product-card:hover .product-link > span {
  transform: translateX(3px);
}
.catalog-coming-soon { grid-column: 1 / -1; padding: 48px 24px; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: white; }
.catalog-coming-soon h3 { font-size: 1.8rem; }
.catalog-coming-soon p { margin-inline: auto; max-width: 500px; }

/* ==========================================================================
   Refined Minimalist Product Modal (Dialog)
   ========================================================================== */

/* Structure & Spacing */
.dialog-content {
  padding: 36px 44px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: #d8d0c3 transparent;
}

.dialog-content::-webkit-scrollbar {
  width: 5px;
}

.dialog-content::-webkit-scrollbar-track {
  background: transparent;
}

.dialog-content::-webkit-scrollbar-thumb {
  background: #d8d0c3;
  border-radius: 999px;
}

/* Remove redundant labels, repetitive bullet duplicates & bureaucratic notices */
.dialog-brand,
.dialog-narrative-label,
.dialog-info,
.dialog-notice,
.dialog-scale-hint {
  display: none !important;
}

/* Product Heading */
.dialog-content h2 {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1a251c;
  margin: 0 0 10px 0;
}

/* Narrative / Editorial Hook / Description */
.dialog-narrative {
  margin: 0 0 14px;
  padding: 0;
  border-left: 0;
}

.dialog-hook {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #24553b;
}

.dialog-description {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: #555047;
}

/* Spice meter */
.dialog-spice {
  margin-top: 10px;
}

/* Elegant & Minimalist Pricing Card */
.dialog-pricing {
  margin: 14px 0 12px;
}

.dialog-price-highlight {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  background: #fcfbf8;
  border: 1px solid #eae4d8;
  border-radius: 12px;
  box-shadow: none;
}

.dialog-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.dialog-main-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dialog-main-val-wrap strong {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #1a261d;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dialog-main-unit {
  font-size: 0.88rem;
  font-weight: 550;
  color: #726b60;
}

.dialog-approx-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ede8dc;
  color: #4a4337;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Weights & Kilo Info Row */
.dialog-weight-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 8px 0 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #eae2d3;
  background: transparent;
}

.dialog-weight-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  color: #4b453b;
}

.dialog-weight-title svg {
  display: none;
}

.dialog-weight-title strong {
  color: #1a251c;
  font-weight: 700;
}

.dialog-weight-variation {
  display: none !important;
}

.dialog-kilo-price-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  font-size: 0.82rem;
  color: #6d6558;
}

.dialog-kilo-price-row strong {
  color: #2b251d;
  font-weight: 700;
}

/* Regional Availability - Tasteful Micro-Badge */
.dialog-availability {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  align-self: flex-start !important;
  gap: 7px !important;
  margin: 0 0 14px !important;
  padding: 5px 11px !important;
  background: #f1f6f2 !important;
  border: 1px solid #d5e5db !important;
  border-radius: 7px !important;
  color: #235439 !important;
  font-size: 0.79rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.dialog-availability::before {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #24553b !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

/* Action Buttons */
.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.dialog-actions [data-product-chat] {
  display: none !important;
}

body .dialog-actions .button-whatsapp,
body .dialog-actions [data-product-whatsapp],
.dialog-actions .button-whatsapp,
.dialog-actions [data-product-whatsapp] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.32) !important;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

body .dialog-actions .button-whatsapp:hover,
body .dialog-actions [data-product-whatsapp]:hover {
  background: #20bd5a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42) !important;
}

body .dialog-actions .button-whatsapp:active,
body .dialog-actions [data-product-whatsapp]:active {
  transform: translateY(0) !important;
}

body .dialog-actions .button-whatsapp svg,
body .dialog-actions [data-product-whatsapp] svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  stroke: none !important;
  flex-shrink: 0 !important;
}

.dialog-content > [data-dialog-close] {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 6px;
  padding: 4px;
  color: #797163;
  font-size: 0.84rem;
  font-weight: 550;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 150ms ease;
}

.dialog-content > [data-dialog-close]:hover {
  color: var(--ink);
  text-decoration: underline;
}
.dialog-media {
  background: #ffffff;
  padding: 48px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Modal Fluidity & Performance */
.product-dialog {
  will-change: transform, opacity;
}

.product-dialog[open] {
  animation: dialog-in 200ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.product-dialog::backdrop {
  background: rgba(12, 22, 16, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  animation: backdrop-fade 180ms ease both !important;
}

@keyframes backdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dialog-media-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid #e8e3d8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(45, 35, 20, 0.04);
  overflow: hidden;
  margin: 0 auto;
}

.dialog-media-stage > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.dialog-media-stage > img.is-switching {
  opacity: 0.35;
  transform: scale(0.975);
}

.dialog-media-stage.is-illustrative {
  padding: 0;
}

.dialog-media-stage.is-illustrative > img {
  object-fit: cover !important;
}

.dialog-media-stage.is-video {
  padding: 0;
  aspect-ratio: 16 / 9;
}

.dialog-media-stage.is-video > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dialog-media-meta {
  width: 100%;
  max-width: 460px;
  margin-top: 14px;
}

.dialog-media-thumbs {
  width: 100%;
  max-width: 460px;
}

.dialog-video-placeholder { display: none; }
.contact-dock { display: none !important; }
.whatsapp-float {
  position: fixed !important;
  z-index: 99 !important;
  right: 26px !important;
  bottom: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px !important;
  padding: 0 24px 0 18px !important;
  border-radius: 999px !important;
  background: #25d366 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 3px 8px rgba(0, 0, 0, 0.08) !important;
  text-decoration: none !important;
  animation: none !important;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.whatsapp-float:hover {
  background: #20bd5a !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.48), 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}
.whatsapp-float svg {
  width: 28px !important;
  height: 28px !important;
  fill: #ffffff !important;
  stroke: none !important;
  flex-shrink: 0 !important;
}
.whatsapp-float span {
  font-family: var(--sans);
  line-height: 1;
}
body.menu-open .whatsapp-float,
body.dialog-open .whatsapp-float,
body.chat-open .whatsapp-float { display: none; }

@media (max-width: 1120px) {
  .site-nav { gap: 16px; }
  .site-nav > a:not(.button) { font-size: .8125rem; }
  .brand-type strong { font-size: 1.45rem; }
  .home-hero-layout { gap: 30px; }
  .product-grid { gap: 18px; }
}
@media (max-width: 920px) {
  body { padding-top: 78px; }
  html { scroll-padding-top: 90px; }
  .header-inner { min-height: 78px; }
  .site-nav { top: 78px; height: calc(100dvh - 78px); overflow-y: auto; padding: 20px 24px; gap: 0; background: var(--cream-50); border-top: 1px solid var(--line); }
  .site-nav > a:not(.button) { min-height: 60px; padding: 16px 4px; font-size: 1.125rem; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .site-nav > a[aria-current="page"] { color: var(--red-700); background: none; border-color: var(--line); }
  .site-nav > a:not(.button):hover, .site-nav > a:not(.button):focus-visible { color: var(--red-700); background: #f2eee6; transform: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding: 20px; }
  .home-products-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-product-tile:last-child { grid-column: auto; }
  .retailer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 40px); }
  .section { padding-block: 48px; }
  .home-page .hero { padding: 30px 0; }
  .home-hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .home-page .hero-copy { padding: 0; }
  .home-page .hero h1 { max-width: 590px; font-size: clamp(2.55rem, 8vw, 3.65rem); margin-bottom: 16px; }
  .home-page .hero-copy > .eyebrow { margin-bottom: 16px; }
  .home-page .hero-lead { max-width: 590px; font-size: 1rem; line-height: 1.6; }
  .hero-actions { margin-top: 22px; gap: 12px 20px; }
  .hero-origin { margin-top: 18px; }
  .home-page .hero-carousel-card { aspect-ratio: 1.6; }
  .hero-carousel-caption { padding-top: 13px; }
  .hero-carousel-caption strong { font-size: 1.125rem; }
  .confidence-grid { grid-template-columns: 1fr; gap: 14px; padding-block: 20px; }
  .confidence-grid > div, .confidence-grid > div:first-child, .confidence-grid > div:last-child { min-height: 0; padding: 0; border: 0; gap: 14px; }
  .confidence-icon { width: 32px; height: 32px; font-size: .75rem; }
  .confidence p { font-size: .875rem; }
  .confidence p strong { display: inline; margin-right: 8px; }
  .home-products-heading, .brand-portals-heading, .brand-family-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .brand-family-grid { grid-template-columns: 1fr; }
  .brand-family-card, .brand-family-card.is-featured { min-height: 0; }
  .catalog-page-hero { padding: 28px 0; }
  .catalog-page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .catalog-hero-figure { max-width: 100%; aspect-ratio: 16 / 9; margin-inline: auto; }
  .brand-selector { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .brand-tabs { display: flex; flex-wrap: wrap; }
  .brand-tab { flex: 1 1 120px; }
  .catalog-toolbar { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding: 12px; }
  .search-box { min-width: 0; width: 100%; }
  .filter-scroll { display: flex; flex-wrap: wrap; overflow: visible; padding: 0; gap: 7px; }
  .filter-chip { font-size: .875rem; padding-inline: 12px; }
  .catalog-status-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .catalog-price-note { width: 100%; font-size: .8rem; }
  .product-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .dialog-grid { display: block; max-height: none; }
  .dialog-media { padding: 48px 16px 20px; overflow: visible; }
  .dialog-media-stage { max-width: 360px; padding: 18px; margin-inline: auto; aspect-ratio: 1 / 1; }
  .dialog-content { padding: 24px; overflow: visible; }
  .dialog-content h2 { font-size: 1.9rem; }
  .dialog-close { position: sticky; top: 10px; margin: 10px 12px -54px auto; }
  .dialog-price-highlight { padding: 18px; }
  .dialog-actions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .site-header .brand { gap: 9px; }
  .site-header .brand-type strong { font-size: 1.25rem; }
  .site-header .brand-mark { width: 46px; height: 46px; }
  .site-header .brand-type small { font-size: .6875rem; }
  .menu-button { border: 0; background: transparent; }
  .home-page .hero h1 { font-size: clamp(2.2rem, 9vw, 2.85rem); }
  .hero-origin { font-size: .8125rem; }
  .hero-carousel-caption { align-items: flex-start; gap: 8px; padding-inline: 16px; }
  .hero-carousel-caption > span { font-size: .75rem; white-space: nowrap; }
  .hero-carousel-controls { padding-left: 16px; }
  .hero-actions .button { padding-inline: 17px; }
  .home-products-mosaic { gap: 12px; }
  .home-product-tile { aspect-ratio: .8; }
  .home-product-tile img { padding: 8px 8px 64px; }
  .home-product-tile > span { padding: 12px; }
  .home-product-tile strong, .home-product-tile-large strong, .home-product-tile-tall strong { font-size: 1rem; }
  .home-product-tile small { font-size: .75rem; letter-spacing: 0; }
  .retailer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .retailer-card { height: 95px; padding: 15px; }
  .retailer-card:last-child { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  .retailer-card > img { max-height: 60px; }
  :root { --shell: calc(100% - 24px); }
  .brand-portal-grid { grid-template-columns: 1fr; }
  .brand-portal { min-height: 230px; }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    align-items: stretch;
  }
  .product-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e8e2d8;
    box-shadow: 0 2px 6px rgba(45, 35, 20, 0.04);
    overflow: hidden;
  }
  .product-open {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-align: left;
  }
  .product-image {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
  }
  .product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.18;
    padding: 8px 10px 4px;
    object-fit: contain;
  }
  .product-brand-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.58rem;
    font-weight: 750;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    z-index: 2;
  }
  .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 9px 10px;
    border-left: 0;
    border-top: 1px solid #f2ede5;
    min-height: 0;
  }
  .product-category {
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #24553b;
  }
  .product-body h3 {
    margin: 0 0 4px;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.015em;
    min-height: 2.45em;
    max-height: 2.45em;
    color: #1a251c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-summary {
    font-size: 0.70rem;
    line-height: 1.35;
    color: #5d564a;
    margin: 0 0 7px;
    min-height: 2.7em;
    max-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-pricing {
    margin: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .product-piece-estimate,
  .product-fixed-price {
    padding: 5px 7px;
    border-radius: 8px;
    gap: 2px;
  }
  .product-price-highlight {
    gap: 2px;
    align-items: baseline;
    justify-content: flex-start;
  }
  .price-main-val {
    font-size: 1.02rem;
    font-weight: 850;
    color: #1a261d;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .price-main-unit {
    font-size: 0.62rem;
    font-weight: 550;
    color: #6d6558;
  }
  .price-estimate-badge {
    margin-left: auto;
    font-size: 0.48rem;
    padding: 1px 4px;
    border-radius: 999px;
    background: #ede6da;
    color: #4a4337;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
  }
  .product-specs-sub {
    font-size: 0.65rem;
    color: #6d6558;
    line-height: 1.25;
    margin-top: 1px;
  }
  .product-specs-sub strong {
    font-weight: 650;
    color: #27221b;
  }
  .product-kilo-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1px 2px 0;
    font-size: 0.67rem;
    line-height: 1.2;
    color: #554e42;
  }
  .product-kilo-label {
    font-size: 0.64rem;
    color: #635b4e;
  }
  .product-kilo-val {
    font-size: 0.72rem;
    font-weight: 750;
    color: #1a261d;
  }
  .product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid #f0ece3;
    font-size: 0.72rem;
    font-weight: 650;
    color: #24553b;
  }
  .product-link > span {
    font-size: 0.95rem;
    line-height: 1;
  }
  .catalog-meta p:last-child { display: none; }
  .brand-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .brand-tab { min-width: 0; padding: 10px; text-align: center; }
  .brand-tab strong { font-size: .875rem; line-height: 1.3; }
  .brand-tab small { display: none; }
  .dialog-content { padding: 22px 18px; }
  .dialog-main-val-wrap strong { font-size: 2rem; }
  .dialog-media-thumbs { gap: 8px; }
}
@media (max-width: 380px) {
  :root { --shell: calc(100% - 20px); }
  .product-grid { gap: 8px; }
  .product-body { padding: 7px 7px 9px; }
  .product-body h3 { font-size: 0.8rem; }
  .price-main-val { font-size: 0.98rem; }
  .product-summary { font-size: 0.68rem; }
}
@media (max-width: 720px) {
  .whatsapp-float {
    right: 20px !important;
    bottom: 20px !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0, 0, 0, 0.1) !important;
  }
  .whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
  }
  .whatsapp-float span {
    display: none !important;
  }
  .footer-bottom { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-image img, .button { transition: none; }
}
