/* =========================================================
   ALO COSMÉTICOS — estilos
   Paleta tomada del logo. Cámbiala desde aquí.
   ========================================================= */
:root {
  --pink: #9a736c;
  --pink-dark: #7d5c56;
  --pink-deep: #6b4e49;
  --blush: #f3e6e0;
  --blush-light: #faf6f3;
  --cream: #fbf8f6;
  --ink: #3f3330;
  --muted: #8a7a74;
  --white: #fff;

  --font-script: "Yellowtail", cursive;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 10px 28px rgba(90, 62, 54, .08);
  --shadow-sm: 0 4px 14px rgba(90, 62, 54, .06);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.12; }
h1 em, h2 em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--pink);
  letter-spacing: .01em;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: .6rem;
}
.eyebrow--light { color: var(--pink-dark); }

/* ---------- Placeholders de imagen ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, #f7efe9 0%, #eadfd8 100%);
}
.ph::before {
  content: "📷  " attr(data-img);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 1rem; text-align: center;
  font-size: .72rem; letter-spacing: .04em;
  color: var(--pink-deep); opacity: .75;
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .03em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary, .btn--ghost, .btn--white {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 500;
}
.btn--primary {
  background: var(--pink-dark);
  color: #fff;
  box-shadow: none;
}
.btn--primary:hover { box-shadow: var(--shadow-sm); }
.btn--ghost { border: 1px solid var(--pink); color: var(--pink-deep); background: transparent; }
.btn--ghost:hover { background: var(--pink-dark); color: #fff; border-color: var(--pink-dark); }
.btn--white { background: #fff; color: var(--pink-deep); box-shadow: none; border: 1px solid var(--blush); }
.btn--sm {
  width: 100%;
  padding: .65rem .7rem; font-size: .78rem;
  background: var(--blush-light); color: var(--pink-deep);
  border: 1px solid var(--blush);
}
.btn--sm:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 246, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(154, 115, 108, .16);
}
.header__inner {
  width: min(1120px, 100% - 1.25rem);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: .5rem;
}
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--pink-deep); transition: background .2s; }
.icon-btn:hover { background: var(--blush); }
.cart__count {
  position: absolute; top: 3px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--pink); color: #fff;
  font-size: .68rem; font-weight: 600; border-radius: 999px;
}
.header__actions { display: flex; align-items: center; }
.login-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: var(--pink-deep);
}
.login-btn span {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0);
}
.login-btn:hover { background: var(--blush); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__script { font-family: var(--font-script); font-size: 2.25rem; color: var(--pink); line-height: .9; }
.logo__sub { font-size: .6rem; letter-spacing: .5em; text-transform: uppercase; color: var(--ink); padding-left: .5em; }
.logo img { height: 48px; width: auto; }

.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--blush-light);
  display: flex; flex-direction: column;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  border-bottom: 1px solid rgba(154, 115, 108, .16);
}
.nav a { padding: 1rem 1.5rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; border-top: 1px solid rgba(154, 115, 108, .1); }
.nav a:hover { color: var(--pink-dark); background: #fff; }
.menu-toggle:checked ~ .header__inner .nav { max-height: 480px; }
.burger { margin-left: -.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  max-height: 100dvh;
  margin-inline: auto;
  padding: 3.25rem 0 1.25rem;
  aspect-ratio: 1272 / 624;
  background-color: #f4ebe4;
  background-image:
    linear-gradient(180deg, rgba(251, 248, 246, .5) 0%, rgba(251, 248, 246, .16) 46%, transparent 72%),
    url("fotos-nuevas/bg-hero.png");
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: auto, cover;
}
.hero__grid { display: grid; align-items: center; position: relative; z-index: 1; }
.hero__copy { width: 100%; text-align: center; }
.hero h1 { font-size: clamp(2.15rem, 8.5vw, 3.8rem); margin-bottom: .45rem; color: var(--ink); }
.hero h1 em { font-size: 1.12em; }
.hero__lead { color: var(--muted); max-width: 34ch; margin: 0 auto .95rem; font-size: .92rem; }
.hero__slogan {
  margin: 0 0 .65rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--pink-deep);
}
.hero__place {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .4rem;
  margin: 1.05rem 0 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--pink-dark);
}
.hero__place svg { width: 16px; height: 16px; margin-top: .15rem; flex: none; color: var(--pink-dark); }

.spotlights { padding: 1.6rem 0 1.1rem; }
.spotlights__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  align-items: center;
}
.spotlights__note {
  grid-column: 1 / -1;
  order: -1;
  text-align: center;
  padding: .2rem .4rem .35rem;
}
.spotlights__note h2 {
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  margin-bottom: .45rem;
}
.spotlights__note h2::after { display: none; }
.spotlights__note p:last-child {
  margin: 0 auto;
  max-width: 36ch;
  color: var(--pink-dark);
  font-size: .92rem;
}
.spotlight {
  width: 100%;
  height: 300px;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f6eee9;
  box-shadow: var(--shadow-sm);
}
.spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.spotlight--care img { object-position: center 42%; }

/* ---------- Secciones ---------- */
.section { padding: 3.6rem 0; }
.section--tint { background: var(--blush-light); padding: 3.6rem 0; }
.section__head { text-align: center; margin-bottom: 1.8rem; }
.section__head h2 { font-size: clamp(1.85rem, 6.5vw, 2.6rem); }
.section__head h2 em { font-size: 1.15em; }
.section__head h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  margin: .75rem auto 0;
  background: var(--pink);
}

/* ---------- Beneficios ---------- */
.benefits { display: grid; gap: 1.2rem; padding: 1.5rem 0 .4rem; }
.benefit { text-align: center; padding: .4rem .6rem; }
.benefit__icon { color: var(--pink-dark); display: grid; place-items: center; margin: 0 auto .45rem; }
.benefit h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 500; margin-bottom: .15rem; color: var(--ink); }
.benefit p { font-size: .82rem; color: var(--muted); }

/* ---------- Categorías ---------- */
.cats {
  display: flex; gap: .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .25rem 0 1rem;
  margin-inline: -1rem; padding-inline: 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 72px; width: 72px; text-align: center; scroll-snap-align: start; font-weight: 500; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.cat__img { width: 72px; aspect-ratio: 1; border-radius: 50%; border: 0; box-shadow: none; background: #f6eee9; margin: 0 auto .45rem; transition: transform .3s; }
.cat:hover .cat__img { transform: translateY(-4px); }
.cat:hover { color: var(--pink-dark); }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.product { background: transparent; padding: 0 0 .85rem; border-radius: var(--radius); border: 0; transition: transform .3s; display: flex; flex-direction: column; min-width: 0; }
.product:hover .ph img { transform: scale(1.04); }
.product__img { aspect-ratio: 1 / 1.05; border-radius: 16px; margin-bottom: .7rem; background: #f6eee9; }
.product__img img { object-fit: cover; object-position: center 28%; }
.badge { position: absolute; top: .45rem; left: .45rem; z-index: 2; background: var(--pink); color: #fff; font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px; }
.badge--hot { background: var(--ink); }
.fav { position: absolute; top: .4rem; right: .4rem; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--pink); font-size: 1rem; display: grid; place-items: center; transition: background .2s; }
.fav:hover { background: var(--pink); color: #fff; }
.product__brand { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-dark); padding-inline: .25rem; }
.product__name { font-family: var(--font-body); font-weight: 500; font-size: .86rem; line-height: 1.3; padding-inline: .25rem; margin: .1rem 0 .3rem; }
.product__price { font-weight: 600; font-size: 1rem; color: var(--pink-deep); padding-inline: .25rem; margin-bottom: .6rem; margin-top: auto; }
.product__price small { font-weight: 400; font-size: .7rem; color: var(--muted); }

/* ---------- Promo ---------- */
.promo {
  background: #f6eee9;
  color: var(--ink); padding: 3.2rem 0; position: relative; overflow: hidden;
}
.promo__inner { display: grid; gap: 1.6rem; align-items: center; position: relative; z-index: 1; text-align: center; }
.promo h2 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: .8rem; }
.promo h2 em { color: var(--pink); font-size: 1.15em; }
.promo p { max-width: 42ch; margin: 0 auto 1.3rem; color: var(--muted); }
.promo__img { width: min(280px, 72%); aspect-ratio: 1188 / 1600; margin-inline: auto; border-radius: 28px; border: 0; }
.promo__img img { object-fit: cover; object-position: center; }

/* ---------- Tienda ---------- */
.store { display: grid; gap: 2rem; align-items: center; }
.store__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding-bottom: 1.25rem; }
.store__img { aspect-ratio: 3 / 4; border-radius: 80px 80px 18px 18px; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.store__img--2 { transform: translateY(1.1rem); border-radius: 18px 18px 80px 80px; }
.store__copy { text-align: center; }
.neon { font-size: clamp(2.2rem, 8vw, 3.4rem); margin: .2rem 0 .8rem; }
.neon em { font-size: 1.15em; }
.store__copy > p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.4rem; }
.store__info { display: inline-grid; gap: .7rem; text-align: left; margin-bottom: 1.8rem; font-weight: 500; }
.store__info li { display: flex; align-items: center; }
.store__info span { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--blush); border-radius: 50%; margin-right: .6rem; color: var(--pink-deep); }
.store__info svg { width: 18px; height: 18px; }

/* ---------- Opiniones ---------- */
.reviews { display: grid; gap: .85rem; }
.review { background: #fff; padding: 1.35rem 1.25rem; border-radius: var(--radius); border: 1px solid rgba(154, 115, 108, .12); position: relative; }
.review::before { content: "“"; position: absolute; top: .15rem; right: 1rem; font-family: var(--font-serif); font-size: 3rem; color: var(--blush); line-height: 1; }
.stars { color: #f5a623; letter-spacing: .15em; margin-bottom: .6rem; }
.review blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; margin-bottom: 1rem; }
.review figcaption { font-size: .85rem; font-weight: 600; color: var(--pink-dark); }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.insta__item { aspect-ratio: 1; border-radius: 12px; display: block; }
.insta__item::after { content: "♡"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(125, 92, 86, .4); color: #fff; font-size: 1.5rem; opacity: 0; transition: opacity .3s; z-index: 2; }
.insta__item:hover::after { opacity: 1; }
.insta__item:hover img { transform: scale(1.08); }

/* ---------- Newsletter ---------- */
.news { background: var(--blush); padding: 3.2rem 0; text-align: center; }
.news h2 { font-size: clamp(1.85rem, 6.5vw, 2.7rem); margin-bottom: .5rem; }
.news h2 em { font-size: 1.2em; }
.news p { color: var(--muted); margin-bottom: 1.6rem; }
.news__form { display: flex; flex-direction: column; gap: .8rem; max-width: 520px; margin-inline: auto; }
.news__form input { padding: 1rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: inherit; background: #fff; outline: none; transition: border-color .2s; }
.news__form input:focus { border-color: var(--pink); }

/* ---------- Footer ---------- */
.mayoreo { background: linear-gradient(180deg, #fbf8f6 0%, #f6eee9 100%); }
.mayoreo__grid { display: grid; gap: 1.6rem; align-items: center; }
.mayoreo__photo {
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: #f3e6e0;
}
.mayoreo__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mayoreo__copy { text-align: center; }
.mayoreo__copy h2 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: .7rem; }
.mayoreo__copy h2 em { font-size: 1.05em; }
.mayoreo__copy > p:not(.hero__place) { color: var(--muted); margin: 0 0 1.1rem; }
.mayoreo__copy .hero__place { width: 100%; max-width: none; margin: 1.15rem 0 0; color: var(--pink-dark); }
.mayoreo__price { margin-bottom: 1.2rem; }
.mayoreo__price strong { display: block; font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--pink-deep); font-weight: 600; }
.mayoreo__price span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.footer { background: var(--ink); color: #efe6e2; padding: 2.8rem 0 5.5rem; }
.footer__grid { display: grid; gap: 1.6rem; }
.footer .logo { align-items: flex-start; margin-bottom: .8rem; }
.footer .logo__sub { color: #fff; }
.footer p { font-size: .9rem; opacity: .8; max-width: 36ch; }
.footer__place {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .9rem;
  opacity: .9;
  max-width: 32ch;
  margin-bottom: .75rem;
  color: var(--blush);
}
.footer__place svg { flex: none; margin-top: .15rem; }
.footer h4 { font-family: var(--font-body); color: var(--blush); letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; margin-bottom: .8rem; }
.footer__grid a:not(.logo) { display: block; padding: .25rem 0; font-size: .92rem; opacity: .85; }
.footer__grid a:not(.logo):hover { color: var(--blush); opacity: 1; }
.footer__grid a.footer__maps {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  margin-top: .15rem;
  padding: .55rem .95rem;
  border: 1px solid var(--blush);
  border-radius: 999px;
  color: var(--blush);
  opacity: 1;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__grid a.footer__maps:hover { background: var(--blush); color: var(--ink); opacity: 1; }
.footer__grid a.footer__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
}
.footer__grid a.footer__link svg { flex: none; }
.footer p.footer__copy {
  max-width: none;
  width: min(1120px, 100% - 2rem);
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  text-align: center;
  font-size: .78rem;
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); }

/* =========================================================
   TABLET ≥ 700px
   ========================================================= */
@media (min-width: 700px) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .products { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .product { padding: .7rem .7rem 1rem; }
  .product__name { font-size: .95rem; }
  .btn--sm { font-size: .85rem; padding: .7rem 1rem; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .cats { display: flex; flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 1.1rem 1.6rem; }
  .insta { grid-template-columns: repeat(6, 1fr); gap: .55rem; }
  .news__form { flex-direction: row; }
  .news__form input { flex: 1; }
  .footer { padding-bottom: 1.5rem; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .promo__inner { grid-template-columns: 1.2fr .8fr; text-align: left; }
  .promo p { margin-inline: 0; }
  .store__img { aspect-ratio: 9 / 16; }
}

/* =========================================================
   DESKTOP ≥ 1000px
   ========================================================= */
@media (min-width: 1000px) {
  .burger, .menu-toggle { display: none; }
  .header__inner { min-height: 84px; }
  .nav { position: static; flex-direction: row; max-height: none; background: none; border: 0; gap: .3rem; overflow: visible; }
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .logo { grid-column: 2; }
  .nav { grid-column: 1; grid-row: 1; justify-self: start; }
  .header__actions { grid-column: 3; justify-self: end; }
  .login-btn {
    width: auto; height: auto;
    gap: .4rem;
    padding: .55rem .9rem;
    border: 1px solid var(--pink);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 500;
  }
  .login-btn span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .login-btn svg { width: 18px; height: 18px; }
  .login-btn:hover { background: var(--pink-dark); color: #fff; border-color: var(--pink-dark); }
  .nav a { border: 0; padding: .6rem .7rem; border-radius: 999px; font-size: .72rem; }
  .nav a:hover { background: var(--blush); }

  .spotlights__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
  }
  .spotlights__note { grid-column: auto; order: 0; padding: 0 .25rem; text-align: center; }
  .spotlight { height: 360px; }
  .hero { padding: 2rem 0; }
  .mayoreo__grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .mayoreo__photo { width: 100%; max-width: none; margin-inline: 0; }
  .mayoreo__copy { text-align: left; }
  .product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

  .products { grid-template-columns: repeat(4, 1fr); }
  .store { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .store__copy { text-align: left; }
  .store__copy > p { margin-inline: 0; }
  .store__info { display: grid; }
  .store .hero__cta { justify-content: flex-start; }
  .section, .section--tint { padding: 4.8rem 0; }
}

@media (max-width: 360px) {
  .logo__script { font-size: 1.95rem; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
