/* =====================================================
   SOONFLOWERS – Main Stylesheet
   Paleta: Rosa pastel + Amarillo manteca / crema
   ===================================================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --pink-50:  #fff0f6;
  --pink-100: #fce4ef;
  --pink-200: #fbc9dc;
  --pink-300: #f9a8c9;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;

  --yellow-50:  #fffbeb;
  --yellow-100: #fef3c7;
  --yellow-200: #fde68a;
  --yellow-300: #fcd34d;
  --yellow-400: #fbbf24;

  --cream-50:  #fdfaf5;
  --cream-100: #faf5eb;
  --cream-200: #f5ead7;

  --neutral-50:  #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-400: #a3a3a3;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;

  --white: #ffffff;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --whatsapp: #25D366;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --shadow-pink: 0 8px 24px rgba(236,72,153,.20);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 200ms;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--pink-500);
  color: var(--white);
  border-color: var(--pink-500);
}
.btn--primary:hover { background: var(--pink-600); border-color: var(--pink-600); transform: translateY(-1px); box-shadow: var(--shadow-pink); }
.btn--outline {
  background: transparent;
  color: var(--pink-600);
  border-color: var(--pink-400);
}
.btn--outline:hover { background: var(--pink-50); transform: translateY(-1px); }
.btn--white {
  background: var(--white);
  color: var(--pink-600);
  border-color: var(--white);
}
.btn--white:hover { background: var(--pink-50); }
.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn--whatsapp:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--lg { padding: .95rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: .45rem 1rem; font-size: .8rem; }

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--pink-50);
  border-bottom: 1px solid var(--pink-100);
  padding: .45rem 0;
  font-size: .78rem;
  color: var(--neutral-700);
  position: relative;
  z-index: 200;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.topbar__location { position: relative; }
.topbar__location-btn {
  display: flex; align-items: center; gap: .35rem;
  background: var(--white);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-full);
  padding: .35rem .9rem;
  color: var(--neutral-700);
  font-size: .78rem;
  font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.topbar__location-btn:hover { border-color: var(--pink-400); color: var(--pink-600); }

.location-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  z-index: 500;
}
.location-dropdown.open { display: block; }
.location-dropdown__label { font-size: .8rem; color: var(--neutral-600); margin-bottom: .6rem; font-weight: 500; }
.location-dropdown__search { display: flex; gap: .5rem; margin-bottom: .8rem; }
.location-dropdown__search input {
  flex: 1; border: 1px solid var(--pink-200); border-radius: var(--radius-full);
  padding: .4rem .8rem; font-size: .82rem; outline: none;
}
.location-dropdown__search input:focus { border-color: var(--pink-400); }
.location-dropdown__list li {
  padding: .45rem .6rem; border-radius: var(--radius-sm); cursor: pointer;
  font-size: .82rem; transition: background var(--dur) var(--ease);
}
.location-dropdown__list li:hover { background: var(--pink-50); color: var(--pink-600); }

.topbar__promo {
  flex: 1; text-align: center;
  color: var(--pink-600); font-weight: 500;
}
.topbar__phone {
  display: flex; align-items: center; gap: .35rem;
  font-weight: 600; color: var(--neutral-700);
  transition: color var(--dur) var(--ease);
}
.topbar__phone:hover { color: var(--pink-600); }

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--pink-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: .6rem; padding-bottom: .6rem;
}
.header__logo {
  display: flex; align-items: center; gap: .65rem;
  flex-shrink: 0;
}
.logo-mark { display: flex; }
.logo-img {
  width: 48px; height: 48px; object-fit: cover;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 2px 10px rgba(236,72,153,.18);
  transition: transform .3s var(--ease);
}
.header__logo:hover .logo-img { transform: rotate(-8deg) scale(1.05); }
.logo-img--footer { width: 64px; height: 64px; }
.logo-text__main {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pink-600);
  line-height: 1.1;
}
.logo-text__sub {
  display: block; font-size: .68rem; color: var(--neutral-400); font-weight: 400;
}
.header__search { flex: 1; max-width: 560px; }
.search-bar {
  display: flex; align-items: center;
  background: var(--neutral-50);
  border: 1.5px solid var(--pink-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search-bar:focus-within {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(236,72,153,.1);
}
.search-bar__icon { margin-left: 1rem; color: var(--neutral-400); flex-shrink: 0; }
.search-bar__input {
  flex: 1; border: none; background: transparent;
  padding: .6rem .8rem; font-size: .9rem;
  outline: none; color: var(--neutral-800);
}
.search-bar__input::placeholder { color: var(--neutral-400); }
.search-bar__btn {
  background: var(--pink-500); color: var(--white);
  border: none; padding: .65rem 1.3rem;
  font-size: .85rem; font-weight: 600;
  transition: background var(--dur) var(--ease);
}
.search-bar__btn:hover { background: var(--pink-600); }

.header__actions { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.header__action-btn {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .5rem .7rem;
  border-radius: var(--radius-md);
  color: var(--neutral-700);
  font-size: .68rem; font-weight: 500;
  transition: all var(--dur) var(--ease);
  position: relative;
}
.header__action-btn:hover { background: var(--pink-50); color: var(--pink-600); }
.cart-badge {
  position: absolute; top: .2rem; right: .2rem;
  background: var(--pink-500); color: var(--white);
  font-size: .6rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.header__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .4rem;
  margin-left: auto;
}
.header__hamburger span {
  width: 24px; height: 2px;
  background: var(--neutral-700); border-radius: 2px;
  transition: all var(--dur) var(--ease);
  display: block;
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--pink-100);
  position: sticky; top: 68px; z-index: 90;
}
.nav__inner { overflow: visible; }
.nav__list {
  display: flex; align-items: stretch;
  justify-content: space-between; /* el menú ocupa todo el ancho */
  gap: 0; white-space: nowrap;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .35rem;
  padding: .95rem 1.1rem;
  font-size: .92rem; font-weight: 500;
  color: var(--neutral-700);
  transition: all var(--dur) var(--ease);
  border-bottom: 2px solid transparent;
}
.nav__link:hover, .nav__link.active {
  color: var(--pink-600);
  border-bottom-color: var(--pink-500);
}
.nav__link--express {
  color: var(--pink-600); font-weight: 700;
  background: var(--pink-50);
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent !important;
  margin: .4rem .3rem;
  padding: .45rem .8rem;
}
.nav__link--express:hover { background: var(--pink-100); }

.nav__dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--pink-100);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: .5rem 0; z-index: 400;
}
.nav__item:hover .nav__dropdown { display: block; }
.nav__dropdown li a {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 1.2rem;
  font-size: .87rem; color: var(--neutral-700);
  transition: all var(--dur) var(--ease);
}
.nav__dropdown li a:hover { background: var(--pink-50); color: var(--pink-600); }
.nav__dropdown li a span { font-size: 1.1rem; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 580px;
  background: linear-gradient(135deg, var(--pink-100) 0%, var(--cream-200) 40%, var(--yellow-100) 100%);
  display: flex; align-items: center;
}
.hero__slider { width: 100%; }
.hero__slide { position: relative; padding: 5rem 0; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(252,201,220,.35) 0%, rgba(253,230,138,.2) 100%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 700px; }
.hero__eyebrow {
  font-size: .88rem; font-weight: 600; color: var(--pink-600);
  margin-bottom: .9rem; letter-spacing: .05em;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--neutral-800);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero__title em { color: var(--pink-500); font-style: normal; }
.hero__subtitle {
  font-size: 1.05rem; color: var(--neutral-600);
  max-width: 540px; margin-bottom: 2rem; line-height: 1.7;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__badges { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hero__badge {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--neutral-700); font-weight: 500;
  background: rgba(255,255,255,.7);
  padding: .4rem .9rem; border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* Decorative emojis */
.hero__deco {
  position: absolute; opacity: .15; font-size: 6rem;
  animation: float 6s ease-in-out infinite; user-select: none;
  pointer-events: none;
}
.hero__deco--1 { top: 5%; right: 5%; animation-delay: 0s; }
.hero__deco--2 { top: 50%; right: 15%; font-size: 4rem; animation-delay: 2s; }
.hero__deco--3 { bottom: 5%; right: 8%; font-size: 5rem; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

/* =====================================================
   SERVICES STRIP
   ===================================================== */
.services-strip {
  background: var(--white);
  border-bottom: 1px solid var(--pink-100);
  padding: 1.2rem 0;
}
.services-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: background var(--dur) var(--ease);
}
.service-card:hover { background: var(--pink-50); }
.service-card__icon { font-size: 1.8rem; flex-shrink: 0; }
.service-card h3 { font-size: .88rem; font-weight: 600; margin-bottom: .1rem; }
.service-card p { font-size: .78rem; color: var(--neutral-600); line-height: 1.4; }

/* =====================================================
   SECTION HEADER (reusable)
   ===================================================== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  font-size: .85rem; font-weight: 600; color: var(--pink-500);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; color: var(--neutral-800);
  margin-bottom: .6rem;
}
.section-desc { font-size: .95rem; color: var(--neutral-600); max-width: 500px; margin: 0 auto; }

/* =====================================================
   OCCASIONS
   ===================================================== */
.occasions { background: var(--cream-50); }
.occasions__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.occasion-card {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: .88rem; font-weight: 600; color: var(--neutral-700);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.occasion-card:hover {
  border-color: var(--pink-400);
  background: var(--pink-50);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--pink-600);
}
.occasion-card__emoji { font-size: 2.4rem; }

/* =====================================================
   CATALOG
   ===================================================== */
.catalog { background: var(--white); }
.catalog__filters {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2rem; justify-content: center;
}
.filter-btn {
  padding: .5rem 1.2rem;
  border: 1.5px solid var(--pink-200);
  border-radius: var(--radius-full);
  background: transparent;
  font-size: .85rem; font-weight: 500;
  color: var(--neutral-600);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--pink-500);
  border-color: var(--pink-500);
  color: var(--white);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__img-wrap {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--yellow-100));
  aspect-ratio: 1;
}
.product-card__img-wrap .product-emoji {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 5rem;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-emoji { transform: scale(1.12) rotate(5deg); }
.product-card__badge {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--pink-500); color: var(--white);
  font-size: .68rem; font-weight: 700; padding: .2rem .6rem;
  border-radius: var(--radius-full);
}
.product-card__badge--yellow { background: var(--yellow-400); color: var(--neutral-800); }
.product-card__wish {
  position: absolute; top: .7rem; right: .7rem;
  background: var(--white); width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: none; font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}
.product-card__wish:hover { background: var(--pink-100); transform: scale(1.1); }
.product-card__body {
  padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column;
}
.product-card__name {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: var(--neutral-800); margin-bottom: .25rem;
}
.product-card__occasion {
  font-size: .74rem; color: var(--neutral-400); margin-bottom: .6rem;
}
.product-card__price {
  font-size: 1.15rem; font-weight: 700; color: var(--pink-600);
  margin-bottom: .2rem;
}
.product-card__price-old {
  font-size: .8rem; color: var(--neutral-400);
  text-decoration: line-through; margin-left: .4rem;
}
.product-card__delivery {
  font-size: .75rem; color: var(--green-500);
  display: flex; align-items: center; gap: .3rem;
  margin-bottom: .9rem;
}
.product-card__actions {
  display: flex; gap: .5rem; margin-top: auto;
}
.product-card__actions .btn { flex: 1; justify-content: center; font-size: .82rem; padding: .55rem .8rem; }

.catalog__cta { text-align: center; }

/* =====================================================
   PROMO BANNER
   ===================================================== */
.promo-banner {
  background: linear-gradient(135deg, var(--pink-500) 0%, var(--pink-400) 60%, var(--yellow-400) 100%);
  padding: 4.5rem 0; overflow: hidden; position: relative;
}
.promo-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; z-index: 2;
}
.promo-banner__text { color: var(--white); }
.promo-banner__eyebrow { font-size: .85rem; font-weight: 600; opacity: .85; margin-bottom: .5rem; letter-spacing: .1em; text-transform: uppercase; }
.promo-banner__text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: .8rem; line-height: 1.2; }
.promo-banner__text p { font-size: .95rem; opacity: .9; margin-bottom: 1.5rem; max-width: 420px; }

.promo-banner__flowers { position: relative; width: 200px; flex-shrink: 0; }
.flower-circle {
  width: 100px; height: 100px;
  background: rgba(255,255,255,.2);
  border-radius: 50%; position: absolute;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  animation: float 5s ease-in-out infinite;
}
.flower-circle { top: -60px; left: 0; }
.flower-circle--2 { top: -20px; left: 80px; font-size: 2.4rem; width: 80px; height: 80px; animation-delay: 1.5s; }
.flower-circle--3 { top: 30px; left: 20px; font-size: 2rem; width: 70px; height: 70px; animation-delay: 3s; }

/* =====================================================
   FLORES – Colección de fotos
   ===================================================== */
.flores {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, var(--pink-100) 0, transparent 40%),
    radial-gradient(circle at 90% 90%, var(--yellow-100) 0, transparent 40%),
    var(--pink-50);
}
.flores__petal {
  position: absolute; font-size: 7rem; opacity: .12; pointer-events: none;
  animation: floresFloat 9s ease-in-out infinite;
}
.flores__petal--1 { top: 2rem; left: -1.5rem; }
.flores__petal--2 { bottom: 2rem; right: -1rem; animation-delay: 3s; }
@keyframes floresFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-18px) rotate(8deg); }
}

.flores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-bottom: 2.5rem; /* espacio para el escalonado */
}
/* Efecto escalonado tipo "masonry" en columnas pares */
.flores__grid .flor-card:nth-child(4n+2),
.flores__grid .flor-card:nth-child(4n+4) { transform: translateY(2.5rem); }

.flor-card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 3 / 4.2;
  padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--yellow-100));
  box-shadow: 0 10px 30px rgba(236,72,153,.15);
  outline: 6px solid rgba(255,255,255,.7); outline-offset: -6px;
  opacity: 0; translate: 0 30px;
  transition: opacity .7s var(--ease) var(--delay), translate .7s var(--ease) var(--delay),
              box-shadow .35s var(--ease);
}
.flor-card.is-visible { opacity: 1; translate: 0 0; }
.flor-card:hover, .flor-card:focus-visible {
  box-shadow: 0 20px 45px rgba(236,72,153,.30);
}
.flor-card:focus-visible { outline-color: var(--pink-400); }

.flor-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.flor-card img.is-loaded { opacity: 1; transform: scale(1); }
.flor-card:hover img { transform: scale(1.08); }

.flor-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .25rem;
  padding: 1.25rem; text-align: left; color: var(--white);
  background: linear-gradient(to top, rgba(157,23,77,.65) 0%, rgba(157,23,77,0) 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.flor-card:hover .flor-card__overlay,
.flor-card:focus-visible .flor-card__overlay { opacity: 1; }
.flor-card__title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.flor-card__cta {
  font-size: .8rem; font-weight: 500; opacity: .9;
  translate: 0 8px; transition: translate .35s var(--ease);
}
.flor-card:hover .flor-card__cta { translate: 0 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem;
  background: rgba(40, 10, 25, .88); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox__figure {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem;
  max-height: 100%;
}
.lightbox__figure img {
  max-height: calc(100vh - 9rem); max-width: min(90vw, 700px);
  border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.5);
  opacity: 0; transform: scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.lightbox__figure img.is-loaded { opacity: 1; transform: scale(1); }
.lightbox__caption {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  color: var(--white); font-family: var(--font-serif); font-size: 1.1rem;
}
.lightbox__close, .lightbox__nav {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-full);
  cursor: pointer; transition: background var(--dur) var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--pink-500); }
.lightbox__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px; font-size: 1.1rem;
}
.lightbox__nav { width: 52px; height: 52px; font-size: 2rem; line-height: 1; flex-shrink: 0; }

@media (max-width: 1024px) {
  .flores__grid { grid-template-columns: repeat(3, 1fr); }
  .flores__grid .flor-card:nth-child(n) { transform: none; }
  .flores__grid .flor-card:nth-child(3n+2) { transform: translateY(2rem); }
}
@media (max-width: 640px) {
  .flores__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .flores__grid .flor-card:nth-child(n) { transform: none; }
  .flores__grid .flor-card:nth-child(2n) { transform: translateY(1.5rem); }
  .flor-card { border-radius: var(--radius-lg); }
  .flor-card__overlay { opacity: 1; padding: .9rem; }
  .flor-card__title { font-size: .95rem; }
  .flor-card__cta { display: none; }
  .lightbox { padding: 1rem; }
  .lightbox__nav { position: absolute; bottom: 1.25rem; width: 46px; height: 46px; }
  .lightbox__nav--prev { left: 1.25rem; }
  .lightbox__nav--next { right: 1.25rem; }
  .lightbox__figure img { max-height: calc(100vh - 12rem); }
}
@media (prefers-reduced-motion: reduce) {
  .flor-card, .flor-card img, .flores__petal { transition: none; animation: none; opacity: 1; translate: 0 0; }
}

   CONTACT / MAP
   ===================================================== */
.contact { background: var(--cream-50); }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
}
.contact__detail {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start;
}
.contact__detail-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: .15rem; }
.contact__detail strong { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.contact__detail p { font-size: .88rem; color: var(--neutral-600); line-height: 1.6; }
.contact__detail a { color: var(--pink-600); }
.badge-open {
  display: inline-block; font-size: .82rem; font-weight: 600;
  color: var(--green-500); margin-top: .2rem;
}
.contact__services {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem;
}
.contact__service-badge {
  background: var(--pink-50); color: var(--pink-700, #be185d);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-full);
  padding: .4rem .9rem; font-size: .8rem; font-weight: 500;
}
.contact__map { position: relative; }
.map-fallback {
  display: none;
  background: linear-gradient(135deg, var(--pink-100), var(--yellow-100));
  border-radius: var(--radius-lg);
  height: 400px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: .7rem; text-align: center;
  padding: 2rem;
}
/* Show fallback if iframe fails (can be toggled via JS) */

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding: 4rem 0 3rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__brand-name { font-family: var(--font-serif); font-size: 1.4rem; color: var(--white); }
.footer__brand p { font-size: .85rem; line-height: 1.6; }
.footer__social { display: flex; gap: .6rem; }
.footer__social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--neutral-400);
  transition: all var(--dur) var(--ease);
}
.footer__social-link:hover { background: var(--pink-500); color: var(--white); }

.footer__links h4 {
  font-size: .88rem; font-weight: 700; color: var(--white);
  margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .06em;
}
.footer__links ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__links a {
  font-size: .85rem; color: var(--neutral-400);
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--pink-300); }

.footer__middle {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
}
.footer__payments {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem;
}
.payment-icon {
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: .35rem .8rem;
  font-size: .8rem;
  white-space: nowrap;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 0;
}
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: .8rem;
}
.footer__bottom-links { display: flex; gap: 1.2rem; }
.footer__bottom-links a:hover { color: var(--pink-300); }

/* =====================================================
   CART SIDEBAR
   ===================================================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300; opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: -420px; bottom: 0;
  width: 100%; max-width: 400px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 350;
  display: flex; flex-direction: column;
  transition: right .3s var(--ease);
}
.cart-sidebar.open { right: 0; }

.cart-sidebar__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--pink-100);
}
.cart-sidebar__header h3 { font-family: var(--font-serif); font-size: 1.15rem; }
.cart-sidebar__close {
  background: none; border: none; font-size: 1.3rem; color: var(--neutral-600);
  padding: .3rem; border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.cart-sidebar__close:hover { background: var(--pink-50); color: var(--pink-600); }

.cart-sidebar__items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-empty { text-align: center; padding: 2.5rem 1rem; color: var(--neutral-500); }
.cart-empty p { margin: .8rem 0 1.2rem; font-size: .95rem; }

.cart-item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding-bottom: 1.2rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--pink-100);
}
.cart-item__emoji {
  width: 60px; height: 60px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink-100), var(--yellow-100));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; font-size: .88rem; margin-bottom: .15rem; }
.cart-item__price { color: var(--pink-600); font-weight: 700; font-size: .92rem; }
.cart-item__qty { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.cart-item__qty button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--pink-200);
  background: var(--white); font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.cart-item__qty button:hover { background: var(--pink-500); color: var(--white); border-color: var(--pink-500); }
.cart-item__qty span { font-weight: 600; font-size: .9rem; }
.cart-item__remove { background: none; border: none; color: var(--neutral-400); font-size: 1rem; padding: .2rem; }
.cart-item__remove:hover { color: var(--pink-600); }

.cart-sidebar__footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--pink-100);
  display: flex; flex-direction: column; gap: .8rem;
}
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; }
.cart-total strong { font-size: 1.3rem; color: var(--pink-600); }
.cart-delivery { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; color: var(--neutral-700); font-weight: 500; }
.cart-delivery input, .cart-delivery select {
  border: 1px solid var(--pink-200); border-radius: var(--radius-sm);
  padding: .45rem .75rem; font-size: .83rem; outline: none;
}
.cart-delivery input:focus, .cart-delivery select:focus { border-color: var(--pink-400); }

/* =====================================================
   FLOATING WHATSAPP
   ===================================================== */
.fab-whatsapp {
  position: fixed; bottom: 1.8rem; right: 1.8rem;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1.3rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 250;
  font-weight: 600; font-size: .88rem;
  transition: all var(--dur) var(--ease);
}
.fab-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.5); }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed; bottom: 5rem; right: 1.8rem;
  background: var(--neutral-800); color: var(--white);
  padding: .85rem 1.3rem;
  border-radius: var(--radius-md);
  font-size: .88rem; font-weight: 500;
  z-index: 400;
  opacity: 0; transform: translateY(10px);
  transition: all .3s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }


/* =====================================================
   RESPONSIVE – Ajustes globales
   ===================================================== */
.nav__item:focus-within .nav__dropdown { display: block; } /* dropdowns accesibles por teclado / toque */
.contact__map iframe { display: block; width: 100%; }
.contact__info, .contact__map { min-width: 0; }

/* =====================================================
   RESPONSIVE – Laptop pequeña (≤ 1200px)
   ===================================================== */
@media (max-width: 1200px) {
  .nav__link { padding: .9rem .75rem; font-size: .88rem; }
  .occasions__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__inner { gap: 2.5rem; }
}

/* =====================================================
   RESPONSIVE – Tablet (≤ 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  .section { padding: 4rem 0; }
  .topbar__promo { display: none; }

  /* Header: aparece el menú hamburguesa */
  .header__hamburger { display: flex; margin-left: .25rem; }
  .header__inner { gap: 1rem; }

  /* Menú móvil (panel debajo del encabezado) */
  .nav {
    display: none; position: fixed;
    top: var(--nav-top, 70px); left: 0; right: 0; bottom: 0;
    z-index: 200; overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--pink-100);
    box-shadow: var(--shadow-lg);
    animation: navSlide .25s var(--ease);
  }
  .nav.mobile-open { display: block; }
  .nav__inner { padding: .5rem 0 2rem; }
  .nav__list { flex-direction: column; gap: 0; white-space: normal; }
  .nav__link { padding: 1rem 1.5rem; border-bottom: 1px solid var(--pink-50); font-size: 1rem; }
  .nav__link:hover, .nav__link.active { border-bottom-color: var(--pink-50); background: var(--pink-50); }
  .nav__dropdown {
    display: grid; grid-template-columns: repeat(2, 1fr);
    position: static; box-shadow: none; border: none; border-radius: 0;
    padding: 0 1rem .5rem 1.5rem; min-width: 0;
  }
  .nav__item--dropdown > .nav__link { border-bottom-color: transparent; font-weight: 700; }
  .nav__item--dropdown > .nav__link svg:last-child { display: none; }
  .nav__link--express { margin: 1rem 1.5rem 0; justify-content: center; padding: .85rem; }

  .services-strip__grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__deco { opacity: .1; }
}
@keyframes navSlide { from { transform: translateY(-8px); } to { transform: none; } }

/* =====================================================
   RESPONSIVE – Móvil (≤ 768px)
   ===================================================== */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Topbar */
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; }
  .location-dropdown { left: 50%; transform: translateX(-50%); min-width: 0; width: min(320px, calc(100vw - 2rem)); }

  /* Header: buscador pasa a una segunda fila a lo ancho */
  .header__inner { flex-wrap: wrap; row-gap: .6rem; }
  .header__search { order: 3; flex: 1 0 100%; max-width: none; }
  .header__actions { margin-left: auto; gap: 0; }
  .header__action-btn span:not(.cart-badge) { display: none; }
  .header__action-btn { padding: .5rem; }
  .search-bar__input { font-size: 16px; } /* evita zoom automático en iOS */

  /* Hero */
  .hero { min-height: unset; }
  .hero__slide { padding: 3rem 0; }
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__subtitle { margin-left: auto; margin-right: auto; font-size: .98rem; }
  .hero__ctas, .hero__badges { justify-content: center; }
  .hero__badges { gap: .5rem; }
  .hero__badge { font-size: .75rem; }
  .hero__deco { display: none; }

  /* Ocasiones: carrusel horizontal deslizable */
  .occasions__grid {
    display: flex; overflow-x: auto; gap: .75rem;
    scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; padding-bottom: .5rem;
    margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem;
    scrollbar-width: none;
  }
  .occasions__grid::-webkit-scrollbar { display: none; }
  .occasion-card { flex: 0 0 120px; scroll-snap-align: start; }

  /* Catálogo: filtros deslizables */
  .catalog__filters {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    margin: 0 -1.25rem 1.5rem; padding: 0 1.25rem .25rem;
    scrollbar-width: none;
  }
  .catalog__filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card__img-wrap .product-emoji { font-size: 4rem; }

  .promo-banner__flowers { display: none; }

  /* Galería */

  /* Contacto */
  .contact__map iframe { height: 300px; }
  .contact__detail-icon { font-size: 1.5rem; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer__bottom-links { flex-wrap: wrap; justify-content: center; }
  .footer__payments { justify-content: center; text-align: center; }

  .cart-sidebar { max-width: 100%; right: -100%; }
  .cart-sidebar.open { right: 0; }

  .toast { left: 1rem; right: 1rem; bottom: 5.5rem; text-align: center; }
  .fab-whatsapp { bottom: 1.2rem; right: 1.2rem; }
}

/* =====================================================
   RESPONSIVE – Móvil pequeño (≤ 480px)
   ===================================================== */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }

  .logo-img { width: 40px; height: 40px; }
  .logo-text__main { font-size: 1.15rem; }
  .logo-text__sub { display: none; }
  .header__action-btn[aria-label="Lista de deseos"] { display: none; }
  .search-bar__btn { padding: .65rem 1rem; }

  .hero__slide { padding: 2.5rem 0; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__badge:nth-child(3) { display: none; }

  .services-strip__grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .service-card { flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: .75rem .5rem; }
  .service-card__icon { font-size: 1.5rem; }

  .occasions__grid { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; scroll-padding-inline: 1rem; }
  .occasion-card { flex-basis: 105px; padding: 1rem .6rem; }
  .occasion-card__emoji { font-size: 1.8rem; }
  .catalog__filters { margin: 0 -1rem 1.25rem; padding: 0 1rem .25rem; }

  /* Catálogo: 2 columnas compactas */
  .catalog__grid { gap: .75rem; }
  .product-card__body { padding: .8rem; }
  .product-card__name { font-size: .9rem; }
  .product-card__occasion, .product-card__delivery { font-size: .7rem; }
  .product-card__actions { flex-direction: column; }
  .product-card__img-wrap .product-emoji { font-size: 3.2rem; }


  .contact__map iframe { height: 260px; }

  .footer__top { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { align-items: center; }
  .footer__links ul { align-items: center; }

  .fab-whatsapp span { display: none; }
  .fab-whatsapp { padding: 1rem; border-radius: 50%; }


}

/* Pantallas muy angostas (≤ 360px) */
@media (max-width: 360px) {
  .flores__grid { gap: .6rem; }
  .catalog__grid { grid-template-columns: 1fr; }
  .product-card__actions { flex-direction: row; }
}

/* Ocultar botón flotante de WhatsApp mientras el menú móvil está abierto */
.nav.mobile-open ~ .fab-whatsapp, .nav.mobile-open ~ .cookie-banner { display: none !important; }

/* Corrección: el botón verde de WhatsApp en contacto debe tener texto blanco */
.contact__detail a.btn--whatsapp { color: var(--white); }

/* =====================================================
   CUENTA – Modal de inicio de sesión y perfil
   ===================================================== */
.header__action-btn.is-logged { color: var(--pink-600); }
.header__action-btn.is-logged span:not(.cart-badge) { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cart-user {
  font-size: .8rem; color: var(--neutral-600);
  background: var(--pink-50); border-radius: var(--radius-sm);
  padding: .55rem .75rem; line-height: 1.4;
}
.cart-user strong { color: var(--pink-600); }

.account-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; transition: opacity .2s var(--ease);
}
.account-modal[hidden] { display: none; }
.account-modal.open { opacity: 1; }
.account-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(40, 10, 25, .55); backdrop-filter: blur(4px);
}
.account-modal__dialog {
  position: relative; width: 100%; max-width: 440px;
  max-height: calc(100vh - 2rem); overflow-y: auto;
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(157,23,77,.25);
  padding: 2rem 1.75rem 1.75rem;
  transform: translateY(16px) scale(.98); transition: transform .25s var(--ease);
}
.account-modal.open .account-modal__dialog { transform: none; }
.account-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--pink-50); color: var(--neutral-600);
  font-size: 1rem; transition: all var(--dur) var(--ease);
}
.account-modal__close:hover { background: var(--pink-500); color: var(--white); }

.account-modal__head { text-align: center; margin-bottom: 1.5rem; }
.account-modal__head h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--neutral-800); margin: .6rem 0 .3rem; }
.account-modal__head p { font-size: .88rem; color: var(--neutral-600); }
.account-modal__logo {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  box-shadow: 0 4px 14px rgba(236,72,153,.2);
}
.account-avatar {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pink-400), var(--yellow-300));
  color: var(--white); font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 6px 18px rgba(236,72,153,.3);
}

.account-form { display: flex; flex-direction: column; gap: .9rem; }
.account-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.account-form label {
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .82rem; font-weight: 600; color: var(--neutral-700);
}
.account-form input {
  width: 100%; border: 1.5px solid var(--pink-200); border-radius: var(--radius-md);
  padding: .75rem .9rem; font-size: 16px; color: var(--neutral-800); outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.account-form input:focus { border-color: var(--pink-400); box-shadow: 0 0 0 3px rgba(236,72,153,.12); }
.account-form .btn { justify-content: center; padding: .85rem; font-size: .95rem; }
.account-form__error { color: #dc2626; font-size: .82rem; min-height: 1em; margin: -.3rem 0 0; }
.account-form__error:empty { display: none; }
.account-form__note { font-size: .75rem; color: var(--neutral-400); text-align: center; }

.account-orders__title {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--pink-500); margin-bottom: .75rem;
}
.account-orders { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.account-orders__empty {
  text-align: center; padding: 1.5rem 1rem;
  background: var(--pink-50); border-radius: var(--radius-lg);
  color: var(--neutral-600); font-size: .9rem;
}
.account-orders__empty div { font-size: 2.2rem; }
.account-orders__empty p { margin: .3rem 0 .9rem; }

.order-card {
  border: 1px solid var(--pink-100); border-radius: var(--radius-lg);
  padding: .9rem 1rem; background: var(--cream-50);
}
.order-card__head, .order-card__foot {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--neutral-600);
}
.order-card__head strong { color: var(--neutral-800); font-size: .88rem; }
.order-card__items { margin: .55rem 0; font-size: .85rem; color: var(--neutral-700); display: flex; flex-direction: column; gap: .15rem; }
.order-card__foot strong { color: var(--pink-600); font-size: 1rem; }
.order-card__foot span { text-transform: capitalize; }
.order-card__repeat {
  margin-top: .7rem; width: 100%;
  background: var(--white); border: 1.5px solid var(--pink-200); border-radius: var(--radius-full);
  padding: .45rem; font-size: .8rem; font-weight: 600; color: var(--pink-600);
  transition: all var(--dur) var(--ease);
}
.order-card__repeat:hover { background: var(--pink-500); border-color: var(--pink-500); color: var(--white); }

.account-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.account-actions__logout { background: transparent; color: var(--neutral-600); border-color: var(--neutral-200); }
.account-actions__logout:hover { background: var(--neutral-100); }

@media (max-width: 480px) {
  .account-modal { align-items: flex-end; padding: 0; }
  .account-modal__dialog {
    max-width: none; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh; padding: 1.75rem 1.25rem 1.5rem;
    transform: translateY(100%);
  }
  .account-form__row { grid-template-columns: 1fr; }
}

/* =====================================================
   PÁGINA LEGAL & POLÍTICAS (legal.html)
   ===================================================== */
.topbar__back-link {
  color: var(--pink-600); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  transition: opacity var(--dur) var(--ease);
}
.topbar__back-link:hover { opacity: .75; }

.legal-main {
  background: var(--cream-50);
  padding: 3rem 0 5rem;
  min-height: calc(100vh - 250px);
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.legal-nav {
  position: sticky; top: 90px;
}
.legal-nav__card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.legal-nav__card h4 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--pink-500); margin-bottom: 1rem;
}
.legal-nav__card ul {
  display: flex; flex-direction: column; gap: .4rem;
}
.legal-nav__card a {
  display: block; padding: .55rem .8rem;
  font-size: .88rem; font-weight: 500; color: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.legal-nav__card a:hover,
.legal-nav__card a.active {
  background: var(--pink-50);
  color: var(--pink-600);
  font-weight: 600;
}
.legal-nav__contact {
  margin-top: 1.5rem; padding-top: 1.2rem;
  border-top: 1px solid var(--pink-100);
  text-align: center;
}
.legal-nav__contact p {
  font-size: .8rem; color: var(--neutral-600); margin-bottom: .6rem;
}

.legal-content {
  display: flex; flex-direction: column; gap: 2rem;
}
.legal-section {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}
.legal-badge {
  display: inline-block;
  background: var(--pink-50); color: var(--pink-600);
  border: 1px solid var(--pink-200);
  padding: .25rem .75rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .8rem;
}
.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem; color: var(--neutral-900);
  margin-bottom: 1.2rem; line-height: 1.25;
}
.legal-section h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem; color: var(--neutral-800);
  margin: 1.5rem 0 .6rem;
}
.legal-section p {
  font-size: .94rem; color: var(--neutral-700);
  line-height: 1.7; margin-bottom: 1rem;
}
.legal-section ul {
  list-style: disc; padding-left: 1.5rem; margin-bottom: 1.2rem;
}
.legal-section li {
  font-size: .92rem; color: var(--neutral-700);
  line-height: 1.65; margin-bottom: .45rem;
}

.legal-box {
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem; margin: 1.25rem 0;
}
.legal-box h4 {
  font-size: .95rem; font-weight: 700; color: var(--pink-600);
  margin-bottom: .5rem;
}
.legal-box ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.legal-box li { margin-bottom: .4rem; font-size: .9rem; }

.legal-highlight {
  background: linear-gradient(135deg, #fff0f6 0%, #fffbeb 100%);
  border-left: 4px solid var(--pink-500);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: .92rem; color: var(--neutral-800); line-height: 1.6;
  margin: 1.2rem 0;
}
.legal-highlight code,
.legal-table code {
  background: rgba(236,72,153,.1); color: var(--pink-600);
  padding: .15rem .4rem; border-radius: 4px; font-size: .85em;
  font-family: monospace;
}

.legal-table {
  width: 100%; border-collapse: collapse; margin: 1.2rem 0;
  font-size: .88rem; text-align: left;
}
.legal-table th, .legal-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--pink-100);
}
.legal-table th {
  background: var(--pink-50); color: var(--neutral-800);
  font-weight: 600; font-size: .82rem; text-transform: uppercase;
}
.legal-table tr:hover td { background: var(--cream-50); }

/* =====================================================
   BANNER DE COOKIES / ALMACENAMIENTO (index.html)
   ===================================================== */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 150;
  max-width: 440px; width: calc(100vw - 3rem);
  background: var(--white);
  border: 1.5px solid var(--pink-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 40px rgba(0,0,0,.14);
  padding: 1.1rem 1.3rem;
  animation: cookieSlideUp .35s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  display: flex; align-items: center; gap: 1rem;
}
.cookie-banner__icon {
  font-size: 2rem; flex-shrink: 0; line-height: 1;
}
.cookie-banner__text {
  flex: 1; font-size: .82rem; color: var(--neutral-700);
  line-height: 1.45; margin: 0;
}
.cookie-banner__text a {
  color: var(--pink-600); font-weight: 600; text-decoration: underline;
}
.cookie-banner__actions {
  flex-shrink: 0;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav__card ul { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .legal-section { padding: 1.75rem 1.25rem; }
  .legal-table { display: block; overflow-x: auto; }
  .cookie-banner {
    bottom: 1rem; left: 1rem; right: 1rem; width: auto;
    max-width: none; border-radius: var(--radius-lg);
  }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions button { width: 100%; justify-content: center; }
}
/* Acceso a cuenta dentro del menú móvil */
.nav__mobile-account { display: none; }
@media (max-width: 1024px) {
  .nav__mobile-account {
    display: block;
    padding: 0 1.25rem 1rem;
    border-bottom: 1px solid var(--pink-100);
    margin-bottom: .75rem;
  }
  .nav__mobile-account-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .85rem;
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--yellow-50) 100%);
    border: 1.5px solid var(--pink-200);
    border-radius: var(--radius-lg);
    padding: .85rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
  }
  .nav__mobile-account-btn:hover {
    border-color: var(--pink-400);
    box-shadow: var(--shadow-sm);
  }
  .nav__mobile-account-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--pink-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700;
    box-shadow: 0 2px 8px rgba(236,72,153,.15);
    flex-shrink: 0;
  }
  .nav__mobile-account-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
  }
  .nav__mobile-account-info strong {
    font-size: .95rem; color: var(--neutral-800); font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .nav__mobile-account-info small {
    font-size: .78rem; color: var(--neutral-500); margin-top: .1rem;
  }
  .nav__mobile-account-arrow {
    font-size: 1.3rem; color: var(--pink-500); font-weight: 300;
  }
}
/* Mejoras en tarjetas de producto (Fotos reales y descripciones) */
.product-card__photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card__photo {
  transform: scale(1.08);
}
.product-card__desc {
  font-size: .8rem;
  color: var(--neutral-600);
  line-height: 1.45;
  margin-bottom: .6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item__thumb {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: var(--radius-sm);
}
