/* ============================================================
   MEGA OUTLET — Page-Specific Styles  ·  Premium Visual Overhaul
   Product detail, cart, policy pages, FAQ layout, home extras,
   hero banner, WhatsApp float, responsive helpers
   ============================================================ */

/* ── Keyframes (page-specific) ──────────────────────────────── */

@keyframes bannerOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  25%      { transform: translate(40px, -30px) scale(1.15); opacity: 0.55; }
  50%      { transform: translate(-20px, 20px) scale(0.9); opacity: 0.3; }
  75%      { transform: translate(30px, 10px) scale(1.1); opacity: 0.5; }
}

@keyframes bannerOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  33%      { transform: translate(-50px, 40px) scale(1.2); opacity: 0.45; }
  66%      { transform: translate(30px, -20px) scale(0.85); opacity: 0.2; }
}

@keyframes gradientTextShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmerSweep {
  0%   { left: -100%; }
  100% { left: 100%; }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 61, 87, 0.4); }
  50%      { box-shadow: 0 0 20px rgba(255, 61, 87, 0.7), 0 0 40px rgba(255, 61, 87, 0.25); }
}

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

@keyframes whatsappPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes innerGlow {
  0%, 100% { box-shadow: inset 0 0 30px rgba(45, 127, 249, 0.04); }
  50%      { box-shadow: inset 0 0 50px rgba(45, 127, 249, 0.09); }
}


/* ╔══════════════════════════════════════════════════════════╗
   ║  DYNAMIC HERO BANNER & SHOWCASE CARDS                   ║
   ╚══════════════════════════════════════════════════════════╝ */

.home-banner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 400px;
  /* Layered radial gradients — deep blue / purple / black */
  background:
    radial-gradient(ellipse 120% 80% at 15% 90%, rgba(124, 58, 237, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 100% 100% at 85% 10%, rgba(45, 127, 249, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.06) 0%, transparent 60%),
    linear-gradient(165deg, #0c0c18 0%, #12121a 40%, #0e0e1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
  align-items: center;
  gap: 30px;
}

/* ── Animated floating particles / light orbs ─────────────── */
.home-banner::before,
.home-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
}

.home-banner::before {
  width: 340px;
  height: 340px;
  top: -60px;
  right: -40px;
  background: radial-gradient(circle, rgba(45, 127, 249, 0.35) 0%, rgba(124, 58, 237, 0.15) 50%, transparent 70%);
  animation: bannerOrb 12s ease-in-out infinite;
}

.home-banner::after {
  width: 280px;
  height: 280px;
  bottom: -50px;
  left: -30px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(45, 127, 249, 0.1) 50%, transparent 70%);
  animation: bannerOrb2 15s ease-in-out infinite;
}

@media (min-width: 768px) {
  .home-banner {
    min-height: 500px;
    padding: 48px 44px;
    border-radius: var(--radius-2xl);
  }

  .home-banner::before {
    width: 500px;
    height: 500px;
  }

  .home-banner::after {
    width: 400px;
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .home-banner {
    grid-template-columns: 55fr 45fr;
    padding: 56px 52px;
  }
}

/* ── Banner Content (left-aligned) ──────────────────────────── */

.home-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  position: relative;
}

/* ── Badge — pulsing glass pill ─────────────────────────────── */

.home-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 61, 87, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ff3d57;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border: 1px solid rgba(255, 61, 87, 0.25);
  animation: badgePulse 2.4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.home-banner__badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

/* ── Title — huge gradient heading ──────────────────────────── */

.home-banner__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: var(--fw-black);
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-banner__title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  }
}

/* The '70% OFF' span — animated gradient text */
.home-banner__title span {
  background: linear-gradient(
    135deg,
    #00f2fe 0%,
    #2d7ff9 25%,
    #7c3aed 50%,
    #f72585 75%,
    #00f2fe 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextShift 4s ease infinite;
}

/* ── Subtitle text ──────────────────────────────────────────── */

.home-banner__text {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: 32px;
  max-width: 480px;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .home-banner__text {
    font-size: var(--fs-md);
  }
}

/* ── CTA — large premium button with shimmer ────────────────── */

.home-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 20px rgba(45, 127, 249, 0.35),
    0 0 40px rgba(45, 127, 249, 0.1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  z-index: 2;
}

.home-banner__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.55s ease;
}

.home-banner__cta:hover {
  background: var(--gradient-primary-h);
  box-shadow:
    0 6px 30px rgba(45, 127, 249, 0.5),
    0 0 60px rgba(45, 127, 249, 0.15);
  transform: translateY(-3px) scale(1.02);
}

.home-banner__cta:hover::before {
  left: 100%;
}

.home-banner__cta:active {
  transform: translateY(0) scale(0.98);
}

@media (min-width: 768px) {
  .home-banner__cta {
    padding: 18px 44px;
    font-size: var(--fs-md);
  }
}

/* ── Visual Showcase — floating glass cards grid ─────────── */

.home-banner__visual-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
  z-index: 2;
  position: relative;
}

@media (max-width: 639px) {
  .home-banner__visual-showcase {
    display: none;
  }
}

@media (min-width: 1024px) {
  .home-banner__visual-showcase {
    gap: 22px;
  }
}

/* ── Featured Banner Card — glassmorphism + gradient border ── */

.featured-banner-card {
  background: rgba(26, 26, 42, 0.45);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}

/* Stagger the float so cards aren't in sync */
.featured-banner-card:nth-child(2) { animation-delay: -1.5s; }
.featured-banner-card:nth-child(3) { animation-delay: -3s; }
.featured-banner-card:nth-child(4) { animation-delay: -4.5s; }

/* Gradient border via mask trick */
.featured-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(45, 127, 249, 0.45) 0%,
    rgba(124, 58, 237, 0.3) 40%,
    rgba(0, 230, 118, 0.4) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.45;
  transition: opacity 0.4s ease;
}

/* Inner shimmer sweep */
.featured-banner-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  pointer-events: none;
  transition: none;
}

.featured-banner-card:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(45, 127, 249, 0.18),
    0 0 60px rgba(124, 58, 237, 0.08);
  background: rgba(30, 30, 50, 0.7);
}

.featured-banner-card:hover::before {
  opacity: 1;
}

.featured-banner-card:hover::after {
  animation: shimmerSweep 0.8s ease forwards;
}

/* ── Card sub-elements ──────────────────────────────────────── */

.featured-banner-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-danger);
  color: var(--color-white);
  font-size: 10px;
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255, 61, 87, 0.35);
}

.card-brasil .featured-banner-card__badge {
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #0a0a0f;
  box-shadow: 0 2px 8px rgba(0, 230, 118, 0.35);
}

.card-aiwa .featured-banner-card__badge {
  background: linear-gradient(135deg, #2d7ff9, #7c3aed);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45, 127, 249, 0.35);
}

.featured-banner-card__img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.featured-banner-card:hover .featured-banner-card__img {
  transform: scale(1.12) rotate(2deg);
}

.featured-banner-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 4px;
}

.featured-banner-card__name {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  opacity: 0.9;
}

.featured-banner-card__price {
  font-size: var(--fs-md);
  font-weight: var(--fw-extrabold);
  color: #00e676;
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.3);
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .featured-banner-card__img {
    height: 140px;
  }

  .featured-banner-card__name {
    font-size: var(--fs-sm);
  }

  .featured-banner-card__price {
    font-size: var(--fs-lg);
  }
}


/* ╔══════════════════════════════════════════════════════════╗
   ║  PRODUCT DETAIL PAGE                                    ║
   ╚══════════════════════════════════════════════════════════╝ */

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: var(--space-6) 0 var(--space-12);
  animation: fadeIn 0.5s ease;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    padding: var(--space-8) 0 var(--space-16);
  }
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 55fr 45fr;
    gap: var(--space-12);
  }
}

/* ── Product Gallery — with subtle inner glow ───────────── */

.product-gallery {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  animation: innerGlow 6s ease-in-out infinite;
}

@media (min-width: 768px) {
  .product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--top-bar-height) + var(--space-6));
    align-self: start;
  }
}

.product-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-gallery__track::-webkit-scrollbar {
  display: none;
}

.product-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  min-height: 300px;
  background: var(--color-bg-surface);
}

.product-gallery__slide img {
  max-height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-gallery__slide:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .product-gallery__slide {
    min-height: 400px;
    padding: var(--space-10);
  }

  .product-gallery__slide img {
    max-height: 480px;
  }
}

/* ── Gallery Dots ────────────────────────────────────────── */
.product-gallery__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
}

.product-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-text-disabled);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  padding: 0;
}

.product-gallery__dot:hover {
  background: var(--color-text-muted);
  transform: scale(1.2);
}

.product-gallery__dot.active {
  background: var(--color-primary);
  width: 24px;
  box-shadow: 0 0 8px var(--color-primary-glow);
}

/* ── Gallery Counter ─────────────────────────────────────── */
.product-gallery__counter {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-variant-numeric: tabular-nums;
}

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

.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.product-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product-info__flash-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: #0a0a0f;
  background: var(--gradient-danger);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.product-info__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: var(--lh-tight);
}

@media (min-width: 768px) {
  .product-info__title {
    font-size: var(--fs-3xl);
  }
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.product-info__rating .rating {
  font-size: var(--fs-md);
}

.product-info__rating-text {
  font-size: var(--fs-sm);
  color: var(--color-primary-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-info__rating-text:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.product-info__sold {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PRODUCT PRICE BOX — gradient left border accent        ║
   ╚══════════════════════════════════════════════════════════╝ */

.product-price-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #2d7ff9, #7c3aed, #00e676) 1;
  border-image-slice: 1;
  border-radius: 0;          /* border-image doesn't work with radius; use wrapper trick or clip-path if needed */
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}

/* Fallback: overlay rounded corners + gradient left bar via pseudo */
@supports (background-clip: padding-box) {
  .product-price-box {
    border: 1px solid var(--color-border);
    border-image: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
  }

  .product-price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2d7ff9, #7c3aed, #00e676);
    border-radius: 4px 0 0 4px;
  }
}

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

.product-price-box__current {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--color-text-primary);
  letter-spacing: var(--ls-tight);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  line-height: 1;
}

@media (max-width: 639px) {
  .product-price-box__current {
    font-size: var(--fs-3xl);
  }
}

.product-price-box__discount-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background: var(--color-danger);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
}

.product-price-box__pix {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
}

.product-price-box__pix::before {
  content: '⚡';
  font-size: var(--fs-lg);
}

.product-price-box__installments {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.product-price-box__installments strong {
  color: var(--color-text-primary);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PRODUCT STOCK BAR                                      ║
   ╚══════════════════════════════════════════════════════════╝ */

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

.product-stock__bar {
  width: 100%;
  height: 8px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.product-stock__progress {
  height: 100%;
  background: var(--gradient-danger);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: progressBar 1.5s ease-out;
}

.product-stock__progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: shimmer 2s ease-in-out infinite;
  background-size: 200% 100%;
}

.product-stock__text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-danger);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PRODUCT TRUST BADGES                                   ║
   ╚══════════════════════════════════════════════════════════╝ */

.product-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
}

.product-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  transition: all var(--transition-smooth);
}

.product-trust__item:hover {
  border-color: var(--color-primary);
  color: var(--color-text-secondary);
  background: var(--color-bg-elevated);
}

.product-trust__item i,
.product-trust__item svg {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  BUY & WHATSAPP BUTTONS — dramatic shimmer              ║
   ╚══════════════════════════════════════════════════════════╝ */

.product-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-size: var(--fs-lg);
  font-weight: var(--fw-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: #0a0a0f;
  background: var(--color-secondary);
  background-image: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  min-height: 60px;
  box-shadow:
    0 4px 20px var(--color-secondary-glow),
    0 0 40px rgba(0, 230, 118, 0.08);
}

/* Dramatic shimmer — auto-sweep */
.product-buy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmerSweep 3s ease-in-out infinite;
}

.product-buy-btn:hover {
  background-image: var(--gradient-cta-hover);
  box-shadow:
    0 6px 30px var(--color-secondary-glow),
    0 0 60px rgba(0, 230, 118, 0.2),
    0 0 80px rgba(0, 230, 118, 0.08);
  transform: translateY(-2px);
}

.product-buy-btn:hover::before {
  animation: shimmerSweep 0.6s ease forwards;
}

.product-buy-btn:active {
  transform: translateY(0) scale(0.98);
}

.product-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background: #25d366;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-smooth);
  min-height: 50px;
}

.product-whatsapp-btn:hover {
  background: #22c55e;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.product-whatsapp-btn:active {
  transform: translateY(0) scale(0.98);
}

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

.product-description {
  padding: var(--space-8) 0;
}

.product-description__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.product-description__content {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.product-description__content p {
  margin-bottom: var(--space-4);
}

.product-description__content ul,
.product-description__content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.product-description__content li {
  margin-bottom: var(--space-2);
  list-style: disc;
  color: var(--color-text-secondary);
}

.product-description__content h3,
.product-description__content h4 {
  color: var(--color-text-primary);
  margin: var(--space-6) 0 var(--space-3);
}

.product-description__content img {
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}

.product-description__content table {
  width: 100%;
  margin: var(--space-4) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-description__content th,
.product-description__content td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.product-description__content th {
  background: var(--color-bg-elevated);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  RELATED PRODUCTS SECTION                               ║
   ╚══════════════════════════════════════════════════════════╝ */

.related-section {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
}

.related-section__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.related-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .related-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .related-section__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

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

.cart-page__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-6) 0 var(--space-4);
}

.cart-page__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

@media (min-width: 768px) {
  .cart-page__title {
    font-size: var(--fs-3xl);
  }
}

.cart-page__count {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.cart-page__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ── Empty Cart ──────────────────────────────────────────── */
.cart-page__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-4);
  animation: fadeInUp 0.6s ease;
}

.cart-page__empty-icon {
  font-size: 4rem;
  margin-bottom: var(--space-6);
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

.cart-page__empty-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.cart-page__empty-text {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 400px;
}

.cart-page__empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-white);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.cart-page__empty-btn:hover {
  background: var(--gradient-primary-h);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

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

.cart-summary {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: calc(var(--header-height) + var(--top-bar-height) + var(--space-6));
}

.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cart-summary__label {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.cart-summary__value {
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
  text-align: right;
}

.cart-summary__row--discount .cart-summary__value {
  color: var(--color-secondary);
  font-weight: var(--fw-bold);
}

.cart-summary__divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  border: none;
  margin: var(--space-1) 0;
}

.cart-summary__row--total {
  padding-top: var(--space-2);
}

.cart-summary__row--total .cart-summary__label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.cart-summary__row--total .cart-summary__value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-text-primary);
}

.cart-summary__pix {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
  text-align: center;
}

/* ── Cart checkout button (reuses buy-btn style) ─────────── */
.cart-summary .product-buy-btn,
.cart-summary .cart-checkout-btn {
  margin-top: var(--space-2);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CART BOTTOM BAR (mobile sticky)                        ║
   ╚══════════════════════════════════════════════════════════╝ */

.cart-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-bottom-bar--visible {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .cart-bottom-bar {
    display: none;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  POLICY / ABOUT PAGES — enhanced spacing                ║
   ╚══════════════════════════════════════════════════════════╝ */

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-4) var(--space-16);
  animation: fadeInUp 0.5s ease;
}

.policy-content h1 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--color-primary);
  position: relative;
}

/* Subtle gradient underline accent */
.policy-content h1::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, #2d7ff9, #7c3aed);
}

.policy-content h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.policy-content h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.policy-content p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.policy-content ul,
.policy-content ol {
  margin: var(--space-5) 0;
  padding-left: var(--space-6);
}

.policy-content li {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-3);
  list-style: disc;
}

.policy-content ol li {
  list-style: decimal;
}

.policy-content a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.policy-content a:hover {
  color: var(--color-primary);
}

/* ── About Values ────────────────────────────────────────── */
.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: var(--space-10) 0;
}

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

@media (min-width: 1024px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-values > * {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition-smooth);
}

.about-values > *:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  FAQ PAGE LAYOUT                                        ║
   ╚══════════════════════════════════════════════════════════╝ */

/* FAQ items are styled in components.css; here we handle page layout */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.faq-section .section-title {
  text-align: center;
  display: flex;
  justify-content: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  HOME PAGE — EXTRA LAYOUT                               ║
   ╚══════════════════════════════════════════════════════════╝ */

/* Staggered product card animation */
.product-grid .product-card:nth-child(1)  { animation-delay: 0.05s; }
.product-grid .product-card:nth-child(2)  { animation-delay: 0.10s; }
.product-grid .product-card:nth-child(3)  { animation-delay: 0.15s; }
.product-grid .product-card:nth-child(4)  { animation-delay: 0.20s; }
.product-grid .product-card:nth-child(5)  { animation-delay: 0.25s; }
.product-grid .product-card:nth-child(6)  { animation-delay: 0.30s; }
.product-grid .product-card:nth-child(7)  { animation-delay: 0.35s; }
.product-grid .product-card:nth-child(8)  { animation-delay: 0.40s; }
.product-grid .product-card:nth-child(9)  { animation-delay: 0.45s; }
.product-grid .product-card:nth-child(10) { animation-delay: 0.50s; }

/* Flash section stagger */
.flash-section__scroll .product-card:nth-child(1) { animation-delay: 0.05s; }
.flash-section__scroll .product-card:nth-child(2) { animation-delay: 0.10s; }
.flash-section__scroll .product-card:nth-child(3) { animation-delay: 0.15s; }
.flash-section__scroll .product-card:nth-child(4) { animation-delay: 0.20s; }
.flash-section__scroll .product-card:nth-child(5) { animation-delay: 0.25s; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  RESPONSIVE: CART PAGE TWO-COLUMN LAYOUT                ║
   ╚══════════════════════════════════════════════════════════╝ */

@media (min-width: 768px) {
  .cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-8);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .cart-page-layout {
    grid-template-columns: 1fr 400px;
  }
}

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

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, 0.4),
    0 0 30px rgba(37, 211, 102, 0.15);
  transition: all 0.3s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.5),
    0 0 50px rgba(37, 211, 102, 0.2);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg,
.whatsapp-float i {
  width: 26px;
  height: 26px;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  MOBILE-ONLY / DESKTOP-ONLY HELPERS                     ║
   ╚══════════════════════════════════════════════════════════╝ */

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PRINT STYLES                                           ║
   ╚══════════════════════════════════════════════════════════╝ */

@media print {
  .top-bar,
  .site-header,
  .site-footer,
  .back-to-top,
  .toast,
  .cookie-banner,
  .mobile-menu,
  .mobile-menu-overlay,
  .cart-bottom-bar,
  .newsletter,
  .whatsapp-float {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page-content {
    padding-top: 0;
  }

  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
