/* ==========================================================================
   VITRINE DE ROUPAS E MODA — YK CLOSET • BY YASMIN KAREN
   Arquivo: styles/showcase.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CAMADA DA VITRINE SOBREPOSTA (SHEET OVERLAY)
   -------------------------------------------------------------------------- */
.showcase-sheet {
  position: relative;
  z-index: 10; /* Sobrepõe a .hero-screen (z-index: 2) ao rolar */
  width: 100%;
  min-height: 100vh;
  margin-top: 0;
  
  /* Superfície Feminina & Sofisticada com Frosted Glass Luxuoso */
  background: linear-gradient(
    180deg, 
    rgba(255, 255, 255, 0.97) 0%, 
    rgba(255, 251, 250, 0.98) 280px,
    rgba(255, 247, 246, 1) 100%
  );
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  
  /* Bordas Retas e Formato Retangular sem Raios */
  border-radius: 0;
  border-top: 1px solid rgba(223, 183, 108, 0.45);
  border-left: none;
  border-right: none;
  border-bottom: none;
  
  /* Sombra de Profundidade Tangível sobre a Primeira Tela */
  box-shadow: 
    0 -20px 50px rgba(24, 24, 27, 0.06),
    0 -2px 14px rgba(223, 183, 108, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
    
  padding: 36px 20px 60px 20px;
  box-sizing: border-box;
}

.showcase-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Indicador de Afordância Tátil (Oculto para manter topo reto e limpo) */
.sheet-handle-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   2. CABEÇALHO DA VITRINE DE MODA
   -------------------------------------------------------------------------- */
.showcase-header {
  text-align: center;
  margin-bottom: clamp(28px, 4.5vh, 44px);
  padding: 0 10px;
}

.showcase-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 245, 245, 0.95);
  border: 1px solid rgba(223, 183, 108, 0.55);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #b8860b;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.showcase-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c59b4e;
  box-shadow: 0 0 8px #c59b4e;
}

.showcase-title {
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #18181b;
  margin-bottom: 10px;
  line-height: 1.2;
}

.showcase-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: #52525b;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   3. GRADE DA VITRINE DE PRODUTOS
   Configuração em 4 colunas no desktop = exatamente 2 linhas (4 em cima, 4 embaixo)
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: 48px;
}

/* Card Individual de Produto - 100% Reto/Quadrado */
.product-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(228, 228, 231, 0.95);
  box-shadow: 0 6px 20px rgba(24, 24, 27, 0.05), 0 1px 3px rgba(24, 24, 27, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 183, 108, 0.70);
  box-shadow: 0 18px 40px rgba(24, 24, 27, 0.10), 0 0 22px rgba(223, 183, 108, 0.16);
}

/* Contêiner de Imagem com proporção de editorial (3:4) */
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f4f4f5;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

/* Tag de Categoria */
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 183, 108, 0.50);
  font-size: 0.68rem;
  font-weight: 700;
  color: #b8860b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(24, 24, 27, 0.06);
}

/* Informações do Produto (Nome e Preço em Destaque) */
.product-info {
  padding: 16px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  background: #ffffff;
}

.product-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: #18181b;
  line-height: 1.35;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  text-align: center;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c59b4e;
  letter-spacing: -0.02em;
  text-align: center;
  display: block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 14px;
}

/* Botão do WhatsApp */
.product-action-btn {
  margin-top: 0;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 245, 245, 0.95);
  border: 1px solid rgba(223, 183, 108, 0.55);
  color: #27272a;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.product-action-btn:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.product-whatsapp-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. RODAPÉ DA VITRINE
   -------------------------------------------------------------------------- */
.showcase-footer {
  text-align: center;
  padding-top: 36px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.6;
}

.showcase-footer-note {
  max-width: 600px;
  margin: 0 auto 12px auto;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVIDADE ADAPTATIVA DA VITRINE
   -------------------------------------------------------------------------- */
/* Telas Médias e Laptops: mantém 4 colunas para 2 linhas equilibradas */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Celulares e Tablets em Retrato: 2 colunas */
@media (max-width: 768px) {
  .showcase-sheet {
    padding: 24px 14px 44px 14px;
    border-radius: 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-info {
    padding: 12px 10px 14px 10px;
  }

  .product-name {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .product-price {
    font-size: 1.05rem;
  }

  .product-action-btn {
    padding: 8px 10px;
    font-size: 0.76rem;
    margin-top: 10px;
  }
}

/* Telas Muito Pequenas (<= 360px): 1 coluna confortável */
@media (max-width: 380px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
