/* ====================================
   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);
  /* Navbar height tokens */
  --navbar-top-height: 54px;
  --navbar-bottom-height: 42px;
  --navbar-total-height: 96px;
}

/* ---------- 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 Ã¢â‚¬â€ 2-Row Ecommerce Style
   ==================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2200;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition-med);
}
.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ---- Top Row ---- */
.navbar__top {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  max-width: 100% !important;
  padding: 0 40px;
}
.navbar__logo {
  display: flex;
  align-items: center;
}
.navbar__logo img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: -20px;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Icon links (account + cart) */
.navbar__icon-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--charcoal);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
}
.navbar__icon-link:hover {
  color: var(--red);
  background: var(--red-subtle);
}
.navbar__icon-link svg {
  flex-shrink: 0;
}

/* Cart badge */
.navbar__cart-link .cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  line-height: 1;
  pointer-events: none;
}

/* Account icon + dropdown */
.navbar__account {
  position: relative;
}
.navbar__account-dropdown { display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  z-index: 10;
}
.navbar__account-dropdown.active { display: block !important; }
.navbar__account-dropdown__link {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition-fast);
  text-decoration: none;
}
.navbar__account-dropdown__link:hover {
  background: var(--red-subtle);
  color: var(--red);
}
.navbar__account-dropdown__link--logout {
  color: var(--red);
  border-top: 1px solid var(--light-gray);
  margin-top: 4px;
}
.navbar__account-dropdown__link--logout:hover {
  background: rgba(230,57,70,0.08);
}

/* Mobile toggle */
.navbar__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}
.navbar__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ---- Bottom Row ---- */
.navbar__bottom {
  height: 34px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar__bottom-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 56px;
}

/* ====================================
   HERO
   ==================================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding-top: 128px; 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: 128px;
  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: 185px;
}

.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: 90%; height: 90%; mix-blend-mode: multiply; transform: scale(1); 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: 90%; height: 90%; mix-blend-mode: multiply; transform: scale(1); object-fit: contain; transition: var(--transition-med); }
.offer-card:hover .offer-card__img { transform: scale(1.08); }
.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__logo-img {
  height: 64px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}
.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__legal-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  text-align: left;
}
.footer__legal-row .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__legal-row .footer__col ul li { margin-bottom: 8px; }
.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; }

  /* Show hamburger */
  .navbar__mobile-toggle { display: flex; }

  /* Hide desktop bottom row */
  .navbar__bottom { display: none; }

  /* Mobile full-screen overlay menu */
  .navbar__links {
    display: none;
    position: fixed;
    top: 78px;
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 2100;
    height: auto;
    overflow-y: auto;
    padding: 32px 0;
  }
  .navbar__links.active { display: flex; }

  .navbar__links .nav-item {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  .navbar__links .nav-item__link {
    font-size: 1.25rem;
    height: auto;
    padding: 0;
    color: #111;
  }
  .navbar__links .nav-item__link::before { display: none; }

  /* Show dropdown inline below Vapes in mobile */
  .navbar__links .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .navbar__links .nav-dropdown__link {
    font-size: 0.95rem;
    color: #666;
    padding: 5px 16px;
    border-radius: 6px;
    text-align: center;
  }
  .navbar__links .nav-dropdown__link:hover {
    background: rgba(230,57,70,0.06);
    color: #E63946;
  }

  .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: 108px 0 60px; }
  .hero .container { padding-left: 16px; }
  .hero__title { font-size: 2rem; }

  .filter-bar { top: 78px; }
  .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; scroll-margin-top: 100px; }
  .footer__links-row { flex-direction: column; gap: 24px; align-items: center; }
  .footer__legal-row { grid-template-columns: repeat(2, 1fr); text-align: center; gap: 40px; }
}

@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; }
  .footer__legal-row { 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 {
  display: none;
}

.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);
}

/* ====================================
   HEADER NAV FINAL
   ==================================== */
.navbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item__link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
}

.nav-item__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #E63946;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-item__link:hover {
  color: #E63946;
}

.nav-item__link:hover::before {
  transform: scaleX(1);
}

.nav-item__link::after {
  content: "Ã¢â€“Â¾";
  font-size: 10px;
  color: currentColor;
  opacity: 0.55;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

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

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

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 3000;
}

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

.nav-dropdown__link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__link:hover {
  background: rgba(230,57,70,0.06);
  color: #E63946;
}

/* ====================================
   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
   ==================================== */
/* ====================================
   QUICK VIEW MODAL — Fullscreen White Theme
   ==================================== */

/* --- Body State for Quick View --- */
body.quickview-active #hero,
body.quickview-active #ofertas,
body.quickview-active #nuevos,
body.quickview-active .brand-section,
body.quickview-active #faq,
body.quickview-active .trust,
body.quickview-active #quienesSomosView,
body.quickview-active .catalogo-form,
body.quickview-active .distribuidor-view,
body.quickview-active .legal-view,
body.quickview-active .footer,
body.quickview-active .filter-bar {
  display: none !important;
}

/* --- Overlay --- */
.qv-overlay {
  display: none;
  background: var(--white);
  padding: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  position: relative;
  padding-top: 100px;
  min-height: calc(100vh - 300px); /* Leave room for footer */
}

.qv-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Modal Container --- */
.qv-modal {
  position: relative;
  background: var(--white);
  border-radius: 0;
  width: 100%;
  max-width: none;
  min-height: auto;
  max-height: none;
  overflow-y: visible;
  box-shadow: none;
  animation: qvSlideUp 0.4s var(--ease);
}

@keyframes qvSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Custom scrollbar for modal */
.qv-modal::-webkit-scrollbar { width: 8px; }
.qv-modal::-webkit-scrollbar-track { background: transparent; }
.qv-modal::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

/* --- Close Button --- */
.qv-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.qv-close svg { width: 24px; height: 24px; }
.qv-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: scale(1.1);
}

/* --- Grid Layout --- */
.qv-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 100vh;
}

/* --- Gallery (Left Column) --- */
.qv-gallery {
  background: var(--white);
  border-right: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qv-gallery__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 400px;
}

.qv-gallery__img {
  width: 100%;
  height: 100%;
  max-height: 65vh;
  object-fit: contain;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
  transform: scale(1.15);
}

.qv-gallery__thumbs {
  display: flex;
  gap: 12px;
  padding: 16px 24px 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.qv-gallery__thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  background: var(--white);
  flex-shrink: 0;
}

.qv-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.qv-gallery__thumb:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.qv-gallery__thumb.active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 0 12px rgba(230, 57, 70, 0.2);
}

/* --- Info (Right Column) --- */
.qv-info {
  padding: 60px 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}

.qv-info__category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  font-family: var(--font-heading);
}

.qv-info__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.qv-info__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.qv-info__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--red);
}

.qv-info__price-old {
  font-size: 1.2rem;
  color: var(--mid-gray);
  text-decoration: line-through;
}

.qv-info__puffs {
  font-size: 0.95rem;
  color: var(--dark-gray);
  font-weight: 500;
}

/* --- Flavor Selector --- */
.qv-selector {
  margin-top: 8px;
  width: 100%;
}

.qv-selector__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-gray);
  margin-bottom: 12px;
  display: block;
}

.qv-selector__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qv-selector__list .flavor-btn {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--charcoal);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-body);
}

.qv-selector__list .flavor-btn:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.qv-selector__list .flavor-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.2);
}

/* --- Actions Row --- */
.qv-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  width: 100%;
}

.qv-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.qv-qty__btn {
  background: var(--off-white);
  border: none;
  color: var(--charcoal);
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.qv-qty__btn:hover { background: var(--light-gray); }

.qv-qty__input {
  width: 50px;
  text-align: center;
  border: none;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.qv-qty__input::-webkit-outer-spin-button,
.qv-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qv-add-cart {
  flex: 1;
  min-width: 200px;
  padding: 14px 28px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.qv-add-cart:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.25);
  transform: translateY(-1px);
}

.qv-buy {
  padding: 14px 28px;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.qv-buy:hover {
  background: var(--red);
  color: #fff;
}

.qv-soldout {
  width: 100%;
  padding: 16px;
  background: var(--off-white);
  color: var(--mid-gray);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: not-allowed;
}

/* --- Trust Badges --- */
.qv-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
}

.qv-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--dark-gray);
  font-weight: 500;
}

.qv-trust__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--dark-gray);
}

/* --- Accordion --- */
.qv-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  margin-top: 12px;
}

.qv-accordion__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.qv-accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.qv-accordion__trigger:hover { color: var(--red); }

.qv-accordion__chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
  stroke: var(--dark-gray);
}

.qv-accordion__item.open .qv-accordion__chevron {
  transform: rotate(180deg);
}

.qv-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.qv-accordion__item.open .qv-accordion__panel {
  max-height: 400px;
}

.qv-accordion__panel p,
.qv-accordion__panel li {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.qv-accordion__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
}

.qv-accordion__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.qv-accordion__list li::before {
  content: '•';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.qv-accordion__panel > p {
  padding-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .qv-overlay { padding: 0; }

  .qv-modal {
    max-height: none;
    border-radius: 0;
  }

  .qv-grid {
    grid-template-columns: 1fr;
  }

  .qv-gallery {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .qv-gallery__main {
    padding: 60px 20px 20px;
    min-height: 280px;
  }

  .qv-gallery__img { max-height: 40vh; }

  .qv-gallery__thumbs { padding: 12px 16px 20px; }

  .qv-gallery__thumb { width: 56px; height: 56px; }

  .qv-info {
    padding: 30px 24px 40px;
    gap: 16px;
  }

  .qv-info__title { font-size: 1.8rem; }

  .qv-actions { flex-direction: column; }
  .qv-add-cart { width: 100%; min-width: auto; }
  .qv-buy { width: 100%; }

  .qv-trust { gap: 12px; }

  .qv-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  .qv-close svg { width: 20px; height: 20px; }
}

/* ====================================
   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; }

/* ============================================================
   CHECKOUT MODAL Ã¢â‚¬â€ Shopify-style (Yape Payment)
   ============================================================ */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-med);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.checkout-modal.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.checkout-modal__container {
  position: relative;
  z-index: 10;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: var(--white);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-med);
}
.checkout-modal.active .checkout-modal__container {
  transform: translateY(0) scale(1);
}

.checkout-modal__header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  flex-shrink: 0;
}
.checkout-modal__header h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-modal__close {
  background: transparent;
  border: none;
  font-size: 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%;
}
.checkout-modal__close:hover {
  background: var(--light-gray);
  color: var(--red);
}

.checkout-modal__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- 2-Column Grid ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  flex-grow: 1;
  height: 100%;
}
.checkout-grid__left {
  padding: 5% 10%;
  border-right: 1px solid var(--light-gray);
  overflow-y: auto;
}
.checkout-grid__right {
  padding: 5% 10%;
  background: #fafafa;
  overflow-y: auto;
}

/* ---------- Sections ---------- */
.checkout-section {
  margin-bottom: 26px;
}
.checkout-section:last-child {
  margin-bottom: 0;
}
.checkout-section__title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 650;
  color: #111;
  line-height: 1.2;
  margin-bottom: 14px;
}

/* ---------- Form Fields (Shopify Style) ---------- */
.checkout-field {
  position: relative;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12px;
  transition: all 0.2s ease;
  cursor: text;
}
.checkout-field:focus-within {
  border-color: #1773e6;
  box-shadow: 0 0 0 1px rgba(23, 115, 230, 0.2);
}
.checkout-field__label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #6b6b6b;
  margin-bottom: 2px;
  line-height: 1;
  pointer-events: none;
}
.checkout-field__input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #111;
  padding: 0;
  outline: none;
  line-height: 1.2;
}
.checkout-field__input:disabled,
.checkout-field__input[readonly] {
  color: #555;
  cursor: default;
}
.checkout-field__input::placeholder {
  color: #bbb;
}

/* Custom Dropdown for Region */
.checkout-select {
  cursor: pointer;
}
.checkout-select.open {
  border-color: #1773e6;
  box-shadow: 0 0 0 1px rgba(23, 115, 230, 0.2);
}
.checkout-select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
  color: #111;
  line-height: 1.2;
}
.checkout-select__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}
.checkout-select__chevron {
  font-size: 10px;
  color: #6b6b6b;
  transition: transform 0.2s;
}
.checkout-select.open .checkout-select__chevron {
  transform: rotate(180deg);
}
.checkout-select__menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 240px;
  overflow-y: auto;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}
.checkout-select.open .checkout-select__menu {
  opacity: 1;
  visibility: visible;
}
.checkout-select__option {
  padding: 6px 12px;
  font-size: 14px;
  color: #111;
  cursor: pointer;
  transition: background 0.1s ease;
}
.checkout-select__option:hover {
  background: #f3f3f3;
}
.checkout-select__option.active {
  background: #1773e6;
  color: #fff;
}

/* ---------- Checkbox ---------- */
.checkout-checkbox {
  margin-top: -4px;
  margin-bottom: 24px;
}
.checkout-checkbox__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.checkout-checkbox__input {
  width: 16px;
  height: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #1773e6;
}

.checkout-field-row {
  display: flex;
  gap: 12px;
}
.checkout-field-row .checkout-field {
  flex: 1;
}

/* ---------- Shipping Methods ---------- */
.shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shipping-method {
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
}
.shipping-method:hover {
  border-color: var(--mid-gray);
}
.shipping-method.active {
  border-color: #3b82f6; /* Blue border for active shipping like Shopify */
  background: rgba(59, 130, 246, 0.03);
}
.shipping-method__radio {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.shipping-method__radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.shipping-method__radio-custom {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: 2px solid var(--mid-gray);
  border-radius: 50%;
  background: var(--white);
  transition: var(--transition-fast);
}
.shipping-method__radio input:checked ~ .shipping-method__radio-custom {
  border-color: #3b82f6;
}
.shipping-method__radio input:checked ~ .shipping-method__radio-custom::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
}
.shipping-method__info {
  flex: 1;
}
.shipping-method__name {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--charcoal);
}
.shipping-method__price {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ---------- Payment Method Card ---------- */
.payment-method {
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
}
.payment-method:hover {
  border-color: var(--mid-gray);
}
.payment-method.active {
  border-color: #7B008A;
  background: rgba(123, 0, 138, 0.025);
  box-shadow: 0 0 0 3px rgba(123, 0, 138, 0.07);
}

.payment-method__radio {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.payment-method__radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.payment-method__radio-custom {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: 2px solid var(--mid-gray);
  border-radius: 50%;
  background: var(--white);
  transition: var(--transition-fast);
}
.payment-method__radio input:checked ~ .payment-method__radio-custom {
  border-color: #7B008A;
}
.payment-method__radio input:checked ~ .payment-method__radio-custom::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7B008A;
}

.payment-method__info {
  flex: 1;
  min-width: 0;
}
.payment-method__name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-method__desc {
  font-size: 0.74rem;
  color: var(--dark-gray);
  margin-top: 2px;
}
.payment-method__badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: #7B008A;
  background: rgba(123, 0, 138, 0.08);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.payment-method__logo-text {
  flex-shrink: 0;
  color: #7B008A;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-heading);
}
.checkout-section__subtitle {
  font-size: 0.76rem;
  color: var(--dark-gray);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 4px;
}

/* ---------- Yape Details Box ---------- */
.yape-box {
  margin-top: 14px;
  border: 1.5px solid rgba(123, 0, 138, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  animation: yapeSlideDown 0.35s var(--ease) forwards;
}
@keyframes yapeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.yape-box__top {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: center;
}
.yape-box__qr-wrap {
  flex-shrink: 0;
  text-align: center;
}
.yape-box__qr {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
  background: var(--white);
}
.yape-box__qr-text {
  font-size: 0.66rem;
  color: var(--dark-gray);
  margin-top: 4px;
}

.yape-box__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yape-box__instructions-text {
  font-size: 0.8rem;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 8px;
}
.yape-box__number-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(123, 0, 138, 0.04);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.yape-box__number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #7B008A;
  letter-spacing: 1px;
}
.yape-box__copy-btn {
  font-size: 0.66rem;
  font-weight: 600;
  color: #7B008A;
  background: var(--white);
  border: 1px solid rgba(123, 0, 138, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.yape-box__copy-btn:hover {
  background: rgba(123, 0, 138, 0.05);
}
.yape-box__total-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 4px;
}
.yape-box__total {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
}

.yape-box__instructions {
  padding: 14px 20px;
  border-top: 1px solid rgba(123, 0, 138, 0.08);
  background: rgba(123, 0, 138, 0.02);
}
.yape-box__instructions ol {
  list-style: decimal;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.yape-box__instructions li {
  font-size: 0.74rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

.yape-box__voucher {
  padding: 14px 20px;
  border-top: 1px solid rgba(123, 0, 138, 0.08);
}
.yape-box__voucher-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.yape-box__voucher-area {
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.yape-box__voucher-area:hover {
  border-color: #7B008A;
  background: rgba(123, 0, 138, 0.015);
}
.yape-box__voucher-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.yape-box__voucher-text {
  font-size: 0.76rem;
  color: var(--dark-gray);
}
.yape-box__voucher-text strong {
  color: #7B008A;
}
.yape-box__voucher-preview {
  max-width: 180px;
  max-height: 110px;
  border-radius: var(--radius-sm);
  margin: 8px auto 0;
  display: none;
  object-fit: contain;
}
.yape-box__voucher-note {
  font-size: 0.66rem;
  color: var(--dark-gray);
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
}

/* ---------- Order Summary (Right Column) ---------- */
.checkout-summary__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mid-gray);
  max-height: 240px;
  overflow-y: auto;
}
.checkout-summary__item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.checkout-summary__item-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.checkout-summary__item-img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 1px solid var(--light-gray);
  object-fit: contain;
  background: var(--white);
  padding: 3px;
}
.checkout-summary__item-qty {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 19px;
  height: 19px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.checkout-summary__item-info {
  flex: 1;
  min-width: 0;
}
.checkout-summary__item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-summary__item-variant {
  font-size: 0.7rem;
  color: var(--dark-gray);
  margin-top: 1px;
}
.checkout-summary__item-price {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
  white-space: nowrap;
}

.checkout-discount {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mid-gray);
}
.checkout-discount__input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.86rem;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
}
.checkout-discount__input:disabled {
  background: var(--off-white);
  color: var(--dark-gray);
  cursor: not-allowed;
}
.checkout-discount__btn {
  padding: 10px 18px;
  background: var(--light-gray);
  color: var(--dark-gray);
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: not-allowed;
  transition: var(--transition-fast);
}

/* Totals */
.checkout-summary__totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-summary__row-label {
  font-size: 0.8rem;
  color: var(--dark-gray);
}
.checkout-summary__row-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}
.checkout-summary__row--shipping .checkout-summary__row-value {
  font-style: italic;
  color: var(--dark-gray);
}
.checkout-summary__row--total {
  padding-top: 16px;
  margin-top: 8px;
}
.checkout-summary__row--total .checkout-summary__row-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
}
.checkout-summary__total-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.checkout-summary__currency {
  font-size: 0.75rem;
  color: var(--dark-gray);
}
.checkout-summary__row--total .checkout-summary__row-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
}

/* ---------- Confirm Button ---------- */
.checkout-confirm-btn {
  width: 100%;
  padding: 14px 20px;
  background: #7B008A;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(123, 0, 138, 0.25);
  margin-top: 20px;
}
.checkout-confirm-btn:hover {
  background: #6a0076;
  box-shadow: 0 6px 20px rgba(123, 0, 138, 0.35);
  transform: translateY(-1px);
}
.checkout-confirm-btn:active {
  transform: translateY(0);
}

.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.68rem;
  color: var(--dark-gray);
}

/* ---------- Checkout Responsive ---------- */
@media (max-width: 768px) {
  .checkout-modal__container {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .checkout-modal__body {
    overflow-y: auto;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-grid__left {
    padding: 20px 16px;
    border-right: none;
    order: 2;
  }
  .checkout-grid__right {
    padding: 16px;
    order: 1;
    border-bottom: 1px solid var(--light-gray);
  }
  .checkout-summary__items {
    max-height: 140px;
  }
  .checkout-field-row {
    flex-direction: column;
    gap: 0;
  }
  .yape-box__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .yape-box__info {
    align-items: center;
  }
  .yape-box__number {
    justify-content: center;
  }
  .checkout-modal__header {
    padding: 14px 16px;
  }
}

/* ============================================================
   HEADER COMPACT FINAL Ã¢â‚¬â€ Overrides all old navbar sizing
   ============================================================ */

/* --- Core nav shell --- */
.navbar {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 2200;
  background: #fff;
  border-top: 2px solid #E63946;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* --- TOP ROW --- */
.navbar__top {
  height: var(--navbar-top-height);
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar__top-inner {
  max-width: 1280px !important;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.navbar__logo {
  display: flex;
  align-items: center;
}
.navbar__logo img {
  max-height: 32px !important;
  width: auto;
  object-fit: contain;
  margin-left: 0 !important;
  display: block;
}

/* --- Actions (icons) --- */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar__icon-link,
.navbar__cart-link {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.navbar__icon-link:hover,
.navbar__cart-link:hover {
  color: #E63946;
  background: rgba(230,57,70,0.07);
}
.navbar__icon-link svg,
.navbar__cart-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Cart badge Ã¢â‚¬â€ tight, positioned on icon */
.navbar__cart-link .cart-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #E63946;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  line-height: 1;
  pointer-events: none;
}

/* Account dropdown */
.navbar__account {
  position: relative;
}
.navbar__account-dropdown { display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 165px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  padding: 6px;
  z-index: 9999;
}
.navbar__account-dropdown.active { display: block !important; }
.navbar__account-dropdown__link {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 500;
  color: #222;
  transition: background 0.15s ease, color 0.15s ease;
}
.navbar__account-dropdown__link:hover {
  background: rgba(230,57,70,0.06);
  color: #E63946;
}
.navbar__account-dropdown__link--logout {
  color: #E63946;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
}

/* Mobile toggle */
.navbar__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 2px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.navbar__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* --- BOTTOM ROW --- */
.navbar__bottom {
  height: var(--navbar-bottom-height) !important;
  background: #fff;
  border-top: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: block !important;
}
.navbar__bottom-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Nav Links --- */
.navbar__links {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 44px !important;
  flex-direction: row !important;
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-item__link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
}
.nav-item__link::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #E63946;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav-item__link:hover { color: #E63946; }
.nav-item__link:hover::before { transform: scaleX(1); }

.nav-item__link::after {
  content: "\25be"; /* Ã¢â€“Â¾ */
  font-size: 10px;
  line-height: 1;
  opacity: 0.55;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.nav-item__link.no-arrow::after { display: none !important; }
.nav-item:hover .nav-item__link::after { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 180px;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 3000;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__link {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown__link:hover {
  background: rgba(230,57,70,0.06);
  color: #E63946;
}

/* --- Offsets: Hero, FilterBar, BrandSection, Modal --- */
.hero {
  padding-top: var(--navbar-total-height) !important;
}
.filter-bar {
  top: var(--navbar-total-height) !important;
}
.brand-section {
  scroll-margin-top: calc(var(--navbar-total-height) + 70px) !important;
}
.product-modal__close {
  top: calc(var(--navbar-total-height) + 18px) !important;
}
.about-section {
  scroll-margin-top: calc(var(--navbar-total-height) + 24px);
}

/* --- About Section --- */
.about-section {
  padding: 80px 0;
  background: #fff;
}
.about-section__wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-section__eyebrow {
  color: #E63946;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}
.about-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 22px;
  color: #111;
}
.about-section__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}
.about-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.about-card {
  padding: 24px;
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  transition: box-shadow 0.2s ease;
}
.about-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}
.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}
.about-card p,
.about-card li {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #444;
}
.about-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.about-card li strong { color: #111; }
.about-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E63946;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}
.about-card li {
  display: flex;
  align-items: baseline;
}
.about-card--full { grid-column: 1 / -1; }

/* --- Mobile responsive for compact header --- */
@media (max-width: 768px) {
  .navbar__mobile-toggle { display: flex !important; }
  .navbar__bottom { display: none !important; }

  .navbar__links {
    display: none !important;
    position: fixed;
    top: var(--navbar-top-height);
    left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    z-index: 2100;
    overflow-y: auto;
    padding: 32px 0;
    height: auto !important;
  }
  .navbar__links.active { display: flex !important; }

  .navbar__links .nav-item {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  .navbar__links .nav-item__link {
    font-size: 1.2rem;
    height: auto;
    padding: 0;
    color: #111;
  }
  .navbar__links .nav-item__link::before { display: none; }

  .navbar__links .nav-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 6px 0 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }
  .navbar__links .nav-dropdown__link {
    font-size: 0.92rem;
    color: #666;
    padding: 5px 14px;
    border-radius: 6px;
    text-align: center;
  }

  .navbar__mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .navbar__mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .navbar__mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .hero { padding: var(--navbar-top-height) 0 60px !important; min-height: auto !important; }
  .filter-bar { top: var(--navbar-top-height) !important; }

  .about-section__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGO HEADER SIZE FINAL
   ============================================================ */
.navbar__logo img {
  max-height: 54px !important;
  width: auto;
  object-fit: contain;
}

.navbar__top {
  min-height: 68px;
}

.navbar__top-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .navbar__logo img {
    max-height: 42px !important;
  }
  .navbar__top {
    min-height: 60px;
  }
  .navbar__top-inner {
    min-height: 60px;
  }
}

/* ============================================================
   QUIENES SOMOS VISUAL FINAL
   ============================================================ */
.about-section--visual {
  padding: 90px 0;
  background: #fff;
  scroll-margin-top: calc(var(--navbar-total-height, 96px) + 24px);
  overflow: hidden;
}

.about-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 42px 0 64px;
}

.about-image-card {
  position: relative;
  min-height: 120px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #461018 100%);
  box-shadow: 0 16px 45px rgba(0,0,0,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.18);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.about-image-card:hover img {
  transform: scale(1.06);
}

.about-image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.12));
}

.about-image-card__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  z-index: 2;
}

.about-image-card__content span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.about-image-card__content h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.about-image-card--fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(230,57,70,0.45), transparent 38%),
    linear-gradient(135deg, #111 0%, #7d111d 100%);
}

.about-purpose {
  min-height: 165px;
  padding: 34px 54px;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(230,57,70,0.92), rgba(17,17,17,0.95)),
    url("images/quienes/proposito-bg.jpg") center/cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 28px;
  box-shadow: 0 18px 55px rgba(230,57,70,0.18);
  margin-bottom: 48px;
  overflow: hidden;
}

.about-purpose h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.about-purpose p {
  max-width: 760px;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.about-purpose__visual {
  width: 150px;
  height: 150px;
  justify-self: end;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-purpose__visual img {
  max-width: 125px;
  max-height: 125px;
  object-fit: contain;
}

.about-purpose__visual--fallback::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
  display: block;
}

.about-story {
  max-width: 980px;
  margin: 0 auto 36px;
  text-align: center;
}

.about-story p {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.about-info-card {
  padding: 30px;
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.about-info-card h3 {
  font-size: 1.3rem;
  font-weight: 850;
  margin-bottom: 12px;
  color: #111;
}

.about-info-card p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #444;
}

.about-values {
  margin-bottom: 48px;
}

.about-values__header {
  text-align: center;
  margin-bottom: 34px;
}

.about-values__header span {
  color: #E63946;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.about-values__header h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-top: 6px;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.about-value-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 44px 18px 24px;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,57,70,0.28);
}

.about-value-card__icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #E63946;
  border: 5px solid #fff;
  box-shadow: 0 8px 24px rgba(230,57,70,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-value-card__icon::before {
  content: "★";
  color: #fff;
  font-size: 1.4rem;
}

.about-value-card__icon img {
  position: relative;
  z-index: 2;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.about-value-card__icon img + * {
  display: none;
}

.about-value-card h4 {
  font-size: 1.05rem;
  font-weight: 850;
  margin-bottom: 10px;
  color: #111;
}

.about-value-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #555;
}

.about-commitment {
  padding: 38px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(230,57,70,0.28), transparent 35%),
    linear-gradient(135deg, #111 0%, #1f1f1f 100%);
  color: #fff;
  text-align: center;
}

.about-commitment h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 14px;
}

.about-commitment p {
  max-width: 860px;
  margin: 0 auto 12px;
  color: rgba(255,255,255,0.84);
  line-height: 1.75;
}

.about-commitment .btn {
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .about-image-grid {
    grid-template-columns: 1fr;
  }
  .about-image-card,
  .about-image-card img {
    min-height: 120px;
  }
  .about-purpose {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 34px 26px;
  }
  .about-purpose__visual {
    justify-self: center;
  }
  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 42px;
  }
}

@media (max-width: 768px) {
  .about-section--visual {
    padding: 70px 0;
  }
  .about-info-grid {
    grid-template-columns: 1fr;
  }
  .about-values__grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }
  .about-purpose {
    border-radius: 20px;
  }
  .about-commitment {
    padding: 30px 22px;
  }
}

/* ============================================================
   CATALOG HIDING RULES
   ============================================================ */
body.catalog-active #quienes-somos,
body.catalog-pouches-active #quienes-somos,
body.catalog-perfumes-active #quienes-somos {
  display: none !important;
}

/* ============================================================
   PASSWORD TOGGLE VISIBILITY
   ============================================================ */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-container .auth-form__input {
  padding-right: 44px !important; /* Espacio para el ojito */
}
.toggle-password {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.toggle-password:hover {
  color: #E63946;
}
.toggle-password svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   DISTRIBUIDOR VIEW
   ============================================================ */
body.distribuidor-active #hero,
body.distribuidor-active #ofertas,
body.distribuidor-active #nuevos,
body.distribuidor-active #faq,
body.distribuidor-active .trust,
body.distribuidor-active .catalogo-form,
body.distribuidor-active #catalogoPerfumes,
body.distribuidor-active #catalogoPouches,
body.distribuidor-active #quienes-somos {
  display: none !important;
}

body.distribuidor-active #distribuidorView {
  display: block !important;
}

.distribuidor-view {
  padding: 60px 20px;
  background-color: var(--off-white);
  min-height: 80vh;
}
.distribuidor-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.distribuidor-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
}
.distribuidor-subtitle {
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.distribuidor-progress {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}
.distribuidor-progress-bar {
  height: 100%;
  background: var(--red);
  transition: width 0.4s ease;
}
.distribuidor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.full-width-grid {
  display: flex;
  flex-direction: column;
}
.full-width {
  grid-column: 1 / -1;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}
.req {
  color: var(--red);
}
.form-input, .form-select {
  padding: 12px 14px;
  border: 1px solid transparent;
  background: #f3f3f3;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus {
  border-color: var(--black);
  background: var(--white);
}
.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark-gray);
  cursor: pointer;
}
.form-check input {
  margin-top: 4px;
}
.distribuidor-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.distribuidor-actions.center {
  justify-content: center;
}
.distribuidor-actions.space-between {
  justify-content: space-between;
}
@media (max-width: 768px) {
  .distribuidor-grid {
    grid-template-columns: 1fr;
  }
  .distribuidor-card {
    padding: 24px 16px;
  }
  .distribuidor-title {
    font-size: 1.6rem;
  }
}
.form-error-msg {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-group.has-error .form-input,
.form-group.has-error .form-select {
  border-color: var(--red);
  background: #fffafa;
}
.form-group.has-error .form-error-msg {
  display: block;
}

/* ============ LEGAL FOOTER ============ */
.legal-footer {
  background: #f4efec;
  padding: 60px 0 30px;
  color: #333;
}

.legal-footer__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

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

.legal-footer__title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #111;
}

.legal-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-footer__col ul li {
  margin-bottom: 12px;
}

.legal-footer__link {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.legal-footer__link:hover {
  color: #e50914; /* Rojo de Auckland */
}

.legal-footer__book-col {
  text-align: center;
}

@media (min-width: 768px) {
  .legal-footer__book-col {
    text-align: left;
  }
}

.legal-footer__book {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.legal-footer__book:hover {
  color: #e50914;
}

@media (min-width: 768px) {
  .legal-footer__book {
    align-items: flex-start;
  }
}

.legal-footer__bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* ============ LEGAL VIEW SPA ============ */
.legal-view,
.quienes-view {
  display: none;
  padding-top: 120px;
  background: #fff;
  min-height: 80vh;
  padding-bottom: 60px;
}

body.legal-active #legalView {
  display: block;
}

body.quienes-active .quienes-view {
  display: block;
}

/* Ocultar secciones principales cuando la vista legal esta activa */
body.legal-active #hero,
body.legal-active #ofertas,
body.legal-active #nuevos,
body.legal-active #faq,
body.legal-active .trust,
body.legal-active .catalogo-form,
body.legal-active #catalogoPerfumes,
body.legal-active #catalogoPouches,
body.legal-active #distribuidorView,
body.legal-active #quienesSomosView {
  display: none !important;
}

/* Ocultar secciones principales cuando la vista quienes esta activa */
body.quienes-active #hero,
body.quienes-active #ofertas,
body.quienes-active #nuevos,
body.quienes-active #faq,
body.quienes-active .trust,
body.quienes-active .catalogo-form,
body.quienes-active #catalogoPerfumes,
body.quienes-active #catalogoPouches,
body.quienes-active #distribuidorView,
body.quienes-active #legalView {
  display: none !important;
}

.legal-view__hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.legal-view__hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #111;
}

.legal-back-btn {
  margin-top: 10px;
}

.legal-view__content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  color: #444;
}

.legal-view__content h2,
.legal-view__content h3 {
  color: #111;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.legal-view__content p {
  margin-bottom: 20px;
}

.legal-view__content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-view__content li {
  margin-bottom: 10px;
}

/* Formulario Reclamos */
.reclamo-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid #eee;
}

.reclamo-form .form-group {
  margin-bottom: 20px;
}

.reclamo-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.reclamo-form input,
.reclamo-form select,
.reclamo-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.reclamo-form textarea {
  resize: vertical;
}

.reclamo-form .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.reclamo-form .checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.reclamo-form .checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
}

/* ============ ACCOUNT MODAL ============ */
.account-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.account-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.account-modal__content {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.account-modal.active .account-modal__content {
  transform: translateY(0) scale(1);
}

.account-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--mid-gray);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.account-modal__close:hover {
  background: var(--light-gray);
  color: var(--charcoal);
}

.account-modal__close svg {
  width: 20px;
  height: 20px;
}

.account-modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.account-modal__text {
  font-size: 0.95rem;
  color: var(--dark-gray);
  margin-bottom: 12px;
  line-height: 1.5;
}

.account-modal__text strong {
  color: var(--charcoal);
  font-weight: 600;
}

.account-modal__btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 1rem;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-red);
}

.account-modal__btn:hover {
  background-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(230, 57, 70, 0.3);
}


/* ============ ACCOUNT HISTORY MODAL ============ */
.account-modal__content--history {
  max-width: 800px;
  width: 95%;
  text-align: left;
  padding: 24px;
}

.account-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 16px;
}

.account-modal__header .account-modal__title {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.account-modal__header .account-modal__close {
  position: static;
  margin-left: 16px;
}

.account-auth-view__desc {
  color: var(--dark-gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.account-history-view__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.account-history-table-container {
  overflow-x: auto;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
}

.account-history-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.account-history-table th,
.account-history-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
}

.account-history-table th {
  background-color: var(--off-white);
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

.account-history-table tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-status--pendiente {
  background-color: #fff3cd;
  color: #856404;
}

.badge-status--procesando {
  background-color: #cce5ff;
  color: #004085;
}

.badge-status--enviado {
  background-color: #d4edda;
  color: #155724;
}

.badge-status--entregado {
  background-color: #d1e7dd;
  color: #0f5132;
}

.badge-status--cancelado {
  background-color: #f8d7da;
  color: #721c24;
}

.order-items-list {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin: 0;
  padding-left: 16px;
}

.order-items-list li {
  margin-bottom: 4px;
}

/* Responsive Table (Cards for Mobile) */
@media (max-width: 768px) {
  .account-history-table-container {
    border: none;
    background: transparent;
  }
  
  .account-history-table thead {
    display: none;
  }
  
  .account-history-table, 
  .account-history-table tbody, 
  .account-history-table tr, 
  .account-history-table td {
    display: block;
    width: 100%;
  }
  
  .account-history-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 12px;
  }
  
  .account-history-table td {
    border: none;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--light-gray);
  }
  
  .account-history-table td:last-child {
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .account-history-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--charcoal);
    margin-right: 16px;
  }
  
  .account-history-table td[data-label="Productos"]::before {
    margin-bottom: 8px;
  }
}



.account-auth-view {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.account-auth-view .form-group {
  text-align: left;
}


/* ============ PASSWORD TOGGLE ============ */
.btn-toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--dark-gray);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.btn-toggle-password:hover {
  color: var(--black);
}
.btn-toggle-password svg {
  width: 20px;
  height: 20px;
}

/* ============ ORDER CARDS UI ============ */
.account-history-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.order-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.order-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}

.order-card__id {
  font-weight: 700;
  color: var(--black);
  font-size: 1.05rem;
}

.order-card__date {
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.order-card__body {
  padding: 5px 0;
}

.order-card__items {
  margin: 0;
  padding-left: 18px;
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.order-card__items li {
  margin-bottom: 4px;
}

.order-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
}

.order-card__total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
}

/* Rediseño de Badges (Píldoras) */
.badge-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  text-transform: capitalize;
}

.badge-status--pendiente {
  background-color: #fff3cd;
  color: #856404;
}

.badge-status--procesando {
  background-color: #cce5ff;
  color: #004085;
}

.badge-status--enviado {
  background-color: #d4edda;
  color: #155724;
}

.badge-status--entregado {
  background-color: #d4edda;
  color: #155724;
}

.badge-status--cancelado {
  background-color: #f8d7da;
  color: #721c24;
}

/* ====================================
   FOOTER 3-COLUMN GRID
   ==================================== */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__grid-col {
  display: flex;
  flex-direction: column;
}

/* Columna Izquierda */
.footer__grid-col--left {
  align-items: flex-start;
}
.footer__tagline {
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.7;
  margin: 12px 0 20px;
}
.footer__social-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 10px;
}

/* Columna Central */
.footer__grid-col--center {
  align-items: center;
}
.footer__col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
  margin-bottom: 12px;
  font-weight: 700;
}
.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.footer__nav-list li {
  margin-bottom: 10px;
}
.footer__nav-list li a {
  font-size: 0.88rem;
  opacity: 0.75;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.footer__nav-list li a:hover {
  opacity: 1;
}

/* Columna Derecha */
.footer__grid-col--right {
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.footer__libro-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: opacity 0.2s;
  font-size: 0.9rem;
  font-weight: 700;
}
.footer__libro-link:hover {
  opacity: 1;
  color: #fff;
}
.footer__copy-block {
  text-align: center;
  opacity: 0.45;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Responsive: 1 columna en móvil */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0 30px;
  }
  .footer__grid-col--left,
  .footer__grid-col--center,
  .footer__grid-col--right {
    align-items: center;
    text-align: center;
  }
  .footer__instagram {
    align-self: center;
  }
}

/* ====================================
   FOOTER - DISEÑO HORIZONTAL LIMPIO
   (reemplaza estilos anteriores del grid)
   ==================================== */

/* Fila superior: enlaces en fila horizontal centrada */
.footer__links-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 28px;
  padding: 40px 0 32px;
}
.footer__links-bar a {
  font-size: 0.82rem;
  color: inherit;
  opacity: 0.65;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.footer__links-bar a:hover {
  opacity: 1;
}

/* Línea divisoria sutil */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 20px;
}

/* Barra inferior: copyright izq · redes der */
.footer__bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 28px;
  gap: 16px;
}
.footer__bottom-bar .footer__copy {
  font-size: 0.8rem;
  opacity: 0.45;
  margin: 0;
}
.footer__social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__social-row .footer__social-label {
  font-size: 0.78rem;
  opacity: 0.5;
  white-space: nowrap;
}
.footer__social-icon {
  display: flex;
  align-items: center;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer__social-icon:hover {
  opacity: 1;
}

/* Advertencia nicotina (ajuste para nuevo layout) */
.footer .footer__warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer .footer__warning svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  margin-top: 2px;
}
.footer .footer__warning p {
  font-size: 0.75rem;
  opacity: 0.4;
  line-height: 1.5;
  margin: 0;
}

/* Responsive móvil */
@media (max-width: 640px) {
  .footer__links-bar {
    gap: 10px 18px;
    padding: 28px 0 22px;
  }
  .footer__bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
}

/* ====================================
   FOOTER ESTILO VAPE STATION - AUCKLAND
   ==================================== */

/* ① CABECERA: logo+lema izq | instagram der */
.footer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 32px;
  gap: 24px;
}
.footer__header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__header-tagline {
  font-size: 0.82rem;
  opacity: 0.6;
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
}
.footer__header-right {
  flex-shrink: 0;
}

/* ② DIVISOR */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

/* ③ 4 COLUMNAS */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 44px 0 40px;
}
.footer__col-heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin: 0 0 18px;
  color: inherit;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li a {
  font-size: 0.85rem;
  opacity: 0.65;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer__col ul li a:hover { opacity: 1; }

/* Libro de Reclamaciones (col 3) */
.footer__libro {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 0.2s, color 0.2s;
}
.footer__libro:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.footer__libro svg { flex-shrink: 0; opacity: 0.8; }

/* Iconos sociales (col 4) */
.footer__social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.footer__soc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__soc-icon:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ④ BARRA DE CIERRE */
.footer .footer__warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 0;
}
.footer .footer__warning svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  margin-top: 2px;
}
.footer .footer__warning p {
  font-size: 0.75rem;
  opacity: 0.45;
  line-height: 1.5;
  margin: 0;
}
.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.4;
  padding: 14px 0 28px;
  margin: 0;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .footer__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 0 24px;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 32px 0 28px;
  }
}
@media (max-width: 480px) {
  .footer__cols {
    grid-template-columns: 1fr;
  }
  .footer__header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Ocultar widget Ayuda */
.chatbot-wrapper { display: none !important; }

/* ====================================
   CAMPO NÚMERO DE OPERACIÓN YAPE
   ==================================== */
.yape-op-field {
  margin: 16px 0 12px;
  padding: 16px;
  background: rgba(123, 0, 138, 0.06);
  border: 1.5px solid rgba(123, 0, 138, 0.2);
  border-radius: 10px;
}
.yape-op-field__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a005a;
  margin-bottom: 8px;
}
.yape-op-field__input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(123, 0, 138, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: #fff;
  color: #1a1a1a;
}
.yape-op-field__input:focus {
  border-color: #7B008A;
  box-shadow: 0 0 0 3px rgba(123, 0, 138, 0.1);
}
.yape-op-field__hint {
  font-size: 0.75rem;
  color: #888;
  margin: 6px 0 0;
  line-height: 1.4;
}

/* ====================================
   CHECKOUT COMPACTO - SIN SCROLL (100%)
   ==================================== */

/* Columnas: menos padding vertical */
.checkout-grid__left,
.checkout-grid__right {
  padding: 2.5% 6% !important;
  overflow-y: auto;
}

/* Secciones: menos separación */
.checkout-section {
  margin-bottom: 14px !important;
}

/* Títulos de sección más pequeños */
.checkout-section__title {
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

/* Campos: más bajos */
.checkout-field {
  height: 46px !important;
  margin-bottom: 8px !important;
  border-radius: 8px !important;
}

/* Fila de campos: menos gap */
.checkout-field-row {
  gap: 8px !important;
}

/* Checkbox guardar info */
.checkout-save-info {
  margin: 6px 0 !important;
}

/* Métodos de envío: compactos */
.shipping-methods {
  gap: 6px !important;
}
.shipping-method {
  padding: 8px 12px !important;
}

/* Método de pago: compacto */
.payment-method {
  padding: 8px 12px !important;
  margin-bottom: 0 !important;
}

/* Caja Yape: más compacta */
.yape-box {
  margin-top: 8px !important;
}
.yape-box__top {
  padding: 10px 14px !important;
  gap: 12px !important;
}
.yape-box__qr {
  width: 80px !important;
  height: 80px !important;
}
.yape-box__instructions-text {
  font-size: 0.74rem !important;
  margin-bottom: 4px !important;
}
.yape-box__number-box {
  padding: 5px 10px !important;
  margin-bottom: 4px !important;
}
.yape-box__number {
  font-size: 1rem !important;
}
.yape-box__total {
  font-size: 1.1rem !important;
}
.yape-box__total-label {
  margin-top: 2px !important;
}
.yape-box__instructions {
  padding: 8px 14px !important;
}
.yape-box__instructions ol {
  gap: 3px !important;
}
.yape-box__instructions li {
  font-size: 0.7rem !important;
}

/* Campo número operación Yape compacto */
.yape-op-field {
  margin: 8px 0 6px !important;
  padding: 10px 12px !important;
}
.yape-op-field__input {
  padding: 7px 10px !important;
  font-size: 0.9rem !important;
}
.yape-op-field__hint {
  margin: 4px 0 0 !important;
  font-size: 0.68rem !important;
}

/* Botón confirmar */
.checkout-confirm-btn {
  margin-top: 10px !important;
  padding: 12px !important;
}

/* Header del modal */
.checkout-modal__header {
  padding: 10px 24px !important;
}

/* ====================================
   CHECKOUT ULTRA COMPACTO - 100% ZOOM
   ==================================== */

/* Ocultar campo País/Región (siempre es Perú, no aporta) */
.checkout-field:has(#ckPais) {
  display: none !important;
}

/* Header más pequeño */
.checkout-modal__header {
  padding: 8px 20px !important;
  min-height: unset !important;
}
.checkout-modal__header h2 {
  font-size: 0.95rem !important;
}

/* Columnas: padding mínimo */
.checkout-grid__left,
.checkout-grid__right {
  padding: 14px 28px !important;
}

/* Secciones: sin espacio extra */
.checkout-section {
  margin-bottom: 10px !important;
}
.checkout-section__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 7px !important;
}
.checkout-section__subtitle {
  display: none !important;
}

/* Campos: muy delgados */
.checkout-field {
  height: 38px !important;
  margin-bottom: 6px !important;
  border-radius: 6px !important;
  padding: 0 10px !important;
}
.checkout-field__label {
  font-size: 9px !important;
  margin-bottom: 1px !important;
}
.checkout-field__input {
  font-size: 12px !important;
}
.checkout-field-row {
  gap: 6px !important;
  margin-bottom: 0 !important;
}

/* Guardar info: compacto */
.checkout-save-info,
label[for="ckSaveInfo"],
.checkout-section:has([id='ckSaveInfo']) {
  margin: 4px 0 !important;
  font-size: 11px !important;
}

/* Envío: más compacto */
.shipping-methods {
  gap: 5px !important;
}
.shipping-method {
  padding: 7px 10px !important;
  border-radius: 6px !important;
}
.shipping-method__name,
.shipping-method__price {
  font-size: 0.78rem !important;
}

/* Pago card: compacto */
.payment-method {
  padding: 7px 10px !important;
  border-radius: 6px !important;
}
.payment-method__name {
  font-size: 0.82rem !important;
}
.payment-method__desc {
  font-size: 0.68rem !important;
  margin-top: 0 !important;
}

/* Yape box: ultra compacto */
.yape-box {
  margin-top: 6px !important;
  border-radius: 6px !important;
}
.yape-box__top {
  padding: 8px 12px !important;
  gap: 10px !important;
  align-items: center !important;
}
.yape-box__qr {
  width: 64px !important;
  height: 64px !important;
}
.yape-box__instructions-text {
  font-size: 0.7rem !important;
  line-height: 1.3 !important;
  margin-bottom: 3px !important;
}
.yape-box__number-box {
  padding: 4px 8px !important;
  margin-bottom: 3px !important;
  gap: 8px !important;
}
.yape-box__number {
  font-size: 0.88rem !important;
  letter-spacing: 0.5px !important;
}
.yape-box__copy-btn {
  font-size: 0.6rem !important;
  padding: 3px 7px !important;
}
.yape-box__total-label {
  font-size: 0.68rem !important;
  margin-top: 1px !important;
}
.yape-box__total {
  font-size: 1rem !important;
}
.yape-box__instructions {
  padding: 6px 12px !important;
}
.yape-box__instructions ol {
  gap: 1px !important;
  padding-left: 14px !important;
}
.yape-box__instructions li {
  font-size: 0.65rem !important;
  line-height: 1.4 !important;
}

/* Campo número operación: ultra compacto */
.yape-op-field {
  margin: 5px 0 5px !important;
  padding: 7px 10px !important;
  border-radius: 6px !important;
}
.yape-op-field__label {
  font-size: 0.72rem !important;
  margin-bottom: 5px !important;
}
.yape-op-field__input {
  padding: 5px 8px !important;
  font-size: 0.85rem !important;
  border-radius: 5px !important;
}
.yape-op-field__hint {
  font-size: 0.62rem !important;
  margin: 3px 0 0 !important;
}

/* Botón confirmar */
.checkout-confirm-btn {
  margin-top: 8px !important;
  padding: 10px 16px !important;
  font-size: 0.88rem !important;
  border-radius: 6px !important;
}

/* Columna derecha: resumen de orden */
.checkout-summary__items {
  gap: 8px !important;
}
.checkout-summary__item {
  padding: 8px 0 !important;
}

/* QR mas grande */
.yape-box__qr {
  width: 95px !important;
  height: 95px !important;
}

/* QR mas grande */
.yape-box__qr {
  width: 130px !important;
  height: 130px !important;
}

/* Scroll suave con mouse en columna izquierda */
.checkout-grid__left {
  overflow-y: scroll !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0,0,0,0.15) transparent !important;
}
.checkout-grid__left::-webkit-scrollbar {
  width: 4px !important;
}
.checkout-grid__left::-webkit-scrollbar-track {
  background: transparent !important;
}
.checkout-grid__left::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15) !important;
  border-radius: 4px !important;
}

/* QR a 180px */
.yape-box__qr {
  width: 180px !important;
  height: 180px !important;
}

/* Forzar barra de scroll visible y más gruesa */
.checkout-grid__left {
  overflow-y: scroll !important;
}
.checkout-grid__left::-webkit-scrollbar {
  width: 10px !important; /* Más ancha para que se note */
  display: block !important;
}
.checkout-grid__left::-webkit-scrollbar-track {
  background: #f1f1f1 !important; 
  border-left: 1px solid #ddd !important;
}
.checkout-grid__left::-webkit-scrollbar-thumb {
  background: #c1c1c1 !important; 
  border-radius: 5px !important;
}
.checkout-grid__left::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important; 
}

/* Asegurar que el modal no se expanda al infinito, forzando el scroll interno */
@media (min-width: 769px) {
  .checkout-modal__body {
    min-height: 0 !important;
  }

  .checkout-grid {
    min-height: 0 !important;
    max-height: 100% !important;
  }

  .checkout-grid__left, 
  .checkout-grid__right {
    min-height: 0 !important;
    max-height: 100% !important;
    height: 100% !important;
  }

  /* El problema real era CSS Grid. La fila de la grilla debe estar limitada para que el scroll funcione */
  .checkout-grid {
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .checkout-grid__left {
    overflow-y: auto !important;
  }

  /* CORRECCIÓN FINAL: La etiqueta <form> estaba rompiendo la cadena de altura */
  .checkout-modal__body form {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    min-height: 0 !important;
    height: 100% !important;
  }
}

/* ====================================
   FOOTER LIGHT THEME OVERRIDE
   ==================================== */
.footer {
  background: var(--off-white) !important;
  color: var(--charcoal) !important;
}
.footer__logo-img {
  filter: none !important;
  mix-blend-mode: multiply !important;
}
.footer__header-tagline,
.footer__soc-icon,
.footer__col-heading,
.footer__col ul li a,
.footer__libro,
.footer .footer__warning p,
.footer__copy {
  color: var(--charcoal) !important;
  opacity: 0.8 !important;
}
.footer__divider {
  border-top-color: rgba(0,0,0,0.08) !important;
}
.footer__soc-icon:hover,
.footer__libro:hover,
.footer__col ul li a:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
  background: transparent !important;
}
.footer__soc-icon {
  border-color: rgba(0,0,0,0.15) !important;
}
.footer__libro svg {
  stroke: var(--charcoal);
}






.navbar__mobile-toggle.active .icon-menu { display: none !important; }
.navbar__mobile-toggle.active .icon-close { display: block !important; }
.navbar__mobile-toggle { color: var(--charcoal); }

/* Mobile menu lives outside navbar__bottom so it's never hidden by parent display:none */
.navbar__links--mobile {
  display: none;
  position: fixed;
  top: var(--navbar-top-height, 54px);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 2100;
  overflow-y: auto;
  padding: 32px 0;
}
.navbar__links--mobile.active {
  display: flex;
}
.navbar__links--mobile .nav-item {
  height: auto;
  flex-direction: column;
  align-items: center;
}
.navbar__links--mobile .nav-item__link {
  font-size: 1.2rem;
  height: auto;
  padding: 0;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}
.navbar__links--mobile .nav-item__link::before { display: none; }
.navbar__links--mobile .nav-item__link::after { display: none; }

/* On desktop, hide the mobile-only menu */
@media (min-width: 769px) {
  .navbar__links--mobile { display: none !important; }
}
@media (max-width: 768px) {
  .navbar__links--mobile { top: 60px; }
}
