/* =============================================
   LQNG — Lo Que Nos Gusta
   Design: warm artisanal boutique
   ============================================= */

/* === ROOT VARIABLES === */
:root {
  /* ── Pink Frosting from colorpalette.jpg ── */
  --cream:        #FFF6EC;   /* soft cream       → main bg, soft panels   */
  --warm-white:   #FFFFFF;   /* white            → cards, raised surfaces */
  --coral:        #FFCCCB;   /* soft coral       → footer, accent strips  */
  --rose:         #FFB6C1;   /* light pink       → hero bg, borders       */
  --rose-dark:    #8F5A65;   /* steady rose      → active accents         */
  --gold:         #7E505A;   /* steady mauve     → labels, underlines     */
  --gold-light:   #FFCCCB;   /* soft coral       → hover fills            */
  --blush:        #FFD1DC;   /* very pale pink   → mid-tone fills         */
  --blush-light:  #FFE4E1;   /* misty rose       → section alternates     */
  --dark:         #7E505A;   /* steady mauve     → headings, nav          */
  --mid:          #8A5862;   /* soft readable rose → body text, captions  */

  --font-logo:    'Parisienne', cursive;
  --font-script:  'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --max-w:        1160px;
  --sp-lg:        clamp(64px, 8vw, 100px);
  --sp-md:        clamp(40px, 5vw, 60px);
  --sp-sm:        24px;
  --radius:       14px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:   0.4s var(--ease);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(155deg, var(--cream) 0%, var(--blush-light) 48%, var(--coral) 100%);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* === UTILITY === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-sm);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 40px;
}


/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 40px;
  transition: background var(--transition), padding var(--transition),
              box-shadow var(--transition);
}

.navbar.scrolled {
  /* Solid white bg → a backdrop-filter blur here was invisible but still
     re-blurred every scroll frame. Removed for smoother scrolling. */
  background: #FFFFFF;
  box-shadow: 0 1px 32px rgba(126, 80, 90, 0.08);
  padding: 14px 40px;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--dark);
  transition: color var(--transition);
  line-height: 1;
}
.nav-logo:hover { color: var(--rose-dark); }

/* ── Cart + account wrapper ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* ── Cart icon ── */
.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition);
  flex-shrink: 0;
}
.nav-cart-btn:hover { color: var(--rose-dark); }

.nav-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--rose-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav-cart-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Account widget ── */
.nav-account {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-login-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: 7px 16px;
  border: 1.5px solid var(--rose-dark);
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-login-btn:hover { background: var(--rose-dark); color: #fff; }

/* Auth state — toggled via .lqng-authed on <html>, set before first paint */
#navCartBtn  { display: none; }
#navUser     { display: none; }
.lqng-authed #navCartBtn  { display: flex; }
.lqng-authed #navUser     { display: block; }
.lqng-authed #navLoginBtn { display: none; }

.nav-user { position: relative; }

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 7px 0;
  white-space: nowrap;
}
.nav-user-btn svg { flex-shrink: 0; }
.nav-user-btn svg:last-of-type { transition: transform 0.2s; }
.nav-user-btn[aria-expanded="true"] svg:last-of-type { transform: rotate(180deg); }

/* Admin-only dropdown link — hidden by default, revealed via html.lqng-admin */
.nav-admin-link { display: none !important; }
html.lqng-admin .nav-admin-link { display: block !important; }

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 28px rgba(126, 80, 90, 0.13);
  min-width: 160px;
  padding: 6px;
  display: none;
  z-index: 999;
}
.nav-user-dropdown.open { display: block; }

.nav-logout-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--dark);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-logout-btn:hover { background: var(--cream); }

.nav-dropdown-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--dark);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-link:hover { background: var(--cream); }

.nav-dropdown-divider {
  height: 1px;
  background: var(--blush);
  margin: 4px 8px;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover               { color: var(--rose-dark); }
.nav-links a:hover::after        { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.navbar.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar.menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--sp-sm) 80px;
  background: linear-gradient(155deg, var(--cream) 0%, var(--blush-light) 48%, var(--coral) 100%);
  position: relative;
  overflow: clip; /* clip without creating a scroll container — keeps orbs contained */
  /* Once scrolled past, stop rendering the hero so its looping animations
     (orbs, glow, CTA shimmer) don't keep repainting in the background. */
  content-visibility: auto;
  contain-intrinsic-size: auto 100svh;
}

/* Soft white bloom behind the hero text — lifts the logo + tagline off the
   pink gradient for contrast, while feathering to fully transparent so it
   reads as a glow, not a panel. Sits above the gradient/orbs, below the text. */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: min(1960px, 188vw);
  height: min(920px, 108vh);
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.25) 55%,
    rgba(255, 255, 255, 0)    75%);
  z-index: 0;
  pointer-events: none;
  /* Fade + grow in together with the hero text's pull-up (same timing). */
  animation: hero-glow-in 1.3s var(--ease) both;
}
@keyframes hero-glow-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes nav-glow-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Decorative soft orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-1 {
  top: -15%;
  right: -12%;
  width: min(580px, 55vw);
  height: min(580px, 55vw);
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  animation: orb-float 12s ease-in-out infinite;
}
.orb-2 {
  bottom: -20%;
  left: -10%;
  width: min(460px, 45vw);
  height: min(460px, 45vw);
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  animation: orb-float 16s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -20px) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: hero-in 1.3s var(--ease) both;
  /* Must be full-width so the logo h1 (block element) can be as wide as
     the viewport — without this the flex-shrink algo boxes it to the
     narrowest sibling (tagline / button) and clips the script flourishes */
  width: 100%;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 6.5vw, 6rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0em;
  line-height: 1.15;
  padding: 0.08em 0;
  color: var(--dark);
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
  user-select: none;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126,80,90,0.36), transparent);
  margin: 12px auto 24px;
  animation: hero-in 1.3s var(--ease) 0.15s both;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.7;
  animation: hero-in 1.3s var(--ease) 0.25s both;
}

.hero-cta {
  display: inline-block;
  padding: 17px 44px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid rgba(126, 80, 90, 0.38);
  position: relative;
  overflow: hidden;
  transition: color var(--transition);
  background: linear-gradient(125deg, #FFF6EC, #FFD6C4, #FFCCCB, #FFE4E1, #FFF0E8, #FFD6C4, #FFCCCB, #FFE4E1, #FFF6EC);
  background-size: 600% 600%;
  animation: hero-in 1.3s var(--ease) 0.4s both,
             hero-cta-gradient 16s ease-in-out infinite 1.7s;
}
@keyframes hero-cta-gradient {
  0%   { background-position: 18% 72%; }
  11%  { background-position: 83% 14%; }
  24%  { background-position: 41% 91%; }
  37%  { background-position: 96% 38%; }
  49%  { background-position: 22% 55%; }
  62%  { background-position: 70% 88%; }
  74%  { background-position: 9%  27%; }
  87%  { background-position: 58% 6%;  }
  100% { background-position: 18% 72%; }
}
.hero-cta span { position: relative; z-index: 1; }
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.hero-cta:hover { color: var(--rose-dark); }
.hero-cta:hover::before { transform: translateY(0); }
.hero-cta:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  width: max-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: hero-in 1.6s var(--ease) 0.9s both;
}
.scroll-indicator span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(126, 80, 90, 0.75);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(126,80,90,0.42), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}


/* =============================================
   NOSOTROS
   ============================================= */
.nosotros {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--warm-white);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.nosotros-text p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 22px;
}
.nosotros-text p:last-child { margin-bottom: 0; }

.nosotros-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 22px;
  background: #FFF6EC;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-item:hover {
  transform: translateX(6px);
  box-shadow: 4px 12px 36px rgba(184, 128, 152, 0.07);
}

.value-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.value-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.value-text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.value-text span {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.5;
}


/* =============================================
   PRODUCTOS
   ============================================= */
.productos {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--warm-white);
}

.category-block {
  margin-bottom: 72px;
}
.category-block:last-child { margin-bottom: 0; }

.category-header {
  margin-bottom: 28px;
}
.category-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}
.category-header h3 a {
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}
.category-header h3 a:hover,
.category-header h3 a:focus-visible {
  color: var(--rose-dark);
  transform: translateX(4px);
}
.category-header h3 a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.category-header p {
  font-size: 1rem;
  color: var(--mid);
  font-style: italic;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  display: block;
  position: relative; /* containing block for .promo-img-banner so overflow clips it per-card */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: 0 2px 18px rgba(184, 128, 152, 0.09);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  outline-offset: 4px;
}
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 24px 64px rgba(184, 128, 152, 0.13);
  }
}
.product-card:focus-visible {
  outline: 2px solid var(--gold);
}

/* Image area — aspect-ratio portrait */
.promo-img-banner {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  width: 100%;
  background: linear-gradient(125deg, #ffffff, #FFE4E1, #FFD1DC, #fff0f3, #FFE4E1, #FFD1DC, #ffffff, #FFE4E1, #ffffff);
  background-size: 600% 600%;
  animation: promo-banner-gradient 10s ease-in-out infinite;
  color: #9e4f5f;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 8px;
  border-bottom: 1.5px solid #f0d0d8;
  pointer-events: auto;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes promo-banner-gradient {
  0%   { background-position: 18% 72%; }
  11%  { background-position: 83% 14%; }
  24%  { background-position: 41% 91%; }
  37%  { background-position: 96% 38%; }
  49%  { background-position: 22% 55%; }
  62%  { background-position: 70% 88%; }
  74%  { background-position:  9% 27%; }
  87%  { background-position: 58%  6%; }
  100% { background-position: 18% 72%; }
}

.product-promo-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff6ec;
  border: 1.5px solid #f5c9a0;
  border-left: 4px solid var(--rose-dark);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.6;
  box-shadow: 0 2px 12px rgba(143, 90, 101, 0.08);
}
.ppc-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.ppc-title {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--rose-dark);
}
.ppc-reward { font-weight: 700; color: var(--rose-dark); }

.cart-promo-notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff6ec;
  border: 1.5px solid #f5c9a0;
  border-left: 4px solid var(--rose-dark);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.55;
  box-shadow: 0 2px 10px rgba(143, 90, 101, 0.07);
}

.product-image-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--blush-light) 0%, var(--blush) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 25%, rgba(255,240,245,.26) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 75%, rgba(250,235,215,.24) 0%, transparent 55%);
  pointer-events: none;
}
/* Real product image — fills the placeholder */
.product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* When a real image is active, hide the "Imagen próximamente" text */
.product-image-placeholder.has-image .placeholder-inner {
  display: none;
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}
.product-card:hover .placeholder-inner {
  transform: scale(1.08);
}

.placeholder-icon {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.45;
}
.placeholder-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: 0.55;
}

.product-info {
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}
.product-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 4px;
}
.product-cta-text {
  display: none;
}


/* =============================================
   PROCESO
   ============================================= */
.proceso-section {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--blush-light);
}

.proceso-content {
  text-align: center;
  margin-bottom: 56px;
}
.proceso-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
  margin: 14px 0 22px;
}
.proceso-content p {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(184, 128, 152, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(184, 128, 152, 0.08);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 14px;
  line-height: 1;
}
.step-text { display: flex; flex-direction: column; gap: 7px; }
.step-text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.step-text span {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.5;
}


/* =============================================
   ENVÍOS
   ============================================= */
.envios-section {
  padding: clamp(56px, 7vw, 90px) var(--sp-sm);
  background: #fff;
}

.envios-politica-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 56px;
  align-items: start;
}

.envios-politica-divider {
  width: 1px;
  background: rgba(176, 120, 140, 0.25);
  align-self: stretch;
  min-height: 80px;
}

.envios-col {}

.politica-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 400;
  color: var(--dark);
  margin: 10px 0 16px;
}

.politica-text {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.envios-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.envios-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  color: var(--dark);
}
.envios-icon svg {
  width: 100%;
  height: 100%;
}

.envios-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}
.envios-text p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
}
.envios-text strong {
  color: var(--dark);
  font-weight: 700;
}
.envios-sub {
  margin-bottom: 22px;
  max-width: 46ch;
}
.envios-tarifas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.tarifa-zona {
  flex: 1 1 240px;
  background: #fff;
  border: 1px solid var(--blush);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 14px rgba(143, 90, 101, 0.06);
}
.tarifa-zona-nombre {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blush-light);
}
.tarifa-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tarifa-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.96rem;
  color: var(--mid);
}
.tarifa-list li + li {
  border-top: 1px dashed var(--blush-light);
}
.tarifa-precio {
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.tarifa-gratis {
  font-weight: 700;
  color: #5a8a5a;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}


/* =============================================
   CUIDADOS
   ============================================= */
.cuidados-section {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--cream);
}

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

.cuidado-card {
  padding: 30px 22px;
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(184, 128, 152, 0.04);
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.cuidado-card:hover {
  border-bottom-color: var(--rose);
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(184, 128, 152, 0.09);
}

.cuidado-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  color: var(--rose);
}
.cuidado-icon svg { width: 100%; height: 100%; }

.cuidado-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.cuidado-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}


/* =============================================
   DEVOLUCIONES
   ============================================= */
.devolucion-section {
  padding: clamp(56px, 7vw, 90px) var(--sp-sm);
  background: var(--blush-light);
}

.devolucion-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.devolucion-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin: 14px 0 18px;
}
.devolucion-inner > p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.devolucion-alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: #ffe4e1;
  border-radius: var(--radius);
  border-left: 3px solid var(--mid);
  text-align: left;
}
.devolucion-alert-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--mid);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.devolucion-alert p {
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}
.devolucion-alert strong {
  color: var(--dark);
}


/* =============================================
   CONTACTO
   ============================================= */
.contacto-section {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--warm-white);
}

.contacto-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contacto-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 22px;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  box-shadow: 0 2px 18px rgba(184, 128, 152, 0.05);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  position: relative;
}
.contacto-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 64px rgba(184, 128, 152, 0.11);
}
.contacto-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.contacto-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: box-shadow var(--transition);
}
.contacto-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.whatsapp-icon,
.instagram-icon,
.facebook-icon,
.email-icon {
  background: linear-gradient(125deg, #FFF6EC, #FFD6C4, #FFCCCB, #FFE4E1, #FFF0E8, #FFD6C4, #FFCCCB, #FFE4E1, #FFF6EC);
  background-size: 600% 600%;
  animation: hero-cta-gradient 16s ease-in-out infinite;
}

.contacto-card:hover .whatsapp-icon,
.contacto-card:hover .instagram-icon,
.contacto-card:hover .facebook-icon,
.contacto-card:hover .email-icon     { box-shadow: 0 8px 24px rgba(215,122,152,.26); }

.contacto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contacto-info strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.contacto-info span {
  font-size: 0.88rem;
  color: var(--mid);
}

.contacto-arrow {
  color: var(--rose);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(-6px);
}
.contacto-card:hover .contacto-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 64px var(--sp-sm) 40px;
  background: linear-gradient(155deg, var(--cream) 0%, var(--blush-light) 48%, var(--coral) 100%);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--mid);
  margin-bottom: 36px;
}

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--dark); }

/* Botón de arrepentimiento — legally must be clearly visible (Res. 424/2020).
   Sits on its own row between the category links and the social bubbles, so
   the category nav stays centered. Distinct outlined pill. */
.footer-arrepentimiento-wrap {
  text-align: center;
  margin-bottom: 28px;
}
.footer-arrepentimiento {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-dark);
  border: 1.5px solid var(--rose-dark);
  border-radius: 999px;
  padding: 9px 20px;
  transition: background var(--transition), color var(--transition);
}
.footer-arrepentimiento:hover {
  background: var(--rose-dark);
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 36px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: var(--mid);
  transition: fill var(--transition);
}
.footer-social a:hover {
  border-color: var(--dark);
  background: var(--rose);
}
.footer-social a:hover svg { fill: var(--dark); }

.footer-copy {
  font-size: 0.76rem;
  color: var(--mid);
}


/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  background: linear-gradient(155deg, var(--cream) 0%, var(--blush-light) 48%, var(--coral) 100%);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(126, 80, 90, 0.22);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.95);
}
.whatsapp-float.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 44px rgba(126, 80, 90, 0.3);
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}
.whatsapp-float-label { white-space: nowrap; }


/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */

/* Single elements */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered grid children */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.stagger-grid.visible > *             { opacity: 1; transform: translateY(0); }
.stagger-grid.visible > *:nth-child(2){ transition-delay: 0.11s; }
.stagger-grid.visible > *:nth-child(3){ transition-delay: 0.22s; }
.stagger-grid.visible > *:nth-child(4){ transition-delay: 0.33s; }

/* Value items slide from right */
#nosotrosValues > .value-item {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
#nosotrosValues.visible > .value-item               { opacity: 1; transform: translateX(0); }
#nosotrosValues.visible > .value-item:nth-child(2)  { transition-delay: 0.12s; }
#nosotrosValues.visible > .value-item:nth-child(3)  { transition-delay: 0.24s; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .proceso-steps,
  .cuidados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .nav-cart-label { display: none; }
  .nav-toggle { display: flex; }
  /* Compact login pill: roughly the hamburger's height, tight padding, kept to
     the right by the hamburger so it reads as an action (not the logo). */
  .nav-login-btn {
    font-size: 0.6rem;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 14px;
    letter-spacing: 0.06em;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 1000;
  }
  .nav-links.open    { display: flex; }
  /* Vertical white radial glow behind the menu options (same style as the hero glow) */
  .nav-links::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, 82vw);
    height: min(80vh, 720px);
    background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.6)  32%,
      rgba(255, 255, 255, 0.25) 56%,
      rgba(255, 255, 255, 0)    76%);
    pointer-events: none;
    z-index: 0;
  }
  .nav-links.open::before { animation: nav-glow-in 0.5s var(--ease) both; }
  .nav-links a       { font-size: 1.1rem; position: relative; z-index: 1; }
  .navbar {
    padding: 18px 24px;
    /* Dropped backdrop-filter (very expensive on mobile, barely visible at 96%
       opacity); a near-opaque bg keeps the same frosted look without the cost. */
    background: rgba(255, 246, 236, 0.98);
    box-shadow: 0 1px 20px rgba(126, 80, 90, 0.07);
  }
  .navbar.scrolled   { padding: 12px 24px; }

  /* Layouts */
  .nosotros-grid     { grid-template-columns: 1fr; gap: 44px; }
  .product-grid      { grid-template-columns: repeat(2, 1fr); }
  .proceso-steps     { grid-template-columns: repeat(2, 1fr); }
  .cuidados-grid     { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid     { grid-template-columns: 1fr; }
  .envios-politica-grid { grid-template-columns: 1fr; gap: 44px 0; }
  .envios-politica-divider { display: none; }
  .envios-inner      { flex-direction: column; text-align: center; gap: 24px; }

  /* Clip marquees at the viewport edge, not the inner container */
  .productos,
  .proceso-section,
  .cuidados-section {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }
  .productos .container,
  .proceso-section .container,
  .cuidados-section .container {
    padding-left: 0;
    padding-right: 0;
  }
  /* Re-add horizontal padding only to the non-marquee content */
  .category-header,
  .proceso-content,
  .productos .section-label,
  .productos .section-heading,
  .cuidados-section .section-label,
  .cuidados-section .section-heading {
    padding-left: var(--sp-sm);
    padding-right: var(--sp-sm);
  }

  /* Marquee rows always visible — stagger reveal doesn't apply to scrolling cards */
  .productos .product-grid > *,
  .proceso-steps > *,
  .cuidados-grid > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .productos .product-grid,
  .proceso-steps,
  .cuidados-grid {
    display: flex;
    grid-template-columns: none;
    width: max-content;
    max-width: none;
    gap: 18px;
    animation: mobile-card-drift 30.6s linear infinite;
    will-change: transform;
  }

  .category-block:nth-of-type(2) .product-grid,
  .proceso-steps {
    animation-duration: 34.2s;
  }

  .category-block:nth-of-type(3) .product-grid,
  .cuidados-grid {
    animation-duration: 37.8s;
  }

  .productos .product-card,
  .step,
  .cuidado-card {
    flex: 0 0 min(78vw, 300px);
  }

  [data-marquee-clone="true"] {
    pointer-events: none;
  }

  /* Product highlights: scroll-driven (manual swipe + JS-driven marquee) rather
     than a pure CSS transform — lets users drag through, then it resumes.
     (proceso/cuidados rows keep the CSS animation.) */
  .productos .product-grid {
    width: auto;
    overflow-x: hidden;       /* JS controls scrollLeft; no native momentum fling */
    animation: none;
    touch-action: pan-y;      /* vertical page scroll stays native; JS owns horizontal */
  }

  .proceso-steps:hover,
  .cuidados-grid:hover {
    animation-play-state: paused;
  }
}

/* Footer social — bump to 44px min touch target on mobile */
@media (max-width: 768px) {
  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 500px) {
  .product-name { font-size: 1rem; }
  .product-info { padding: 12px 14px; }
  .promo-img-banner { letter-spacing: 0.02em; padding-left: 4px; padding-right: 4px; }

  .whatsapp-float-label { display: none; }
  /* 14px padding + 22px SVG = 50px — meets 44px touch target */
  .whatsapp-float { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }

  /* Reduce hero top padding on very small screens */
  .hero { padding-top: 96px; }

  /* Cart and single-white-card pages: tighten inner padding */
  .cart-inner,
  .mc-inner { padding: 24px 16px; }
}

@keyframes mobile-card-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 9px)); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .productos .product-grid,
  .proceso-steps,
  .cuidados-grid {
    animation: none !important;
  }
}

/* =============================================
   Cart Drawer
   ============================================= */

html { overflow-x: hidden; scrollbar-gutter: stable; } /* reserve scrollbar space always → no horizontal shift between scrolling & non-scrolling pages */

/* Page wrap slides left when drawer opens */
#pageWrap {
  min-height: 100vh;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#pageWrap.drawer-open {
  transform: translateX(calc(-1 * min(440px, 92vw)));
}
body.drawer-open { overflow: hidden; }

/* ── Overlay ── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(50, 16, 24, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  z-index: 900;
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }

/* ── Panel ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 901;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 60px rgba(126, 80, 90, 0.22);
  will-change: transform;
}
.cart-drawer.open { transform: translateX(0); }

/* ── Header ── */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #FFD1DC;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFF6EC 0%, #FFE4E1 100%);
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
}
.cart-drawer-title:hover { text-decoration: underline; }
.cart-drawer-close {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cart-drawer-close:hover { background: rgba(143, 90, 101, 0.1); color: var(--dark); }

/* ── Body ── */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ── Empty state ── */
.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px 24px;
  color: var(--mid);
  text-align: center;
}
.drawer-empty svg { opacity: 0.28; }
.drawer-empty p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
}
.drawer-empty a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 1px;
}

/* ── Item list ── */
.drawer-list { list-style: none; margin: 0; padding: 0; }

.drawer-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid #FFF0F5;
  transition: background 0.15s;
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item:hover { background: #FFFAF8; }

.drawer-item-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.drawer-item-link:hover .drawer-item-name { color: var(--rose-dark); }
.drawer-item-link:hover .drawer-item-thumb { opacity: 0.85; }

.drawer-item-thumb {
  width: 52px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.drawer-item-thumb--placeholder {
  background: linear-gradient(135deg, #FFF6EC 0%, #FFE4E1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0.7;
}

.drawer-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.drawer-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item-cat { font-size: 0.75rem; font-style: italic; color: var(--mid); }
.drawer-item-unit { font-size: 0.72rem; color: #b08090; margin-top: 1px; }

.drawer-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.drawer-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF0F5;
  border-radius: 20px;
  padding: 3px 10px;
}
.drawer-qty span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 16px;
  text-align: center;
}
.drawer-qty-btn {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.drawer-qty-btn:hover { color: var(--dark); }

.drawer-item-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-item-total { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.drawer-remove-btn {
  background: none;
  border: none;
  color: #d4a0aa;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}
.drawer-remove-btn:hover { color: #e53935; }

/* ── Footer ── */
.cart-drawer-footer {
  padding: 18px 24px 28px;
  border-top: 1.5px solid #FFD1DC;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #fff, #FFFAF8);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}
.drawer-subtotal-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0;
  text-transform: none;
}

.drawer-checkout-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}
.drawer-checkout-btn:hover  { background: var(--rose-dark); }
.drawer-checkout-btn:active { transform: scale(0.98); }

.drawer-login-note {
  margin-top: 11px;
  font-size: 0.76rem;
  color: var(--mid);
  text-align: center;
  line-height: 1.55;
}
.drawer-login-note a {
  color: #8F5A65;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #8F5A65;
}

/* =============================================
   ¿CÓMO COMPRAR?  (elder-friendly buying guide)
   ============================================= */
.comprar-section {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--blush-light);
}
.comprar-section .section-label,
.comprar-section .section-heading { text-align: center; }

.comprar-intro {
  font-size: 1.15rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.comprar-steps {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.comprar-step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 30px;
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(184, 128, 152, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.comprar-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(184, 128, 152, 0.10);
}
.comprar-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rose-dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comprar-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.comprar-text p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}
.comprar-text p strong { display: inline; font-family: var(--font-body); font-size: inherit; color: var(--dark); }
.comprar-text a { color: var(--rose-dark); font-weight: 700; }


@media (max-width: 640px) {
  .comprar-step { padding: 20px 20px; gap: 16px; }
  .comprar-num { width: 42px; height: 42px; font-size: 1.3rem; }
  .comprar-text strong { font-size: 1.2rem; }
  .comprar-text p { font-size: 1rem; }
}

/* =============================================
   Homepage section text alignment (per request)
   ============================================= */
#proceso .proceso-content { text-align: left; }
#proceso .proceso-content p { margin-left: 0; margin-right: auto; }

#cuidados .section-label,
#cuidados .section-heading { text-align: right; }

#contacto .section-label,
#contacto .section-heading { text-align: center; }
#contacto .contacto-sub { text-align: center; margin-left: auto; margin-right: auto; }

/* Normalize the "Guía de cuidados", "¿Cómo comprar?" & "Contacto" headings to
   match the "El proceso" heading size (aesthetic consistency). */
#cuidados .section-heading,
#como-comprar .section-heading,
#contacto .section-heading {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.3;
}
/* "Para que duren para siempre." is right-aligned, so on narrow phones it wraps.
   Keep it on one line and let it scale down just enough to fit (down to 320px). */
@media (max-width: 480px) {
  #cuidados .section-heading {
    white-space: nowrap;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }
}
/* …and their uppercase labels to match the "El proceso" label (1rem, not 0.72rem). */
#cuidados .section-label,
#como-comprar .section-label,
#contacto .section-label {
  font-size: 1rem;
}
