/* ============================================================
   MEGA OUTLET — Component Styles
   All reusable UI components: header, footer, cards, badges,
   toast, cookie banner, mobile menu, newsletter, etc.
   ============================================================ */

/* ╔══════════════════════════════════════════════════════════╗
   ║  TOP BAR                                                ║
   ╚══════════════════════════════════════════════════════════╝ */

.top-bar {
  width: 100%;
  background: var(--gradient-top-bar);
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  position: relative;
  z-index: var(--z-sticky);
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  overflow: hidden;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SITE HEADER                                            ║
   ╚══════════════════════════════════════════════════════════╝ */

.site-header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: all var(--transition-smooth);
}

.site-header--scrolled {
  top: 0;
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(45, 127, 249, 0.15);
}

.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .site-header__main {
    padding: 0 var(--space-6);
  }
}

/* ── Logo ────────────────────────────────────────────────── */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.site-header__logo:hover {
  opacity: 1;
}

.site-header__logo:hover .logo-svg {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 10px rgba(45, 127, 249, 0.5));
}

.logo-svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__logo img {
  height: 32px;
  width: auto;
}

.site-header__logo-text {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .site-header__logo-text {
    font-size: var(--fs-md);
  }
}

/* ── Search ──────────────────────────────────────────────── */
.site-header__search {
  flex: 1;
  max-width: 520px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .site-header__search {
    display: flex;
  }
}

.site-header__search input {
  width: 100%;
  height: 40px;
  padding: 0 var(--space-10) 0 var(--space-4);
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}

.site-header__search input::placeholder {
  color: var(--color-text-disabled);
}

.site-header__search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle), var(--shadow-glow);
  background: var(--color-bg-elevated);
}

.site-header__search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--fs-md);
  transition: all var(--transition-smooth);
}

.site-header__search button:hover {
  background: var(--gradient-primary-h);
  box-shadow: var(--shadow-glow);
}

/* ── Header Actions ──────────────────────────────────────── */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 768px) {
  .site-header__actions {
    gap: var(--space-2);
  }
}

.site-header__action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--color-text-secondary);
  font-size: var(--fs-xl);
  transition: all var(--transition-smooth);
  background: transparent;
  border: 1px solid transparent;
}

.site-header__action-btn:hover {
  color: var(--color-primary-light);
  background: var(--color-primary-subtle);
  border-color: rgba(45, 127, 249, 0.2);
}

/* ── Header Badge (cart count) ───────────────────────────── */
.site-header__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background: var(--color-danger);
  border-radius: var(--radius-full);
  transform: scale(0);
  transition: transform var(--transition-bounce);
  line-height: 1;
  pointer-events: none;
}

.site-header__badge--visible {
  transform: scale(1);
  animation: bounceIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  HOME BANNER                                            ║
   ╚══════════════════════════════════════════════════════════╝ */

.home-banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  background: radial-gradient(circle at 0% 0%, rgba(45, 127, 249, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
              var(--color-bg-elevated);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.home-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
  pointer-events: none;
}

.home-banner__content {
  flex: 1;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.home-banner__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-white);
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
  backdrop-filter: blur(8px);
  animation: pulse 2s infinite;
}

.home-banner__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.home-banner__title span {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.home-banner__text {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: var(--lh-relaxed);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: #000;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.3);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.home-banner__cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

.home-banner__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.4);
}

.home-banner__visual-showcase {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-8);
  z-index: 1;
}

.featured-banner-card {
  position: relative;
  width: 220px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-banner-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.featured-banner-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}

.card-aiwa {
  transform: translateY(20px);
}
.card-aiwa:hover {
  transform: translateY(10px) scale(1.05);
}

.card-brasil {
  transform: translateY(-20px);
}
.card-brasil:hover {
  transform: translateY(-30px) scale(1.05);
}

.featured-banner-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-danger);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  box-shadow: 0 4px 10px rgba(255, 68, 68, 0.4);
  white-space: nowrap;
}

.featured-banner-card__img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.featured-banner-card__info {
  text-align: center;
}

.featured-banner-card__name {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.featured-banner-card__price {
  display: block;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .home-banner {
    min-height: 480px;
    border-radius: var(--radius-2xl);
  }
  .home-banner__visual-showcase {
    display: flex;
  }
  .home-banner__title {
    font-size: var(--fs-5xl);
  }
}


/* ╔══════════════════════════════════════════════════════════╗
   ║  CATEGORIES SECTION                                     ║
   ╚══════════════════════════════════════════════════════════╝ */

.categories-section {
  padding: var(--space-6) 0;
}

.categories-section__grid {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
  scroll-snap-type: x mandatory;
}

.categories-section__grid::-webkit-scrollbar {
  display: none;
}

.categories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  min-width: 100px;
  padding: var(--space-5) var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  scroll-snap-align: start;
  text-align: center;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.categories__item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.05);
}

.categories__item.active {
  background: linear-gradient(135deg, rgba(45, 127, 249, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 20px var(--color-primary-glow);
  transform: translateY(-4px);
}

.categories__item.active .categories__icon {
  color: var(--color-white);
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px var(--color-primary));
}

.categories__item.active .categories__label {
  color: var(--color-white);
  font-weight: var(--fw-bold);
}

.categories__icon {
  font-size: 2rem;
  color: var(--color-text-muted);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  line-height: 1;
}

.categories__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

@media (min-width: 768px) {
  .categories__item {
    min-width: 120px;
    padding: var(--space-6) var(--space-4);
  }

  .categories__icon {
    font-size: 2.5rem;
  }

  .categories__label {
    font-size: var(--fs-base);
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  FLASH DEALS SECTION                                    ║
   ╚══════════════════════════════════════════════════════════╝ */

.flash-section {
  padding: var(--space-8) 0;
  position: relative;
}

.flash-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.flash-section__header .section-title {
  margin-bottom: 0;
}

.flash-section__timer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.timer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}

.timer__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.25) 0%, rgba(220, 38, 38, 0.08) 100%);
  border: 1px solid rgba(220, 38, 38, 0.6);
  border-radius: var(--radius-md);
  font-variant-numeric: tabular-nums;
  animation: countdownPulse 2s ease-in-out infinite;
  box-shadow:
    0 0 15px var(--color-danger-glow),
    0 0 30px rgba(220, 38, 38, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 12px rgba(220, 38, 38, 0.8);
  position: relative;
}

.timer__number::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 100, 100, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.timer__label {
  font-size: 9px;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

.flash-section__scroll {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
  scroll-snap-type: x mandatory;
  scroll-padding: var(--space-4);
}

.flash-section__scroll::-webkit-scrollbar {
  display: none;
}

.flash-section__scroll .product-card {
  min-width: 200px;
  max-width: 240px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .flash-section__scroll .product-card {
    min-width: 220px;
    max-width: 260px;
  }

  .timer__number {
    width: 56px;
    height: 56px;
    font-size: var(--fs-2xl);
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PRODUCT CARD                                           ║
   ╚══════════════════════════════════════════════════════════╝ */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.5s ease both;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  border-radius: var(--radius-xl);
  z-index: -1;
  pointer-events: none;
}

/* Gradient accent bar at the bottom of each card */
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 50%, #7c3aed 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease, height 0.4s ease;
  z-index: 3;
}

.product-card:hover::after {
  opacity: 1;
  height: 4px;
  animation: gradientShift 3s ease infinite;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(45, 127, 249, 0.15);
}

/* ── Horizontal variant ──────────────────────────────────── */
.product-card--horizontal {
  flex-direction: row;
  max-height: 180px;
}

.product-card--horizontal .product-card__image-wrap {
  width: 180px;
  min-width: 180px;
  aspect-ratio: auto;
  height: 100%;
}

.product-card--horizontal .product-card__info {
  flex: 1;
  padding: var(--space-3);
}

.product-card--horizontal .product-card__name {
  -webkit-line-clamp: 2;
}

@media (max-width: 639px) {
  .product-card--horizontal {
    max-height: 160px;
  }

  .product-card--horizontal .product-card__image-wrap {
    width: 130px;
    min-width: 130px;
  }
}

/* ── Image Wrap ──────────────────────────────────────────── */
.product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-elevated);
  overflow: hidden;
}

/* Overlay gradient revealed on hover */
.product-card__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover .product-card__image-wrap::after {
  opacity: 1;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__image {
  transform: scale(1.1);
}

/* ── Badges ──────────────────────────────────────────────── */
.product-card__badges {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  z-index: 2;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  line-height: 1.4;
  white-space: nowrap;
}

.product-card__badge--discount {
  background: var(--color-danger);
  border-color: var(--color-danger);
  animation: pulseBadge 2s ease-in-out infinite;
}

.product-card__badge--bestseller {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  border-color: transparent;
  color: #1a1a2e;
}

.product-card__badge--shipping {
  background: var(--color-secondary);
  border-color: transparent;
  color: #0a0a0f;
}

/* ── Card Info ───────────────────────────────────────────── */
.product-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-3) var(--space-3) var(--space-4);
  gap: var(--space-2);
}

.product-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
  min-height: 2.5em;
}

.product-card:hover .product-card__name {
  color: var(--color-text-primary);
}

/* ── Rating ──────────────────────────────────────────────── */
.product-card__rating {
  display: flex;
  align-items: center;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rating__star {
  color: var(--color-warning);
  font-size: var(--fs-sm);
  line-height: 1;
}

.rating__star--empty {
  color: var(--color-text-disabled);
}

.rating__count {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-left: var(--space-1);
}

/* ── Prices ──────────────────────────────────────────────── */
.product-card__prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.product-card__original-price {
  font-size: var(--fs-xs);
  color: var(--color-text-disabled);
  text-decoration: line-through;
  font-weight: var(--fw-regular);
}

.product-card__price {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--color-text-primary);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.product-card__pix-price {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card__pix-price::before {
  content: '⚡';
  font-size: 11px;
}

.product-card__installments {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

/* ── Card Button ─────────────────────────────────────────── */
.product-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: #0a0a0f;
  background: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.product-card__btn:hover {
  background: var(--gradient-cta-hover);
  box-shadow:
    var(--shadow-glow-green),
    0 0 24px rgba(34, 197, 94, 0.25);
  transform: translateY(-2px) scale(1.02);
}

.product-card__btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CART ITEMS                                             ║
   ╚══════════════════════════════════════════════════════════╝ */

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  animation: fadeInUp 0.4s ease both;
}

.cart-item:hover {
  border-color: rgba(45, 127, 249, 0.2);
  background: var(--color-bg-elevated);
}

.cart-item__image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-2);
}

.cart-item__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cart-item__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: var(--lh-normal);
}

.cart-item__original-price {
  font-size: var(--fs-xs);
  color: var(--color-text-disabled);
  text-decoration: line-through;
}

.cart-item__price {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

/* ── Quantity Controls ───────────────────────────────────── */
.qty-controls {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-controls__btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-controls__btn:hover {
  color: var(--color-primary-light);
  background: var(--color-primary-subtle);
}

.qty-controls__btn:active {
  transform: scale(0.9);
}

.qty-controls__value {
  width: 36px;
  text-align: center;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  padding: var(--space-1) 0;
}

/* ── Cart Remove ─────────────────────────────────────────── */
.cart-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  flex-shrink: 0;
}

.cart-item__remove:hover {
  color: var(--color-danger);
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.3);
}

@media (min-width: 768px) {
  .cart-item__image {
    width: 100px;
    height: 100px;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TOAST NOTIFICATIONS                                    ║
   ╚══════════════════════════════════════════════════════════╝ */

.toast {
  position: fixed;
  top: calc(var(--header-height) + var(--top-bar-height) + var(--space-4));
  right: var(--space-4);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  min-width: 280px;
  max-width: 420px;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  transform: translateX(120%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast--visible {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.toast--success {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-lg), 0 0 20px var(--color-secondary-glow);
}

.toast--success::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--color-secondary);
  color: #0a0a0f;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.toast--default {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.toast--default::before {
  content: 'ℹ';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  COOKIE BANNER                                          ║
   ╚══════════════════════════════════════════════════════════╝ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  padding: var(--space-5) var(--space-6);
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__btn--accept {
  padding: var(--space-2) var(--space-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: #0a0a0f;
  background: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.cookie-banner__btn--accept:hover {
  background: var(--gradient-cta-hover);
  box-shadow: var(--shadow-glow-green);
  transform: translateY(-1px);
}

.cookie-banner__btn--reject {
  padding: var(--space-2) var(--space-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.cookie-banner__btn--reject:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-muted);
  background: var(--color-bg-elevated);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  MOBILE MENU                                            ║
   ╚══════════════════════════════════════════════════════════╝ */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-menu-overlay--active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-modal);
  width: var(--sidebar-width);
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--color-bg-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu--active {
  transform: translateX(0);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.mobile-menu__link:hover {
  color: var(--color-primary-light);
  background: var(--color-primary-subtle);
  padding-left: var(--space-5);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  BACK TO TOP BUTTON                                     ║
   ╚══════════════════════════════════════════════════════════╝ */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-dropdown);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: var(--fs-xl);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-smooth);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px) scale(1.05);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  NEWSLETTER                                             ║
   ╚══════════════════════════════════════════════════════════╝ */

.newsletter {
  padding: var(--space-12) 0;
  text-align: center;
  background: var(--gradient-banner);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--color-primary-subtle) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  position: relative;
}

.newsletter__text {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 480px;
  margin-inline: auto;
  position: relative;
}

.newsletter__form {
  display: flex;
  gap: var(--space-2);
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.newsletter__input {
  flex: 1;
  height: 48px;
  padding: 0 var(--space-4);
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}

.newsletter__input::placeholder {
  color: var(--color-text-disabled);
}

.newsletter__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle), var(--shadow-glow);
}

.newsletter__btn {
  height: 48px;
  padding: 0 var(--space-8);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.newsletter__btn:hover {
  background: var(--gradient-primary-h);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

@media (max-width: 639px) {
  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__btn {
    width: 100%;
  }

  .newsletter__title {
    font-size: var(--fs-xl);
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SITE FOOTER                                            ║
   ╚══════════════════════════════════════════════════════════╝ */

.site-footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 0;
  margin-top: var(--space-12);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.site-footer__col-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
}

.site-footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__link {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.site-footer__link:hover {
  color: var(--color-primary-light);
  transform: translateX(4px);
}

/* ── Payment Icons ───────────────────────────────────────── */
.site-footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.site-footer__payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 30px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.site-footer__payment-icon:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.site-footer__payment-icon img {
  max-height: 20px;
  width: auto;
}

/* ── Footer Bottom ───────────────────────────────────────── */
.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-footer__cnpj {
  font-size: var(--fs-xs);
  color: var(--color-text-disabled);
  font-family: var(--font-mono);
}

.site-footer__copyright {
  font-size: var(--fs-xs);
  color: var(--color-text-disabled);
}

/* ── Seals ───────────────────────────────────────────────── */
.site-footer__seals {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.site-footer__seal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.site-footer__seal:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(45, 127, 249, 0.15);
}

.site-footer__seal svg {
  color: var(--color-primary);
  filter: drop-shadow(0 0 5px var(--color-primary-glow));
}

.site-footer__seal img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.site-footer__seal span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
  font-weight: var(--fw-medium);
}

.site-footer__seal:hover {
  opacity: 1;
  filter: grayscale(0);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(45, 127, 249, 0.2);
  box-shadow: 0 0 16px rgba(45, 127, 249, 0.08);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  FAQ ITEMS                                              ║
   ╚══════════════════════════════════════════════════════════╝ */

.faq-item {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(45, 127, 249, 0.2);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--color-primary-light);
}

.faq-item.active .faq-item__question {
  color: var(--color-primary-light);
}

.faq-item__arrow {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-item__arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-content {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  WHATSAPP FLOATING BUTTON                               ║
   ╚══════════════════════════════════════════════════════════╝ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background-color: #128c7e;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  UTILITY CLASSES                                        ║
   ╚══════════════════════════════════════════════════════════╝ */

.mobile-only {
  display: block;
}
.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: block !important;
  }
  .whatsapp-float {
    bottom: 40px;
    left: 40px;
    width: 64px;
    height: 64px;
  }
}

/* ════════════════════════════════════════════════════════════
   PRODUCT OPTIONS
   ════════════════════════════════════════════════════════════ */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}
.product-options__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-options__group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
.product-options__group select {
  padding: 12px 15px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}
.product-options__group select:focus {
  border-color: var(--color-primary);
}
