/* ============================================================
   Casa Magnolia · Pastelería artesanal · Palermo, Buenos Aires
   Paleta tomada de la referencia: #F8CDD2 · #A18A6C · #FFF1F2
   ============================================================ */

:root {
  --rosa: #F8CDD2;
  --rosa-100: #FFF1F2;
  --rosa-500: #FFA5AB;
  --rosa-line: #EAD7D8;
  --taupe: #A18A6C;
  --taupe-dark: #8B7457;
  --ink: #111827;
  --ink-soft: #5C5560;
  --muted: #8A8186;
  --white: #FFFFFF;

  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --font-script: "Petit Formal Script", "EB Garamond", cursive;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--rosa); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  font-size: .85rem;
  border-radius: 2px;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografía compartida ---------- */
.eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 .9rem;
}

.section__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

em { font-style: italic; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: var(--taupe);
  border: 1px solid var(--taupe);
  color: #fff;
  padding: 1rem 1.9rem;
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover {
  background: var(--taupe-dark);
  border-color: var(--taupe-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -16px rgba(139, 116, 87, .95);
}
.btn:active { transform: translateY(0); }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--taupe);
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: .85rem; color: var(--taupe-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 215, 216, .75);
  transition: box-shadow .35s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 34px -22px rgba(17, 24, 39, .38); }

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 1rem;
  height: 88px;
  transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: 76px; }

.header__inner > .header__burger {
  display: none;
  grid-area: burger;
  justify-self: start;
}

.brand {
  grid-area: brand;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.15rem .55rem .85rem;
  border: 1px solid #EBD3D6;
  border-radius: 999px;
  transition: border-color .3s, background .3s;
}
.brand:hover { border-color: var(--rosa-500); background: var(--rosa-100); }

.brand__flower {
  display: grid;
  place-items: center;
  color: var(--rosa-500);
  font-size: 1rem;
}
.brand__flower .icon { width: 1.05em; height: 1.05em; }

.brand__script {
  font-family: var(--font-script);
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}

.nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.nav__link {
  position: relative;
  font-size: .875rem;
  font-weight: 400;
  color: var(--ink);
  padding: .4rem 0;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--taupe);
  transition: width .35s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.header__actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .15rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .25s, color .25s;
}
.icon-btn:hover { background: var(--rosa-100); color: var(--taupe-dark); }
.icon-btn .icon { width: 1.15rem; height: 1.15rem; }

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute;
  top: 3px; right: 2px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .3s var(--ease), background .3s;
}
.cart-btn__count[data-empty="true"] { background: var(--taupe); }

/* ============================================================
   MENÚ MÓVIL
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(17, 24, 39, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav__panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(370px, 88vw);
  background: #FFFBFB;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.6rem 2rem;
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rosa-line);
}
.brand__script--sm { font-size: 1.15rem; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 0;
}
.mobile-nav__links a {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(234, 215, 216, .7);
  transition: color .25s, padding-left .3s var(--ease);
}
.mobile-nav__links a:hover { color: var(--taupe); padding-left: .4rem; }

.mobile-nav__foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: grid;
  gap: .8rem;
}
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.mini-link .icon { color: var(--taupe); }

.socials { display: flex; align-items: center; gap: .3rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  color: var(--rosa-500);
  border-radius: 50%;
  transition: color .25s, background .25s;
}
.socials a:hover { color: var(--ink); background: var(--rosa-100); }
.socials .icon { width: 1.15rem; height: 1.15rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--rosa-100);
  padding: 0 0 clamp(2.6rem, 5vw, 4rem);
}

/* Escenario con video de la vidriera */
.hero__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(500px, 70vh, 690px);
  padding: clamp(3.2rem, 6vw, 4.6rem) 0 clamp(4.2rem, 7vw, 5.6rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--rosa-100);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(.68) brightness(1.04) contrast(.92) blur(1.2px);
}

/* Velo rosa: integra el video con la paleta y sostiene la legibilidad */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(54% 44% at 50% 46%,
      rgba(255, 241, 242, .68) 0%,
      rgba(255, 241, 242, .34) 58%,
      rgba(255, 241, 242, 0) 100%),
    linear-gradient(180deg,
      rgba(255, 241, 242, .70) 0%,
      rgba(255, 241, 242, .50) 30%,
      rgba(255, 241, 242, .56) 58%,
      rgba(255, 241, 242, .72) 78%,
      rgba(255, 241, 242, .93) 92%,
      var(--rosa-100) 100%),
    linear-gradient(90deg,
      rgba(248, 205, 210, .20) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0) 60%,
      rgba(248, 205, 210, .22) 100%);
}

.hero__content { position: relative; z-index: 1; }

.hero .container { display: flex; flex-direction: column; align-items: center; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 2vw, 1.1rem);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  text-align: center;
}
.hero__rule {
  display: block;
  width: clamp(18px, 5vw, 52px);
  height: 1px;
  background: rgba(139, 116, 87, .55);
}
.hero__eyebrow-short { display: none; }

.hero__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 1.07;
  letter-spacing: -.015em;
  text-align: center;
  margin-top: clamp(1.3rem, 3vw, 2rem);
  text-wrap: balance;
}

.hero__lead {
  max-width: 44ch;
  margin-top: clamp(1.1rem, 2.5vw, 1.6rem);
  text-align: center;
  color: #4F4852;
  font-size: .98rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero__toggle {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 1.6rem);
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  transition: background .25s, transform .25s;
}
.hero__toggle:hover { background: #fff; transform: scale(1.05); }
.hero__toggle .icon { width: .68rem; height: .68rem; }

/* ---------- Categorías ---------- */
.categories {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.15rem);
  margin-top: clamp(2rem, 3.6vw, 2.8rem);
}

.cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: .5rem .5rem 0;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -22px rgba(17, 24, 39, .45);
}

.cat__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--rosa-100);
}
.cat__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.cat:hover .cat__media img { transform: scale(1.06); }

.cat__label {
  position: relative;
  display: block;
  text-align: center;
  padding: .8rem .2rem .85rem;
  font-size: .85rem;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--rosa-line);
}
.cat__label::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 0; height: 1px;
  background: var(--taupe);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.cat:hover .cat__label::after { width: 58%; }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }

section[id],
.section[id],
[id] { scroll-margin-top: 104px; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.slider__nav { display: flex; gap: .5rem; padding-bottom: .4rem; }

.round-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rosa-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: background .25s, border-color .25s, color .25s, opacity .25s;
}
.round-btn .icon { width: .95rem; height: .95rem; }
.round-btn:hover:not(:disabled) {
  background: var(--rosa-100);
  border-color: var(--taupe);
  color: var(--taupe-dark);
}
.round-btn:disabled { opacity: .32; cursor: default; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.4rem;
}
.chip {
  border: 1px solid var(--rosa-line);
  background: #fff;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--ink-soft);
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--taupe); color: var(--ink); }
.chip.is-active {
  background: var(--taupe);
  border-color: var(--taupe);
  color: #fff;
}

.slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .25rem .25rem 1rem;
  margin: 0 -.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.slider::-webkit-scrollbar { display: none; }

.product {
  flex: 0 0 calc((100% - 4.5rem) / 4);
  scroll-snap-align: start;
  transition: opacity .3s;
}
.product.is-hidden { display: none; }

.product__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--rosa-100);
  border-radius: 2px;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.product:hover .product__media img { transform: scale(1.05); }

.product__add {
  position: absolute;
  right: .7rem; bottom: .7rem;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(17, 24, 39, .55);
  transition: background .25s, transform .25s var(--ease);
}
.product__add:hover { background: var(--taupe); transform: scale(1.08); }
.product__add.is-added { background: var(--taupe); animation: pop .45s var(--ease); }
.product__add .icon { width: .9rem; height: .9rem; }

@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.product__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.35;
  margin: .9rem 0 .3rem;
  min-height: 2.7em;
}
.product__price {
  font-size: .85rem;
  color: var(--ink-soft);
  letter-spacing: .01em;
}
.product__price span { color: var(--muted); font-size: .78rem; }

.catalog__note {
  margin-top: 2rem;
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 300;
}
.catalog__note a {
  color: var(--ink);
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 1px;
  transition: color .25s;
}
.catalog__note a:hover { color: var(--taupe-dark); }

/* ============================================================
   CITA
   ============================================================ */
.quote {
  background: var(--rosa);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
}
.quote__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

.quote__stars {
  display: flex;
  gap: .35rem;
  color: var(--taupe);
  margin-bottom: 1.6rem;
}
.quote__stars .icon { width: .8rem; height: .8rem; }

.quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.1vw, 2.6rem);
  line-height: 1.34;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.quote__sign {
  margin-top: 1.8rem;
  align-self: flex-end;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink);
}

/* ============================================================
   BLOQUES ALTERNADOS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: min(76vh, 600px);
}

.split__media {
  position: relative;
  overflow: hidden;
  background: var(--rosa-100);
}
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.split:hover .split__media img { transform: scale(1.025); }

.split__body {
  background: var(--rosa-100);
  display: flex;
  align-items: center;
  padding: clamp(2.6rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
}
.split__inner { max-width: 31rem; }

.split__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

.split__inner p {
  color: var(--ink-soft);
  font-size: .96rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1rem;
  max-width: 46ch;
}
.split .btn { margin-top: 1.4rem; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta {
  padding: clamp(3.2rem, 6vw, 5.5rem) 0;
  background-color: #FFFBFA;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(248, 205, 210, .3) 0 1px,
    transparent 1px 15px
  );
}

.insta__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.5rem, 1.2vw, .9rem);
}

.insta__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--rosa-100);
}
.insta__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.insta__item:hover img { transform: scale(1.05); }

.insta__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(248, 205, 210, .72);
  color: var(--ink);
  opacity: 0;
  transition: opacity .35s;
}
.insta__item:hover .insta__overlay { opacity: 1; }
.insta__overlay .icon { width: 1.5rem; height: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #FFFBFB;
  border-top: 1px solid var(--rosa-line);
  padding-top: clamp(2.8rem, 5vw, 4.2rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .72fr 1.15fr;
  gap: clamp(1.8rem, 3.6vw, 3.2rem);
}

.brand__script--footer {
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  display: inline-block;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 1rem 0 1.6rem;
}

.footer__heading {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: .85rem;
  margin-bottom: 1.1rem;
  position: relative;
}
.footer__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rosa-line);
}
.footer__heading--news { margin-top: 1.8rem; }

.footer__block { margin-bottom: 1.1rem; }
.footer__block h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ink);
  margin-bottom: .2rem;
}
.footer__block a,
.footer__list a {
  font-size: .87rem;
  color: var(--ink-soft);
  font-weight: 300;
  transition: color .25s;
}
.footer__block a:hover,
.footer__list a:hover { color: var(--taupe-dark); text-decoration: underline; text-underline-offset: 3px; }

.footer__list li { margin-bottom: .55rem; }

.footer__strong {
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.footer__text {
  font-size: .87rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: .9rem;
}
.footer__text a { border-bottom: 1px solid transparent; transition: border-color .25s; }
.footer__text a:hover { border-color: var(--taupe); }

.footer__hours {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 300;
}
.footer__hours .icon { width: .9rem; height: .9rem; color: var(--taupe); }

.newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--rosa-line);
  padding: 3px;
  border-radius: 2px;
}
.newsletter input {
  flex: 1 1 120px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .7rem .75rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--ink);
  outline: none;
}
.newsletter input::placeholder { color: #A9A0A4; }
.newsletter input:focus-visible { outline: none; }
.newsletter:focus-within { border-color: var(--taupe); }
.newsletter button {
  border: 0;
  background: var(--taupe);
  color: #fff;
  padding: .72rem 1rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .25s;
}
.newsletter button:hover { background: var(--taupe-dark); }
.newsletter__msg {
  flex: 1 1 100%;
  font-size: .76rem;
  padding: .45rem .4rem 0;
  color: var(--taupe-dark);
  min-height: 0;
}

.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rosa-line);
  padding: 1.3rem 0 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 300;
}
.footer__legal { display: flex; gap: 1.3rem; }
.footer__legal a { transition: color .25s; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 55;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--taupe);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(139, 116, 87, .8);
  transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--taupe-dark); }
.wa-float .icon { width: 1.35rem; height: 1.35rem; }

/* ============================================================
   OVERLAYS
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(17, 24, 39, .42);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 5vw, 3rem);
  overflow-y: auto;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

[data-reserva-modal] { align-items: center; }

/* ---------- Buscador ---------- */
.search__panel {
  width: min(620px, 100%);
  margin-top: 10vh;
  background: #fff;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border-radius: 3px;
  box-shadow: 0 30px 70px -40px rgba(17, 24, 39, .6);
  transform: translateY(-16px);
  transition: transform .35s var(--ease);
}
.overlay.is-open .search__panel { transform: none; }

.search__field {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid var(--rosa-line);
  padding: .35rem .1rem .55rem;
}
.search__field > .icon { color: var(--taupe); width: 1.05rem; height: 1.05rem; }
.search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
}
.search__field input::placeholder { color: #A9A0A4; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* Float junto al pie */
.wa-float { transition: transform .3s var(--ease), background .3s, opacity .35s, visibility .35s; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }

.search__hint {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .9rem;
  font-weight: 300;
}

.search__results { margin-top: .4rem; }
.search__results li { border-bottom: 1px solid rgba(234, 215, 216, .6); }
.search__results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: .85rem .2rem;
  font-size: .92rem;
  transition: background .2s, padding-left .25s;
}
.search__results button:hover { background: var(--rosa-100); padding-left: .7rem; }
.search__results .price { font-size: .82rem; color: var(--muted); }
.search__empty { font-size: .86rem; color: var(--muted); padding: .9rem .2rem; }

/* ---------- Bolsa ---------- */
.overlay--right {
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
}
.cart {
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(101%);
  transition: transform .45s var(--ease);
  box-shadow: -20px 0 60px -40px rgba(17, 24, 39, .6);
}
.overlay.is-open .cart { transform: none; }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--rosa-line);
}
.cart__head h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
}
.cart__head h2 span { font-size: 1rem; color: var(--muted); font-style: normal; font-family: var(--font-sans); }

.cart__body { flex: 1; overflow-y: auto; padding: 1.1rem 1.4rem; }

.cart__empty {
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  padding: 3.5rem 0;
}
.cart__empty span { font-family: var(--font-sans); font-style: normal; font-size: .82rem; color: var(--muted); }

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(234, 215, 216, .65);
}
.cart-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 2px; }
.cart-item__name { font-size: .9rem; line-height: 1.35; margin-bottom: .2rem; }
.cart-item__price { font-size: .8rem; color: var(--muted); }

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  border: 1px solid var(--rosa-line);
  border-radius: 999px;
  padding: 2px;
}
.cart-item__qty button {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.cart-item__qty button:hover { background: var(--rosa-100); color: var(--ink); }
.cart-item__qty .icon { width: .65rem; height: .65rem; }
.cart-item__qty span { font-size: .78rem; min-width: 18px; text-align: center; }

.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.cart-item__subtotal { font-size: .85rem; font-weight: 500; }
.cart-item__remove {
  border: 0;
  background: transparent;
  font-size: .7rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}
.cart-item__remove:hover { color: var(--ink); }

.cart__foot {
  border-top: 1px solid var(--rosa-line);
  padding: 1.1rem 1.4rem 1.4rem;
}
.cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .35rem;
}
.cart__total span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cart__total strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; }
.cart__note { font-size: .76rem; color: var(--muted); font-weight: 300; margin-bottom: 1rem; }
.cart__clear {
  display: block;
  width: 100%;
  margin-top: .7rem;
  border: 0;
  background: transparent;
  font-size: .74rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart__clear:hover { color: var(--ink); }

/* ---------- Modal reserva ---------- */
.modal {
  position: relative;
  width: min(660px, 100%);
  background: #fff;
  border-radius: 3px;
  padding: clamp(1.6rem, 4vw, 2.7rem);
  box-shadow: 0 30px 70px -40px rgba(17, 24, 39, .6);
  transform: translateY(14px);
  transition: transform .35s var(--ease);
}
.overlay.is-open .modal { transform: none; }

.modal__close {
  position: absolute;
  top: .65rem; right: .65rem;
}
.modal__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.modal__lead {
  font-size: .88rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 40ch;
}

.form { display: grid; gap: .9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }

.field { display: block; }
.field > span {
  display: block;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--rosa-line);
  background: #fff;
  border-radius: 2px;
  padding: .7rem .8rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #ADA4A8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(248, 205, 210, .45);
}
.form .btn { margin-top: .5rem; }
.form__msg {
  font-size: .84rem;
  color: #2F7A5B;
  min-height: 1.1em;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  transform: translate(-50%, 18px);
  background: var(--ink);
  color: #fff;
  font-size: .83rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 18px 40px -20px rgba(17, 24, 39, .8);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { flex-basis: calc((100% - 3rem) / 3); }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
}

@media (max-width: 980px) {
  .header__inner {
    grid-template-areas: "burger brand actions";
    height: 74px;
  }
  .header.is-scrolled .header__inner { height: 68px; }
  .header__inner > .header__burger { display: inline-grid; }
  .nav { display: none; }
  .brand { justify-self: center; padding: .4rem .9rem .45rem .7rem; }
  .brand__script { font-size: 1.1rem; }
  .brand__flower { display: none; }
  .header__account { display: none; }

  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { min-height: 340px; }
  .split--reverse .split__body { order: 2; }
  .split__body { padding: clamp(2.2rem, 7vw, 3.4rem) var(--gutter); }
  .split__inner { max-width: 34rem; }

  .insta__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header__actions { gap: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .cart-btn__count { top: 0; right: 0; }

  .hero__stage { min-height: 72vh; min-height: 72svh; padding: clamp(3rem, 12vw, 4rem) 0 clamp(3.4rem, 13vw, 4.4rem); }
  .hero__video { filter: saturate(.6) brightness(1.06) contrast(.9) blur(.5px); }
  .hero__toggle { width: 34px; height: 34px; }

  .hero__lead { font-size: .92rem; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section__head { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .slider__nav { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .product { flex-basis: calc((100% - 1.25rem) / 2); }
  .slider { gap: 1.25rem; }

  .product__name { font-size: 1rem; }
  .product__add { width: 38px; height: 38px; right: .5rem; bottom: .5rem; }

  .quote__text { max-width: 18ch; }
  .quote__sign { align-self: center; }

  .insta__head { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .footer__grid { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .footer__legal { flex-wrap: wrap; gap: .6rem 1.1rem; }

  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .modal { padding: 1.5rem 1.15rem; }
  .search__panel { margin-top: 4vh; }

  .toast { font-size: .78rem; padding: .75rem 1.1rem; }
}

@media (max-width: 600px) {
  .hero__rule { display: none; }
  .hero__eyebrow { display: block; letter-spacing: .18em; font-size: .6rem; line-height: 1.95; }
  .hero__eyebrow-full { display: none; }
  .hero__eyebrow-short { display: inline; }
  .quote__text { font-size: 1.42rem; }
  .quote__sign { margin-top: 1.4rem; }
}

@media (max-width: 420px) {
  .categories { gap: .5rem; }
  .cat { padding: .35rem .35rem 0; }
  .cat__label { font-size: .78rem; padding: .65rem .1rem .7rem; }
  .hero__title { font-size: 2.35rem; }
  .product { flex-basis: calc((100% - .9rem) / 2); }
  .slider { gap: .9rem; }
  .product__name { font-size: .92rem; }
  .product__price { font-size: .78rem; }
}

@media (max-width: 360px) {
  .header__inner {
    --gutter: .7rem;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: .4rem;
  }
  .brand { padding: .35rem .5rem; }
  .brand__script { font-size: 1rem; }
  .header__actions .icon-btn { width: 34px; height: 34px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
