
.catalog-hero{
  padding:72px 7vw 55px;
  background:#eef3f2;
  border-bottom:1px solid #dce4e2;
}
.catalog-hero h1{
  font:400 clamp(40px,5vw,68px)/1 Georgia,serif;
  margin:12px 0 18px;
}
.catalog-hero h1 em{color:#25aba2;font-weight:400}
.catalog-hero p:not(.eyebrow){max-width:650px;color:#697371;line-height:1.6}

.catalog-shell{
  width:min(1500px,94%);
  margin:38px auto 80px;
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:34px;
  align-items:start;
}

.catalog-sidebar{
  position:sticky;
  top:105px;
  background:#fff;
  border:1px solid #dfe6e4;
  padding:20px;
}
.filter-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px;
}
.filter-title-row strong{font:24px Georgia,serif}
.filter-close{display:none;border:0;background:none;font-size:24px}

.filter-form{display:grid;gap:14px}
.filter-field{
  font-size:10px;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:#69716f;
}
.filter-field input,
.filter-field select{
  display:block;
  width:100%;
  margin-top:6px;
  padding:12px;
  background:#fff;
  border:1px solid #ccd5d2;
}
.price-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.filter-apply{
  border:0;
  background:#25aba2;
  color:#fff;
  padding:13px 15px;
  font-weight:bold;
  cursor:pointer;
}
.filter-apply:hover{background:#16877f}
.filter-clear{
  text-align:center;
  padding:10px;
  font-size:12px;
  color:#67716f;
  border:1px solid #dce3e1;
}

.catalog-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px;
  border-bottom:1px solid #dde4e2;
  padding-bottom:13px;
}
.catalog-toolbar strong{font-size:13px}
.sort-form select{
  padding:10px 12px;
  border:1px solid #ccd5d2;
  background:#fff;
}
.mobile-filter-btn{
  display:none;
  border:1px solid #cdd7d4;
  background:#fff;
  padding:9px 12px;
  margin-right:10px;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.catalog-card{
  background:#fff;
  border:1px solid #e1e7e5;
  transition:.25s;
}
.catalog-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 30px #17201f12;
}
.catalog-image{
  display:block;
  position:relative;
  aspect-ratio:1.15/1;
  overflow:hidden;
  background:#edf1f0;
}
.catalog-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s;
}
.catalog-card:hover .catalog-image img{transform:scale(1.025)}
.no-photo{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font:24px Georgia,serif;
  color:#7d8785;
}
.catalog-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:#25aba2;
  color:#fff;
  padding:7px 9px;
  font-size:9px;
  letter-spacing:1px;
}
.catalog-card-body{padding:18px}
.catalog-card-body small{
  font-size:9px;
  letter-spacing:1.2px;
  color:#6d7774;
  text-transform:uppercase;
}
.catalog-card-body h2{
  font:26px/1.15 Georgia,serif;
  margin:8px 0;
}
.catalog-card-body p{
  color:#747d7a;
  font-size:13px;
  line-height:1.55;
  min-height:40px;
}
.catalog-price{margin:15px 0}
.catalog-price del{
  display:block;
  color:#9ca3a1;
  font-size:11px;
}
.catalog-price strong{
  display:block;
  color:#151a19;
  font:23px Georgia,serif;
}
.catalog-link{
  display:inline-block;
  margin-top:10px;
  padding-bottom:4px;
  border-bottom:1px solid #25aba2;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.catalog-empty{
  padding:70px 20px;
  text-align:center;
  background:#fff;
  border:1px dashed #cbd5d2;
}
.catalog-empty h2{font:30px Georgia,serif}
.catalog-empty p{color:#707977}
.catalog-empty a{color:#16877f;border-bottom:1px solid #16877f}

@media(max-width:1100px){
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:800px){
  .catalog-shell{grid-template-columns:1fr}
  .catalog-sidebar{
    position:fixed;
    z-index:120;
    inset:0 auto 0 0;
    width:min(340px,88vw);
    transform:translateX(-105%);
    transition:.25s;
    overflow:auto;
    top:0;
  }
  .catalog-sidebar.open{transform:translateX(0)}
  .filter-close{display:block}
  .mobile-filter-btn{display:inline-block}
  .catalog-toolbar{align-items:flex-start}
}

@media(max-width:580px){
  .catalog-grid{grid-template-columns:1fr}
  .catalog-toolbar{display:block}
  .sort-form{margin-top:12px}
  .sort-form select{width:100%}
  .catalog-hero{padding-left:5vw;padding-right:5vw}
}

/* PASSO 10.1 — catálogo estilo grande varejista */
.ecommerce-category-hero{
  background:#fff;
  border-bottom:0;
  padding:24px 0 12px;
  width:min(1500px,94%);
  margin:auto;
}
.ecommerce-category-hero h1{
  font:34px Georgia,serif;
  margin:10px 0 8px;
}
.catalog-breadcrumb-line{
  color:#8a918f;
  font-size:12px;
}
.catalog-shell{
  width:min(1500px,94%);
  grid-template-columns:270px minmax(0,1fr);
  gap:42px;
  margin-top:8px;
}
.catalog-sidebar{
  top:182px;
  border:0;
  border-right:1px solid #e5e8e7;
  padding:12px 25px 30px 0;
}
.filter-title-row strong{font:700 20px/1 Arial,sans-serif}
.filter-field{
  font-size:12px;
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
}
.filter-field input,.filter-field select{
  border:1px solid #e2e6e4;
  border-radius:0;
  padding:11px 10px;
}
.filter-apply{background:#333}
.filter-apply:hover{background:#111}
.catalog-wide-promo{
  min-height:120px;
  margin-bottom:28px;
  background:linear-gradient(110deg,#25aba2,#16877f);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:25px 36px;
}
.catalog-wide-promo small{display:block;font-size:10px;letter-spacing:1px;opacity:.8}
.catalog-wide-promo strong{display:block;font:31px Georgia,serif;margin-top:5px}
.catalog-wide-promo span{font-size:13px;font-weight:700}
.catalog-toolbar{
  min-height:66px;
  margin-bottom:28px;
  border-bottom:0;
  padding:0;
}
.sort-form select{
  border:0;
  background:#f2f5f5;
  padding:15px 18px;
  border-radius:8px;
}
.view-toggle{display:flex;gap:6px;margin-left:8px}
.catalog-toolbar{display:flex}
.catalog-toolbar>form,.view-toggle{flex:0 0 auto}
.catalog-toolbar>.view-toggle{margin-left:-5px}
.view-toggle button{
  width:48px;height:48px;border:0;background:#f2f5f5;font-size:22px;cursor:pointer;
}
.view-toggle button.active{background:#e6eded;color:#16877f}
.catalog-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:35px 24px;
}
.catalog-card{
  border:0;
  box-shadow:none;
}
.catalog-card:hover{box-shadow:none;transform:none}
.catalog-image{
  aspect-ratio:1/1;
  background:#fff;
}
.catalog-image img{object-fit:contain}
.catalog-card-body{padding:12px 3px}
.catalog-card-body h2{font:19px/1.25 Arial,sans-serif;font-weight:600}
.catalog-card-body p{font-size:12px;min-height:0}
.catalog-price strong{font:700 22px Arial,sans-serif}
.catalog-link{border-bottom:0;color:#16877f;font-weight:700}
.catalog-grid.list-view{grid-template-columns:1fr}
.catalog-grid.list-view .catalog-card{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
  border-bottom:1px solid #e7eae9;
  padding-bottom:22px;
}
.catalog-grid.list-view .catalog-image{aspect-ratio:1.2/1}
@media(max-width:850px){
  .catalog-sidebar{top:0}
  .catalog-wide-promo{min-height:105px;padding:22px}
  .catalog-wide-promo strong{font-size:24px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .catalog-grid{grid-template-columns:1fr 1fr;gap:20px 12px}
  .catalog-card-body h2{font-size:15px}
  .catalog-wide-promo{display:block}
  .catalog-wide-promo span{display:block;margin-top:10px}
  .catalog-grid.list-view .catalog-card{grid-template-columns:120px 1fr}
}

/* Passo 13 - ações do catálogo */
.catalog-card-actions{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:stretch;margin-top:16px}.catalog-card-actions .catalog-link{display:flex;align-items:center;justify-content:center;margin:0;padding:11px 12px;border:1px solid #25aba2;color:#16877f;text-align:center}.catalog-wa{border:0;background:#25aba2;color:#fff;padding:11px 13px;cursor:pointer;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.catalog-wa:hover{background:#16877f}@media(max-width:430px){.catalog-card-actions{grid-template-columns:1fr}}
/* PASSO 14 — Favoritos */
.catalog-card{position:relative}.favorite-card-btn{position:absolute;z-index:5;right:14px;top:14px;width:42px;height:42px;border:1px solid #e4e4e4;border-radius:50%;background:rgba(255,255,255,.94);font-size:23px;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.06);transition:.2s}.favorite-card-btn:hover{transform:translateY(-2px)}.favorite-card-btn.active{background:#111;color:#fff;border-color:#111}.favorite-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:#25aba2;color:#fff;font-size:10px;margin-left:2px}.favorite-count[hidden]{display:none}


/* Galeria rápida nos cards do catálogo */
.catalog-media{
  min-width:0;
}
.catalog-main-image{
  opacity:1;
  transition:transform .4s, opacity .16s ease;
}
.catalog-main-image.is-switching{
  opacity:.72;
}
.catalog-thumbs{
  display:flex;
  flex-wrap:nowrap;
  gap:6px;
  overflow-x:auto;
  overflow-y:hidden;
  max-height:0;
  margin-top:0;
  padding:0 2px;
  opacity:0;
  visibility:hidden;
  scrollbar-width:thin;
  transition:max-height .22s ease, opacity .18s ease, margin-top .22s ease, padding .22s ease;
}
.catalog-media:hover .catalog-thumbs,
.catalog-media:focus-within .catalog-thumbs{
  max-height:62px;
  margin-top:7px;
  padding-top:1px;
  padding-bottom:2px;
  opacity:1;
  visibility:visible;
}
.catalog-thumb{
  flex:0 0 49px;
  width:49px;
  height:49px;
  padding:2px;
  border:1px solid #d9dfdd;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.catalog-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.catalog-thumb:hover,
.catalog-thumb:focus-visible,
.catalog-thumb.active{
  border-color:#25aba2;
  box-shadow:0 0 0 1px #25aba2;
  outline:none;
}
.catalog-thumb:hover{
  transform:translateY(-1px);
}
.catalog-grid.list-view .catalog-media{
  align-self:start;
}
@media (hover:none), (pointer:coarse){
  .catalog-thumbs{
    max-height:62px;
    margin-top:7px;
    padding-top:1px;
    padding-bottom:2px;
    opacity:1;
    visibility:visible;
  }
  .catalog-thumb{
    flex-basis:44px;
    width:44px;
    height:44px;
  }
}


/* Logo do WhatsApp nos CTAs do catálogo */
.catalog-wa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
.catalog-wa .wa-button-icon{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}


/* AJUSTE FINAL WHATSAPP — catálogo */
.catalog-wa{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.catalog-wa .wa-button-icon,.catalog-card .wa-button-icon{
  width:20px!important;height:20px!important;
  min-width:20px!important;max-width:20px!important;
  min-height:20px!important;max-height:20px!important;
  flex:0 0 20px!important;display:block!important;object-fit:contain!important;
}


/* =========================================================
   CORREÇÃO MOBILE DEFINITIVA — CATÁLOGO
   No celular, cada produto ocupa a largura inteira.
   ========================================================= */
@media (max-width: 700px){
  .ecommerce-category-hero{
    width:100%!important;
    padding:18px 16px 10px!important;
    box-sizing:border-box!important;
  }

  .ecommerce-category-hero h1{
    font-size:30px!important;
    line-height:1.08!important;
    margin:8px 0!important;
  }

  .ecommerce-category-hero p{
    font-size:14px!important;
    line-height:1.5!important;
  }

  .catalog-shell{
    width:100%!important;
    margin:18px 0 50px!important;
    padding:0 14px!important;
    box-sizing:border-box!important;
    display:block!important;
  }

  .catalog-content{
    width:100%!important;
    min-width:0!important;
  }

  .catalog-wide-promo{
    width:100%!important;
    box-sizing:border-box!important;
    margin-bottom:16px!important;
    min-height:0!important;
    padding:18px!important;
  }

  .catalog-wide-promo strong{
    font-size:22px!important;
    line-height:1.12!important;
  }

  .catalog-toolbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    margin-bottom:18px!important;
    padding-bottom:14px!important;
  }

  .catalog-toolbar > div:first-child{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
  }

  .mobile-filter-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    margin:0!important;
  }

  .sort-form{
    width:100%!important;
    margin:0!important;
  }

  .sort-form select{
    width:100%!important;
    min-height:44px!important;
    box-sizing:border-box!important;
  }

  .view-toggle{
    display:none!important;
  }

  /* Sobrescreve a regra antiga que forçava DUAS colunas no celular */
  .catalog-grid,
  .catalog-grid.list-view{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:28px!important;
    width:100%!important;
  }

  .catalog-grid.list-view .catalog-card{
    display:block!important;
    padding-bottom:0!important;
  }

  .catalog-card{
    width:100%!important;
    min-width:0!important;
    display:block!important;
  }

  .catalog-media{
    width:100%!important;
    min-width:0!important;
  }

  .catalog-image,
  .catalog-grid.list-view .catalog-image{
    display:block!important;
    width:100%!important;
    aspect-ratio:1.2/1!important;
    background:#f7f7f7!important;
  }

  .catalog-image img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  .favorite-card-btn{
    width:40px!important;
    height:40px!important;
    right:10px!important;
    top:10px!important;
  }

  /* Miniaturas continuam em apenas UMA linha */
  .catalog-thumbs{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:100%!important;
    max-height:58px!important;
    min-height:0!important;
    margin-top:7px!important;
    padding:1px 0 3px!important;
    gap:6px!important;
    opacity:1!important;
    visibility:visible!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
  }

  .catalog-thumb{
    flex:0 0 46px!important;
    width:46px!important;
    height:46px!important;
  }

  .catalog-card-body{
    padding:13px 1px 0!important;
  }

  .catalog-card-body small{
    font-size:10px!important;
    line-height:1.4!important;
  }

  .catalog-card-body h2{
    font-size:20px!important;
    line-height:1.2!important;
    margin:7px 0 9px!important;
  }

  .catalog-card-body p{
    font-size:14px!important;
    line-height:1.5!important;
    min-height:0!important;
    margin:0 0 10px!important;
  }

  .catalog-card-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin-top:13px!important;
  }

  .catalog-card-actions .catalog-link,
  .catalog-card-actions .catalog-wa{
    width:100%!important;
    min-height:44px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:11px 10px!important;
  }
}

@media (max-width: 430px){
  .catalog-shell{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .catalog-card-actions{
    grid-template-columns:1fr!important;
  }

  .catalog-image,
  .catalog-grid.list-view .catalog-image{
    aspect-ratio:1.15/1!important;
  }

  .catalog-card-body h2{
    font-size:19px!important;
  }
}
