/* =====================================================
   CATÁLOGO DE VENDAS — Fazenda Memória
   ===================================================== */
.crumb {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-mute); margin-bottom: 2rem;
}
.crumb a { color: var(--on-dark-mute); text-decoration: none; }
.crumb a:hover { color: var(--kraft); }
.eyebrow-light { color: var(--kraft); }
.eyebrow-light::before { background: var(--kraft); }

/* HERO */
.vt-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(155, 115, 49, 0.22), transparent 55%),
    var(--bark-deep);
  color: var(--on-dark);
  padding: clamp(8.5rem, 16vh, 11rem) 0 0;
  overflow: hidden;
}
.vt-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.vt-hero h1 {
  margin: 1rem 0 1.5rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 1.8rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--on-dark);
}
.vt-hero h1 em { font-style: italic; color: var(--kraft); }
.vt-hero-text > p { max-width: 50ch; color: var(--on-dark-soft); font-size: var(--text-lg); line-height: 1.65; margin: 0 0 2.25rem; }
.vt-hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.vt-hero-mosaico {
  position: relative; display: grid;
  grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.9rem;
  height: clamp(360px, 42vw, 540px);
}
.vt-hero-mosaico img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.vt-h1 { grid-row: span 2; border-radius: 160px 160px 4px 4px; }
.vt-h2, .vt-h3 { border-radius: 4px; }

.vt-selos {
  list-style: none; margin: clamp(3rem, 7vw, 5rem) auto 0; padding: 2rem var(--space-6) 2.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border-top: 1px solid rgba(201, 168, 120, 0.22);
}
.vt-selos li { padding-left: 1rem; border-left: 1px solid var(--kraft); }
.vt-selos strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--on-dark); }
.vt-selos span { display: block; margin-top: 0.25rem; font-size: var(--text-sm); color: var(--on-dark-mute); }

/* SEÇÕES */
.vt-sec { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--cream); scroll-margin-top: 80px; }
.vt-sec-destaques { background: var(--cream-warm); }
.vt-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); }
.vt-head h2 { margin: 0.9rem 0 0; font-family: var(--font-display); font-weight: 300; font-size: var(--text-2xl); line-height: 1.08; color: var(--ink); }
.vt-head h2 em { font-style: italic; color: var(--gold-deep); }
.vt-head p { margin: 1rem 0 0; color: var(--ink-mute); line-height: 1.65; }
.vt-head-light h2 { color: var(--on-dark); }
.vt-head-light h2 em { color: var(--kraft); }

/* CARDS */
.vt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.vt-destaques { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.vt-card {
  display: flex; flex-direction: column;
  background: var(--cream-soft); border: 1px solid var(--line-faint);
  border-radius: var(--radius, 4px); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease);
}
.vt-card[hidden] { display: none; }
.vt-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(42, 29, 16, 0.45); border-color: var(--line); }
.vt-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-warm); }
.vt-destaque .vt-media { aspect-ratio: 4 / 3; }
.vt-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.vt-card:hover .vt-media img { transform: scale(1.05); }
.vt-cat {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(245, 239, 228, 0.92); color: var(--gold-dark); padding: 0.35rem 0.6rem; border-radius: 2px;
}
.vt-body { padding: 1.15rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.vt-body h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; color: var(--ink); }
.vt-body h3 em { font-style: italic; color: var(--gold-deep); }
.vt-destaque .vt-body h3 { font-size: var(--text-xl); }
.vt-body p { margin: 0 0 1rem; font-size: var(--text-sm); line-height: 1.55; color: var(--ink-mute); flex: 1; }

.vt-ops { display: inline-flex; gap: 0; margin-bottom: 0.9rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px; align-self: flex-start; }
.vt-op { font: inherit; font-size: 0.78rem; border: 0; background: transparent; color: var(--ink-mute); padding: 0.35rem 0.8rem; border-radius: 999px; cursor: pointer; }
.vt-op.is-on { background: var(--bark-deep); color: var(--on-dark); }

.vt-acoes { display: flex; gap: 0.5rem; align-items: stretch; }
.vt-qtd { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.vt-qtd button { font: inherit; width: 2rem; height: 2.4rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1rem; }
.vt-qtd button:hover { background: var(--cream-warm); }
.vt-n { width: 2rem; border: 0; background: transparent; text-align: center; font: inherit; font-size: 0.92rem; color: var(--ink); -moz-appearance: textfield; }
.vt-n::-webkit-outer-spin-button, .vt-n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vt-add {
  flex: 1; font: inherit; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bark-deep); color: var(--on-dark); padding: 0 1rem; min-height: 2.4rem;
  transition: background .25s var(--ease);
}
.vt-add:hover { background: var(--gold-dark); }
.vt-add-ok { display: none; }
.vt-add.is-ok { background: var(--gold); }
.vt-add.is-ok .vt-add-ok { display: inline; }

/* barra de filtros */
.vt-barra {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 0 0 1.75rem; padding: 0.85rem 0;
  background: rgba(245, 239, 228, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.vt-filtros { display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; }
.vt-filtros::-webkit-scrollbar { display: none; }
.vt-filtro {
  font: inherit; font-size: var(--text-sm); white-space: nowrap; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 999px; background: transparent; color: var(--ink-soft); border: 1px solid var(--line);
}
.vt-filtro span { margin-left: 0.3rem; font-size: 0.8em; color: var(--ink-faint); }
.vt-filtro.is-on { background: var(--bark-deep); border-color: var(--bark-deep); color: var(--on-dark); }
.vt-filtro.is-on span { color: var(--kraft); }
.vt-busca { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 0.9rem; background: var(--cream-soft); min-width: 220px; }
.vt-busca svg { width: 16px; height: 16px; color: var(--ink-faint); flex: none; }
.vt-busca input { border: 0; background: transparent; font: inherit; font-size: var(--text-sm); padding: 0.55rem 0; width: 100%; color: var(--ink); outline: none; }
.vt-vazio { text-align: center; color: var(--ink-mute); padding: 3rem 0; }

/* COMO COMPRAR */
.vt-como { background: var(--bark-deep); color: var(--on-dark); }
.vt-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.vt-passos li { padding: 2rem 1.75rem; border: 1px solid rgba(201, 168, 120, 0.25); }
.vt-passos span { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; font-weight: 300; color: var(--kraft); line-height: 1; }
.vt-passos h3 { margin: 1rem 0 0.5rem; font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); color: var(--on-dark); }
.vt-passos p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--on-dark-soft); }

/* EMPRESAS */
.vt-empresas { background: var(--cream-warm); padding: clamp(4rem, 8vw, 6rem) 0; }
.vt-empresas-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.vt-empresas img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; box-shadow: 0 30px 60px -32px rgba(42, 29, 16, 0.5); }
.vt-empresas h2 { margin: 0.9rem 0 1rem; font-family: var(--font-display); font-weight: 300; font-size: var(--text-2xl); line-height: 1.08; color: var(--ink); }
.vt-empresas h2 em { font-style: italic; color: var(--gold-deep); }
.vt-empresas p { margin: 0 0 1.75rem; color: var(--ink-mute); line-height: 1.7; max-width: 46ch; }

/* PEDIDO */
.vt-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font: inherit; font-weight: 500; font-size: 0.95rem;
  padding: 0.75rem 1.3rem 0.75rem 0.8rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bark-deep); color: var(--on-dark);
  box-shadow: 0 18px 40px -12px rgba(20, 13, 7, 0.55);
}
.vt-fab[hidden] { display: none; }
.vt-fab-ico { position: relative; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); }
.vt-fab-ico svg { width: 20px; height: 20px; }
.vt-fab-ico b { position: absolute; top: -4px; right: -6px; min-width: 1.3rem; height: 1.3rem; padding: 0 0.3rem; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 0.72rem; display: grid; place-items: center; }
.vt-fab.is-pulse { animation: vtPulse .6s var(--ease); }
@keyframes vtPulse { 40% { transform: scale(1.08); } }

.vt-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(20, 13, 7, 0.5); opacity: 0; transition: opacity .3s; }
.vt-overlay.is-on { opacity: 1; }
.vt-overlay[hidden] { display: none; }
.vt-pedido {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(440px, 100%); background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(20, 13, 7, 0.5);
}
.vt-pedido.is-open { transform: none; }
.vt-pedido > header { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.75rem 1.5rem 1rem; border-bottom: 1px solid var(--line-soft); }
.vt-pedido h2 { margin: 0.5rem 0 0; font-family: var(--font-display); font-weight: 300; font-size: 2rem; color: var(--ink); }
.vt-pedido h2 em { font-style: italic; color: var(--gold-deep); font-size: 0.7em; }
.vt-fechar { font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink-mute); }
.vt-lista { list-style: none; margin: 0; padding: 0.5rem 1.5rem; overflow-y: auto; flex: 1; }
.vt-lista li { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 0.8rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--line-faint); }
.vt-lista img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.vt-l-info b { display: block; font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.vt-l-info span { font-size: 0.8rem; color: var(--ink-mute); }
.vt-l-qtd { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.vt-l-qtd button { width: 1.8rem; height: 1.9rem; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink); }
.vt-l-qtd span { min-width: 1.4rem; text-align: center; font-size: 0.88rem; }
.vt-l-rem { border: 0; background: none; cursor: pointer; font-size: 1.3rem; color: var(--ink-faint); }
.vt-l-rem:hover { color: var(--terra); }
.vt-lista-vazia { margin: 0; padding: 2rem 1.5rem; color: var(--ink-mute); text-align: center; }
.vt-lista-vazia[hidden] { display: none; }
.vt-form { padding: 1rem 1.5rem 0; display: grid; gap: 0.7rem; border-top: 1px solid var(--line-soft); }
.vt-form label { display: grid; gap: 0.3rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.vt-form input, .vt-form textarea { font: inherit; font-size: 0.92rem; text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--cream-soft); border: 1px solid var(--line); border-radius: 4px; padding: 0.6rem 0.75rem; resize: vertical; }
.vt-form input:focus, .vt-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.vt-pedido > footer { padding: 1rem 1.5rem 1.5rem; display: grid; gap: 0.6rem; }
.btn-whats { justify-content: center; background: #1f7a4d; color: #fff; border: 0; }
.btn-whats:hover { background: #18663f; color: #fff; }
.btn-whats svg { width: 18px; height: 18px; }
.btn-whats.is-off { opacity: 0.45; pointer-events: none; }
.vt-limpar { justify-self: center; font: inherit; font-size: 0.82rem; background: none; border: 0; color: var(--ink-mute); text-decoration: underline; cursor: pointer; }
.vt-pedido small { text-align: center; color: var(--ink-faint); font-size: 0.75rem; }

.vt-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 110; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--on-dark); padding: 0.75rem 1.2rem; border-radius: 999px;
  font-size: 0.88rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  max-width: calc(100% - 2rem); text-align: center;
}
.vt-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* RESPONSIVO */
@media (max-width: 1100px) { .vt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .vt-hero-grid { grid-template-columns: 1fr; }
  .vt-hero-mosaico { height: 340px; }
  .vt-selos { grid-template-columns: repeat(2, 1fr); }
  .vt-destaques { grid-template-columns: 1fr; }
  .vt-destaque { display: grid; grid-template-columns: 1fr 1fr; }
  .vt-destaque .vt-media { aspect-ratio: auto; min-height: 100%; }
  .vt-grid { grid-template-columns: repeat(2, 1fr); }
  .vt-passos { grid-template-columns: 1fr; }
  .vt-empresas-grid { grid-template-columns: 1fr; }
  .vt-busca { min-width: 0; flex: 1; }
}
@media (max-width: 560px) {
  .vt-hero-mosaico { height: 260px; }
  .vt-h1 { border-radius: 110px 110px 4px 4px; }
  .vt-selos { grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 2rem; }
  .vt-selos span { font-size: 0.78rem; }
  .vt-destaque { grid-template-columns: 1fr; }
  .vt-destaque .vt-media { aspect-ratio: 4 / 3; }
  .vt-grid { gap: 0.75rem; }
  .vt-body { padding: 0.85rem 0.8rem 0.95rem; }
  .vt-body h3 { font-size: 1.08rem; }
  .vt-body p { font-size: 0.8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .vt-acoes { flex-direction: column; }
  .vt-qtd { justify-content: space-between; }
  .vt-qtd .vt-n { flex: 1; }
  .vt-ops { align-self: stretch; }
  .vt-op { flex: 1; padding: 0.35rem 0.4rem; }
  .vt-barra { flex-direction: column; align-items: stretch; }
  .vt-fab > span:last-child { display: none; }
  .vt-fab { padding: 0.6rem; }
}

/* correções */
.pagina-catalogo { overflow-x: hidden; }
.vt-pedido { visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; }
.vt-pedido.is-open { visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.vt-filtros { min-width: 0; max-width: 100%; }
@media (max-width: 560px) {
  .vt-destaques { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.9rem; padding-bottom: 0.5rem; scrollbar-width: none; }
  .vt-destaques::-webkit-scrollbar { display: none; }
  .vt-destaque { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------- embalagens + consulta ---------- */
.vt-media { background: #f4eee3; }
.vt-media .vt-emb { object-fit: contain; }
.vt-media .vt-prato { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.vt-card:hover .vt-media .vt-prato, .vt-card:focus-within .vt-media .vt-prato { opacity: 1; }
.vt-card:hover .vt-media .vt-emb { transform: scale(1.03); }
.vt-ver { position: absolute; right: 0.8rem; bottom: 0.8rem; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); background: rgba(245,239,228,.92); padding: 0.32rem 0.55rem; border-radius: 2px; transition: opacity .3s; }
.vt-card:hover .vt-ver { opacity: 0; }
.vt-sku { font-size: 0.66rem; letter-spacing: 0.16em; color: var(--gold-deep); font-weight: 500; margin-bottom: 0.35rem; font-variant-numeric: tabular-nums; }
.vt-add { width: 100%; justify-content: center; }
.vt-add .vt-add-ok { display: none; }
.vt-add.is-ok { background: transparent; color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.vt-add.is-ok .vt-add-txt { display: none; }
.vt-add.is-ok .vt-add-ok { display: inline; }
.vt-add.is-ok:hover { background: var(--cream-warm); }
.vt-lista li img { object-fit: contain; background: #f4eee3; }
@media (hover: none) { .vt-ver { display: none; } }
@media (max-width: 560px) { .vt-lg { display: none; } .vt-add { font-size: 0.8rem; padding: 0 0.6rem; } .vt-ver { display: none; } }
