/* ============================================================
   loja.css — Luma Basics | Página Principal da Loja (Home)
   Design Premium, Mobile-first, Limpo e Moderno
   ============================================================ */

:root {
  --primary: #151f32;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --rose-bg: #faf7f4;
  --card-bg: #ffffff;
  --border: #e9e4df;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --tag-bg: #f3ede7;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.09);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--rose-bg);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.store-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 1. TOPBAR ── */
.store-topbar {
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.5px;
}
.store-topbar strong {
  color: #34d399;
}

/* ── 2. HEADER ── */
.store-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.store-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}
.store-brand {
  text-decoration: none;
  color: var(--primary);
}
.store-logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.store-logo-sub {
  font-weight: 400;
  color: #8c6d58;
  margin-left: 3px;
}
.store-nav {
  display: none;
  gap: 28px;
}
.store-nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.store-nav-link:hover, .store-nav-link.active {
  color: var(--primary);
}
.store-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.store-action-btn {
  background: #f4f0eb;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  transition: background 0.2s;
}
.store-action-btn:hover {
  background: #e8e1d7;
}
.store-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 3. PLACEHOLDER BOX ESTILO ── */
.placeholder-box {
  background: #f1ebe5;
  border: 2px dashed #d8cec3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #7d7165;
}
.placeholder-tag {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d8cec3;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 8px;
}
.placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.placeholder-text {
  font-size: 0.82rem;
  line-height: 1.3;
}
.placeholder-text strong {
  color: var(--primary);
  display: block;
  font-size: 0.95rem;
  margin-top: 4px;
}



/* ── 4. HERO BANNER RESPONSIVO (MOBILE 1:1 / DESKTOP 16:9) ── */
.store-hero {
  padding: 16px 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.store-hero-link {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #f7f2ec;
}
.store-hero-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.store-hero-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.store-hero-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}
.store-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-hover-pill {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform 0.2s, background 0.2s;
}
.store-hero-link:hover .hero-hover-pill {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

@media (min-width: 769px) {
  .store-hero-wrapper {
    aspect-ratio: 16 / 9;
  }
}

/* ── 5. TRUSTBAR ── */
.store-trustbar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
}
.store-trustbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
}
.trust-item small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── 6. SECTIONS ── */
.section-heading {
  margin-bottom: 32px;
}
.text-center { text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #8c6d58;
  margin-bottom: 6px;
}
.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
}
.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── 7. CATALOG GRID (7 PRODUTOS) ── */
.store-catalog {
  padding: 50px 0;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.featured-card {
  border: 2px solid var(--accent);
}
.product-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  gap: 6px;
}
.badge-featured {
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.badge-discount {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 20px;
}
.badge-new {
  background: #3b82f6;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-tag {
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}
.aspect-square {
  aspect-ratio: 1 / 1;
  width: 100%;
}
.product-media-link {
  text-decoration: none;
  display: block;
}
.media-hover-hint {
  position: absolute;
  bottom: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 20px;
}
.product-info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.stars {
  color: #f59e0b;
  font-size: 0.85rem;
}
.rating-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.product-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}
.product-title a {
  text-decoration: none;
  color: var(--primary);
}
.product-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.product-pricing {
  margin-top: auto;
  margin-bottom: 14px;
}
.price-old {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: #9ca3af;
  display: block;
}
.price-current-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
}
.price-installments {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}
.btn-buy-card {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-buy-card:hover {
  background: var(--primary);
  color: #fff;
}
.btn-pdp-highlight {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-pdp-highlight:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ── 8. MID BANNER ── */
.store-mid-banner {
  padding: 30px 0;
}
.mid-banner-card {
  min-height: 280px;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
}
.mid-banner-content {
  max-width: 680px;
  margin: 0 auto;
}
.mid-banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.mid-banner-content p {
  font-size: 0.9rem;
  color: #52473c;
  line-height: 1.6;
  margin-bottom: 20px;
}
.mid-banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.mb-feat {
  background: rgba(255,255,255,0.8);
  border: 1px solid #d8cec3;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* ── 9. REVIEWS ── */
.store-reviews {
  padding: 50px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.review-card {
  background: var(--rose-bg);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
}
.review-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 12px;
}
.review-text {
  font-size: 0.88rem;
  color: #374151;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 14px;
}
.review-author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
}
.review-author small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── 10. FOOTER ── */
.store-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
}
.footer-text {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-contact {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-badge {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  font-size: 0.75rem;
  color: #64748b;
}

/* ── RESPONSIVE DESKTOP (BREAKPOINTS) ── */
@media (min-width: 768px) {
  .store-nav {
    display: flex;
  }
  .store-menu-toggle {
    display: none;
  }
  .store-hero-title {
    font-size: 2.7rem;
  }
  .store-trustbar-inner {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .featured-card {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .featured-card .aspect-square {
    height: 100%;
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================================
   WhatsApp Floating Button (Home)
   ============================================================ */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
}
