/* ==========================================================================
   CSS PRINCIPAL - LOJA DO DUDU
   Tema: Premium Black & Gold com Acentos da Seleção Brasileira (Copa 2026)
   ========================================================================== */

/* 1. RESET E DEFINIÇÃO DE VARIÁVEIS */
:root {
  /* Cores Principais */
  --bg-primary: #080808;
  --bg-secondary: #141414;
  --bg-tertiary: #1f1f1f;
  --bg-glass: rgba(18, 18, 18, 0.75);
  
  --gold: #f3c256;
  --gold-dark: #b88d2a;
  --gold-light: #fbe69b;
  --gold-gradient: linear-gradient(135deg, #ffd97d 0%, #d89f30 100%);
  
  --brazil-green: #009c3b;
  --brazil-yellow: #ffdf00;
  --brazil-blue: #002776;
  
  /* Cores de Texto */
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #606060;
  
  /* Cores de Status */
  --color-success: #2ecc71;
  --color-danger: #e74c3c;
  --color-warning: #f1c40f;
  --color-info: #3498db;
  
  /* Fontes */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Efeitos e Bordas */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  --border-color: rgba(243, 194, 86, 0.15);
  --border-light: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(243, 194, 86, 0.2);
  --shadow-green: 0 0 25px rgba(0, 156, 59, 0.35);
  
  /* Transições */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Layout Utilidades */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Elementos de Brilho de Fundo (Backlight) */
.bg-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: var(--border-radius-full);
  filter: blur(150px);
  z-index: -2;
  opacity: 0.12;
  pointer-events: none;
}

.bg-glow-green {
  top: 10%;
  left: -10%;
  background: var(--brazil-green);
}

.bg-glow-yellow {
  top: 60%;
  right: -10%;
  background: var(--brazil-yellow);
}

/* 2. TIPOGRAFIA E GRADIENTES */
.text-gold {
  color: var(--gold);
}

.text-green {
  color: var(--brazil-green);
}

.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 48px;
}

/* 3. BOTÕES PREMIUM */
.btn-primary {
  background: var(--gold-gradient);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-danger:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* 4. CABEÇALHO (HEADER) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-full);
  border: 2px solid var(--gold);
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-profile {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-profile:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-cart {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.btn-cart:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-gradient);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.btn-mobile {
  display: none;
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* 5. MENU MOBILE OVERLAY */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  transition: var(--transition-normal);
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-container {
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  padding: 40px 24px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.mobile-link:hover {
  color: var(--gold);
  padding-left: 8px;
}

.btn-login-mobile {
  margin-top: 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 14px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* 6. SEÇÃO HERO / SHOWROOM */
.mobile-deal-section {
  display: none;
}

.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.badge-copa {
  background: rgba(243, 194, 86, 0.1);
  border: 1px solid rgba(243, 194, 86, 0.3);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Showroom Video Premium Container */
.hero-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container-premium {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 9 / 16;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--gold-dark);
  box-shadow: var(--shadow-lg), var(--shadow-green);
  background: #000;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.btn-video-control {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: var(--transition-fast);
}

.btn-video-control:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: scale(1.1);
}

.video-glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: inset 0 0 40px rgba(0, 156, 59, 0.3);
  pointer-events: none;
}

/* 7. SEÇÃO VANTAGENS (BENEFITS) */
.kids-promo-section {
  padding: 72px 0;
  position: relative;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 156, 59, 0.28), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(255, 223, 0, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(0, 39, 118, 0.28), rgba(8, 8, 8, 0.96) 48%, rgba(0, 156, 59, 0.22));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.kids-promo-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 32px;
  text-align: center;
}

.kids-promo-copy {
  max-width: 760px;
}

.kids-promo-copy .section-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.kids-promo-copy .hero-buttons {
  justify-content: center;
}

.family-promo-showcase {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(250px, 1.08fr) minmax(180px, 0.82fr);
  align-items: center;
  gap: 22px;
  max-width: 980px;
}

.family-promo-card {
  position: relative;
  display: block;
  min-height: 360px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(243, 194, 86, 0.28);
  background: #050505;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.family-promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 223, 0, 0.22);
}

.family-promo-card-featured {
  min-height: 480px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg), 0 0 36px rgba(255, 223, 0, 0.28);
}

.family-promo-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.family-promo-card-featured .family-promo-image {
  object-fit: contain;
  background: #000;
}

.family-promo-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.family-promo-label span {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.family-promo-label strong {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  white-space: nowrap;
}

.benefits-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-y: 1px solid var(--border-light);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.benefit-card {
  text-align: center;
  padding: 16px;
  transition: var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(243, 194, 86, 0.08);
  border: 1px solid rgba(243, 194, 86, 0.2);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition-fast);
}

.benefit-card:hover .benefit-icon {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 8. SEÇÃO DO CATÁLOGO DE PRODUTOS */
.catalogo-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 56px;
}

/* Controles de Busca e Filtro */
.catalogo-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

#search-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 18px 24px 18px 52px;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
}

#search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  background: var(--bg-tertiary);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-filter {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-filter:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-tertiary);
}

.btn-filter.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}

/* Grid de Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  min-height: 300px;
}

/* Spinner de Carregamento */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  padding: 80px 0;
}

.loading-spinner i {
  font-size: 2.5rem;
  color: var(--gold);
}

/* Card de Produto Premium */
.product-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

/* Badges do Card */
.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.badge-new {
  background: var(--gold-gradient);
  color: #000;
}

.badge-imported {
  background: var(--brazil-blue);
  color: #fff;
}

.product-card-actions {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 16px;
  z-index: 5;
  transition: var(--transition-normal);
}

.product-card:hover .product-card-actions {
  bottom: 0;
}

.product-card-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-cat {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card-rating {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.product-card-price-box {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.card-price {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.card-installments {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* 9. MODAIS - DESIGN DE ALTO NÍVEL (GLASSMORPHISM) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  width: 100%;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transform: scale(0.9);
  transition: var(--transition-normal);
  scrollbar-width: thin;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-danger);
  color: #fff;
  transform: rotate(90deg);
}

/* Modais Tamanhos */
.modal-large { max-width: 1000px; }
.modal-medium { max-width: 650px; }
.modal-small { max-width: 460px; }

/* Modal Produto - Layout Colunas */
.modal-product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  height: 100%;
}

.modal-product-gallery {
  padding: 40px;
  border-right: 1px solid var(--border-light);
  background: #000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.main-image-viewer {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
}

.main-image-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,0.6);
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
}

.thumbnail-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumb-item {
  aspect-ratio: 1/1;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-secondary);
  transition: var(--transition-fast);
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--gold);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Detalhes Coluna Direita */
.modal-product-details {
  padding: 40px;
  overflow-y: auto;
  max-height: 80vh;
}

.category-badge {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.rating-text {
  color: var(--text-secondary);
  margin-left: 8px;
}

.modal-price-box {
  background: var(--bg-tertiary);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 24px 0;
}

.price-value {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-heading);
  display: block;
}

.price-installment {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-description-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* Seletores Formulários Modais */
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.sizes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.size-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 14px 0;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.size-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.size-btn.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.size-guide {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.size-guide:hover {
  color: var(--gold);
}

/* Área de Personalização */
.customization-wrapper {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin: 32px 0;
}

.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.badge-free {
  background: var(--brazil-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
}

.custom-fields {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 16px;
}

.custom-fields input {
  background: #000;
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.custom-fields input:focus {
  outline: none;
  border-color: var(--gold);
}

.custom-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.modal-action-row {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 54px;
}

.qty-btn {
  width: 50px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--bg-secondary);
  color: var(--gold);
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.btn-add-cart-large {
  flex-grow: 1;
  height: 54px;
  border-radius: var(--border-radius-md) !important;
}

/* 10. CARRINHO LATERAL (SIDEBAR DRAWER) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sidebar-container {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.sidebar-overlay.active .sidebar-container {
  right: 0;
}

.sidebar-header {
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.sidebar-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

/* Items do Carrinho */
.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-item-custom {
  background: rgba(243, 194, 86, 0.05);
  border: 1px solid rgba(243, 194, 86, 0.1);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  display: inline-block;
  margin-top: 4px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
}

.btn-remove-item {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-remove-item:hover {
  color: var(--color-danger);
}

/* Carrinho Vazio */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  color: var(--text-secondary);
}

.cart-empty i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sidebar-footer {
  padding: 24px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-light);
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.discount-row {
  color: var(--color-success);
}

.grand-total {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

/* 11. FORMULÁRIO DE CHECKOUT E PIX */
.checkout-form {
  padding: 8px 0;
}

.form-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.form-group {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #000;
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Opções de Entrega */
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.delivery-option-card {
  border: 1px solid var(--border-light);
  background: #000;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  transition: var(--transition-fast);
}

.delivery-option-card:hover {
  border-color: var(--gold);
}

.delivery-option-card input[type="radio"] {
  accent-color: var(--gold);
  margin-top: 4px;
}

.option-details {
  display: flex;
  flex-direction: column;
}

.option-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.option-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.delivery-option-card input[type="radio"]:checked + .option-details {
  color: var(--gold);
}

.delivery-option-card:has(input[type="radio"]:checked) {
  border-color: var(--gold);
  background: rgba(243, 194, 86, 0.05);
}

/* Pagamento PIX */
.pix-payment-box {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #000;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  margin-bottom: 20px;
}

.pix-qrcode-wrapper {
  text-align: center;
  border-right: 1px solid var(--border-light);
  padding-right: 24px;
}

.pix-qrcode {
  width: 140px;
  height: 140px;
  border-radius: var(--border-radius-sm);
  border: 4px solid #fff;
  margin-bottom: 12px;
}

.pix-qrcode-instruction {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pix-key-wrapper {
  flex-grow: 1;
}

.pix-instructions {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pix-key-field {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
}

.pix-key-field input {
  background: none;
  border: none;
  flex-grow: 1;
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-copy {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  padding: 0 16px;
}

.copy-success {
  color: var(--color-success);
  font-size: 0.8rem;
  margin-top: 8px;
  display: block;
}

.pix-warning {
  display: flex;
  gap: 12px;
  background: rgba(243, 194, 86, 0.05);
  border: 1px solid rgba(243, 194, 86, 0.15);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
}

.pix-warning i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 2px;
}

/* 12. TELA DE LOGIN FIREBASE */
.login-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 32px;
}

.login-actions-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-social {
  width: 100%;
  height: 52px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-fast);
}

.btn-google {
  background: #ffffff;
  color: #000000;
}

.btn-google:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.google-icon {
  width: 22px;
  height: 22px;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 16px 0;
}

.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-light);
}

.login-divider span {
  padding: 0 16px;
}

.phone-input-row {
  display: flex;
  gap: 10px;
}

.phone-input-row input {
  flex-grow: 1;
}

.phone-input-row button {
  white-space: nowrap;
  padding: 0 20px;
  border-radius: var(--border-radius-sm) !important;
}

#recaptcha-container {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.login-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.login-footer a:hover {
  text-decoration: underline;
}

/* 13. PAINEL DO LOJISTA */
.admin-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--gold);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.admin-tab-content {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
}

.admin-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-tertiary);
}

.admin-table td {
  font-size: 0.95rem;
}

.admin-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.admin-table-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-light);
}

.admin-badge-status {
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

.admin-badge-pending { background: rgba(241, 196, 15, 0.15); color: var(--color-warning); }
.admin-badge-paid { background: rgba(46, 204, 113, 0.15); color: var(--color-success); }

.admin-row-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: var(--gold);
  color: #000;
}

.btn-icon-danger:hover {
  background: var(--color-danger);
  color: #fff;
}

/* Modais Formulário de Produto */
.sizes-checkboxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.size-checkbox {
  background: #000;
  border: 1px solid var(--border-light);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
}

.size-checkbox input {
  width: auto;
  accent-color: var(--gold);
}

/* 14. SEÇÃO SOBRE NÓS */
.about-section {
  padding: 100px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 64px;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--border-radius-lg);
  border: 3px solid var(--gold-dark);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold-gradient);
  color: #000;
  padding: 20px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.about-badge .years {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
}

.about-badge .text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* 15. RODAPÉ (FOOTER) */
.main-footer {
  background: #040404;
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 20px 0 24px 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gold);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links ul a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   16. MEDIA QUERIES (RESPONSIVIDADE IMPECÁVEL)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-video-wrapper {
    margin-top: 16px;
  }

  .kids-promo-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kids-promo-copy .section-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .family-promo-showcase {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
  }

  .family-promo-card {
    min-height: 310px;
  }

  .family-promo-card-featured {
    grid-column: 1 / -1;
    min-height: 440px;
    max-width: 440px;
    width: 100%;
    justify-self: center;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }
  
  .header-container {
    height: 64px;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-cart,
  .btn-mobile,
  .btn-profile {
    width: 40px;
    height: 40px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .btn-mobile {
    display: flex;
  }
  
  .user-name-text {
    display: none;
  }
  
  .btn-profile {
    padding: 10px;
  }

  .mobile-deal-section {
    display: block;
    padding: 88px 16px 28px;
    background:
      radial-gradient(circle at 75% 8%, rgba(255, 223, 0, 0.18), transparent 32%),
      linear-gradient(160deg, rgba(0, 156, 59, 0.18), rgba(8, 8, 8, 0.98) 58%);
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-deal-media {
    display: grid;
    grid-template-columns: 0.72fr 1fr 0.72fr;
    align-items: end;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto 20px;
  }

  .mobile-deal-media img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    border: 1px solid rgba(243, 194, 86, 0.28);
    border-radius: 14px;
    background: #000;
    box-shadow: var(--shadow-md);
  }

  .mobile-deal-media img:nth-child(2) {
    height: 190px;
    object-fit: contain;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md), 0 0 24px rgba(255, 223, 0, 0.24);
  }

  .mobile-deal-content {
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
  }

  .mobile-deal-content .section-tag {
    margin-bottom: 6px;
    font-size: 0.72rem;
    letter-spacing: 1.4px;
  }

  .mobile-deal-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .mobile-deal-content p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .mobile-deal-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .mobile-deal-actions .btn-primary,
  .mobile-deal-actions .btn-secondary {
    min-height: 48px;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hero-section,
  .kids-promo-section {
    display: none;
  }

  .benefits-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .benefits-section {
    padding: 28px 0;
  }

  .benefit-card {
    padding: 14px 10px;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    font-size: 1.1rem;
  }

  .benefit-card h3 {
    font-size: 0.95rem;
  }

  .benefit-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .catalogo-section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .section-desc {
    font-size: 0.96rem;
    margin-bottom: 0;
  }

  .catalogo-controls {
    gap: 14px;
    margin-bottom: 24px;
  }

  #search-input {
    padding: 14px 18px 14px 44px;
    border-radius: 14px;
  }

  .search-icon {
    left: 16px;
  }

  .filter-buttons {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .filter-buttons::-webkit-scrollbar {
    display: none;
  }

  .btn-filter {
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-image-wrapper {
    aspect-ratio: 4 / 3;
  }

  .product-card-info {
    padding: 16px;
  }

  .product-card-title {
    font-size: 1.08rem;
    margin-bottom: 8px;
  }

  .product-card-rating {
    margin-bottom: 10px;
  }

  .card-price {
    font-size: 1.3rem;
  }

  .product-card-actions {
    position: static;
    padding: 0 16px 16px;
  }

  .product-card-actions .btn-primary {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-radius: 14px;
  }
  
  .modal-product-layout {
    grid-template-columns: 1fr;
  }
  
  .modal-product-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
  }
  
  .modal-product-details {
    padding: 24px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .admin-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .admin-actions {
    width: 100%;
  }
  
  .admin-actions button {
    flex-grow: 1;
    justify-content: center;
  }
  
  .pix-payment-box {
    flex-direction: column;
  }
  
  .pix-qrcode-wrapper {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 24px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .benefits-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .custom-fields {
    grid-template-columns: 1fr;
  }
  
  .delivery-options {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* 17. CONTABILIDADE E PRESTAÇÃO DE CONTAS */
.accounting-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.accounting-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.accounting-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.accounting-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.accounting-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.accounting-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-color);
  transition: var(--transition-normal);
}

.accounting-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.accounting-card:hover::before {
  background: var(--gold-gradient);
}

.accounting-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.accounting-card-header h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.card-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.card-icon-wrapper.icon-blue {
  background: rgba(0, 39, 118, 0.15);
  color: var(--color-info);
  border: 1px solid rgba(0, 39, 118, 0.3);
}

.card-icon-wrapper.icon-green {
  background: rgba(46, 204, 113, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.card-icon-wrapper.icon-gold {
  background: rgba(243, 194, 86, 0.15);
  color: var(--gold);
  border: 1px solid rgba(243, 194, 86, 0.3);
}

.accounting-card .value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.accounting-card .subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.accounting-table-wrapper {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-tertiary);
}

.accounting-table-totals {
  background: rgba(243, 194, 86, 0.05);
  font-weight: 800;
  font-family: var(--font-heading);
  border-top: 2px solid var(--border-color);
}

.accounting-table-totals td {
  padding: 20px 24px !important;
  font-size: 1.05rem !important;
  color: var(--text-primary) !important;
}

.btn-order-toggle-payment {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.btn-order-toggle-payment:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .accounting-filters {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .accounting-filter-buttons {
    width: 100%;
  }

  .accounting-filter-buttons button {
    flex-grow: 1;
    text-align: center;
  }
}

/* ==========================================================================
   SISTEMA DE TOAST (NOTIFICAÇÕES)
   ========================================================================== */

.ldd-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e1e1e;
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 90vw;
  text-align: center;
  border-left: 4px solid var(--gold);
}

.ldd-toast-success {
  border-left-color: #25D366;
}

.ldd-toast-error {
  border-left-color: #e74c3c;
}

.ldd-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 20px 14px 16px;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waBounce 2.5s infinite;
}

.whatsapp-float i {
  font-size: 1.6rem;
  line-height: 1;
}

.whatsapp-float-label {
  white-space: nowrap;
}

.whatsapp-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 480px) {
  .whatsapp-float {
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    height: 56px;
    justify-content: center;
    padding: 0 18px;
    border-radius: 16px;
  }
  .whatsapp-float-label {
    display: inline;
    font-size: 1rem;
  }

  .whatsapp-float i {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   ÁREA DE UPLOAD DE IMAGENS
   ========================================================================== */

.upload-area {
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  margin-bottom: 12px;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--gold);
  background: rgba(243, 194, 86, 0.04);
}

.upload-icon {
  font-size: 2.2rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: block;
}

.upload-btn-label {
  display: inline-block;
  background: var(--gold-gradient);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  margin-top: 12px;
}

/* Progresso de Upload */
.progress-bar-wrapper {
  background: var(--bg-tertiary);
  height: 8px;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  width: 0%;
  transition: width 0.2s ease;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
}

/* Previsualização de Imagens Subidas */
.uploaded-previews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.preview-thumb {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-tertiary);
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(231, 76, 60, 0.9);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preview-thumb-remove:hover {
  background: #e74c3c;
  transform: scale(1.1);
}
