/* ==========================================================================
   WILD MODAS - DESIGN SYSTEM & CATALOG STYLES
   Paleta: Dark Luxury, Champagne Gold, Modern Menswear Typography
   ========================================================================== */

@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 Principais */
  --bg-main: #0c0e12;
  --bg-surface: #14171f;
  --bg-surface-elevated: #1a1e29;
  --bg-surface-glass: rgba(20, 23, 31, 0.85);
  
  /* Cores de Destaque */
  --gold-primary: #d4af37;
  --gold-light: #e6c86e;
  --gold-dark: #b38f24;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #b38f24 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  /* Cores de Apoio */
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd5a;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #e2c275;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(212, 175, 55, 0.3);
  
  /* Tipografia */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Sombras e Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px var(--gold-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

#catalogo,
#mainCatalogContent {
  scroll-margin-top: 100px;
}

#onde-estamos,
.store-info-section {
  scroll-margin-top: 240px;
}

#contato,
.site-footer {
  scroll-margin-top: 120px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -15vw;
  right: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 5vw;
  left: -10vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.04) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(12, 14, 18, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  border-radius: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.footer-logo-img {
  max-height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-admin-access {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-admin-access:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-header-whatsapp {
  background: var(--whatsapp-green);
  color: #0b2212;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px var(--whatsapp-glow);
  transition: var(--transition-smooth);
}

.btn-header-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--whatsapp-glow);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero-section {
  padding: 2.5rem 0 1.5rem;
  position: relative;
}

.hero-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
}

.hero-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-slider-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.hero-slider-btn:hover {
  background: var(--gold-primary);
  color: #0c0e12;
  border-color: var(--gold-primary);
  transform: scale(1.08);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  background: var(--gold-primary);
  width: 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.hero-card {
  background: linear-gradient(135deg, rgba(26, 30, 41, 0.95) 0%, rgba(15, 17, 21, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-pill);
  color: var(--text-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

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

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

.hero-badges-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.hero-badge-icon {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

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

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
  transform: rotate(2deg);
  transition: var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 18, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.hero-visual-caption {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-visual-sub {
  font-size: 0.8rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   FILTER & SEARCH CONTROLS
   ========================================================================== */
.catalog-controls-section {
  padding: 0.85rem 0 1rem;
  position: sticky;
  top: 75px;
  z-index: 90;
  background: rgba(12, 14, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.controls-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.search-and-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 720px;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
  min-width: 220px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.85rem 0.45rem 2.35rem;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
  background: var(--bg-surface-elevated);
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.95rem;
}

.search-clear-btn {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  font-size: 0.85rem;
}

.search-clear-btn.visible {
  display: block;
}

.catalog-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.products-count-badge {
  background: var(--bg-surface-elevated);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gold-primary);
}

/* Category Tabs (Compact, Centered & Ultra-Clean) */
.categories-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.15rem 0;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .categories-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.2rem 0.4rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-highlight) transparent;
    -webkit-overflow-scrolling: touch;
  }
}

.categories-bar::-webkit-scrollbar {
  height: 3px;
}

.categories-bar::-webkit-scrollbar-thumb {
  background: var(--border-highlight);
  border-radius: 3px;
}

.category-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}

.category-tab:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.category-tab.active {
  background: var(--gold-primary);
  color: #0c0e12;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 3px 12px var(--gold-glow);
}

.category-count {
  font-size: 0.7rem;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.05rem 0.4rem;
  border-radius: var(--radius-pill);
}

.category-tab.active .category-count {
  background: rgba(0, 0, 0, 0.28);
  color: #0c0e12;
}

/* Secondary Filter: Sizes (Centered) */
.sizes-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.sizes-label {
  font-weight: 600;
  color: var(--text-muted);
}

.size-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.size-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.size-chip.active {
  background: var(--gold-dark);
  color: #fff;
  border-color: var(--gold-primary);
}

#mainCatalogContent,
#productsGrid,
#catalogo {
  scroll-margin-top: 85px;
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.25rem 1rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(212, 175, 55, 0.08);
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #181c26;
  overflow: hidden;
  cursor: pointer;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold-primary);
  color: #0c0e12;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  z-index: 2;
}

.product-badge.promocao {
  background: #ef4444;
  color: #fff;
}

.product-badge.lancamento {
  background: #3b82f6;
  color: #fff;
}

.product-quick-actions {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  z-index: 3;
}

.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-view {
  flex: 1;
  background: rgba(20, 23, 31, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-quick-view:hover {
  background: var(--gold-primary);
  color: #0c0e12;
  border-color: var(--gold-primary);
}

.product-body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-name {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-title:hover {
  color: var(--gold-light);
}

.product-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.product-size-tag {
  font-size: 0.68rem;
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-secondary);
}

.product-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.product-price-prefix {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 2px;
}

.btn-card-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--whatsapp-green);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-card-whatsapp:hover {
  background: var(--whatsapp-green);
  color: #0b2212;
  border-color: var(--whatsapp-green);
  box-shadow: 0 4px 15px var(--whatsapp-glow);
}

/* Empty State */
.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 1rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.empty-state-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 1060px;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
  transform: scale(0.94);
  transition: var(--transition-smooth);
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.25) transparent;
}

.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
}

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

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 50%;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.25rem;
  padding: 2rem 2.25rem;
  align-items: start;
}

.modal-image-col {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #151922;
  border: 1px solid var(--border-subtle);
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 480px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.2s ease-in-out;
}

.modal-content-col {
  display: flex;
  flex-direction: column;
}

.modal-category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.modal-product-title {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.modal-product-ref {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-price-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-light);
}

.modal-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.modal-sizes-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.modal-size-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.modal-size-btn.selected {
  background: var(--gold-primary);
  color: #0c0e12;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px var(--gold-glow);
}

.modal-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.modal-color-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}

.modal-color-btn:hover {
  border-color: var(--gold-primary);
  color: #fff;
  background: rgba(212, 175, 55, 0.1);
}

.modal-color-btn.selected {
  background: var(--gold-primary);
  color: #0c0e12;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.modal-color-pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.modal-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.modal-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-modal-whatsapp {
  width: 100%;
  background: var(--whatsapp-green);
  color: #082110;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 8px 25px var(--whatsapp-glow);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-modal-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--whatsapp-glow);
}

/* ==========================================================================
   STORE INFO & LOCATION SECTION
/* ==========================================================================
   STORE INFO & COMPACT LOCATION MAP SECTION
   ========================================================================== */
.store-info-section {
  padding: 3rem 0 3.5rem;
  position: relative;
}

.store-info-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
  background: linear-gradient(145deg, rgba(20, 24, 34, 0.95) 0%, rgba(13, 16, 23, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.store-info-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.store-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.store-info-title {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #fff;
}

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

.store-info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.info-cards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.info-card-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.info-card-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.info-card-details {
  overflow: hidden;
}

.info-card-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.info-card-desc {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.3;
}

/* Compact Map Card */
.store-map-card {
  background: #0f121a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.store-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.store-map-frame {
  width: 100%;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

.map-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  margin-top: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.map-card-address {
  display: flex;
  flex-direction: column;
}

.map-card-street {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.map-card-city {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-directions {
  background: var(--gold-gradient);
  color: #0c0e12;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  white-space: nowrap;
}

.btn-directions:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
/* ==========================================================================
   FOOTER (RICH 4-COLUMN DESIGN)
   ========================================================================== */
.site-footer {
  background: #090b10;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 1.75rem;
  color: var(--text-secondary);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 1.15fr;
  gap: 3rem;
  margin-bottom: 2.75rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-logo-img {
  height: 64px;
  max-width: 240px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.footer-brand-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  text-align: center;
  max-width: 320px;
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.45rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.footer-col-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: center;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links-list li a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
}

.footer-info-icon {
  font-size: 1.05rem;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-info-row strong {
  display: block;
  font-size: 0.78rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.1rem;
}

.footer-info-row span {
  display: block;
  color: var(--text-secondary);
  line-height: 1.35;
}

.footer-info-sub {
  font-size: inherit;
  color: var(--text-secondary);
}

.footer-phone-link {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-phone-link:hover {
  color: #fff;
}

.footer-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.footer-social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
  max-width: 180px;
  width: 100%;
}

.footer-social-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.footer-social-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-social-icon-box.instagram {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
  border: 1px solid rgba(225, 48, 108, 0.25);
}

.footer-social-icon-box.facebook {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.25);
}

.footer-social-text strong {
  display: block;
  font-size: 0.76rem;
  color: #fff;
  line-height: 1.2;
}

.footer-social-text span {
  font-size: 0.68rem;
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-copy strong {
  color: var(--text-secondary);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-privacy-link {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.btn-privacy-link:hover {
  color: #fff;
}

/* Privacy Modal Styles */
.privacy-modal-container {
  max-width: 760px;
  padding: 2.25rem;
  max-height: 88vh;
}

.privacy-modal-body {
  padding: 0.25rem;
}

.privacy-title {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.privacy-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.privacy-text-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.privacy-text-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-text-content ul {
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px var(--whatsapp-glow);
  z-index: 99;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px var(--whatsapp-glow);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1.75rem;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-tag {
    margin: 0 auto 0.75rem;
  }
  .hero-desc {
    margin: 0 auto 1.5rem;
  }
  .hero-badges-group {
    justify-content: center;
  }
  .hero-visual {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
  }
  .hero-visual-card {
    max-width: 280px;
    aspect-ratio: 4/5;
    transform: none;
    margin: 0 auto;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .store-info-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    text-align: center;
    max-width: 480px;
    margin: 0 auto 2.5rem;
  }
  .footer-col {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
  .footer-col-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .footer-info-block {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
  .footer-info-row {
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-social-buttons {
    align-items: center !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .info-cards-list {
    grid-template-columns: 1fr;
  }
  .store-map-card {
    max-width: 100%;
  }
  .search-and-stats-row {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: 100%;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem 0.85rem;
  }
  .product-body {
    padding: 0.85rem;
  }
  .product-title {
    font-size: 0.92rem;
  }
  .product-price {
    font-size: 1.05rem;
  }
  .btn-card-whatsapp span {
    display: none;
  }
  .btn-card-whatsapp {
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .modal-container {
    padding: 1.25rem;
  }
  .modal-grid {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-card {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  .hero-visual-card {
    max-width: 230px;
  }
  .header-container {
    height: 70px;
  }
  .brand-logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
  .catalog-controls-section {
    top: 70px;
    padding: 1rem 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .product-image-container {
    aspect-ratio: 1/1.25;
  }
  .product-body {
    padding: 0.65rem;
  }
  .product-title {
    font-size: 0.85rem;
    line-height: 1.25;
  }
  .product-price {
    font-size: 0.95rem;
  }
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    bottom: 18px;
    right: 18px;
  }
}

/* ==========================================================================
   SEGURANÇA & PROTEÇÃO ANTI-CÓPIA (CSS)
   ========================================================================== */
img, .product-image-container, .brand-logo, .hero-visual-card {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

