﻿/* ====================================
   AUCKLAND VAPES — Design System v2
   White bg + Red accent (#E63946)
   Organized by BRANDS
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --white: #ffffff;
  --off-white: #f8f8f8;
  --light-gray: #f0f0f0;
  --mid-gray: #d4d4d4;
  --dark-gray: #555555;
  --charcoal: #2b2b2b;
  --black: #111111;
  --red: #E63946;
  --red-dark: #c5303b;
  --red-light: #ff4d5a;
  --red-glow: rgba(230, 57, 70, 0.25);
  --red-subtle: rgba(230, 57, 70, 0.06);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --section-padding: 100px 0;
  --container-width: 1260px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.10);
  --shadow-red: 0 8px 30px rgba(230, 57, 70, 0.20);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-med: 0.35s var(--ease);
  --transition-slow: 0.5s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-weight: 400; color: var(--charcoal); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; color: var(--black); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--mid-gray); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2200;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-med);
}
.navbar.scrolled { background: #ffffff; box-shadow: var(--shadow-sm); }
.navbar .container {
  max-width: 100% !important;
  padding: 0 40px;
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar__logo {
  font-family: var(--font-heading); font-size: 1.65rem; font-weight: 800;
  letter-spacing: -0.5px; color: var(--black); display: flex; align-items: center; gap: 8px;
}
.navbar__logo img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: -20px; /* Shifts the logo left to align with the edge */
}
.footer__logo-img {
  height: 64px;
  width: auto;
  margin: 0 auto 20px; /* Centers the logo block in the footer */
  display: block;
  object-fit: contain;
  filter: invert(1); /* Inverts colors: white background becomes black, black text becomes white */
  mix-blend-mode: screen; /* Makes the inverted black background transparent, showing the footer background */
}
.navbar__logo span { color: var(--red); }
.navbar__links { display: flex; align-items: center; gap: 36px; }
.navbar__links a {
  font-size: 0.92rem; font-weight: 500; color: var(--dark-gray);
  position: relative; transition: var(--transition-fast); letter-spacing: 0.2px;
}
.navbar__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--red); border-radius: 2px;
  transition: var(--transition-med);
}
.navbar__links a:hover { color: var(--red); }
.navbar__links a:hover::after { width: 100%; }
.navbar__cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 0.88rem !important;
  transition: var(--transition-fast) !important; letter-spacing: 0.3px;
}
.navbar__cta::after { display: none !important; }
.navbar__cta:hover { background: var(--red-dark) !important; box-shadow: var(--shadow-red) !important; transform: translateY(-1px); }
.navbar__mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar__mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; border-radius: 2px; transition: var(--transition-fast); }

/* ====================================
   HERO
   ==================================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding-top: 72px; overflow: hidden;
  background: var(--black);
  z-index: 1;
}
.hero .container {
  margin-left: 0;
  max-width: 1360px;
  padding-left: 48px;
}
.hero__bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hero__bg-shapes .shape { position: absolute; border-radius: 50%; opacity: 0.3; }
.hero__bg-shapes .shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -100px; right: -100px; animation: floatShape 12s ease-in-out infinite;
}
.hero__bg-shapes .shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,0.02) 0%, transparent 70%);
  bottom: -50px; left: -100px; animation: floatShape 15s ease-in-out infinite reverse;
}
.hero__bg-shapes .shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(230,57,70,0.03) 0%, transparent 70%);
  top: 40%; left: 30%; animation: floatShape 10s ease-in-out infinite 2s;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}
.hero__content { display: grid; grid-template-columns: 1fr; position: relative; z-index: 2; }
.hero__text { max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230, 57, 70, 0.2); border: 1px solid rgba(230, 57, 70, 0.45);
  padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  color: #ff6b76; margin-bottom: 28px; animation: fadeInUp 0.6s var(--ease) both;
}
.hero__badge::before { content: ''; width: 6px; height: 6px; background: #ff4d5a; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero__title { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; animation: fadeInUp 0.6s var(--ease) 0.1s both; color: var(--white); }
.hero__title .accent { color: #ff4d5a; }
.hero__subtitle { font-size: 1.1rem; font-weight: 400; color: rgba(255, 255, 255, 0.85); line-height: 1.75; margin-bottom: 36px; animation: fadeInUp 0.6s var(--ease) 0.2s both; }
.hero__subtitle strong { color: var(--white); font-weight: 600; }
.hero__actions { display: flex; align-items: center; gap: 16px; animation: fadeInUp 0.6s var(--ease) 0.3s both; }
.hero .btn--outline { color: var(--white) !important; border-color: rgba(255, 255, 255, 0.4) !important; }
.hero .btn--outline:hover { border-color: #ff4d5a !important; color: #ff4d5a !important; background: rgba(255, 255, 255, 0.05); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition-fast); letter-spacing: 0.3px;
}
.btn--primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 12px 35px rgba(230,57,70,0.30); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--black); border: 2px solid var(--mid-gray); }
.btn--outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--icon { width: 18px; height: 18px; }

/* ====================================
   FILTER BAR
   ==================================== */
.filter-bar {
  background: var(--red-dark);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 800;
  box-shadow: 0 4px 16px rgba(197, 48, 59, 0.25);
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 52px;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown__toggle {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.filter-dropdown:last-child .filter-dropdown__toggle {
  border-right: none;
}

.filter-dropdown__toggle:hover {
  background: rgba(255,255,255,0.1);
}

.filter-dropdown__toggle svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.filter-dropdown.open .filter-dropdown__toggle svg {
  transform: rotate(180deg);
}

.filter-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  overflow: hidden;
  z-index: 10;
}

.filter-dropdown.open .filter-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-dropdown__item {
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dropdown__item:hover {
  background: var(--red-subtle);
  color: var(--red);
}

.filter-dropdown__item.active {
  background: var(--red-subtle);
  color: var(--red);
  font-weight: 700;
}

.filter-dropdown__item.active::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.75rem;
}

/* ====================================
   SECTION HEADERS
   ==================================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--red);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.section-header__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.section-header__subtitle { font-size: 1.05rem; color: var(--dark-gray); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ====================================
   BRAND SECTIONS
   ==================================== */
.brand-section {
  padding: 80px 0 40px;
  scroll-margin-top: 130px;
}

.brand-section:nth-child(even) {
  background: var(--off-white);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--light-gray);
}

.brand-header__logo {
  width: 52px;
  height: 52px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
  flex-shrink: 0;
}

.brand-header__text h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-header__text p {
  font-size: 0.88rem;
  color: var(--dark-gray);
  margin-top: 2px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

/* ====================================
   PRODUCT CARD v2
   ==================================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition-med);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230,57,70,0.15);
}

/* Badge */
.product-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
}
.product-card__badge--sale { background: var(--red); color: var(--white); }
.product-card__badge--limited { background: var(--black); color: var(--white); }
.product-card__badge--new { background: linear-gradient(135deg, var(--red), var(--red-light)); color: var(--white); }

/* Image */
.product-card__img-wrapper {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--off-white); display: flex; align-items: center;
  justify-content: center; position: relative;
}
.product-card__img { width: 70%; height: 70%; object-fit: contain; transition: var(--transition-med), opacity 0.2s ease; }
.product-card:hover .product-card__img { transform: scale(1.08); }

.product-card__img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--mid-gray); gap: 8px;
}
.product-card__img-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.product-card__img-placeholder span { font-size: 0.78rem; font-weight: 600; opacity: 0.55; }

/* Body */
.product-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__brand-tag {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--red); margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--black); margin-bottom: 2px; letter-spacing: -0.3px;
}

.product-card__puffs {
  font-size: 0.82rem; color: var(--dark-gray); margin-bottom: 14px;
  display: flex; align-items: center; gap: 4px;
}
.product-card__puffs svg { width: 14px; height: 14px; color: var(--red); }

/* Pricing */
.product-card__pricing { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.product-card__price {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--red);
}
.product-card__price-old { font-size: 0.88rem; color: var(--mid-gray); text-decoration: line-through; }
.product-card__price-only { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--black); }

/* ====================================
   FLAVOR SELECTOR
   ==================================== */
.flavor-selector {
  margin-bottom: 16px;
}

.flavor-selector__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.flavor-selector__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flavor-btn {
  padding: 6px 12px;
  background: var(--light-gray);
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.flavor-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-subtle);
}

.flavor-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  font-weight: 700;
}

/* ====================================
   PRODUCT DETAILS
   ==================================== */
.product-details {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  border-left: 3px solid var(--red);
}

.product-details__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-details__title svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.product-details__description {
  font-size: 0.78rem;
  color: var(--charcoal);
  line-height: 1.55;
  margin-bottom: 12px;
}

.product-details__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-details__item {
  font-size: 0.78rem;
  color: var(--dark-gray);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.product-details__item::before {
  content: '•';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Order CTA */
.product-card__btn {
  width: 100%; padding: 12px; background: var(--black);
  color: var(--white); border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition-fast);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: auto;
}
.product-card__btn:hover { background: var(--red); box-shadow: var(--shadow-red); }
.product-card__btn svg { width: 16px; height: 16px; }

/* ====================================
   OFFERS SECTION
   ==================================== */
.offers {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.offers__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(230,57,70,0.02) 0%, transparent 50%, rgba(230,57,70,0.02) 100%);
  pointer-events: none;
}
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}
.offer-card {
  background: var(--white);
  border: 2px solid rgba(230,57,70,0.15);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-med);
}
.offer-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
}
.offer-card:hover { border-color: var(--red); box-shadow: 0 12px 48px rgba(230,57,70,0.12); transform: translateY(-4px); }
.offer-card__img-wrapper {
  aspect-ratio: 1; background: var(--off-white); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.offer-card__img { width: 75%; height: 75%; object-fit: contain; transition: var(--transition-med); }
.offer-card:hover .offer-card__img { transform: scale(1.06); }
.offer-card__content { display: flex; flex-direction: column; gap: 10px; }
.offer-card__tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 5px 14px; background: var(--red); color: var(--white);
  border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.offer-card__name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--black); }
.offer-card__puffs { font-size: 0.88rem; color: var(--dark-gray); }
.offer-card__pricing { display: flex; align-items: baseline; gap: 10px; }
.offer-card__price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--red); }
.offer-card__price-old { font-size: 1rem; color: var(--mid-gray); text-decoration: line-through; }
.offer-card__btn {
  margin-top: 6px; padding: 12px 24px; background: var(--red);
  color: var(--white); border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition-fast); width: fit-content;
}
.offer-card__btn:hover { background: var(--red-dark); box-shadow: var(--shadow-red); transform: translateY(-2px); }

/* ====================================
   TRUST BADGES
   ==================================== */
.trust { padding: 80px 0; background: var(--off-white); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust__card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  border: 1px solid rgba(0,0,0,0.04); transition: var(--transition-med);
}
.trust__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust__card-icon {
  width: 56px; height: 56px; background: var(--red-subtle);
  border-radius: var(--radius-md); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 18px;
}
.trust__card-icon svg { width: 28px; height: 28px; color: var(--red); }
.trust__card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.trust__card p { font-size: 0.88rem; color: var(--dark-gray); line-height: 1.6; }

/* ====================================
   FOOTER
   ==================================== */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer__top {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer__brand h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer__brand h3 span { color: var(--red); }
.footer__brand p { font-size: 0.9rem; line-height: 1.7; max-width: 500px; margin: 0 auto; }
.footer__instagram {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 16px 36px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 50px; color: var(--white);
  font-size: 0.95rem; font-weight: 700;
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
  box-shadow: 0 6px 24px rgba(253, 29, 29, 0.25);
}
.footer__instagram:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(253, 29, 29, 0.35); }
.footer__instagram svg { width: 24px; height: 24px; }

.footer__links-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__col h4 {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.footer__col ul li { margin-bottom: 8px; }
.footer__col ul li a { font-size: 0.85rem; transition: var(--transition-fast); }
.footer__col ul li a:hover { color: var(--red); padding-left: 4px; }

.footer__bottom { padding: 24px 0; text-align: center; }
.footer__warning {
  background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.2);
  border-radius: var(--radius-sm); padding: 16px 24px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.footer__warning svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.footer__warning p { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ====================================
   AGE GATE
   ==================================== */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: var(--transition-slow);
}
.age-gate.hidden { opacity: 0; pointer-events: none; }
.age-gate__box {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 48px; max-width: 440px; width: 90%; text-align: center;
  box-shadow: var(--shadow-xl); animation: fadeInUp 0.5s var(--ease) both;
}
.age-gate__icon {
  width: 64px; height: 64px; background: var(--red-subtle);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px;
}
.age-gate__icon svg { width: 32px; height: 32px; color: var(--red); }
.age-gate__box h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.age-gate__box p { font-size: 0.92rem; color: var(--dark-gray); margin-bottom: 28px; line-height: 1.6; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; }
.age-gate__actions .btn { min-width: 140px; justify-content: center; }

/* Scroll Top */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: var(--transition-med); z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
  .hero .container {
    padding-left: 24px;
    margin-left: auto;
  }
  .hero__bg-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
  }
  .hero__content { grid-template-columns: 1fr; text-align: left; gap: 40px; }
  .hero__text { max-width: 100%; }
  .hero__actions { justify-content: flex-start; }
  .offers__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }
  .navbar__links {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: center;
    justify-content: center; gap: 28px;
  }
  .navbar__links.active { display: flex; }
  .navbar__links a { font-size: 1.2rem; }
  .navbar__mobile-toggle { display: block; }
  .navbar__mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .navbar__mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .navbar__mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero .container { padding-left: 16px; }
  .hero__title { font-size: 2rem; }

  .filter-bar__inner { gap: 0; }
  .filter-dropdown__toggle { padding: 14px 16px; font-size: 0.82rem; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .offer-card { grid-template-columns: 1fr; padding: 24px; }
  .trust__grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 28px; font-size: 0.88rem; }
  .section-header__title { font-size: 1.6rem; }
  .brand-section { padding: 60px 0 30px; }

  .footer__links-row { flex-direction: column; gap: 24px; align-items: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .filter-dropdown__toggle { padding: 14px 12px; font-size: 0.78rem; letter-spacing: 0; }
}

/* ====================================
   LIGHTBOX MODAL
   ==================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(17, 17, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-med);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
  padding: 8px;
}
.lightbox__close:hover {
  color: var(--red);
  transform: scale(1.1);
}
.lightbox__content {
  max-width: 95%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.3s var(--ease);
}
.lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  background: var(--white);
  padding: 30px;
}
@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ====================================
   VISTA DE CATÁLOGO INDEPENDIENTE (SPA)
   ==================================== */
.catalogo-form {
  display: none;
  padding-top: 100px;
  padding-bottom: 60px;
  background: var(--white);
}

/* Mostrar catálogo cuando está activo */
body.catalog-active .catalogo-form {
  display: block;
}

/* Ocultar secciones de inicio cuando el catálogo está activo */
body.catalog-active #hero,
body.catalog-active #ofertas,
body.catalog-active #nuevos,
body.catalog-active #faq,
body.catalog-active .trust {
  display: none !important;
}

/* Cabecera de la vista del catálogo */
.catalogo-form__header {
  margin-bottom: 24px;
  display: flex;
  justify-content: flex-start;
}

.catalogo-form__back-btn {
  border-color: var(--mid-gray);
  color: var(--black);
  font-size: 0.9rem;
  padding: 10px 24px;
  background: var(--white);
}

.catalogo-form__back-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-subtle);
}

/* ====================================
   NUEVOS INGRESOS (NEW ARRIVALS)
   ==================================== */
.new-arrivals {
  padding: var(--section-padding);
  background: var(--off-white);
  position: relative;
}

.new-arrivals__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.02) 0%, transparent 50%);
}

.new-arrivals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  justify-content: center;
}

/* ====================================
   PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ==================================== */
.faq-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
}

.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-med);
}

.faq__item:hover {
  border-color: rgba(230, 57, 70, 0.15);
  box-shadow: var(--shadow-sm);
}

.faq__question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
}

.faq__question-btn:hover {
  color: var(--red);
}

.faq__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: var(--transition-med);
  color: var(--red);
}

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

.faq__answer-content {
  padding: 0 28px 22px 28px;
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.65;
}

/* Estados activos */
.faq__item.active {
  background: var(--white);
  border-color: rgba(230, 57, 70, 0.2);
  box-shadow: var(--shadow-md);
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__item.active .faq__question-btn {
  color: var(--red);
}

/* ====================================
   NUEVA BARRA DE NAVEGACIÓN (DROPDOWNS)
   ==================================== */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
  padding: 10px 0;
}

.nav-item__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark-gray);
  transition: var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item__link::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 2px;
  transition: var(--transition-fast);
  opacity: 0.7;
}

.nav-item__link.no-arrow::after {
  display: none !important;
}

.nav-item:hover .nav-item__link {
  color: var(--red);
}

.nav-item:hover .nav-item__link::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  padding: 10px 0;
  z-index: 1001;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-weight: 500;
  transition: var(--transition-fast);
  text-align: left;
}

.nav-dropdown__link:hover {
  background: var(--red-subtle);
  color: var(--red);
  padding-left: 24px;
}

/* ====================================
   NUEVOS CATÁLOGOS (PERFUMES )
   ==================================== */
#catalogoPerfumes,

#catalogoPouches {
  display: none;
  padding-top: 100px;
  padding-bottom: 60px;
  background: var(--white);
}

body.catalog-perfumes-active #catalogoPerfumes {
  display: block;
}

body.catalog-pouches-active #catalogoPouches {
  display: block;
}



/* Ocultar secciones de inicio */
body.catalog-perfumes-active #hero,
body.catalog-perfumes-active #ofertas,
body.catalog-perfumes-active #nuevos,
body.catalog-perfumes-active #faq,
body.catalog-perfumes-active .trust,
body.catalog-pouches-active #hero,
body.catalog-pouches-active #ofertas,
body.catalog-pouches-active #nuevos,
body.catalog-pouches-active #faq,
body.catalog-pouches-active .trust,


/* ====================================
   MODAL DE DETALLES DEL PRODUCTO
   ==================================== */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-med);
  overflow-y: auto;
}

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

.product-modal__close {
  position: fixed;
  top: 96px;
  right: 24px;
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2105;
  box-shadow: var(--shadow-sm);
}

.product-modal__close:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: scale(1.08);
}

.product-modal__content {
  background: var(--white);
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.product-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 100vh;
}

.product-modal__img-wrapper {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 40px;
  border-right: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.product-modal__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.product-modal__info {
  padding: 100px 60px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.product-modal__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2ec4b6;
  margin-top: 4px;
}

.stock-dot {
  width: 10px;
  height: 10px;
  background: #2ec4b6;
  border-radius: 50%;
  display: inline-block;
}

.product-modal__brand-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  display: inline-block;
  margin-top: 4px;
}

.product-modal__name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.product-modal__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.product-modal__price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
}

.product-modal__price-old {
  font-size: 1.1rem;
  color: var(--mid-gray);
  text-decoration: line-through;
}

.product-modal__price-only {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
}

.product-modal__puffs {
  font-size: 0.9rem;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
}

.product-modal__desc-container h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 6px;
}

.product-modal__description {
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-modal__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-modal__list-item {
  font-size: 0.85rem;
  color: var(--dark-gray);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.product-modal__list-item::before {
  content: '•';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.product-modal__selector {
  margin-top: 6px;
}

.product-modal__selector-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.product-modal__selector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-modal__btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

/* ====================================
   CORRECCIÓN DE CONTORNOS GRISES
   ==================================== */
.product-card__img-wrapper,
.offer-card__img-wrapper {
  background: transparent !important; /* Eliminar el fondo gris de la casilla */
}

.product-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Expandir al 100% sin deformar */
}

.offer-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ====================================
   AJUSTES RESPONSIVOS ADICIONALES
   ==================================== */
@media (max-width: 768px) {
  .navbar__links {
    gap: 16px !important;
  }
  .nav-item {
    width: 100%;
    text-align: center;
  }
  .nav-item__link {
    justify-content: center;
    font-size: 1.1rem !important;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    opacity: 1;
    visibility: visible;
    display: none;
    width: 100%;
    padding: 4px 0;
  }
  .nav-item:hover .nav-dropdown {
    display: block;
  }
  .product-modal__grid {
    grid-template-columns: 1fr;
  }
  .product-modal__img-wrapper {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 90px 20px 20px;
  }
  .product-modal__info {
    padding: 24px;
  }
}

/* ====================================
   OCULTAR DETALLES EN LA GRILLA PRINCIPAL
   ==================================== */
.product-card .product-details {
  display: none !important;
}

/* ====================================
   PRODUCTOS RELACIONADOS
   ==================================== */
.product-modal__related {
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.related-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.5px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   NUEVO SISTEMA DE CARRITO Y MI CUENTA
   ==================================== */
.cart-badge {
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.btn-card-add, .btn-card-buy {
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.btn-card-add {
  background: var(--light-gray);
  color: var(--charcoal);
  border: 1px solid transparent;
}

.btn-card-add:hover {
  background: var(--mid-gray);
  color: var(--black);
}

.btn-card-buy {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-card-buy:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.product-modal__actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.product-modal__actions-row .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

.micuenta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  gap: 36px;
  margin-top: 20px;
}

body.micuenta-active #miCuentaView {
  display: block;
}

body.micuenta-active #hero,
body.micuenta-active #ofertas,
body.micuenta-active #nuevos,
body.micuenta-active #faq,
body.micuenta-active .trust {
  display: none !important;
}

@media (max-width: 992px) {
  .micuenta__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ====================================
   CART MODAL & TOASTS
   ==================================== */
.cart-badge {
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Modal layout */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-med);
}

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

.cart-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cart-modal__container {
  position: relative;
  z-index: 10;
  width: 92%;
  max-width: 900px;
  max-height: 85vh;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-med);
}

.cart-modal.active .cart-modal__container {
  transform: translateY(0) scale(1);
}

.cart-modal__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
}

.cart-modal__header h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-modal__close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  color: var(--dark-gray);
  transition: var(--transition-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cart-modal__close:hover {
  background: var(--light-gray);
  color: var(--red);
}

.cart-modal__body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
  background: var(--white);
}

/* Empty State */
.cart-modal__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  text-align: center;
}

.cart-modal__empty-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  opacity: 0.7;
}

.cart-modal__empty-text {
  font-size: 1.05rem;
  color: var(--dark-gray);
  margin-bottom: 25px;
}

/* Table styling */
/* Vertical List layout styles */
.cart-modal__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cart-item-card {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
  align-items: stretch;
}

.cart-modal__list .cart-item-card:last-child {
  border-bottom: none;
}

.cart-item-card__left {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
  background: var(--off-white);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-card__center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.cart-item-card__title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-item-card__name {
  font-weight: 700;
  color: var(--black);
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.cart-item-card__specs {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-subtle);
  padding: 1px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-item-card__variety {
  font-size: 0.8rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-top: 2px;
}

.cart-item-card__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-item-card__price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.cart-item-card__price-old {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--mid-gray);
}

.cart-item-card__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}

.cart-item-card__subtotal {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  font-size: 1.05rem;
}

.cart-item-card__actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

/* In-cart quantity buttons */
.cart-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.cart-qty-btn {
  background: var(--off-white);
  border: none;
  width: 28px;
  height: 28px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: var(--light-gray);
  color: var(--red);
}

.cart-qty-input {
  width: 32px;
  height: 28px;
  text-align: center;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  background: transparent;
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Row action buttons */
.cart-delete-btn {
  background: none;
  border: none;
  color: var(--dark-gray);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-delete-btn:hover {
  background: var(--red-subtle);
  color: var(--red);
}

/* Footer elements */
.cart-modal__footer {
  border-top: 1px solid var(--light-gray);
  padding-top: 20px;
}

.cart-modal__discount {
  margin-bottom: 16px;
  text-align: left;
}

.cart-modal__discount-toggle {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  padding: 4px 0;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cart-modal__discount-toggle:hover {
  color: var(--red);
}

.cart-modal__discount-drawer {
  margin-top: 8px;
  padding: 12px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--mid-gray);
}

.discount-input-group {
  display: flex;
  gap: 8px;
}

.discount-input {
  flex-grow: 1;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.discount-input:focus {
  border-color: var(--red);
}

.btn-discount-apply {
  padding: 8px 16px !important;
  font-size: 0.8rem !important;
}

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

.cart-modal__total-row .total-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
}

.cart-modal__total-row .total-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  text-shadow: 0 1px 2px rgba(230, 57, 70, 0.05);
}

.cart-modal__tax-info {
  font-size: 0.74rem;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.45;
}

.cart-modal__actions {
  display: block;
  width: 100%;
}

.btn-pagar {
  width: 100% !important;
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 14px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: var(--shadow-red) !important;
  transition: var(--transition-fast) !important;
}

.btn-pagar:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3) !important;
}

/* Quantity selector inside details modal interactions */
.quantity-selector button:hover {
  background: var(--mid-gray) !important;
  color: var(--red) !important;
}

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-notification {
  pointer-events: auto;
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 4px solid var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  transform: translateY(50px);
  opacity: 0;
  animation: toastIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: opacity 0.3s, transform 0.3s;
}

.toast-notification.fadeOut {
  opacity: 0;
  transform: translateY(-20px);
}

.toast-notification__icon {
  font-size: 1.15rem;
}

@keyframes toastIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Cart adjustments */
@media (max-width: 768px) {
  .cart-modal__container {
    max-height: 92vh;
    width: 95%;
  }
  .cart-modal__body {
    padding: 16px;
  }
  .cart-modal__actions {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .cart-modal__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cart-modal__header {
    padding: 16px;
  }
}

/* Sold out badge and button styles */
.product-card__badge--soldout {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-card-soldout {
  background: var(--mid-gray) !important;
  color: var(--white) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border: none !important;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  font-size: 0.88rem;
  box-shadow: none !important;
  transform: none !important;
}

/* ====================================
   CHATBOT WIDGET IA
   ==================================== */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2300;
  font-family: var(--font-body);
}

.chat-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.chat-bubble:hover {
  transform: scale(1.1) translateY(-2px);
  background: var(--red-dark);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.45);
}

.chat-bubble:active {
  transform: scale(0.95);
}

.chat-bubble__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--black);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.chat-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 370px;
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity var(--transition-med), transform var(--transition-med), visibility var(--transition-med);
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.chat-window__header {
  background: var(--charcoal);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-window__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-window__avatar {
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-window__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.chat-window__status {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.status-dot-active {
  width: 6px;
  height: 6px;
  background: #2ec4b6;
  border-radius: 50%;
  display: inline-block;
}

.chat-window__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-window__action-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  line-height: 1;
}

.chat-window__action-btn:hover {
  color: var(--white);
}

#btnChatClose {
  font-size: 1.8rem;
  font-weight: 300;
}

/* Settings overlay inside chat */
.chat-window__settings {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--off-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 20px;
  z-index: 100;
  display: none;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.35s var(--ease) forwards;
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.chat-window__settings h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.chat-window__settings p {
  font-size: 0.78rem;
  color: var(--dark-gray);
  line-height: 1.45;
  margin-bottom: 14px;
}

.chat-window__settings-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-window__settings-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  outline: none;
  font-family: var(--font-body);
}

.chat-window__settings-input:focus {
  border-color: var(--red);
}

.chat-window__settings-actions {
  display: flex;
  gap: 10px;
}

/* Messages List */
.chat-window__messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--off-white);
}

.chat-msg {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.chat-msg--bot {
  background: var(--white);
  color: var(--charcoal);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.chat-msg--user {
  background: var(--red);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 3px 8px rgba(230,57,70,0.15);
}

.chat-msg--system {
  background: rgba(0,0,0,0.05);
  color: var(--dark-gray);
  font-size: 0.78rem;
  align-self: center;
  max-width: 90%;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

.chat-msg--typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 11px 18px;
}

.chat-msg--typing span {
  width: 6px;
  height: 6px;
  background: var(--dark-gray);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out both;
  opacity: 0.4;
}

.chat-msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0.6); }
  45% { transform: scale(1); opacity: 1; }
}

/* Input Area */
.chat-window__input-area {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.chat-window__input-area input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 8px 0;
  background: transparent;
}

.chat-window__input-area button {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.chat-window__input-area button:hover {
  transform: translateX(2px) scale(1.05);
  color: var(--red-dark);
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 480px) {
  .chatbot-wrapper {
    bottom: 16px;
    right: 16px;
  }
  .chat-window {
    position: fixed;
    bottom: 84px;
    right: 16px;
    left: 16px;
    width: auto;
    height: calc(100vh - 120px);
    max-height: 550px;
  }
}

/* ====================================
   AYUDA / BUSCADOR WIDGET
   ==================================== */
#btnChatSettingsToggle,
#chatSettings {
  display: none !important;
}

.chat-bubble {
  width: auto;
  min-width: 136px;
  height: 58px;
  padding: 0 22px;
  gap: 10px;
  border-radius: 999px;
  background: #4a00b4;
  box-shadow: 0 10px 28px rgba(74, 0, 180, 0.34);
}

.chat-bubble:hover {
  background: #3b0091;
  box-shadow: 0 14px 32px rgba(74, 0, 180, 0.42);
}

.chat-bubble__label {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

.chat-window {
  width: 430px;
  height: 660px;
  max-height: calc(100vh - 120px);
  border-radius: 8px;
  border: 1px solid rgba(74, 0, 180, 0.16);
  box-shadow: 0 18px 60px rgba(17, 17, 17, 0.18);
}

.chat-window__header {
  min-height: 56px;
  padding: 14px 52px;
  background: #4a00b4;
  position: relative;
  justify-content: center;
}

.chat-window__header-info {
  justify-content: center;
}

.chat-window__avatar,
.chat-window__status {
  display: none;
}

.chat-window__title {
  color: var(--white);
  font-size: 1.08rem;
  text-align: center;
}

.chat-window__header-actions {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

#btnChatClose {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.7rem;
}

.chat-window__messages {
  padding: 22px 26px;
  gap: 0;
  background: var(--white);
}

.chat-help-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.chat-help-panel__intro {
  color: #35404a;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.chat-search {
  margin-bottom: 8px;
}

.chat-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
}

.chat-search__row input,
.chat-field__input,
.chat-field__textarea {
  width: 100%;
  border: 1px solid #cdd5df;
  border-radius: 6px;
  background: var(--white);
  color: #17202a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.chat-search__row input,
.chat-field__input {
  min-height: 46px;
  padding: 0 14px;
}

.chat-field__textarea {
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}

.chat-search__row input:focus,
.chat-field__input:focus,
.chat-field__textarea:focus {
  border-color: #4a00b4;
  box-shadow: 0 0 0 3px rgba(74, 0, 180, 0.14);
  background: #f4f0ff;
}

.chat-search__row button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 6px;
  background: #4a00b4;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.chat-search__row button svg {
  width: 20px;
  height: 20px;
}

.chat-search__row button:hover {
  background: #3b0091;
  transform: translateY(-1px);
}

.chat-field__label {
  display: block;
  color: #2f3943;
  font-size: 0.98rem;
  font-weight: 800;
  margin: 10px 0 6px;
}

.chat-search-results {
  flex: 0 0 auto;
  display: none;
  margin: 4px 0 4px;
  border: 1px solid #e0d7f7;
  border-radius: 8px;
  background: #fbf9ff;
  max-height: 190px;
  overflow-y: auto;
}

.chat-search-results.active {
  display: block;
}

.chat-result {
  padding: 12px 14px;
  border-bottom: 1px solid #e8e1f8;
}

.chat-result:last-child {
  border-bottom: none;
}

.chat-result__title {
  color: #2f006e;
  font-size: 0.93rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.chat-result__meta,
.chat-result__text {
  color: #4a5560;
  font-size: 0.82rem;
  line-height: 1.42;
}

.chat-result__link {
  display: inline-flex;
  margin-top: 8px;
  color: #4a00b4;
  font-size: 0.8rem;
  font-weight: 800;
}

.chat-form-alert {
  min-height: 20px;
  margin-top: 10px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-window__input-area--form {
  justify-content: flex-end;
  padding: 16px 22px 18px;
  box-shadow: 0 -6px 16px rgba(17, 17, 17, 0.04);
}

.chat-window__input-area--form button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: #4a00b4;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.chat-window__input-area--form button:hover {
  background: #3b0091;
  color: var(--white);
  transform: translateY(-1px);
}

.chat-window__input-area--form button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.chat-window--sent .chat-help-panel,
.chat-window--sent .chat-window__input-area--form {
  display: none;
}

.chat-success[hidden] {
  display: none !important;
}

.chat-success {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 12px;
}

.chat-success__icon {
  width: 124px;
  height: 124px;
  color: #4a00b4;
  opacity: 0.9;
  margin-bottom: 10px;
}

.chat-success h3 {
  color: #3b0091;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.chat-success p {
  color: #3f4a54;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.chat-success__done {
  border: none;
  background: transparent;
  color: #4a00b4;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .chat-bubble {
    min-width: 122px;
    height: 54px;
    padding: 0 18px;
  }

  .chat-window {
    bottom: 78px;
    right: 10px;
    left: 10px;
    width: auto;
    height: calc(100vh - 100px);
    max-height: 640px;
  }

  .chat-window__messages {
    padding: 20px;
  }

  .chat-window__input-area--form {
    padding: 14px 18px 16px;
  }

  .chat-window__input-area--form button {
    width: 100%;
  }
}

@media (max-height: 760px) {
  .chat-window__messages {
    padding-top: 18px;
  }

  .chat-field__textarea {
    height: 76px;
    min-height: 76px;
  }
}

/* ====================================
   MYON HORIZONTAL CAROUSEL
   ==================================== */
#brand-myon .product-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-body);
}

#brand-myon .product-grid::-webkit-scrollbar {
  height: 8px;
}

#brand-myon .product-grid::-webkit-scrollbar-track {
  background: var(--bg-body);
  border-radius: 4px;
}

#brand-myon .product-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

#brand-myon .product-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

@media (max-width: 480px) {
  #brand-myon .product-card {
    flex: 0 0 280px;
  }
}


/* ====================================
   MINI CAROUSEL POUCHES
   ==================================== */
.mini-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease;
}

.carousel-img.active {
  opacity: 1;
  z-index: 2;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: var(--red);
}

/* ====================================
   MINI CAROUSEL ARROWS
   ==================================== */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  opacity: 0.8;
}
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}
.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--charcoal);
}
.carousel-arrow--left { left: 8px; }
.carousel-arrow--right { right: 8px; }

/* Ocultar dots antiguos */
.carousel-dots { display: none !important; }

