/**
 * ============================================================================
 * ALÔ VENDAS PRO — CATÁLOGO: DESKTOP (só telas de 769px para cima)
 * ============================================================================
 *
 * Carregado com `media="(min-width: 769px)"` — nada daqui alcança o celular.
 * Só entrou o que o `catalogo-mobile.css` JÁ redeclara: o mobile tem a versão
 * dele de cada uma destas regras, então fechar a porta aqui não tira nada dele.
 *
 * É esta a separação que o dono pediu: desktop e mobile em arquivos separados,
 * nenhum contando com o outro.
 *
 * ⚠️ GERADO por scripts/separar-css-catalogo.php a partir do antigo
 * catalogo.css, em 16/08/2026. Editar à mão daqui em diante é o normal — o
 * script existe para registrar COMO a divisão foi feita, não para rodar de
 * novo por cima do que alguém escrever.
 */


body {
  font-family: Roboto, -apple-system, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.29;
  color: var(--texto-1);
  background-color: var(--fundo-body);
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--dark-slate);
  color: #fff;
  font-size: 13px;
  padding: 4px 0;
}
.header-top-row {
  display: contents;
}

.main-header {
  background: var(--primary);
  padding: 10px 0;
}
.header-grid {
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo-area {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  order: 1;
}
.header-logo-img {
  max-height: 84px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.15));
}
.header-logo-texto {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.search-box {
  flex-grow: 1;
  position: relative;
  order: 2;
}
.header-sacola-btn {
  order: 3;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.search-box form {
  display: flex;
  height: 40px;
  background: #fff;
  border-radius: var(--raio-input);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  overflow: hidden;
}
.search-box input {
  flex-grow: 1;
  border: none;
  padding: 0 16px;
  font-size: 16px;
  color: var(--texto-1);
  outline: none;
}
.search-clear-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #999999;
  cursor: pointer;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  line-height: 1;
}
.search-clear-btn.hidden {
  display: none !important;
}
.search-red-btn {
  background: transparent;
  border: none;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-2);
  cursor: pointer;
}
.stitch-section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.link-limpar-filtro {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  background: #fdf6f9;
  border: 1px solid rgba(137, 100, 110, 0.2);
  border-radius: 4px;
  transition: all 0.15s ease;
}
.catalogo-vazio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: var(--fundo-card);
  border-radius: var(--raio);
  border: 1px solid var(--divisor);
  margin: 16px 0;
}
.catalogo-vazio-icon {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.7;
}
.catalogo-vazio h3 {
  font-size: 18px;
  color: var(--texto-1);
  margin-bottom: 8px;
}
.catalogo-vazio p {
  font-size: 14px;
  color: var(--texto-2);
  max-width: 400px;
  margin: 0 auto 16px auto;
}
.btn-reset-catalogo {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Categories Nav */
.dept-nav-bar {
  background: #fff;
  border-bottom: 1px solid var(--divisor);
}
.dept-nav-container {
  display: flex;
  gap: 24px;
  padding: 0 20px;
  overflow-x: auto;
}
.dept-item {
  font-size: 14px;
  color: var(--texto-2);
  padding: 14px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.dept-item strong {
  font-weight: 400;
}
.dept-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.dept-item.active strong {
  font-weight: 600;
}

/* Hero Section */
.hero-stitch-section {
  margin-top: 24px;
}
.hero-stitch-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.hero-stitch-main-hd {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  height: 340px;
  background: var(--dark-slate);
}
.banner-hd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 20px 24px;
  pointer-events: none;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.link-cotar-zap-overlay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--raio);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .15s ease, background-color .15s ease;
}
.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.25);
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
  line-height: 1;
}
.hero-stitch-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 340px;
}
.stitch-side-card {
  flex: 1;
  border-radius: var(--raio);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stitch-side-content {
  flex: 1;
  min-width: 0;
  z-index: 2;
  color: #fff;
}
.btn-stitch-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #352A30;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  transition: all .2s ease;
}

/* ⚠️ A MOLDURA ACOMPANHA A ARTE, e antes não acompanhava.
 *
 * Era 110×110 — um quadrado. A arte que a tela pede para estes cards é
 * 800×400, deitada (ver ImagemCatalogo::LUGARES), e `object-fit: cover` num
 * quadrado corta as duas laterais: sobrava a tira do meio, e o lojista via um
 * pedaço do produto dele sem entender por quê. Ele descreveu como "a imagem
 * está pequena".
 *
 * Agora a caixa é 2:1, a mesma proporção da arte — nada é cortado, e ela ocupa
 * bem mais espaço no card. A proporção é escrita em pixels, e o porquê está
 * logo abaixo. */
.stitch-side-thumb {
  /* ⚠️ LARGURA E ALTURA EXPLÍCITAS, nunca `aspect-ratio` AQUI.
   *
   * Este arquivo é carregado SEM media query (ver o `<link>` em catalogo.php):
   * tudo o que está nele vale também no celular, e o catalogo-mobile.css
   * sobrescreve por cima. Uma propriedade que o mobile não sobrescreve
   * ATRAVESSA — e `aspect-ratio` é dessas.
   *
   * Foi o que aconteceu quando esta regra virou `aspect-ratio: 2/1`: o mobile
   * declara width e height próprios, mas a proporção continuava vindo daqui,
   * brigando com eles. Regra da casa, e o dono já a tinha dado: desktop e
   * mobile em arquivos separados, e nenhum contando com o outro. */
  width: 168px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}
.stitch-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s ease;
}

/* Features */
.stitch-features-section {
  padding: 24px 0;
}
.stitch-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  background: var(--fundo-card);
  padding: 16px 24px;
  border-radius: var(--raio);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.stitch-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}
.feat-icon-box {
  font-size: 20px;
  color: var(--primary);
}
.feat-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-1);
}
.feat-info p {
  font-size: 13px;
  color: var(--texto-2);
}

/* Catalog */
.stitch-products-section {
  padding: 0 0 40px 0;
}
.stitch-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* PRODUCT CARD */
.product-card {
  background: var(--fundo-card);
  border: 1px solid var(--divisor);
  border-radius: var(--raio);
  overflow: hidden;
  position: relative;
  transition: transform 180ms, box-shadow 180ms;
  display: flex;
  flex-direction: column;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff6000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.product-img-wrap {
  aspect-ratio: 1/1;
  background: #fff;
  padding: 12px;
  position: relative;
  border-bottom: 1px solid var(--divisor);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.quick-view-btn {
  display: none;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category {
  font-size: 12px;
  color: var(--texto-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--texto-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  margin-bottom: 12px;
}
.product-title a,
.product-title-link {
  color: inherit;
  text-decoration: none;
  display: inline;
  transition: color 0.2s ease;
}

/* Pricing */
.product-pricing {
  margin-bottom: 12px;
}
.price-old {
  font-size: 12px;
  color: var(--texto-3);
  text-decoration: line-through;
  min-height: 16px;
}
.price-current-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-current {
  font-size: 24px;
  font-weight: 600;
  color: var(--texto-1);
  display: flex;
}
.price-off {
  font-size: 14px;
  font-weight: 500;
  color: var(--ok);
  margin-top: 8px;
}
.price-installments {
  font-size: 12px;
  color: var(--ok);
  margin-top: 2px;
}
.variant-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.variant-thumb {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid var(--divisor);
  object-fit: cover;
}

/* Buttons */
.btn-add-cart {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--raio);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  transition: background 0.2s;
}

/* Store info */
.stitch-store-section {
  background: var(--fundo-card);
  border-top: 1px solid var(--divisor);
  padding: 40px 0;
}
.stitch-store-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
}
.stitch-store-img {
  border-radius: var(--raio);
  overflow: hidden;
}
.stitch-store-info h3 {
  font-size: 20px;
  color: var(--texto-1);
  margin-bottom: 8px;
}
.store-address, .store-phone {
  font-size: 14px;
  color: var(--texto-2);
  margin-bottom: 4px;
}
.store-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.btn-stitch-dark {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--raio);
  font-weight: 600;
  font-size: 14px;
}
.btn-stitch-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px 16px;
  border-radius: var(--raio);
  font-weight: 600;
  font-size: 14px;
}
.stitch-zap-cards {
  padding-top: 5%;
}
.zap-consultant-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--divisor);
  border-radius: var(--raio);
  margin-top: 5%;
}

/* Footer */
.stitch-footer {
  background: #fff;
  border-top: 1px solid var(--divisor);
  padding: 36px 0 0 0;
}
.stitch-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--texto-1);
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
  line-height: 1.35;
}
.footer-col ul li a {
  font-size: 13px;
  color: var(--texto-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.pay-flags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pay-flag-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid var(--divisor);
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-2);
}
.pay-icon-svg {
  display: block;
  flex-shrink: 0;
  border-radius: 2px;
}
.payment-cards-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.pay-badge {
  background: var(--fundo-body);
  border: 1px solid var(--divisor);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  color: var(--texto-2);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--texto-3);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  z-index: 100;
  transition: transform 0.2s;
}

/* Empty Catalog */
.catalogo-vazio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.catalogo-vazio h3 {
  font-size: 20px;
  color: var(--texto-1);
  margin-bottom: 8px;
}
.catalogo-vazio p {
  color: var(--texto-2);
}