/* Style CSS - Mundo dos Eletrônicos Botucatu */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Cores - Paleta Dark/Sleek Premium */
  --bg-primary: #090d16;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-glow: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --accent-gold: #f59e0b; /* Para o plano de negativados */
  --accent-gold-glow: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  --success: #10b981;
  
  /* Fontes */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transições e Sombras */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.15);
  --shadow-neon-gold: 0 0 20px rgba(245, 158, 11, 0.15);
  
  /* Layout */
  --header-height: 80px;
}

/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Barra de Rolagem */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Tipografia */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Efeito de Gradiente de Texto */
.gradient-text {
  background: var(--accent-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  height: 70px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.logo i {
  color: var(--accent-blue);
  font-size: 1.6rem;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-glow);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #fff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botão do Carrinho */
.cart-btn {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-btn:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-glow);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--bg-primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-blue);
}

/* Mobile Menu Overlay (Fullscreen) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  transform: translateX(-100%);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-glass);
}

.mobile-menu-close {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.mobile-menu-close:hover {
  background-color: #ef4444;
  color: #fff;
  border-color: transparent;
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mobile-menu-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-title);
  transition: var(--transition-smooth);
}

.mobile-menu-nav a i {
  width: 24px;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.mobile-menu-nav a:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-blue);
  transform: translateX(5px);
}

.mobile-menu-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-glass);
}

.mobile-menu-footer .btn-full-width {
  width: 100%;
  justify-content: center;
}

/* Seção Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  align-self: flex-start;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: #fff;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  background: var(--accent-glow);
  color: #fff;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

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

.btn-gold {
  background: var(--accent-gold-glow);
  color: #fff;
  box-shadow: var(--shadow-neon-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  max-width: 380px;
  animation: float 6s ease-in-out infinite;
}

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

/* Seção Crediário Facilitado (Negativados) */
.section-crediario {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.crediario-card {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-premium), var(--shadow-neon-gold);
  position: relative;
  overflow: hidden;
}

.crediario-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.crediario-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.crediario-tag {
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crediario-title {
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.2;
}

.crediario-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.crediario-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  background: rgba(245, 158, 11, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crediario-cta-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  gap: 1.2rem;
}

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

.crediario-price-callout span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.2rem;
}

/* Seção Produtos */
.section-products {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-title-area {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-subtitle {
  color: var(--accent-blue);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.2rem;
  color: #fff;
}

/* Barra de Filtros e Busca */
.search-filter-controls {
  display: flex;
  width: 100%;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  padding: 0.9rem 1.2rem 0.9rem 3rem;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-neon);
}

.categories-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

/* Ocultar scrollbar horizontal nas categorias */
.categories-bar::-webkit-scrollbar {
  height: 4px;
}
.categories-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn {
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  font-weight: 550;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

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

.filter-btn.active {
  background: var(--accent-glow);
  color: #fff;
  border-color: transparent;
}

/* Grid de Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-premium), var(--shadow-neon);
}

.product-image-area {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #171f2e;
  overflow: hidden;
}

.product-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-area img {
  transform: scale(1.05);
}

.badge-crediario {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-gold-glow);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 10;
}

.product-info-area {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.6rem;
  font-family: var(--font-title);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.spec-tag {
  font-size: 0.7rem;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.product-price-area {
  margin-top: auto;
  margin-bottom: 1.2rem;
}

.price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-promo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.price-promo span {
  font-size: 0.9rem;
  font-weight: 600;
}

.price-crediario-info {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.btn-add-cart {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-cart:hover {
  background-color: var(--accent-blue);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-details {
  width: 40px;
  height: 40px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-details:hover {
  border-color: var(--text-secondary);
  color: #fff;
  transform: translateY(-2px);
}

/* Sem resultados encontrados */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.no-results i {
  font-size: 3rem;
  color: var(--text-muted);
}

/* Seção Sobre Nós */
.section-about {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-glass);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9, 13, 22, 0.8) 100%);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.about-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-card i {
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-bottom: 0.2rem;
}

.about-card h4 {
  font-size: 1.1rem;
  color: #fff;
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Seção Localização & Contato */
.section-contact {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-blue);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: var(--accent-blue);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Rodapé */
footer {
  background-color: #05070a;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Modais e Drawers */
.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

/* Drawer do Carrinho (Sliding de volta do lado direito) */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: var(--bg-secondary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-drawer {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.btn-close-drawer:hover {
  background-color: #ef4444;
  color: #fff;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Carrinho Vazio */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
  gap: 1rem;
  text-align: center;
}

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

/* Item no Carrinho */
.cart-item {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
  position: relative;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #171f2e;
}

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

.cart-item-info h4 {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.cart-item-crediario {
  font-size: 0.7rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-top: 0.1rem;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.btn-remove-item {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-remove-item:hover {
  color: #ef4444;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--bg-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--border-glass);
}

.qty-btn {
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: bold;
  padding: 0 0.2rem;
}

.qty-btn:hover {
  color: #fff;
}

/* Footer do Carrinho */
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-glass);
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
}

.cart-summary-row.total {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.cart-summary-row.total span {
  color: var(--success);
}

.cart-actions-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-checkout {
  width: 100%;
  justify-content: center;
  background: var(--accent-glow);
  color: #fff;
}

/* Modal de Detalhes do Produto */
.modal-product {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 700px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.modal-product.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-img-side {
  position: relative;
  background-color: #171f2e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details-side {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-details-side:only-child {
  grid-column: 1 / -1;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: rgba(239, 68, 68, 0.8);
}

.modal-title {
  font-size: 1.6rem;
  line-height: 1.2;
  color: #fff;
}

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

.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-spec-row {
  display: flex;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.3rem;
}

.modal-spec-row .spec-name {
  width: 100px;
  color: var(--text-muted);
  font-weight: 500;
}

.modal-spec-row .spec-value {
  color: var(--text-primary);
  font-weight: 600;
}

.modal-price-area {
  background-color: var(--bg-tertiary);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.modal-crediario {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

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

/* Toast de Notificação */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-blue);
  border-right: 1px solid var(--border-glass);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 280px;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--success);
}

.toast i {
  font-size: 1.2rem;
}

.toast.success i {
  color: var(--success);
}

/* Responsividade */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 2rem;
  }
  
  .hero-tag {
    align-self: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    order: -1;
  }
  
  .crediario-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.8rem;
    gap: 2rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-links {
    display: none; /* Poderíamos fazer um mobile drawer, mas para simplicidade e elegância, as principais interações serão pelo catálogo e CTA */
  }
  
  .mobile-menu-btn {
    display: flex;
    margin-right: 0.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .search-filter-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-box {
    width: 100%;
  }
  
  .categories-bar {
    width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .modal-content {
    grid-template-columns: 1fr;
  }
  
  .modal-img-side {
    height: 200px;
  }
  
  .modal-details-side {
    padding: 1.5rem;
  }
  
  .crediario-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .product-actions {
    grid-template-columns: 1fr;
  }
  
  .btn-details {
    width: 100%;
    height: auto;
    padding: 0.7rem;
  }
}
