/* ============================================================
   PRISMÁTICA 3D - CATÁLOGO E DESIGN SYSTEM OFICIAL (v4.0)
   Inspiração: Apple & Nike Store com Estética Feminina Elegante
   Paleta: Porcelana Suave, Rose Gold, Terracotta e Champagne
   ============================================================ */

:root {
  /* Fontes */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Cores Base e Superfícies */
  --bg-base: #faf8f5;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f6eee5;
  --bg-muted: #efe3d5;

  /* Cores de Destaque (Feminino Refinado / Contemporâneo) */
  --primary: #9e4f2f;            /* Terracotta Nobre */
  --primary-hover: #863f22;
  --primary-light: #fdf3ee;
  --primary-border: #edd5c8;

  --accent-rose: #c8707e;        /* Rose Gold Sofisticado */
  --accent-rose-hover: #b45d6b;
  --accent-rose-light: #fdf2f4;
  --accent-rose-border: #f8ccd4;

  --accent-gold: #c59b63;        /* Champagne / Ouro Nobre */
  --accent-gold-light: #fef8ee;
  --accent-gold-border: #f0deb8;

  /* WhatsApp Oficial */
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5a;
  --whatsapp-bg: #eafbf1;

  /* Neutros e Tipografia */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --border-color: #ebdcd0;
  --border-light: #f3eae1;

  /* Sombras Elegantes (Apple-Style) */
  --shadow-sm: 0 2px 8px rgba(45, 35, 25, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(45, 35, 25, 0.06);
  --shadow-lg: 0 16px 36px -6px rgba(45, 35, 25, 0.10);
  --shadow-rose: 0 8px 22px rgba(200, 112, 126, 0.18);

  /* Dimensões e Raios */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --container-max: 1260px;
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ============================================================
   HEADER / NAVBAR (Apple Frosted Glass)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(235, 220, 208, 0.7);
  padding: 0.9rem 0;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-xs);
}

.brand-fallback {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-rose), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-rose);
}

.brand-info h1 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-info span {
  font-size: 0.72rem;
  color: var(--accent-rose);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Barra de Busca (Estilo Nike Pill) */
.search-bar {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .search-bar {
    display: block;
  }
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200, 180, 165, 0.45);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  color: var(--text-main);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(200, 112, 126, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-subtle);
  pointer-events: none;
}

/* Ações do Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-internal-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.btn-internal-link:hover {
  color: var(--primary);
  border-color: var(--primary-border);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, var(--text-main) 0%, #334155 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-header-cart:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cart-count-pill {
  background: var(--accent-rose);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 19px;
  text-align: center;
}

/* ============================================================
   HERO BANNER EDITORIAL (Nike / Apple Feminino)
   ============================================================ */
.hero-banner {
  padding: 3.5rem 0 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 242, 244, 0.9);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(200, 112, 126, 0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto 1rem auto;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
  line-height: 1.6;
}

/* Pílulas de Filtro de Categorias (Nike Horizontal Swipe) */
.filter-tabs-wrapper {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-tabs {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(220, 205, 190, 0.5);
  box-shadow: var(--shadow-sm);
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-main);
  background: rgba(240, 230, 220, 0.4);
}

.filter-btn.active {
  background: #ffffff;
  color: var(--accent-rose);
  box-shadow: 0 2px 8px rgba(200, 112, 126, 0.15);
  font-weight: 700;
}

.filter-btn.destaque-tab.active {
  color: var(--accent-gold);
  box-shadow: 0 2px 8px rgba(197, 155, 99, 0.2);
}

/* ============================================================
   SEÇÕES DE PRODUTOS & GRID
   ============================================================ */
.section-destaques {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fffdfb 0%, #fef8ee 100%);
  border: 1.5px solid var(--accent-gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section-catalogo {
  margin-bottom: 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-subtext {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.badge-counter {
  font-size: 0.78rem;
  background: rgba(240, 230, 220, 0.6);
  color: var(--text-muted);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Grids */
.products-grid, .destaques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .products-grid, .destaques-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ============================================================
   CARDS DE PRODUTOS (Inspiração Apple & Nike Store)
   ============================================================ */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-rose-border);
  box-shadow: var(--shadow-md);
}

.product-card.card-destaque {
  border-color: var(--accent-gold-border);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbf8f5;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Badges de Destaque */
.badge-tag-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  letter-spacing: 0.02em;
}

.badge-tag-top.destaque {
  background: rgba(254, 248, 238, 0.95);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
  backdrop-filter: blur(8px);
}

.badge-tag-top.popular {
  background: rgba(253, 242, 244, 0.95);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose-border);
  backdrop-filter: blur(8px);
}

/* Botão Quick View Flutuante */
.quick-view-btn {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 205, 190, 0.8);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.product-card:hover .quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Corpo do Card */
.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-rose);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.45rem;
  cursor: pointer;
  transition: color 0.18s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title:hover {
  color: var(--accent-rose);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

/* Especificações Rápidas */
.product-specs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.spec-dot {
  opacity: 0.4;
}

/* Rodapé do Card com Preço e Ação */
.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.75rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-currency {
  font-size: 0.7rem;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.wholesale-tag {
  font-size: 0.72rem;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  width: fit-content;
}

.wholesale-tag strong {
  color: var(--primary);
  font-weight: 700;
}

.btn-add-cart {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--text-main);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-add-cart:hover {
  background: var(--text-main);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SLIDE-OUT CART DRAWER (Glassmorphism & Clean Style)
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease-out;
}

.cart-overlay.open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cart-drawer {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  animation: slideDrawer 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #faf8f5;
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-close-cart {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-close-cart:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
}

.cart-items-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  margin: auto;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  background: #faf8f5;
  border: 1px solid var(--border-light);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  line-height: 1.25;
}

.badge-atacado-carrinho {
  background: #dcfce7;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #86efac;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.45rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 1px 6px;
}

.btn-qty {
  background: none;
  border: none;
  width: 22px;
  height: 22px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-number {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 6px;
  min-width: 20px;
  text-align: center;
}

.cart-item-subtotal {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  align-self: flex-start;
  transition: color 0.15s;
}

.btn-remove-item:hover {
  color: #ef4444;
}

/* Rodapé do Carrinho */
.cart-footer {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-note-box {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-family: inherit;
  resize: vertical;
  min-height: 55px;
}

.cart-note-box:focus {
  outline: none;
  border-color: var(--accent-rose);
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-color);
}

.cart-total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-total-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-whatsapp-checkout {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-hover) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* ============================================================
   MODAL DE DETALHES (Estilo Vitrine Apple)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.95) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: #f1f5f9;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

@media (max-width: 768px) {
  .modal-body-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

.modal-media-wrap {
  background: #faf8f5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-category-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-rose);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.modal-product-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.modal-product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-specs {
  background: #faf8f5;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 0.5rem;
}

/* Tabela de Preços Varejo vs Atacado no Modal */
.modal-pricing-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.pricing-card {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.pricing-card.wholesale {
  border-color: var(--accent-rose-border);
  background: var(--accent-rose-light);
}

.pricing-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.wholesale-badge {
  color: var(--accent-rose);
}

.pricing-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2px 0;
}

.wholesale-number {
  color: var(--accent-rose);
}

.pricing-card small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.modal-action-row {
  margin-top: auto;
  padding-top: 1rem;
}

.btn-modal-add-cart {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--accent-rose) 0%, var(--primary) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-rose);
}

.btn-modal-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 112, 126, 0.3);
}

/* ============================================================
   TOASTS E FEEDBACK
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   RODAPÉ (Footer)
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand-info {
  max-width: 580px;
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  transition: var(--transition);
}

.footer-whatsapp-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Central Editorial de Seleção (Todos, Destaques, Ofertas & Categorias) */
.selection-hub {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.selection-main-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hub-pill {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hub-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(200, 112, 126, 0.3);
}

.hub-pill.destaque-pill.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.hub-pill.oferta-pill {
  color: #be123c;
  border-color: #fecdd3;
  background: #fff1f2;
}

.hub-pill.oferta-pill.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-color: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.hub-count {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.hub-pill.active .hub-count {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.category-chips-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-chips-scroll::-webkit-scrollbar {
  display: none;
}

.category-chips-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.cat-chip {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cat-chip:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--primary-border);
}

.cat-chip.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 750;
}

.badge-tag-top.oferta {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* Botão Carregar Mais Modelos (Estilo Apple / Nike Pill) */
.btn-load-more {
  padding: 0.85rem 2.2rem;
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more:hover {
  background: #fff8f8;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 112, 126, 0.18);
}

/* ============================================================
   EFEITO HOLOGRÁFICO SUAVE & LEVE (HARDWARE-ACCELERATED)
   ============================================================ */
.holographic-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    #faf6f2 0%,
    #fdf0f4 20%,
    #f3f7fd 40%,
    #f8f2fd 60%,
    #fff8ee 80%,
    #faf6f2 100%
  );
  background-size: 300% 300%;
  animation: holoMeshShift 18s ease infinite;
  transform: translateZ(0);
  will-change: background-position;
}

.holographic-sheen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background: radial-gradient(circle at 15% 25%, rgba(200, 112, 126, 0.16) 0%, transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.09) 0%, transparent 45%);
  animation: holoSheenFloat 22s ease-in-out infinite alternate;
  transform: translateZ(0);
}

@keyframes holoMeshShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes holoSheenFloat {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.03) translateY(-8px); }
  100% { transform: scale(1) translateY(0); }
}

/* ============================================================
   CARDS DE CATEGORIA ESTILO APPLE & NIKE COM IMAGEM DE FUNDO
   Texto no lado esquerdo superior com espaçamento da borda
   Largura máxima de 75% e ajuste inteligente por palavra
   ============================================================ */
.categories-showcase-section {
  padding: 1.1rem 0 0.4rem;
  margin-bottom: 1.25rem;
}

.categories-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.categories-showcase-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.categories-showcase-sub {
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

.categories-carousel {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.25rem 0.85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.categories-carousel::-webkit-scrollbar {
  display: none;
}

.cat-apple-card {
  position: relative;
  flex: 0 0 148px;
  height: 142px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background-color: #1e293b;
}

@media (min-width: 640px) {
  .cat-apple-card {
    flex: 0 0 168px;
    height: 154px;
    border-radius: 22px;
  }
}

.cat-apple-card:active {
  transform: scale(0.95);
}

.cat-apple-card.active {
  border-color: #9e4f2f;
  box-shadow: 0 10px 26px rgba(158, 79, 47, 0.28);
}

.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

.cat-apple-card:hover .cat-card-img {
  transform: scale(1.06);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.74) 0%,
    rgba(15, 23, 42, 0.42) 58%,
    rgba(15, 23, 42, 0.16) 100%
  );
  transition: background 0.25s ease;
}

.cat-apple-card.active .cat-card-overlay {
  background: linear-gradient(
    135deg,
    rgba(158, 79, 47, 0.88) 0%,
    rgba(30, 41, 59, 0.62) 100%
  );
}

/* O texto fica no lado esquerdo superior com espaçamento da borda e até 75% */
.cat-card-content {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: 75%;
  z-index: 3;
  color: #ffffff;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cat-card-name {
  margin: 0;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.cat-word {
  display: inline-block;
  white-space: nowrap;
}

.cat-card-pill-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.65rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Múltiplas categorias no Card do Produto */
.product-category-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 0.35rem;
}

.product-category-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary, #9e4f2f);
  background: var(--primary-light, #fdf3ee);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--primary-border, #edd5c8);
}

/* Otimizações Mobile-First para Smartphone */
@media (max-width: 640px) {
  .site-header {
    padding: 0.6rem 0;
  }
  .header-inner {
    gap: 0.5rem;
  }
  .brand-info h1 {
    font-size: 1.05rem;
  }
  .search-bar {
    order: 3;
    width: 100%;
    margin-top: 0.4rem;
  }
  .hero-banner {
    padding: 1.5rem 0 1rem;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .product-body {
    padding: 0.75rem;
  }
  .product-title {
    font-size: 0.88rem;
  }
  .price-value {
    font-size: 1.15rem;
  }
  .btn-add-cart {
    padding: 0.45rem 0.8rem;
    font-size: 0.76rem;
  }
  .quick-view-btn {
    display: none; /* No celular, o toque no card abre direto */
  }
}
