/* ============================================================
   RS MULTIMARCAS - MODA MASCULINA
   Design System & Estilos Principais (Mobile-First Luxury)
   ============================================================ */

:root {
  --bg-main: #0c0d10;
  --bg-card: #14151a;
  --bg-card-hover: #1b1c23;
  --bg-glass: rgba(18, 19, 24, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.3);
  
  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #a8841e;
  --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #9b7517 100%);
  --gold-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --success: #10b981;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-height: 72px;
  --bottom-bar-height: 64px;
}

/* Reset Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-bar-height) + 20px);
  overflow-x: hidden;
}

/* Top Announcement Bar */
.top-announcement {
  background: linear-gradient(90deg, #181920 0%, #26241a 50%, #181920 100%);
  border-bottom: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 6px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

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

.btn-header-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-header-action:hover, .btn-header-action:active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

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

/* ============================================================
   LUXURY PRELOADER / SPLASH SCREEN
   ============================================================ */
.luxury-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background-color: #07080a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.65s ease;
  overflow: hidden;
}

.luxury-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

.preloader-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, rgba(12, 13, 16, 0.98) 70%, #050608 100%);
  z-index: 1;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 380px;
  width: 90%;
  animation: preloaderContentPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderContentPop {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.preloader-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.preloader-glow-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.05) 60%, transparent 80%);
  filter: blur(14px);
  animation: goldAuraPulse 2.2s infinite ease-in-out;
}

@keyframes goldAuraPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.95;
  }
}

.preloader-logo-svg {
  width: 220px;
  max-width: 78vw;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.45));
  animation: logoGentleBreath 3s infinite ease-in-out;
}

@keyframes logoGentleBreath {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.preloader-loader-track {
  width: 190px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.preloader-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, #d4af37, #fdf1a9, #d4af37, transparent);
  animation: preloaderSweep 1.4s infinite ease-in-out;
}

@keyframes preloaderSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.preloader-slogan {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-light);
  text-transform: uppercase;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* ============================================================
   HERO SECTION - REDESIGNED FOR MOBILE LUXURY
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: #08080a;
  padding: 12px 12px 16px;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 20px 16px 28px;
  }
}

.hero-slider-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 2.45 / 1;
  min-height: 180px;
  max-height: 480px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
  background: #000;
  text-decoration: none;
}

@media (max-width: 600px) {
  .hero-banner-card {
    aspect-ratio: 2.2 / 1;
    min-height: 155px;
    border-radius: var(--radius-md);
  }
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-card:hover .hero-banner-img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(12, 13, 16, 0.5) 0%,
    transparent 45%,
    rgba(12, 13, 16, 0.2) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px 16px;
  pointer-events: none;
}

.hero-floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 19, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.hero-banner-card:hover .hero-floating-pill {
  background: var(--gold-gradient);
  color: #000;
  transform: translateY(-2px);
}

/* ============================================================
   MINI CARROSSEL DE ROUPAS NOS CARDS (HOME PAGE)
   ============================================================ */
.product-carousel-card {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.card-carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.card-carousel-track {
  position: relative;
  width: 100%;
  height: 250px;
  background: #111216;
}

@media (max-width: 600px) {
  .card-carousel-track {
    height: 195px;
  }
}

.card-carousel-track img.product-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.card-carousel-track img.product-thumb.active {
  opacity: 1;
  pointer-events: auto;
}

.product-carousel-card:hover .card-carousel-track img.product-thumb.active {
  transform: scale(1.04);
}

.card-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-gold);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  padding: 0;
}

.card-nav-arrow:hover {
  background: var(--gold-gradient);
  color: #000;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.card-nav-prev {
  left: 6px;
}

.card-nav-next {
  right: 6px;
}

.card-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(10, 11, 14, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
}

.card-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.card-dot.active {
  width: 14px;
  border-radius: 999px;
  background: var(--gold-gradient);
}

.hero-btn-secondary:hover, .hero-btn-secondary:active {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #25d366;
}

/* Search & Filter Bar */
.search-filter-section {
  padding: 14px 16px 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-box-wrap {
  position: relative;
  margin-bottom: 14px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.95rem;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

/* Category Chips Carousel */
.categories-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-chips-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.category-chip:active, .category-chip:hover {
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.category-chip.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Main Products Grid */
.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
}

.section-header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.products-count-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #101115;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-promo {
  background: var(--danger);
  color: #fff;
}

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

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

.product-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  margin-bottom: 2px;
}

.product-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.3em;
}

.product-sizes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.size-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--text-muted);
}

.product-pricing {
  margin-top: auto;
  margin-bottom: 10px;
}

.price-de {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.price-por {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.installments-text {
  font-size: 0.68rem;
  color: var(--gold-light);
  display: block;
}

/* Card Action Buttons */
.card-actions-row {
  display: flex;
  gap: 6px;
}

.btn-card-zap {
  flex: 1;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-card-zap:active {
  transform: scale(0.97);
}

.btn-card-add {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-add:active {
  background: var(--gold-gradient);
  color: #000;
}

/* Bottom Sticky Navigation for Mobile Phones */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  height: var(--bottom-bar-height);
  background: rgba(14, 15, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.bottom-nav-item.active, .bottom-nav-item:active {
  color: var(--gold-light);
}

.bottom-nav-icon {
  font-size: 1.25rem;
}

.cart-float-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 16px);
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Cart Slide-Over / Bottom Sheet Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90vh;
  background: #14151a;
  border-top: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
  .cart-drawer {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 440px;
    max-height: 100vh;
    border-radius: 0;
    border-top: none;
    border-left: 1px solid var(--border-gold);
    transform: translateX(100%);
  }
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .cart-drawer-overlay.active .cart-drawer {
    transform: translateX(0);
  }
}

.cart-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-drawer {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.btn-close-drawer:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.cart-drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #000;
  border: 1px solid var(--border-color);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}

.cart-item-meta {
  font-size: 0.72rem;
  color: var(--gold-primary);
  margin-bottom: 5px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.cart-item-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px 4px;
}

.btn-qty {
  background: transparent;
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-num {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.btn-cart-remove {
  background: transparent;
  border: none;
  color: var(--danger);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

/* Cart Checkout Form */
.checkout-form-section {
  margin-top: 16px;
  background: #191b22;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.form-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field {
  margin-bottom: 10px;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  background: #0f1014;
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-primary);
}

.radio-group-row {
  display: flex;
  gap: 8px;
}

.radio-label-card {
  flex: 1;
  background: #0f1014;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.radio-label-card:has(input:checked) {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: #111216;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-total-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-total-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-light);
}

.btn-finalize-zap {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-finalize-zap:active {
  transform: scale(0.98);
}

/* Quick Buy Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #16171d;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.8);
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.modal-body {
  padding: 16px 18px;
}

.modal-product-summary {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}

.modal-product-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.modal-options-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-chips-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.selector-chip {
  background: #0f1014;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.selector-chip.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #000;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Footer Section */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  background: #08080a;
  padding: 30px 16px 50px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  height: 48px;
  margin-bottom: 14px;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-link-item {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-copy {
  font-size: 0.72rem;
  color: #64748b;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 3rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

/* ============================================================
   Carrossel Touch-Swipe de Fotos do Produto
   ============================================================ */
.product-carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #101115;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.product-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.product-carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0e12;
  position: relative;
}

.product-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Setas de Navegação do Carrossel */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(14, 15, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carousel-nav-btn:hover, .carousel-nav-btn:active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

/* Indicadores de Ponto (Dots) */
.carousel-dots-nav {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 22px;
  background: var(--gold-gradient);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Contador de Fotos (Ex: 1 / 4) */
.carousel-counter-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  z-index: 10;
}

/* ============================================================
   Seletor de Múltiplas Peças & Tamanhos Diferentes
   ============================================================ */
.sizes-multi-container {
  background: #111217;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}

.sizes-multi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sizes-multi-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #16171f;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.size-qty-row:last-child {
  margin-bottom: 0;
}

.size-qty-row.has-qty {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.size-info-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.size-badge-pill {
  min-width: 38px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #fff;
}

.size-qty-row.has-qty .size-badge-pill {
  background: var(--gold-gradient);
  color: #000;
}

.size-unit-price {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.size-stepper-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0d0e12;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2px 4px;
}

.btn-stepper-act {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
}

.btn-stepper-act:active {
  background: rgba(255, 255, 255, 0.1);
}

.size-stepper-num {
  font-size: 0.9rem;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
  color: #fff;
}

.size-qty-row.has-qty .size-stepper-num {
  color: var(--gold-light);
}

/* Resumo da Seleção de Tamanhos */
.selection-summary-card {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-items-list {
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  font-weight: 700;
}

.summary-total-qty {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.summary-total-val {
  font-size: 1.15rem;
  color: #fff;
}

/* ==========================================================================
   Página de Endereço & Localização da Loja Física
   ========================================================================== */
.address-page-hero {
  text-align: center;
  padding: 32px 16px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.address-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.address-hero-title {
  font-family: var(--font-cinzel);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.address-hero-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.address-cards-wrap {
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

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

.address-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.address-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.address-store-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.address-store-slogan {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.address-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.address-info-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.address-info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.address-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.address-info-val {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.address-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.btn-gps-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #0c0d10;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  text-align: center;
}

.btn-gps-maps:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-gps-waze {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #33ccff;
  color: #0c0d10;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-gps-waze:hover {
  background: #55d6ff;
  transform: translateY(-2px);
}

.btn-gps-zap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-gps-zap:hover {
  background: #2fe471;
  transform: translateY(-2px);
}

.address-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.address-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.2s;
}

.address-benefit-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.address-benefit-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.address-benefit-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.address-benefit-desc {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* ==========================================================================
   Estilos de Cupons de Desconto & Estoque por Tamanho
   ========================================================================== */
.cart-coupon-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 14px 0 8px;
}

.cart-coupon-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-coupon-form {
  display: flex;
  gap: 8px;
}

.cart-coupon-input {
  flex: 1;
  background: #0f1015;
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}

.cart-coupon-input:focus {
  border-color: var(--gold-primary);
}

.btn-apply-coupon {
  background: var(--gold-gradient);
  color: #0c0d10;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-apply-coupon:active {
  transform: scale(0.97);
}

.coupon-applied-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid #10b981;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-remove-coupon {
  background: rgba(239, 68, 68, 0.2);
  border: none;
  color: #ef4444;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 700;
}

.cart-discount-row {
  display: flex;
  justify-content: space-between;
  color: #f87171;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Indicadores de Tamanho Esgotado & Baixo Estoque */
.size-qty-row.is-soldout {
  opacity: 0.55;
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.25);
}

.size-qty-row.is-soldout .size-stepper-control button {
  cursor: not-allowed;
  opacity: 0.4;
}

.size-soldout-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-left: 6px;
  display: inline-block;
}

.size-low-stock-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 6px;
  display: inline-block;
}


