/* ============================================
   MULTI-LAYOUT SYSTEM - LAYOUTS CSS
   Layouts 3, 4, 5, 6
   ============================================ */

/* ============================================
   LAYOUT 3 — GRADE MODERNA
   Cards e-commerce com sombra, hover e botão
   ============================================ */

.layout-moderna .produto-moderno {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  margin-bottom: 20px;
}

.layout-moderna .produto-moderno:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
}

.layout-moderna .produto-moderno a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.layout-moderna .produto-moderno .pm-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
  background: #f5f5f5;
}

.layout-moderna .produto-moderno .pm-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.layout-moderna .produto-moderno:hover .pm-img-wrapper img {
  transform: scale(1.06);
}

.layout-moderna .produto-moderno .pm-badge-oferta {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.3px;
}

.layout-moderna .produto-moderno .pm-body {
  padding: 14px 16px 16px;
}

.layout-moderna .produto-moderno .pm-nome {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-moderna .produto-moderno .pm-descricao {
  display: block;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.layout-moderna .produto-moderno .pm-preco-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.layout-moderna .produto-moderno .pm-preco-info {
  display: flex;
  flex-direction: column;
}

.layout-moderna .produto-moderno .pm-preco-antigo {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
  line-height: 1;
}

.layout-moderna .produto-moderno .pm-preco {
  font-size: 16px;
  font-weight: 700;
  color: #10b981;
  line-height: 1.2;
}

.layout-moderna .produto-moderno .pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.layout-moderna .produto-moderno:hover .pm-btn {
  background: #059669;
  transform: scale(1.1);
}

.layout-moderna .produto-moderno .pm-selecione {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

/* Sem estoque */
.layout-moderna .produto-moderno .pm-sem-estoque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f1f1f1;
  color: #999;
  font-size: 11px;
  font-weight: 500;
}

/* ============================================
   LAYOUT 4 — LISTA COMPACTA
   Itens em fila única, imagem pequena, ideal para menus grandes
   ============================================ */

.layout-compacta .produto-compacto {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(0,0,0,.05);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.layout-compacta .produto-compacto:hover {
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.layout-compacta .produto-compacto a {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.layout-compacta .produto-compacto .pc-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.layout-compacta .produto-compacto .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-compacta .produto-compacto .pc-info {
  flex: 1;
  padding: 0 12px;
  min-width: 0;
}

.layout-compacta .produto-compacto .pc-nome {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-compacta .produto-compacto .pc-descricao {
  display: block;
  font-size: 11px;
  color: #999;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.layout-compacta .produto-compacto .pc-preco-area {
  flex-shrink: 0;
  text-align: right;
  min-width: 80px;
}

.layout-compacta .produto-compacto .pc-preco-antigo {
  display: block;
  font-size: 11px;
  color: #bbb;
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}

.layout-compacta .produto-compacto .pc-preco {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
}

.layout-compacta .produto-compacto .pc-selecione {
  font-size: 11px;
  color: #888;
  font-weight: 500;
}

.layout-compacta .produto-compacto .pc-badge-oferta {
  display: inline-block;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  margin-bottom: 3px;
}

.layout-compacta .produto-compacto .pc-sem-estoque {
  font-size: 11px;
  color: #ccc;
  font-weight: 500;
}

/* ============================================
   LAYOUT 5 — VITRINE PREMIUM
   Cards grandes, overlay gradiente, estilo magazine
   ============================================ */

.layout-vitrine .produto-vitrine {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layout-vitrine .produto-vitrine:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}

.layout-vitrine .produto-vitrine a {
  display: block;
  text-decoration: none;
  color: #fff;
}

.layout-vitrine .produto-vitrine .pv-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 65%; /* 3:2 ratio */
  overflow: hidden;
}

.layout-vitrine .produto-vitrine .pv-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.layout-vitrine .produto-vitrine:hover .pv-img-wrapper img {
  transform: scale(1.08);
}

.layout-vitrine .produto-vitrine .pv-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 50%, transparent 100%);
  z-index: 2;
}

.layout-vitrine .produto-vitrine .pv-badge-oferta {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ff4757, #e8313a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 24px;
  z-index: 3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(255,71,87,.4);
}

.layout-vitrine .produto-vitrine .pv-nome {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.layout-vitrine .produto-vitrine .pv-descricao {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-vitrine .produto-vitrine .pv-preco-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layout-vitrine .produto-vitrine .pv-preco-antigo {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  text-decoration: line-through;
  margin-right: 8px;
}

.layout-vitrine .produto-vitrine .pv-preco {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.layout-vitrine .produto-vitrine .pv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease;
  border: 1px solid rgba(255,255,255,.25);
}

.layout-vitrine .produto-vitrine:hover .pv-btn {
  background: rgba(255,255,255,.35);
}

.layout-vitrine .produto-vitrine .pv-selecione {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.layout-vitrine .produto-vitrine .pv-sem-estoque {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0,0,0,.4);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 500;
}

/* ============================================
   LAYOUT 6 — MOSAICO
   Masonry/Pinterest style com tamanhos variados
   ============================================ */

.layout-mosaico {
  column-count: 3;
  column-gap: 16px;
}

.layout-mosaico .produto-mosaico {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.layout-mosaico .produto-mosaico:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}

.layout-mosaico .produto-mosaico a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.layout-mosaico .produto-mosaico .pms-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.layout-mosaico .produto-mosaico .pms-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.layout-mosaico .produto-mosaico:hover .pms-img-wrapper img {
  transform: scale(1.05);
}

.layout-mosaico .produto-mosaico .pms-badge-oferta {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 16px;
  z-index: 2;
}

.layout-mosaico .produto-mosaico .pms-body {
  padding: 12px 14px 14px;
}

.layout-mosaico .produto-mosaico .pms-nome {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 4px;
}

.layout-mosaico .produto-mosaico .pms-descricao {
  display: block;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-mosaico .produto-mosaico .pms-preco-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layout-mosaico .produto-mosaico .pms-preco-antigo {
  font-size: 11px;
  color: #bbb;
  text-decoration: line-through;
}

.layout-mosaico .produto-mosaico .pms-preco {
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
}

.layout-mosaico .produto-mosaico .pms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.layout-mosaico .produto-mosaico:hover .pms-btn {
  background: #059669;
  transform: scale(1.1);
}

.layout-mosaico .produto-mosaico .pms-selecione {
  font-size: 11px;
  color: #888;
  font-weight: 500;
}

.layout-mosaico .produto-mosaico .pms-sem-estoque {
  font-size: 11px;
  color: #ccc;
  font-weight: 500;
}

/* ============================================
   RESPONSIVIDADE — LAYOUT 3 (Grade Moderna)
   ============================================ */

@media (max-width: 991px) {
  .layout-moderna .produto-moderno .pm-img-wrapper {
    padding-top: 85%;
  }
  .layout-moderna .produto-moderno .pm-nome {
    font-size: 13px;
  }
  .layout-moderna .produto-moderno .pm-descricao {
    min-height: auto;
    -webkit-line-clamp: 1;
    margin-bottom: 6px;
  }
}

@media (max-width: 544px) {
  .layout-moderna .produto-moderno {
    margin-bottom: 12px;
  }
  .layout-moderna .produto-moderno .pm-body {
    padding: 10px 12px 12px;
  }
}

/* ============================================
   RESPONSIVIDADE — LAYOUT 4 (Lista Compacta)
   ============================================ */

@media (max-width: 991px) {
  .layout-compacta .produto-compacto {
    padding: 8px 10px;
  }
  .layout-compacta .produto-compacto .pc-img {
    width: 48px;
    height: 48px;
  }
  .layout-compacta .produto-compacto .pc-info {
    padding: 0 10px;
  }
}

/* ============================================
   RESPONSIVIDADE — LAYOUT 5 (Vitrine Premium)
   ============================================ */

@media (max-width: 991px) {
  .layout-vitrine .produto-vitrine .pv-img-wrapper {
    padding-top: 55%;
  }
  .layout-vitrine .produto-vitrine .pv-nome {
    font-size: 16px;
  }
  .layout-vitrine .produto-vitrine .pv-preco {
    font-size: 18px;
  }
  .layout-vitrine .produto-vitrine .pv-overlay {
    padding: 50px 16px 14px;
  }
}

@media (max-width: 544px) {
  .layout-vitrine .produto-vitrine .pv-img-wrapper {
    padding-top: 60%;
  }
  .layout-vitrine .produto-vitrine .pv-descricao {
    display: none;
  }
  .layout-vitrine .produto-vitrine .pv-nome {
    font-size: 15px;
  }
  .layout-vitrine .produto-vitrine .pv-preco {
    font-size: 16px;
  }
}

/* ============================================
   RESPONSIVIDADE — LAYOUT 6 (Mosaico)
   ============================================ */

@media (max-width: 991px) {
  .layout-mosaico {
    column-count: 2;
    column-gap: 12px;
  }
  .layout-mosaico .produto-mosaico {
    margin-bottom: 12px;
  }
}

@media (max-width: 544px) {
  .layout-mosaico {
    column-count: 2;
    column-gap: 10px;
  }
  .layout-mosaico .produto-mosaico .pms-body {
    padding: 10px 10px 12px;
  }
  .layout-mosaico .produto-mosaico .pms-nome {
    font-size: 13px;
  }
  .layout-mosaico .produto-mosaico .pms-descricao {
    display: none;
  }
}

/* ============================================
   SWIPER — Ajustes para novos layouts dentro do carrossel de destaques
   ============================================ */

.swiper-slide .produto-moderno,
.swiper-slide .produto-compacto,
.swiper-slide .produto-vitrine,
.swiper-slide .produto-mosaico {
  margin-bottom: 0;
}

/* Swiper slide para Layout 5 - Vitrine */
.swiper-slide .produto-vitrine .pv-img-wrapper {
  padding-top: 60%;
}

/* ============================================
   LAYOUT 7 — MINIMALISTA
   Sem bordas, muito whitespace, foco na imagem (Apple style)
   ============================================ */

.layout-minimalista .produto-minimalista {
  position: relative;
  margin-bottom: 30px;
}

.layout-minimalista .produto-minimalista a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.layout-minimalista .produto-minimalista .pmin-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fafafa;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.layout-minimalista .produto-minimalista:hover .pmin-img-wrapper {
  transform: scale(1.02);
}

.layout-minimalista .produto-minimalista .pmin-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.layout-minimalista .produto-minimalista .pmin-badge-oferta {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #111;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  z-index: 2;
}

.layout-minimalista .produto-minimalista .pmin-body {
  padding: 0 5px;
  text-align: center;
}

.layout-minimalista .produto-minimalista .pmin-nome {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  margin-bottom: 8px;
}

.layout-minimalista .produto-minimalista .pmin-preco-antigo {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
}

.layout-minimalista .produto-minimalista .pmin-preco {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.layout-minimalista .produto-minimalista .pmin-selecione,
.layout-minimalista .produto-minimalista .pmin-sem-estoque {
  font-size: 13px;
  color: #888;
}

/* ============================================
   LAYOUT 8 — CARD ANIMADO
   Imagem 100%, overlay hover slide-up
   ============================================ */

.layout-animado .produto-animado {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.layout-animado .produto-animado a {
  display: block;
  text-decoration: none;
  color: #fff;
  position: relative;
  width: 100%;
  padding-top: 120%; /* 5:6 Aspect ratio */
}

.layout-animado .produto-animado .pa-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.9;
}

.layout-animado .produto-animado:hover .pa-img {
  transform: scale(1.1);
  opacity: 0.6;
}

.layout-animado .produto-animado .pa-badge-oferta {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4757;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.layout-animado .produto-animado .pa-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  transform: translateY(30%);
  transition: transform 0.4s ease;
}

.layout-animado .produto-animado:hover .pa-content {
  transform: translateY(0);
}

.layout-animado .produto-animado .pa-nome {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.layout-animado .produto-animado .pa-descricao {
  display: block;
  font-size: 12px;
  color: #ddd;
  margin-bottom: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.1s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-animado .produto-animado:hover .pa-descricao {
  opacity: 1;
}

.layout-animado .produto-animado .pa-preco-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.layout-animado .produto-animado .pa-preco {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.layout-animado .produto-animado .pa-btn {
  background: #fff;
  color: #000;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.layout-animado .produto-animado:hover .pa-btn {
  transform: scale(1.15);
}

/* ============================================
   LAYOUT 9 — LISTA GOURMET
   Horizontal espaçoso, foco em imagem grande à esq.
   ============================================ */

.layout-gourmet .produto-gourmet {
  display: flex;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.layout-gourmet .produto-gourmet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.layout-gourmet .produto-gourmet a {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.layout-gourmet .produto-gourmet .pg-img-wrapper {
  width: 140px;
  flex-shrink: 0;
  position: relative;
}

.layout-gourmet .produto-gourmet .pg-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.layout-gourmet .produto-gourmet .pg-badge-oferta {
  position: absolute;
  top: 10px; left: 10px;
  background: #ff4757; color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px;
  z-index: 2;
}

.layout-gourmet .produto-gourmet .pg-body {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.layout-gourmet .produto-gourmet .pg-nome {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.layout-gourmet .produto-gourmet .pg-descricao {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-gourmet .produto-gourmet .pg-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.layout-gourmet .produto-gourmet .pg-preco {
  font-size: 17px;
  font-weight: 700;
  color: #10b981;
}

.layout-gourmet .produto-gourmet .pg-preco-antigo {
  font-size: 12px; color: #aaa; text-decoration: line-through; display: block;
}

.layout-gourmet .produto-gourmet .pg-btn {
  background: #f4f4f4;
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.layout-gourmet .produto-gourmet:hover .pg-btn {
  background: #10b981;
  color: #fff;
}

@media (max-width: 768px) {
  .layout-gourmet .produto-gourmet .pg-img-wrapper {
    width: 110px;
  }
  .layout-gourmet .produto-gourmet .pg-body {
    padding: 12px;
  }
  .layout-animado .produto-animado .pa-content {
    transform: translateY(0); /* Sempre visível no mobile */
  }
  .layout-animado .produto-animado .pa-descricao {
    opacity: 1;
  }
}

/* ============================================
   GRID FLEX FIX FOR BOOTSTRAP 3 (Equal Heights & Anti-Snagging)
   ============================================ */
.row.layout-moderna,
.row.layout-vitrine,
.row.layout-minimalista,
.row.layout-animado,
.row.layout-glass,
.row.layout-showcase,
.row.layout-story {
  display: flex !important;
  flex-wrap: wrap !important;
}

.row.layout-showcase {
  justify-content: center !important;
}

.row.layout-moderna::before,
.row.layout-moderna::after,
.row.layout-vitrine::before,
.row.layout-vitrine::after,
.row.layout-minimalista::before,
.row.layout-minimalista::after,
.row.layout-animado::before,
.row.layout-animado::after,
.row.layout-glass::before,
.row.layout-glass::after,
.row.layout-showcase::before,
.row.layout-showcase::after,
.row.layout-story::before,
.row.layout-story::after {
  display: none !important;
}

.row.layout-moderna > [class*="col-"],
.row.layout-vitrine > [class*="col-"],
.row.layout-minimalista > [class*="col-"],
.row.layout-animado > [class*="col-"],
.row.layout-glass > [class*="col-"],
.row.layout-showcase > [class*="col-"],
.row.layout-story > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* ============================================
   LAYOUT 10 — NEON 3D GLOW (FUTURISTA 3D)
   Palco iluminado com efeito de salto tridimensional e glow neon
   ============================================ */

.layout-glass .produto-glass {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(99, 102, 241, 0.25);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.layout-glass .produto-glass:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px -5px rgba(0, 0, 0, 0.65), 0 0 35px rgba(236, 72, 153, 0.4), 0 0 20px rgba(99, 102, 241, 0.5);
  border-color: rgba(236, 72, 153, 0.6);
}

.layout-glass .produto-glass a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.layout-glass .produto-glass .pglass-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 88%;
  border-radius: 22px 22px 0 0;
  background: radial-gradient(circle at 50% 60%, rgba(99, 102, 241, 0.35) 0%, rgba(236, 72, 153, 0.15) 50%, rgba(15, 23, 42, 0.8) 100%);
  overflow: visible;
}

.layout-glass .produto-glass .pglass-img-wrapper img {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.layout-glass .produto-glass:hover .pglass-img-wrapper img {
  transform: translateY(-8px) scale(1.08);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.7));
}

.layout-glass .produto-glass .pglass-badge-oferta {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
  z-index: 2;
}

.layout-glass .produto-glass .pglass-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.layout-glass .produto-glass .pglass-nome {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  min-height: 36px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.layout-glass .produto-glass .pglass-descricao {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 12px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  min-height: 30px;
}

.layout-glass .produto-glass .pglass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  max-width: 100%;
}

.layout-glass .produto-glass .pglass-preco-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.layout-glass .produto-glass .pglass-preco-antigo {
  font-size: 11px;
  color: #64748b;
  text-decoration: line-through;
  line-height: 1;
}

.layout-glass .produto-glass .pglass-preco {
  font-size: 17px;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.layout-glass .produto-glass .pglass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.layout-glass .produto-glass:hover .pglass-btn {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.layout-glass .produto-glass .pglass-selecione,
.layout-glass .produto-glass .pglass-sem-estoque {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

/* ============================================
   LAYOUT 11 — CINEMA EDITORIAL (SPLIT 50/50 LUXO)
   Metade fotografia widescreen cinema, metade painel editorial dark
   ============================================ */

.layout-showcase {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.layout-showcase .produto-showcase {
  display: block;
  background: #090d16;
  border-radius: 22px;
  margin: 0 auto 20px auto;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.layout-showcase .produto-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(52, 211, 153, 0.4);
}

.layout-showcase .produto-showcase a {
  display: flex;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  min-height: 160px;
  overflow: hidden;
}

.layout-showcase .produto-showcase .pshow-img-wrapper {
  flex: 0 0 42%;
  max-width: 42%;
  width: 42%;
  min-height: 160px;
  position: relative;
  background: #000000;
  overflow: hidden;
}

.layout-showcase .produto-showcase .pshow-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.layout-showcase .produto-showcase:hover .pshow-img-wrapper img {
  transform: scale(1.08);
}

.layout-showcase .produto-showcase .pshow-badge-oferta {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

.layout-showcase .produto-showcase .pshow-body {
  flex: 1 1 58%;
  max-width: 58%;
  width: 58%;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: #090d16;
  overflow: hidden;
}

.layout-showcase .produto-showcase .pshow-body > div:first-child {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.layout-showcase .produto-showcase .pshow-nome {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.layout-showcase .produto-showcase .pshow-descricao {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 10px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.layout-showcase .produto-showcase .pshow-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.layout-showcase .produto-showcase .pshow-preco-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.layout-showcase .produto-showcase .pshow-preco-antigo {
  font-size: 11px;
  color: #64748b;
  text-decoration: line-through;
  line-height: 1;
}

.layout-showcase .produto-showcase .pshow-preco {
  font-size: 18px;
  font-weight: 900;
  color: #34d399;
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.layout-showcase .produto-showcase .pshow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #090d16;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.layout-showcase .produto-showcase:hover .pshow-btn {
  background: #34d399;
  color: #000;
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.4);
  transform: scale(1.04);
}

.layout-showcase .produto-showcase .pshow-selecione,
.layout-showcase .produto-showcase .pshow-sem-estoque {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 700;
}

@media (max-width: 768px) {
  .layout-showcase .produto-showcase a {
    min-height: 110px;
  }
  .layout-showcase .produto-showcase .pshow-img-wrapper {
    flex: 0 0 110px;
    max-width: 110px;
    width: 110px;
    min-height: 105px;
  }
  .layout-showcase .produto-showcase .pshow-body {
    flex: 1;
    max-width: calc(100% - 110px);
    width: calc(100% - 110px);
    padding: 10px 12px;
  }
  .layout-showcase .produto-showcase .pshow-nome {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin-bottom: 2px;
  }
  .layout-showcase .produto-showcase .pshow-descricao {
    display: none;
  }
  .layout-showcase .produto-showcase .pshow-preco {
    font-size: 15px;
  }
  .layout-showcase .produto-showcase .pshow-btn {
    padding: 5px 8px;
    font-size: 10px;
    border-radius: 6px;
  }
}

/* ============================================
   LAYOUT 12 — CÁPSULA ORGÂNICA (DESIGN FLUIDO)
   Cantos assimétricos dinâmicos com barra de ação unificada (preço + botão)
   ============================================ */

.layout-story .produto-story {
  position: relative;
  background: #ffffff;
  border-radius: 32px 10px 32px 10px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px -5px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #eef2f6;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.layout-story .produto-story:hover {
  border-radius: 10px 32px 10px 32px;
  transform: translateY(-6px);
  box-shadow: 0 18px 38px -5px rgba(16, 185, 129, 0.18);
  border-color: #10b981;
}

.layout-story .produto-story a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.layout-story .produto-story .pstory-img-wrapper {
  position: relative;
  width: calc(100% - 16px);
  margin: 8px 8px 0 8px;
  padding-top: 85%;
  overflow: hidden;
  border-radius: 26px 8px 20px 8px;
  background: #f8fafc;
}

.layout-story .produto-story .pstory-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.layout-story .produto-story:hover .pstory-img-wrapper img {
  transform: scale(1.08);
}

.layout-story .produto-story .pstory-badge-oferta {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.layout-story .produto-story .pstory-body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.layout-story .produto-story .pstory-nome {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  min-height: 34px;
}

.layout-story .produto-story .pstory-descricao {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin-bottom: 8px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  min-height: 15px;
}

/* Barra de Ação Unificada (Pill Bar) */
.layout-story .produto-story .pstory-action-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 4px 5px 4px 12px;
  margin-top: auto;
  transition: all 0.25s ease;
  min-width: 0;
  max-width: 100%;
}

.layout-story .produto-story:hover .pstory-action-pill {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.layout-story .produto-story .pstory-preco-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.layout-story .produto-story .pstory-preco-antigo {
  font-size: 10px;
  color: #94a3b8;
  text-decoration: line-through;
  line-height: 1;
}

.layout-story .produto-story .pstory-preco {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.layout-story .produto-story .pstory-pill-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.layout-story .produto-story:hover .pstory-pill-btn {
  background: #059669;
  transform: rotate(90deg) scale(1.08);
}

.layout-story .produto-story .pstory-selecione,
.layout-story .produto-story .pstory-sem-estoque {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

@media (max-width: 544px) {
  .layout-story .produto-story .pstory-body {
    padding: 8px 8px 10px;
  }
  .layout-story .produto-story .pstory-nome {
    font-size: 12px;
    min-height: auto;
  }
  .layout-story .produto-story .pstory-descricao {
    display: none;
  }
  .layout-story .produto-story .pstory-action-pill {
    padding: 3px 4px 3px 8px;
  }
  .layout-story .produto-story .pstory-preco {
    font-size: 13px;
  }
  .layout-story .produto-story .pstory-pill-btn {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

/* Swiper extras */
.swiper-slide .produto-minimalista,
.swiper-slide .produto-animado,
.swiper-slide .produto-gourmet,
.swiper-slide .produto-glass,
.swiper-slide .produto-showcase,
.swiper-slide .produto-story {
  margin-bottom: 0;
}

.swiper-slide .layout-showcase {
  width: 100%;
  display: flex;
  justify-content: center;
}

.swiper-slide .produto-showcase {
  margin: 0 auto;
}




