:root {
  --ink: #17241d;
  --body: #55635c;
  --green: #1a7a4f;
  --green-2: #23935f;
  --green-deep: #0a3b26;
  --green-darker: #052018;
  --mint: #eef6ea;
  --orange: #d9663c;
  --wa: #1eb35a;
  --line: rgba(23, 36, 29, .12);
  --radius: 24px;
  --shadow: 0 4px 10px rgba(12, 40, 28, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.14;
  font-synthesis: none;
}

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn svg.wa-icon { width: 25px; height: 25px; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow); }
.btn-wa:hover { background: #19a251; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-gold { background: #f9bf48; color: #1c2a16; box-shadow: var(--shadow); }
.btn-gold:hover { background: #f7b52f; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ---------------- header ---------------- */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 40;
  padding: 22px 0;
}
/* Sticky solo en desktop: fixed (no sticky) porque el header ya usa
   absolute para flotar transparente sobre el hero — sticky lo volvería
   a poner en el flujo normal y empujaría el hero hacia abajo, cosa que
   fixed no hace (se comporta como absolute salvo que queda clavado al
   viewport durante el scroll). En mobile sigue con absolute, sin
   cambios: el fondo translúcido no hace falta porque no hay overlay. */
@media (min-width: 861px) {
  .site-header {
    position: fixed; top: 0;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 18px rgba(12,40,28,.06);
  }
}
.header-row { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; flex-direction: row; align-items: center; gap: 10px; flex: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: .04em;
  color: var(--green); text-transform: uppercase; line-height: 1;
}
.brand-name span { color: var(--orange); }
.brand-sub {
  font-size: 10.1px; font-weight: 600; letter-spacing: .15em; line-height: 100%;
  color: var(--body); text-transform: uppercase;
}

.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--ink); position: relative; padding: 4px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--green); transition: right .25s ease;
}
.site-nav a:hover::after { right: 0; }

.lang-widget { position: relative; flex: none; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.86); font-size: 13px; font-weight: 500; cursor: pointer;
}
.lang svg { width: 14px; height: 14px; opacity: .55; }
.lang-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70;
  width: 170px; background: #fff; border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 45px rgba(12,40,28,.22);
}
.lang-panel a {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.lang-panel a:hover { background: var(--mint); }
.lang-panel a.is-current { color: var(--green); font-weight: 700; }
.lang-panel a span { font-weight: 400; color: var(--body); }
.lang-panel a.is-current span { color: inherit; }

/* Boton de WhatsApp del header: mismo tamano que .lang, sin sombra. */
.lang, .nav-wa { padding: 7px 14px; height: 42px; box-sizing: border-box; }
.nav-wa { box-shadow: none; }
.nav-wa svg.wa-icon { width: 19px; height: 19px; }

/* Favoritos: boton con corazon + texto + contador en el header, estilo
   carrito de e-commerce pero para favoritos nomas (ver mas abajo el JS).
   Queda visible en mobile tambien, pero ahi el texto se oculta y vuelve a
   ser un circulo (ver el media query de mas abajo) — no entra si no. */
.fav-widget { position: relative; flex: none; }
.fav-toggle {
  position: relative; height: 42px; padding: 0 15px 0 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.9);
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--ink);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.fav-toggle svg { width: 18px; height: 18px; flex: none; }
.fav-toggle.has-items { color: var(--orange); }
.fav-toggle.has-items svg { fill: currentColor; }
.fav-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  padding: 0 4px; border-radius: 999px; background: var(--orange); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
  line-height: 1; border: 2px solid #fff;
}
.fav-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
  width: 320px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 20px 45px rgba(12,40,28,.22);
}
.fav-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.fav-panel-close { border: 0; background: none; padding: 4px; cursor: pointer; color: var(--body); display: grid; place-items: center; }
.fav-panel-close svg { width: 16px; height: 16px; }
.fav-panel-list { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; }
.fav-item { display: flex; align-items: center; gap: 10px; }
.fav-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.fav-item-info { flex: 1; min-width: 0; }
.fav-item-name {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fav-item-price { font-size: 11.5px; color: var(--body); }
.fav-item-remove {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: var(--mint); color: var(--body); cursor: pointer; display: grid; place-items: center;
}
.fav-item-remove svg { width: 12px; height: 12px; }
.fav-panel-empty { font-size: 12.5px; color: var(--body); text-align: center; padding: 16px 6px; }
.fav-panel-nudge { margin-top: 10px; padding: 14px; border-radius: 14px; background: var(--mint); text-align: center; }
.fav-panel-nudge p { margin: 0 0 10px; font-size: 12.5px; color: var(--ink); }
.fav-panel-nudge .btn { width: 100%; justify-content: center; }
.fav-panel-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px; padding: 11px 14px; border-radius: 14px;
  background: var(--mint); color: var(--green); font-size: 12.5px; font-weight: 600;
}
.fav-panel-cta svg { width: 13px; height: 13px; }

/* Animacion "volar al corazon": un clon del icono viaja desde la
   tarjeta hasta el boton de favoritos del header y desaparece; al
   llegar, el boton hace un pequeño rebote (ver @keyframes favPulse). */
.fav-flyer {
  position: fixed; z-index: 999; pointer-events: none;
  width: 22px; height: 22px; color: var(--orange);
  transition: transform .55s cubic-bezier(.17,.67,.32,1.28), opacity .5s ease .05s;
  will-change: transform, opacity;
}
.fav-flyer svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes favPulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.3); }
  60%  { transform: scale(.92); }
  100% { transform: scale(1); }
}
.fav-toggle.fav-pulse { animation: favPulse .5s ease; }

.nav-toggle { display: none; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

.nav-drop { display: none; }

/* ---------------- footer ---------------- */
.site-footer { background: linear-gradient(180deg, #f5f1f1, #ffffff); color: var(--body); padding: 54px 0 0; font-size: 12.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.f-brand { display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.f-brand-top { display: flex; align-items: center; gap: 10px; }
.f-brand img { height: 46px; object-fit: contain; flex: none; }
.f-brand .brand-name { font-size: 15px; }
.f-brand p { margin: 0; line-height: 1.75; }
.gercetur {
  display: flex; align-items: center; gap: 9px; margin-top: 14px;
  font-size: 11.5px; color: var(--body);
}
.gercetur img { height: 38px; width: auto; display: block; flex: none; }
.site-footer h4 {
  margin: 0 0 14px; color: var(--green); font-size: 12px;
  font-weight: 600; letter-spacing: .04em;
}
.site-footer li { list-style: none; margin-bottom: 9px; }
.site-footer ul { margin: 0; padding: 0; }
.site-footer a:hover { color: var(--green); }
.f-contact li { display: flex; align-items: center; gap: 9px; }
.f-contact svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.f-legal { margin-top: 12px !important; padding-top: 12px !important; border-top: 1px solid var(--line); }
.follow {
  margin-bottom: 50px; padding: 0px 0px 50px;
  border-bottom: 1px solid var(--line);
}
.follow h4 { font-size: 15px; }
.socials {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.feed-card {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

.feed-thumb {
  position: relative; display: block; width: 88px; flex: none;
  aspect-ratio: 4 / 5; border-radius: 11px; overflow: hidden; background: #eceee9;
}
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(transparent 45%, rgba(8, 26, 18, .35));
}
.feed-play svg {
  width: 30px; height: 30px; padding: 8px; box-sizing: border-box;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink);
  transition: transform .2s ease;
}
.feed-card:hover .feed-play svg { transform: scale(1.12); }

.feed-meta { min-width: 0; }
.feed-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.feed-head small { font-size: 11.5px; font-weight: 600; color: var(--ink); }
.social-ico {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
}
.social-ico svg { width: 13px; height: 13px; }
.feed-meta b {
  display: block; font-size: 17px; font-weight: 700; line-height: 1.05;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.feed-sub { display: block; font-size: 10.5px; color: var(--body); }
.feed-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px;
  font-size: 10.5px; font-weight: 600; color: var(--green);
}
.feed-link svg { width: 12px; height: 12px; transition: transform .2s ease; }
.feed-card:hover .feed-link svg { transform: translateX(3px); }

/* Colores de cada marca */
.is-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.is-tiktok    { background: #010101; }
.is-facebook  { background: #1877f2; }
.is-youtube   { background: #ff0000; }
.is-whatsapp  { background: var(--wa); }

.footer-bottom {
  margin-top: 26px; padding: 16px 0 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(23, 36, 29, .55);
}

.wa-float {
  position: fixed; right: 22px; bottom: 52px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float svg.wa-icon { width: 29px; height: 29px; }
.wa-float:hover { transform: scale(1.07); }

/* ---------------- responsive (header/footer) ---------------- */
@media (max-width: 1040px) {
  .socials { grid-template-columns: repeat(2, 1fr); }
  /* Entre el breakpoint mobile (860px) y este, con site-nav + lang +
     favoritos + boton de WhatsApp todos visibles, el header ya no
     entraba en una fila (el boton de WhatsApp quedaba cortado) — con
     menos gap y el texto del boton mas chico alcanza. */
  .header-row { gap: 12px; }
  .site-nav { gap: 14px; }
  .nav-wa { font-size: 12px; padding-left: 10px; padding-right: 10px; }
  .lang { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 860px) {
  .site-nav, .lang, .nav-wa { display: none; }
  /* La marca sola ya ocupaba casi todo el ancho disponible en celular;
     con el corazon de favoritos nuevo al lado del boton de menu, ya no
     entran los tres en una fila. Se achica la marca (sin tagline, logo
     y nombre mas chicos) para hacerle lugar. */
  .brand-sub { display: none; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 13.5px; }
  .header-row { gap: 12px; }
  /* El texto "Favoritos" no entra al lado de la marca + boton de menu en
     celular: el boton vuelve a ser un circulo con el corazon solo. */
  .fav-toggle-label { display: none; }
  .fav-toggle { width: 42px; padding: 0; justify-content: center; }
  /* El panel ya no cuelga del botón (que en celular puede quedar bien
     lejos del borde derecho) — pasa a un overlay centrado y contenido
     dentro del viewport, para que nunca se desborde de la pantalla. */
  .fav-panel {
    position: fixed; top: 84px; left: 16px; right: 16px;
    width: auto; max-width: none; max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(255,255,255,.9); cursor: pointer;
  }
  .nav-toggle svg { width: 18px; height: 18px; }

  .nav-drop.is-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 50;
    height: 100vh; height: 100dvh;
    background: #fff;
  }
  .nav-drop-head {
    display: flex; align-items: center; justify-content: space-between;
    flex: none; padding: 18px 24px; border-bottom: 1px solid var(--line);
  }
  .nav-drop-brand { display: flex; align-items: center; gap: 10px; }
  .nav-drop-brand img { width: 40px; height: 40px; object-fit: contain; }
  .nav-drop-close {
    display: grid; place-items: center; flex: none;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
  }
  .nav-drop-close svg { width: 18px; height: 18px; }
  .nav-drop-links {
    flex: 1; overflow-y: auto;
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px 24px 24px;
  }
  .nav-drop-links a {
    padding: 12px 6px; font-size: 15px; color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav-drop-links a:last-of-type { border-bottom: none; }
  .nav-drop-wa { margin-top: 10px; justify-content: center; }
  .nav-drop-links a.nav-drop-wa { color: #fff; box-shadow: none; }
  /* El selector ES/EN/PT vive acá (no en el header, que ya va justo de
     espacio en celular) — tres botones simples abajo del todo del menú. */
  .nav-drop-lang { display: flex; gap: 8px; padding: 14px 24px 22px; flex: none; }
  .nav-drop-lang a {
    flex: 1; text-align: center; padding: 10px 6px; border-radius: 10px;
    border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink);
  }
  .nav-drop-lang a span { display: none; }
  .nav-drop-lang a.is-current { background: var(--mint); border-color: transparent; color: var(--green); }
  body.nav-open { overflow: hidden; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .socials { grid-template-columns: 1fr; }
  .f-brand { max-width: 100%; }
}
