/* CSS - Catálogo de Acessórios V2 - Chumbada Oficial */
/* Design Premium, Esportivo e Clean (Light Theme / Fundo Branco) */

:root {
  /* Cores Base - Tema Claro Premium */
  --bg-primary: #f8fafc;       /* Fundo da página (off-white muito suave) */
  --bg-secondary: #ffffff;     /* Cards, cabeçalho, painéis principais */
  --bg-tertiary: #f1f5f9;      /* Elementos secundários, inputs, hover de botões */
  --color-brand: #ea580c;      /* Laranja Chumbada Oficial */
  --color-brand-rgb: 234, 88, 12;
  --color-brand-hover: #c2410c;
  --color-success: #10b981;    /* Verde para WhatsApp */
  --color-success-hover: #059669;
  
  /* Textos */
  --color-text-primary: #0f172a;   /* Grafite quase preto de alto contraste */
  --color-text-secondary: #334155; /* Cinza escuro para corpo de texto */
  --color-text-muted: #64748b;     /* Cinza médio para legendas e tags */
  
  /* Bordas e Sombras */
  --border-color: rgba(15, 23, 42, 0.08);       /* Bordas muito sutis */
  --border-color-hover: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 4px 14px rgba(234, 88, 12, 0.25);
  
  /* Arredondamento */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Fontes */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sport: 'Outfit', var(--font-sans);
  
  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 5%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
}
.header-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-normal);
}
.logo-link:hover .brand-logo {
  transform: scale(1.05);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-sport);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
}
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-brand);
  letter-spacing: 0.35em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.nav-item:hover, .nav-item.active {
  color: var(--color-brand);
}
.btn-nav {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-weight: 600;
}
.btn-nav:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

/* App Container and Views */
.app-container {
  flex: 1;
  width: 100%;
}
.view-fade {
  animation: fadeIn 0.35s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 30%, rgba(234, 88, 12, 0.05) 0%, transparent 60%), #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 60px 5% 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.badge-tag {
  display: inline-block;
  font-family: var(--font-sport);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-brand);
  background-color: rgba(234, 88, 12, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid rgba(234, 88, 12, 0.12);
}
.hero-title {
  font-family: var(--font-sport);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.hero-title span {
  color: var(--color-brand);
}
.hero-desc {
  font-size: clamp(15px, 2.5vw, 17px);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 35px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  font-family: var(--font-sport);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-primary {
  background-color: var(--color-brand);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--color-brand-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--color-text-secondary);
}
.btn-secondary:hover {
  background-color: #e2e8f0;
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

/* Featured Card in Hero */
.hero-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}
.hero-card:hover {
  border-color: rgba(234, 88, 12, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.hero-card-media {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}
.hero-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.hero-card:hover .hero-card-media img {
  transform: scale(1.04);
}
.hero-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-info h3 {
  font-family: var(--font-sport);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}
.hero-card-info p {
  font-size: 12px;
  color: var(--color-text-muted);
}
.hero-card-badge {
  background-color: rgba(234, 88, 12, 0.08);
  color: var(--color-brand);
  border: 1px solid rgba(234, 88, 12, 0.15);
  padding: 4px 10px;
  font-family: var(--font-sport);
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  text-transform: uppercase;
}

/* Wrap / Main Layout */
.main-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

/* Search and Filters Panel */
.panel {
  position: sticky;
  top: 86px;
  z-index: 80;
  margin-top: -30px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px;
}
.tools {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: center;
}
.search-wrapper {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}
.search-input {
  width: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 40px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}
.search-input:focus {
  border-color: var(--color-brand);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}


.menu-dropdown-wrapper {
  position: relative;
  width: 100%;
}
.hamburger-menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--color-text-secondary);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hamburger-menu-btn:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text-primary);
  background-color: #e2e8f0;
}
.categories-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: none;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
}
.categories-dropdown.active {
  display: flex;
}
.dropdown-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: capitalize;
}
.dropdown-item:hover {
  background-color: #f1f5f9;
  color: var(--color-text-primary);
}
.dropdown-item.active {
  background-color: var(--color-brand);
  color: #ffffff;
}


/* Summary Section */
.summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 60px 0 30px;
}
.summary-title h2 {
  font-family: var(--font-sport);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}
.summary-title p {
  color: var(--color-text-secondary);
  font-size: 14px;
}
.summary-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

/* Product Card */
.product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  border-color: rgba(234, 88, 12, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--color-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}
.product-card-media {
  position: relative;
  background-color: #ffffff;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.product-card:hover .product-card-media img {
  transform: scale(1.05);
}
.product-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card-cat {
  font-family: var(--font-sport);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand);
}
.product-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-primary);
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.product-card-price {
  font-family: var(--font-sport);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-primary);
}
.product-card-price.empty {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.product-card-action {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--color-text-secondary);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.product-card-action:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

/* Card Variations & Colors previews */
.product-card-previews {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.card-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.card-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
  background-size: cover;
  background-position: center;
}
.card-vars-count {
  font-size: 11px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Grid Layout Spans */
@media (min-width: 992px) {
  .span-2 {
    grid-column: span 2;
  }
  .span-3 {
    grid-column: span 3;
  }
}

/* Section Break (for catalog headers when searching/filtering is active) */
.section-break {
  grid-column: 1 / -1;
  margin: 40px 0 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.section-break h3 {
  font-family: var(--font-sport);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
}

/* Empty search result */
.empty-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
}
.empty-results svg {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.empty-results h3 {
  font-family: var(--font-sport);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.empty-results p {
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* --- PRODUCT DETAIL VIEW --- */
.detail-view {
  padding: 60px 5% 100px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}
.breadcrumb a:hover {
  color: var(--color-brand);
}
.breadcrumb-separator {
  color: var(--color-text-muted);
}
.breadcrumb-current {
  color: var(--color-text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

/* Product Detail Grid */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* Left: Gallery Component */
.detail-gallery {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery-main {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.gallery-main:hover img {
  transform: scale(1.04);
}

/* Galeria de Miniaturas e Vídeo */
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: all var(--transition-fast);
}
.thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.thumb-btn:hover {
  border-color: var(--color-text-muted);
}
.thumb-btn.active {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 1px var(--color-brand);
}

/* Play Icon Overlay para Vídeo */
.thumb-video-btn {
  background-color: #f1f5f9;
}
.play-icon-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
  transition: background-color var(--transition-fast);
}
.thumb-btn:hover .play-icon-overlay {
  background-color: rgba(15, 23, 42, 0.55);
}

/* Container do Vídeo Principal */
.gallery-video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-video-wrapper iframe,
.gallery-video-wrapper video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

/* Right: Product Info Component */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.info-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.info-cat {
  font-family: var(--font-sport);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-brand);
  background-color: rgba(234, 88, 12, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(234, 88, 12, 0.1);
}
.info-title {
  font-family: var(--font-sport);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-top: 4px;
}
.info-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.info-price-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 500;
}
.info-price {
  font-family: var(--font-sport);
  font-weight: 800;
  font-size: 28px;
  color: var(--color-text-primary);
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}
.info-section-title {
  font-family: var(--font-sport);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-section-value {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 600;
  text-transform: none;
}
.info-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.info-desc p {
  margin-bottom: 12px;
}
.info-desc p:last-child {
  margin-bottom: 0;
}
.info-desc ul, .info-desc ol {
  margin-left: 20px;
  margin-bottom: 12px;
  list-style-type: disc;
}
.info-desc li {
  margin-bottom: 6px;
}

/* Color swatches selector */
.swatches-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.swatch-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0,0,0,0.05);
  background-size: cover;
  background-position: center;
  transition: all var(--transition-fast);
}
.swatch-btn:hover {
  transform: scale(1.1);
}
.swatch-btn.active {
  box-shadow: 0 0 0 2px var(--color-brand);
  transform: scale(1.1);
}
.swatch-btn::after {
  content: attr(data-title);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background-color: var(--color-text-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-fast);
}
.swatch-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Variations grid selector */
.vars-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.var-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
}
.var-btn:hover {
  border-color: var(--color-text-muted);
  background-color: var(--bg-tertiary);
}
.var-btn.active {
  border-color: var(--color-brand);
  background-color: rgba(234, 88, 12, 0.04);
  box-shadow: 0 0 0 1px var(--color-brand);
}
.var-name {
  font-size: 13px;
  font-weight: 600;
}
.var-price {
  font-family: var(--font-sport);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand);
}

/* Product Detail Action buttons */
.detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  margin-top: 10px;
}
.btn-whatsapp {
  background-color: var(--color-success);
  color: #ffffff;
  font-size: 15px;
  padding: 16px;
}
.btn-whatsapp:hover {
  background-color: var(--color-success-hover);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Specs Accordion/Grid */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table td {
  padding: 12px 0;
  font-size: 14px;
}
.specs-label {
  color: var(--color-text-muted);
  width: 40%;
  font-weight: 500;
}
.specs-val {
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* Footer styling */
.main-footer {
  background-color: #0f172a;   /* Rodapé Escuro Premium para ancoragem visual */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 5% 30px;
  margin-top: auto;
  color: #ffffff;
}
.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  height: 38px;
  width: auto;
  align-self: flex-start;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  padding: 2px;
}
.footer-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 440px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-title {
  font-family: var(--font-sport);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: #94a3b8;
}
.footer-links a:hover {
  color: var(--color-brand);
  padding-left: 2px;
}
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Responsividade / Media Queries */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .tools {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-gallery {
    position: static;
  }
  .gallery-main {
    height: 380px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .detail-view {
    padding: 30px 5% 60px;
  }
  .main-header {
    padding: 12px 5%;
  }
  .brand-name {
    font-size: 16px;
  }
  .nav-menu {
    gap: 16px;
  }
  .hero {
    padding: 40px 5% 60px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .summary-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 40px 0 20px;
  }
  .summary-count {
    align-self: flex-start;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .action-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main {
    height: 300px;
    padding: 20px;
  }
  .vars-selector {
    grid-template-columns: 1fr;
  }
}


/* Tabela de Medidas */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.size-table th, .size-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}
.size-table th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #1e293b;
}
.size-table td:first-child, .size-table th:first-child {
  text-align: left;
  font-weight: 600;
  background-color: #f1f5f9;
  color: #1e293b;
}
.size-table tbody tr:hover {
  background-color: #f8fafc;
}


