@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg: #F4F7FA;
  --bg-soft: #E8EDF2;
  --surface: #ffffff;
  --forest: #1A365D;
  --forest-deep: #0F2440;
  --sage: #4A6FA5;
  --sage-soft: #D6E4F0;
  --cream: #EEF2F6;
  --terracotta: #E65100;
  --gold: #F59E0B;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #CBD5E1;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Evita el scroll horizontal en móvil (que "desancla" el header sticky y el
   botón flotante de WhatsApp). 'clip' no rompe position: sticky; 'hidden' es
   el respaldo para navegadores antiguos. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container-x {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .container-x { padding-inline: 2rem; } }

.font-display { font-family: "Montserrat", sans-serif; letter-spacing: -0.01em; }
.hide-mobile { display: none; }
.hide-desktop { display: block; }
@media (min-width: 1024px) {
  .hide-mobile { display: block; }
  .hide-desktop { display: none !important; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-search-bar {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 0.75rem 0 0.85rem;
  box-shadow: 0 10px 24px rgba(26, 54, 93, 0.08);
}
.site-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.site-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.site-search-form input::placeholder { color: var(--muted); }
.site-search-hint {
  margin: 0.45rem 0 0 0.25rem;
  font-size: 12px;
  color: var(--muted);
}
.site-search-wrap { position: relative; }
.search-suggest-panel {
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 14px 36px rgba(26, 54, 93, 0.12);
  overflow: hidden;
}
.search-suggest-status,
.search-suggest-empty {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 13px;
  color: var(--muted);
}
.search-suggest-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: min(380px, 52vh);
  overflow-y: auto;
}
.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}
.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: var(--sage-soft);
}
.search-suggest-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.search-suggest-item.no-photo img {
  object-fit: contain;
  padding: 0.35rem;
  background: #fff;
}
.search-suggest-body { min-width: 0; flex: 1; }
.search-suggest-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
}
.search-suggest-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest-all {
  display: block;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  text-align: center;
  text-decoration: none;
}
.search-suggest-all:hover { background: var(--cream); }
.mobile-search-wrap {
  margin-top: 1.25rem;
  position: relative;
}
.mobile-search-wrap .search-suggest-panel {
  margin-top: 0.5rem;
}
.mobile-search-wrap .search-suggest-list {
  max-height: 240px;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 78px;
  padding: 0;
}
@media (min-width: 1024px) { .header-inner { height: 96px; } }
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
@media (min-width: 1024px) {
  .header-left {
    justify-content: flex-end;
    padding-right: 1.25rem;
  }
}
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .header-right {
    justify-content: flex-start;
    padding-left: 1.25rem;
  }
  .header-right .header-tools { margin-left: auto; }
}
.header-right > .main-nav { margin-right: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.main-nav > ul > li { display: flex; align-items: center; }
.main-nav a, .main-nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s ease;
  vertical-align: middle;
}
.main-nav .nav-trigger .icon { flex-shrink: 0; }
.main-nav a:hover, .main-nav .nav-trigger:hover { color: var(--forest); }
/* Indicador sofisticado: subrayado con degradado que se expande desde el centro */
.main-nav > ul > li > a,
.main-nav > ul > li > .nav-trigger { position: relative; }
.main-nav > ul > li > a::after,
.main-nav > ul > li > .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--forest), var(--sage));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  opacity: 0;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > .nav-trigger:hover::after,
.main-nav > ul > li.nav-dropdown:hover > .nav-trigger::after,
.main-nav > ul > li > a.is-active::after,
.main-nav > ul > li > .nav-trigger.is-active::after,
.main-nav > ul > li.nav-dropdown.is-active > .nav-trigger::after {
  transform: scaleX(1);
  opacity: 1;
}
.main-nav > ul > li > a.is-active,
.main-nav > ul > li > .nav-trigger.is-active,
.main-nav > ul > li.nav-dropdown.is-active > .nav-trigger {
  color: var(--forest);
}
.services-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.services-grid-home { grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid-home { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid-home { grid-template-columns: repeat(4, 1fr); } }
.services-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(26,54,93,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.services-card-link { color: inherit; text-decoration: none; }
.services-card:hover,
.services-card-link:hover {
  box-shadow: 0 10px 28px rgba(26,54,93,0.12);
  transform: translateY(-2px);
}
.services-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 0.75rem;
  background: var(--sage-soft);
  color: var(--forest);
}
.services-icon svg { width: 22px; height: 22px; }
.services-card h2,
.services-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.3;
}
.services-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.services-cta {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}
.services-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--forest);
}
.services-cta p {
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
}
.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
}
.logo-icon svg { width: 20px; height: 20px; }
.logo-name {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  line-height: 1;
}
.logo-tag {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.icon-btn {
  position: relative;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--forest);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 20px; height: 20px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.cat-icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-sm { width: 14px; height: 14px; }
.toggle-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  padding: 2px;
}
.toggle-group button {
  border-radius: 0;
  padding: 0.25rem 0.625rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.toggle-group button.active { background: var(--forest); color: var(--cream); }
.toggle-group button:hover:not(.active) { color: var(--forest); }
.header-tools {
  display: none;
  align-items: center;
  gap: 0.375rem;
  border-left: 1px solid var(--line);
  padding-left: 0.5rem;
  margin-right: 0.25rem;
}
@media (min-width: 768px) { .header-tools { display: flex; } }

/* Mega menu */
.nav-dropdown { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: min(940px, 92vw);
  z-index: 50;
  border: 1px solid var(--line);
  border-radius: 0 0 1rem 1rem;
  background: var(--surface);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  animation: fadeUp 0.3s ease;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown.open .mega-menu { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.mega-col ul { display: block; }
.mega-col li { display: block; }
.mega-col h4 {
  margin-bottom: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}
.mega-col a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem 0.5rem;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  border-radius: 6px;
}
.mega-col a:hover { background: var(--cream); color: var(--forest); }
.mega-col .cat-icon { width: 20px; height: 20px; color: var(--forest); }
.mega-promo {
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  padding: 1.25rem;
  color: var(--cream);
}
.mega-promo p:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.mega-promo p:nth-child(2) { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.mega-promo .btn-cream { margin-top: 1rem; }

/* Mobile drawer */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 60;
  width: 100%; height: 100%;
  background: rgba(43, 43, 39, 0.4);
}
.mobile-drawer {
  position: fixed; left: 0; top: 0;
  width: 85%; max-width: 384px; height: 100vh;
  overflow-y: auto;
  background: var(--bg);
  padding: 1.25rem;
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
  animation: fadeUp 0.3s ease;
}
.mobile-drawer-header { display: flex; justify-content: space-between; align-items: center; }
.mobile-search {
  display: flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.625rem 1rem;
  color: var(--muted);
}
.mobile-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink);
}
.mobile-nav { margin-top: 1.25rem; }
.mobile-nav > a, .mobile-nav > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 0.625rem 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 0;
}
.mobile-nav > a:hover, .mobile-nav > button:hover { background: var(--cream); }
.mobile-nav > a.is-active,
.mobile-nav > button.is-active {
  color: var(--forest);
  background: var(--sage-soft);
  font-weight: 700;
}
.mobile-sub { margin-left: 0.5rem; padding-left: 0.75rem; border-left: 1px solid var(--line); }
.mobile-sub li a {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.375rem 0.5rem;
  font-size: 14px; color: var(--muted);
}
.mobile-sub li a:hover { color: var(--forest); }
.mobile-tools { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
  padding: 0.875rem 2rem;
}
.btn svg { width: 16px; height: 16px; }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: #fff; }
.btn-outline-cream { border: 1px solid rgba(246,241,231,0.5); color: var(--cream); }
.btn-outline-cream:hover { background: rgba(246,241,231,0.1); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--forest-deep); }
.btn-terracotta { background: var(--terracotta); color: #fff; }
.btn-terracotta:hover { background: #b86a4f; }
.btn-sm { padding: 0.5rem 1rem; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep), #081830);
  color: var(--cream);
  min-height: 640px;
}
@media (min-width: 768px) { .hero { min-height: 90vh; } }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.3;
  background: radial-gradient(circle at 20% 30%, rgba(138,168,147,.5), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(201,124,93,.4), transparent 45%);
}
/* Hero con imagen de fondo */
.hero.has-photo {
  background-image: var(--hero-bg-mobile);
  background-size: cover;
  background-position: 68% center;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  .hero.has-photo {
    background-image: var(--hero-bg-desktop);
    background-position: center right;
  }
}
/* Hero con video de fondo */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video.is-ready { opacity: 1; }
@media (max-width: 767px) {
  .hero-video { display: none; }
}
.hero.has-photo::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(22,48,42,0.92) 0%, rgba(22,48,42,0.75) 38%, rgba(22,48,42,0.25) 70%, rgba(22,48,42,0.1) 100%);
}
@media (max-width: 767px) {
  .hero.has-photo {
    min-height: max(620px, 88svh);
    background-position: 68% center;
  }
  .hero.has-photo::before {
    background: linear-gradient(
      90deg,
      rgba(15, 36, 64, 0.97) 0%,
      rgba(15, 36, 64, 0.94) 42%,
      rgba(15, 36, 64, 0.72) 58%,
      rgba(15, 36, 64, 0.25) 72%,
      transparent 92%
    );
  }
}
.hero-deco {
  position: absolute; right: -2.5rem; top: 2.5rem;
  font-size: 16rem; opacity: 0.05; pointer-events: none; user-select: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left;
  min-height: inherit;
  padding: 7rem 0;
}
.hero h1 { margin-left: 0; }
@media (max-width: 767px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    min-height: inherit;
    padding: 6.25rem 0 2.5rem;
    max-width: 92%;
  }
  .hero h1 {
    max-width: 18rem;
    font-size: clamp(1.55rem, 6.5vw, 1.85rem);
  }
  .hero-subtitle {
    max-width: 17rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .hero-actions { margin-top: 1.5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--sage);
}
@media (max-width: 767px) {
  .hero-eyebrow { color: #fff; }
}
.hero-eyebrow svg { width: 16px; height: 16px; }
.hero h1 {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}
.hero-subtitle {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.88);
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-actions .btn { border-radius: 0; }

/* Sections */
.section-intro { background: var(--cream); padding: 4rem 0; text-align: center; }
@media (min-width: 768px) { .section-intro { padding: 5rem 0; } }
.eyebrow {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--terracotta);
}
.section-intro h2 {
  margin: 1rem auto 0;
  max-width: 56rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
}
.section-intro p {
  margin: 1.25rem auto 0;
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.7;
}
.section-block { padding: 4rem 0; }
.section-soft { background: var(--bg-soft); }
.section-heading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 0.75rem; margin-bottom: 2rem;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--forest);
}
.section-heading a {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 14px; font-weight: 500;
  color: var(--forest);
  transition: gap 0.2s;
}
.section-heading a:hover { gap: 0.5rem; }
.section-heading a svg { width: 16px; height: 16px; }

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1600px) { .categories-grid { grid-template-columns: repeat(6, 1fr); } }
.category-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1.25rem;
  border: none;
  border-radius: 1rem;
  background: var(--surface);
  text-align: center;
  transition: all 0.2s;
}
.category-card.has-photo {
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.category-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #eef1f4;
  border-radius: 1rem;
}
.category-card.has-photo > span:last-child {
  width: 100%;
  padding: 0.55rem 0.35rem 0;
  font-size: 13px;
  line-height: 1.2;
  background: transparent;
}
.category-card .category-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}
.category-card.has-photo:hover .category-photo {
  transform: scale(1.03);
}
.category-card.has-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(26,54,93,0.12);
}
.category-card:not(.has-photo):hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,54,93,0.12);
}
.category-icon-wrap {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.category-card:hover .category-icon-wrap { background: var(--forest); color: var(--cream); }
.category-icon-wrap svg { width: 32px; height: 32px; }
.category-card span { font-size: 14px; font-weight: 500; line-height: 1.3; }

/* Tabs */
.tabs-scroll {
  display: flex; gap: 0.5rem;
  overflow-x: auto;
  margin: 0 -1rem 2rem;
  padding: 0 1rem;
  scrollbar-width: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--surface);
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { border-color: var(--forest); color: var(--forest); }
.tab-btn.active { border-color: var(--forest); background: var(--forest); color: var(--cream); }

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .products-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* Paginación de la tienda */
.shop-pagination {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.4rem; margin-top: 2rem;
}
.shop-page-btn {
  min-width: 40px; height: 40px; padding: 0 0.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.shop-page-btn:hover { border-color: var(--forest); color: var(--forest); }
.shop-page-btn.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.shop-page-btn.is-disabled { opacity: 0.4; pointer-events: none; }

/* Product card */
.product-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(26,54,93,0.12); }
.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-card-image .emoji {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 5rem;
  transition: transform 0.5s;
  text-decoration: none;
}
.product-card:hover .emoji { transform: scale(1.1); }
.product-badge {
  position: absolute; left: 0.75rem; top: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-size: 11px; font-weight: 600;
}
.badge-best { background: var(--forest); color: var(--cream); }
.badge-new { background: var(--gold); color: var(--ink); }
.badge-offer { background: var(--terracotta); color: #fff; }
.product-out-stock {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(43,43,39,0.4);
  color: #fff; font-size: 14px; font-weight: 500;
}
.product-fav {
  position: absolute; right: 0.75rem; top: 0.75rem;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--forest);
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .product-fav { opacity: 1; }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: 0.7rem 0.75rem 0.75rem; gap: 0.15rem; }
.product-stars { display: flex; align-items: center; gap: 2px; color: var(--gold); }
.icon-star { width: 12px; height: 12px; }
.icon-star.star-dim { color: var(--line); }
.product-stars span { margin-left: 0.2rem; font-size: 11px; color: var(--muted); }
.product-card h3 {
  margin-top: 0.15rem;
  font-size: 0.95rem; font-weight: 600;
  line-height: 1.3; color: var(--ink);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card h3:hover { color: var(--forest); }
.product-subtitle {
  font-size: 11px; color: var(--muted); margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  margin-top: 0.35rem;
  padding-top: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem;
}
.product-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-right: 0.25rem; }
.product-price { font-size: 1rem; font-weight: 600; color: var(--forest); }
.cart-btn {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 0;
  background: var(--forest);
  color: var(--cream);
  transition: background 0.2s;
}
.cart-btn:hover { background: var(--forest-deep); }
.cart-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-btn svg { width: 17px; height: 17px; }

/* Need finder */
.need-finder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest), var(--sage));
  padding-block: 4rem;
  color: var(--cream);
}
@media (min-width: 768px) { .need-finder { padding-block: 5rem; } }
.need-finder-content { position: relative; z-index: 1; max-width: 52rem; }
.need-finder-deco {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-size: 14rem; opacity: 0.1; pointer-events: none; line-height: 1;
}
.need-finder h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}
.need-finder-content > p { margin-top: 0.75rem; opacity: 0.9; max-width: 36rem; }
.need-finder-center { text-align: center; }
.need-finder-center .need-finder-content { margin-inline: auto; }
.need-finder-center .need-finder-content > p { margin-inline: auto; }
.need-finder-center .need-pills { justify-content: center; }
.need-pills { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.need-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 0;
  background: rgba(246,241,231,0.15);
  padding: 0.5rem 1rem;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.need-pill:hover { background: rgba(246,241,231,0.25); }
.need-pill-brand { letter-spacing: 0.02em; font-weight: 600; }

/* Learn */
.learn-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .learn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .learn-grid { grid-template-columns: repeat(4, 1fr); } }
.learn-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.learn-card:hover { box-shadow: 0 8px 24px rgba(26,54,93,0.1); }
.learn-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
}
.learn-icon svg { width: 20px; height: 20px; }
.learn-card p { flex: 1; margin-top: 0.75rem; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.learn-card:hover p { color: var(--forest); }
.learn-link { margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 14px; font-weight: 500; color: var(--terracotta); }
.learn-link svg { width: 16px; height: 16px; }

/* Tips */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .tips-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tips-grid { grid-template-columns: repeat(4, 1fr); } }
.tip-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  text-align: left;
  cursor: pointer;
}
.tip-visual {
  position: relative;
  aspect-ratio: 3/4;
}
.tip-visual .emoji {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 3rem;
  transition: transform 0.5s;
}
.tip-card:hover .emoji { transform: scale(1.1); }
.tip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1), transparent);
}
.tip-play {
  position: absolute; right: 0.75rem; top: 0.75rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--forest);
  font-size: 12px;
}
.tip-text {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1rem;
  color: #fff;
}
.tip-text p { font-size: 14px; font-weight: 600; line-height: 1.3; }
.tip-text span { display: block; margin-top: 0.25rem; font-size: 12px; opacity: 0.8; }

/* Reviews */
.reviews-header { text-align: center; margin-bottom: 2rem; }
.reviews-header .stars { display: flex; justify-content: center; gap: 2px; color: var(--gold); margin-bottom: 0.5rem; }
.reviews-header .stars svg { width: 20px; height: 20px; }
.reviews-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--forest); }
.reviews-header p { color: var(--muted); margin-top: 0.5rem; }
.reviews-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.25rem;
}
.review-card blockquote { flex: 1; margin-top: 0.75rem; font-size: 14px; line-height: 1.6; }
.review-author {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.75rem;
}
.review-avatar {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  font-weight: 600; color: var(--forest);
}
.review-author strong { display: block; font-size: 14px; }
.review-author span { display: block; font-size: 12px; color: var(--muted); }

/* Por qué elegirnos */
.why-choose-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.why-choose-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.25;
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
}
@media (min-width: 640px) {
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-choose-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.why-choose-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--terracotta);
  border: 2px dashed var(--terracotta);
  border-radius: 50%;
}
.why-choose-icon svg { width: 100%; height: 100%; display: block; }
.why-choose-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.why-choose-body p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.faq-list { max-width: 52rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.25rem 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--forest);
  padding: 0.85rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

/* Footer */
.site-footer {
  margin-top: 5rem;
  background: var(--forest);
  color: var(--cream);
}
.footer-newsletter {
  border-bottom: 1px solid rgba(246,241,231,0.15);
  padding: 3rem 0;
}
.footer-newsletter-grid {
  display: grid; gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) { .footer-newsletter-grid { grid-template-columns: 1fr 1fr; } }
.footer-newsletter h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; }
.footer-newsletter p { margin-top: 0.5rem; max-width: 28rem; font-size: 14px; opacity: 0.8; }
.newsletter-form {
  display: flex; gap: 0.5rem;
  max-width: 28rem;
}
@media (min-width: 768px) { .newsletter-form { margin-left: auto; } }
.newsletter-form input {
  flex: 1;
  border: 1px solid rgba(246,241,231,0.3);
  border-radius: 0;
  background: rgba(246,241,231,0.1);
  padding: 0.75rem 1.25rem;
  font-size: 14px;
  color: var(--cream);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(246,241,231,0.6); }
.newsletter-form input:focus { border-color: var(--cream); }
.newsletter-form .btn { border-radius: 0; }
.footer-columns {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 640px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }
}
@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 0.72fr) minmax(0, 0.72fr);
    column-gap: clamp(1.5rem, 3vw, 3rem);
    row-gap: 2.5rem;
  }
  .footer-col-brand > p {
    max-width: 26rem;
  }
  .footer-col:nth-child(3),
  .footer-col:nth-child(4),
  .footer-col:nth-child(5) {
    justify-self: end;
    width: max-content;
    max-width: 100%;
  }
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
}
.footer-brand-icon svg { width: 20px; height: 20px; }
.footer-brand span { font-size: 1.5rem; font-weight: 600; }
.footer-col > p { margin-top: 1rem; font-size: 14px; line-height: 1.6; opacity: 0.8; }
.footer-col h4 {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.footer-col ul { margin-top: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 14px; opacity: 0.8; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-col address { margin-top: 1rem; font-style: normal; font-size: 14px; opacity: 0.8; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(246,241,231,0.15);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 12px; opacity: 0.7;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* Shop */
.shop-layout { display: grid; gap: 1.25rem; padding: 1rem 0 2.5rem; }
@media (min-width: 1024px) {
  .shop-layout { grid-template-columns: 260px 1fr; gap: 2rem; padding: 2.5rem 0; }
  .shop-header-bar { grid-column: 1 / -1; }
  .shop-filters { grid-column: 1; }
  .shop-products { grid-column: 2; }
}
.shop-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.shop-results-line { margin: 0; font-size: 14px; color: var(--ink); }
.shop-results-line strong { color: var(--forest); }
.shop-meta { color: var(--muted); }
.shop-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}
.shop-filters-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.shop-active-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}
.shop-active-bar::-webkit-scrollbar { display: none; }
.shop-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--forest);
  background: rgba(26, 54, 93, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}
.shop-active-chip .icon { width: 12px; height: 12px; opacity: 0.7; }
.shop-active-clear {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}
.shop-filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(15, 36, 64, 0.45);
}
@media (max-width: 1023px) {
  .shop-filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 230;
    max-height: min(88svh, 720px);
    transform: translateY(105%);
    transition: transform 0.28s ease;
    pointer-events: none;
  }
  .shop-filters.is-open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .shop-filters-panel {
    display: flex;
    flex-direction: column;
    max-height: inherit;
    background: var(--surface);
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -12px 40px rgba(15, 36, 64, 0.18);
  }
  .shop-filters-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }
  .shop-filters-drawer-head h2 { margin: 0; font-size: 1.1rem; color: var(--forest); }
  .shop-filters-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 0.5rem;
  }
  .shop-filters-panel .filter-block {
    margin-top: 1.25rem;
    padding-inline: 1rem;
  }
  .shop-filters-panel .filter-block:first-of-type { margin-top: 1rem; }
  .shop-filters-foot {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid var(--line);
    background: var(--cream);
  }
  .btn-block { width: 100%; justify-content: center; }
  .filter-block { margin-top: 1.25rem; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }
}
@media (min-width: 1024px) {
  .shop-filters-panel { display: block; }
  .shop-filters-drawer-head,
  .shop-filters-foot { display: none; }
}
.shop-breadcrumb { font-size: 14px; color: var(--muted); }
.shop-breadcrumb a { color: var(--forest); }
.shop-header h1 { margin-top: 0.25rem; font-size: 2.25rem; color: var(--forest); }
.shop-header p { margin-top: 0.25rem; color: var(--muted); }
.shop-filters h2 { font-size: 1.25rem; color: var(--forest); }
.filter-block { margin-top: 2rem; }
.filter-block h3 {
  margin-bottom: 0.75rem;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 1024px) { .filter-chips { flex-direction: column; align-items: flex-start; } }
.filter-chip {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.375rem 0.875rem;
  font-size: 14px;
  background: var(--surface);
  transition: all 0.2s;
  text-align: left;
}
.filter-chip:hover { border-color: var(--forest); color: var(--forest); }
.filter-chip.active { border-color: var(--forest); background: var(--forest); color: var(--cream); }
.filter-chip .cat-icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.shop-empty {
  display: grid; place-items: center;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  padding: 6rem 2rem;
  text-align: center;
}
.shop-empty span { font-size: 2.5rem; }
.shop-empty p { margin-top: 0.75rem; color: var(--muted); }

/* Product detail */
.product-detail { padding: 2.5rem 0; }
.product-detail-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: 1fr 1fr; } }
.product-gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}
.product-gallery-main .emoji {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 10rem;
}
.product-detail .category-tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--sage-soft);
  padding: 0.25rem 0.75rem;
  font-size: 12px; font-weight: 500;
  color: var(--forest);
}
.product-detail h1 { margin-top: 0.75rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.product-detail .subtitle { margin-top: 0.25rem; font-style: italic; color: var(--muted); }
.product-detail .meta { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.product-detail .stock { font-size: 14px; font-weight: 500; }
.stock-in { color: var(--forest); }
.stock-out { color: var(--terracotta); }
.product-detail .prices { margin-top: 1.25rem; display: flex; align-items: flex-end; gap: 0.75rem; }
.product-detail .price-old { font-size: 1.25rem; color: var(--muted); text-decoration: line-through; }
.product-detail .price-main { font-size: 2.25rem; font-weight: 600; color: var(--forest); }
.product-detail .desc { margin-top: 1.25rem; line-height: 1.7; }
.benefits-list { margin-top: 1.5rem; }
.benefits-list h3 {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.benefits-list ul { margin-top: 0.75rem; }
.benefits-list li {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 14px;
}
.benefit-icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
}
.benefit-icon svg { width: 14px; height: 14px; }
.qty-row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
}
.qty-control button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 1.125rem;
  color: var(--forest);
}
.qty-control button:hover { background: var(--cream); }
.qty-control span { width: 40px; text-align: center; font-size: 14px; font-weight: 500; }
.add-cart-row .btn-add-cart {
  flex: 0 0 auto;
  border-radius: 0;
  padding: 0 1.1rem;
  height: 44px;
  font-size: 0.8rem;
  gap: 0.45rem;
}
.add-cart-row .btn-add-cart svg { width: 18px; height: 18px; }
.fav-btn-lg {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--forest);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fav-btn-lg:hover { background: var(--cream); }
.fav-btn-lg.is-fav { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.fav-btn-lg.is-fav svg { fill: currentColor; }

/* About — editorial */
.about-hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--forest-deep);
  display: flex; align-items: center;
  min-height: 460px;
}
.about-hero-media { position: absolute; inset: 0; }
.about-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.about-hero-slide.is-active { opacity: 1; }
.about-hero-media-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,48,42,0.5), rgba(22,48,42,0.82));
}
.about-hero-content { position: relative; z-index: 2; width: 100%; padding-block: 2.5rem; }
.about-hero-text { max-width: 34rem; }
.about-hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 600; color: rgba(246,241,231,0.72);
}
.about-hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(1.85rem, 4.4vw, 3.025rem);
  font-weight: 700; line-height: 1.08;
}
.about-hero-subtitle { margin-top: 1.25rem; max-width: 30rem; font-size: 1rem; line-height: 1.7; color: rgba(246,241,231,0.82); }
.about-hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }
.about-hero-actions .btn {
  border-radius: 0; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.8rem; padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .about-hero { min-height: 540px; }
  .about-hero-media-fade { background: linear-gradient(90deg, rgba(22,48,42,0.9) 0%, rgba(22,48,42,0.55) 42%, rgba(22,48,42,0.2) 100%); }
}

/* Franja de cifras */
.about-stats { background: var(--forest); color: var(--cream); }
.about-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding-block: 2.25rem; }
@media (min-width: 768px) { .about-stats-grid { display: flex; flex-wrap: wrap; gap: 1rem; padding-block: 2.75rem; } }
.about-stat { text-align: center; position: relative; }
@media (min-width: 768px) { .about-stat { flex: 1 1 0; min-width: 0; } }
@media (min-width: 768px) { .about-stat:not(:last-child)::after { content: ""; position: absolute; right: -0.5rem; top: 10%; height: 80%; width: 1px; background: rgba(246,241,231,0.18); } }
.about-stat strong { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1; }
.about-stat span { display: block; margin-top: 0.4rem; font-size: 13px; opacity: 0.82; }

/* Bloques alternados con foto */
.about-blocks { padding-block: 1rem 2rem; }
.about-block {
  display: grid; gap: 2rem;
  padding: 3rem 0;
  align-items: center;
}
@media (min-width: 768px) {
  .about-block { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4.5rem 0; }
  .about-block.reverse .about-block-media { order: 2; }
}
.about-block + .about-block { border-top: 1px solid var(--line); }
.about-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 0;
  overflow: hidden;
  background-size: cover; background-position: center;
}
.about-media.has-photo {
  box-shadow: 0 18px 40px -12px rgba(26, 54, 93, 0.35), 0 6px 14px -6px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  filter: contrast(1.06) saturate(1.08) brightness(1.02);
}
.about-media.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 50% 40%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.22) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(0,0,0,0) 45%, rgba(26,54,93,0.12) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.about-block:hover .about-media.has-photo {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px -12px rgba(26, 54, 93, 0.42), 0 8px 18px -6px rgba(0, 0, 0, 0.18);
}
.about-media.is-placeholder {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(26,54,93,0.04) 0 12px, transparent 12px 24px),
    var(--bg-soft);
  border: 1px dashed var(--sage-soft);
  color: var(--sage);
}
.about-media-icon { display: grid; place-items: center; opacity: 0.55; }
.about-media-icon svg { width: 56px; height: 56px; }
.about-cats-mini {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}
.about-cats-mini div {
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 0;
  color: var(--forest);
}
.about-cats-mini svg { width: 26px; height: 26px; }
.about-text-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sage-soft); color: var(--forest);
  margin-bottom: 1rem;
}
.about-text-icon svg { width: 24px; height: 24px; }
.about-text .eyebrow { color: var(--terracotta); }
.about-text h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.22;
}
.about-text p { margin-top: 1rem; color: var(--muted); line-height: 1.75; }

/* Equipo */
.team-section { background: var(--bg-soft); padding: 4rem 0; }
@media (min-width: 768px) { .team-section { padding: 5.5rem 0; } }
.team-header { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.team-header .eyebrow { color: var(--terracotta); }
.team-header h2 { margin-top: 0.5rem; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--forest); }
.team-header p { margin-top: 1rem; color: var(--muted); line-height: 1.7; }
.ceo-card {
  max-width: 52rem;
  margin: 0 auto 3rem;
  display: grid; gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
@media (min-width: 640px) { .ceo-card { grid-template-columns: 240px 1fr; } }
.ceo-photo {
  min-height: 220px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  font-size: 3rem; font-weight: 700; color: var(--cream);
  background-size: cover; background-position: center;
}
.ceo-photo.has-photo { font-size: 0; }
.ceo-body { padding: 2rem; position: relative; }
.ceo-quote-mark { position: absolute; top: 0.5rem; left: 1.25rem; font-size: 4rem; line-height: 1; color: var(--sage-soft); font-family: Georgia, serif; }
.ceo-body blockquote { position: relative; margin: 0.5rem 0 0; font-size: 1.05rem; font-style: italic; line-height: 1.65; color: var(--ink); }
.ceo-meta { margin-top: 1.25rem; }
.ceo-meta strong { display: block; font-size: 1rem; color: var(--forest); }
.ceo-meta span { font-size: 13px; color: var(--muted); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-member {
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-member:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22,48,42,0.1); }
.team-avatar {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  font-size: 1.4rem; font-weight: 600;
  color: var(--forest);
  background-size: cover; background-position: center;
}
.team-avatar-icon svg { width: 34px; height: 34px; }
.team-member strong { margin-top: 0.85rem; font-size: 14px; color: var(--forest); }
.team-member span { margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.35; }

/* Propósito */
.purpose-block {
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  padding: 3rem 2rem;
  text-align: center;
  color: var(--cream);
}
@media (min-width: 768px) { .purpose-block { padding: 4.5rem; } }
.purpose-block .eyebrow { color: rgba(246,241,231,0.8); }
.purpose-text {
  margin-top: 1rem;
  max-width: 48rem;
  margin-inline: auto;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
}
.purpose-block .btn { margin-top: 1.75rem; border-radius: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
[x-cloak] { display: none !important; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: rgba(22, 48, 42, 0.55);
}
.modal-box {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  background: var(--surface);
  border-radius: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 30px 70px rgba(22,48,42,0.35);
  border-top: 4px solid var(--forest);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-box > *:not(.modal-close) { padding-inline: 2rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%; color: var(--forest);
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.modal-close:hover { background: var(--cream); }
.modal-header {
  display: flex; align-items: flex-start; gap: 1rem;
  padding-top: 2rem; padding-bottom: 1.25rem;
  background: linear-gradient(180deg, var(--cream), var(--surface));
  border-bottom: 1px solid var(--line);
}
.modal-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--forest); color: var(--cream);
}
.modal-icon svg { width: 24px; height: 24px; }
.modal-title { font-size: 1.35rem; font-weight: 700; color: var(--forest); padding-right: 1.5rem; }
.modal-intro { margin-top: 0.35rem; color: var(--muted); font-size: 14px; line-height: 1.6; }
.shipping-steps { counter-reset: step; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.shipping-steps li {
  position: relative;
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.25rem 0 0.25rem 3rem;
  min-height: 2rem;
}
.shipping-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-soft); color: var(--forest-deep);
  font-weight: 700; font-size: 14px;
}
.shipping-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 1rem; top: 2rem; bottom: -1rem;
  width: 2px; background: var(--sage-soft);
}
.shipping-steps strong { color: var(--ink); font-size: 15px; }
.shipping-steps span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.modal-note { font-size: 13px; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.contact-list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-list li {
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}
.contact-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terracotta); }
.contact-list a { color: var(--forest); font-weight: 600; font-size: 15px; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span:not(.contact-label) { color: var(--ink); font-size: 14px; }
.modal-action-center { display: flex; justify-content: center; margin-top: 1.75rem; padding-bottom: 2rem; }
.shipping-steps + .modal-note { margin-bottom: 0; }
.modal-box .modal-note { padding-bottom: 1.5rem; }
.modal-box .btn-forest { margin-bottom: 2rem; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:hover {
  background: #1ebe5b;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.services-cta .btn-whatsapp { margin-top: 0.25rem; }

@media (max-width: 640px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    width: 100%;
    max-height: 92vh;
    border-top: none;
    animation: modalUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .modal-box > *:not(.modal-close) { padding-inline: 1.25rem; }
  .modal-header { gap: 0.75rem; padding-top: 1.75rem; }
  .modal-icon { width: 42px; height: 42px; }
  .modal-icon svg { width: 22px; height: 22px; }
  .modal-title { font-size: 1.2rem; }
  .modal-close { top: 0.75rem; right: 0.75rem; }
  .shipping-steps li { padding-left: 2.75rem; }
  .modal-box .btn-whatsapp { width: 100%; }
}
@keyframes modalUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal effects */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
  }
  [data-reveal="up"]    { transform: translateY(40px); }
  [data-reveal="down"]  { transform: translateY(-40px); }
  [data-reveal="left"]  { transform: translateX(40px); }
  [data-reveal="right"] { transform: translateX(-40px); }
  [data-reveal="zoom"]  { transform: scale(0.92); }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ====== Gromar: logo, fotos de producto, blog, hero de página ====== */
.logo-img { height: 60px; width: auto; display: block; }
@media (min-width: 1024px) { .logo-img { height: 78px; } }
.logo-img-drawer { height: 40px; }
.footer-logo { height: 84px; width: auto; }
.footer-col-brand p { margin-top: 1rem; }
.footer-social { margin-top: 1.35rem; }
.footer-social h4 { margin-top: 0; }
.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, 0.35);
  color: var(--cream);
  background: rgba(246, 241, 231, 0.06);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer-social-link:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social-link .icon { width: 18px; height: 18px; }
.footer-contact { margin-top: 1rem; font-style: normal; font-size: 14px; opacity: 0.85; line-height: 1.6; }
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
}
.footer-contact-line:last-child { margin-bottom: 0; }
.footer-contact-line .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  opacity: 0.9;
}
.footer-contact-line a { color: inherit; opacity: 1; transition: opacity 0.2s; }
.footer-contact-line a:hover { opacity: 1; color: #fff; }
.contact-multi { display: flex; flex-direction: column; gap: 0.35rem; }

/* Imágenes reales — tips y productos */
.tip-visual.has-photo {
  background-color: var(--cream, #f6f1e7);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.product-card-image.has-photo {
  background-color: var(--cream, #f6f1e7);
  padding: 0.2rem;
  box-sizing: border-box;
}
.product-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
  transform-origin: center center;
}
.product-card:hover .product-card-photo { transform: scale(1.02); }
.product-card-image .product-card-link {
  position: absolute; inset: 0; display: block; z-index: 1;
}
/* Placeholder con el logo cuando no hay imagen */
.product-card-image.no-photo,
.product-gallery-main.no-photo {
  background-color: var(--cream, #f6f1e7);
  display: grid; place-items: center;
}
.no-photo .product-card-link {
  display: grid; place-items: center;
}
.product-card-logo {
  width: 55%; max-width: 160px; height: auto;
  opacity: 0.5; object-fit: contain;
}
.product-gallery-main { cursor: zoom-in; }
.product-gallery-main.has-photo {
  background-color: var(--cream, #f6f1e7);
  border: 1px solid rgba(26,54,93,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  box-sizing: border-box;
}
.product-gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.2s ease;
  transform-origin: center center;
}
.product-presentation { margin-top: 0.75rem; font-size: 14px; color: var(--muted); }
.product-specs {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 14px;
}
.product-specs div { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-specs dt { font-weight: 600; color: var(--forest); }
.product-specs dd { margin: 0; color: var(--muted); }

/* Blog */
.blog-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: #fff; border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 4px 16px rgba(26,54,93,0.08); display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 10px 28px rgba(26,54,93,0.14); transform: translateY(-3px); }
.blog-card-image {
  display: block; aspect-ratio: 16/10; position: relative;
  background: linear-gradient(135deg, #1A365D, #4A6FA5);
}
.blog-card-image.has-photo { background-size: cover; background-position: center; }
.blog-card-image .emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.5rem; }
.blog-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-card-date { font-size: 12px; color: var(--terracotta); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--forest); line-height: 1.3; }
.blog-card-body p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card-link { font-size: 13px; font-weight: 600; color: var(--terracotta); display: inline-flex; align-items: center; gap: 0.35rem; }

/* Hero de página (blog / blog-post) */
.page-hero {
  position: relative; padding-block: 4.5rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 45%, #2d4a73 100%);
  color: var(--cream, #f6f1e7); overflow: hidden;
}
.page-hero.has-photo { background-size: cover; background-position: center; }
.blog-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 48vh, 520px);
  padding-block: clamp(3.5rem, 10vh, 6rem);
}
.blog-hero .container-x { width: 100%; }
.blog-hero.has-photo { background-position: center 42%; }
@media (max-width: 767px) {
  .blog-hero {
    min-height: clamp(280px, 40vh, 380px);
    padding-block: 3rem 2.75rem;
  }
}
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,36,64,0.35), rgba(15,36,64,0.72)); }
.page-hero-content { position: relative; text-align: center; max-width: 46rem; margin-inline: auto; }
.page-hero-content .eyebrow { color: rgba(246,241,231,0.85); }
.page-hero-crumb { font-size: 13px; color: rgba(246,241,231,0.85); }
.page-hero-crumb a { color: rgba(246,241,231,0.85); }
.page-hero-crumb a:hover { color: #fff; text-decoration: underline; }
.page-hero-title { margin-top: 0.5rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.1; }
.shop-hero, .product-hero { display: flex; align-items: center; min-height: 320px; padding-block: 2rem; }
.shop-hero .container-x, .product-hero .container-x { width: 100%; }
@media (max-width: 767px) {
  .shop-hero {
    min-height: auto;
    padding-block: 1.35rem 1.1rem;
  }
  .shop-hero .page-hero-content { text-align: left; margin-inline: 0; max-width: none; }
  .shop-hero .page-hero-crumb { font-size: 12px; }
  .shop-hero .page-hero-content h1 { font-size: 1.45rem; margin-top: 0.35rem; }
  .shop-hero .page-hero-content p { display: none; }
}
@media (min-width: 768px) { .shop-hero, .product-hero { min-height: 360px; } }
.page-hero-content h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-top: 0.5rem; }
.page-hero-content p { margin-top: 0.75rem; color: rgba(246,241,231,0.9); }

/* Cuerpo del post */
.blog-post-body { max-width: 46rem; padding-block: 3rem; }
.blog-post-lead { font-size: 1.2rem; font-weight: 600; color: var(--forest); line-height: 1.6; }
.blog-post-content { margin-top: 1.5rem; line-height: 1.85; color: var(--ink); font-size: 1.02rem; }

@media (max-width: 1023px) {
  .product-detail { padding-inline: 0.85rem; }
}

/* ===== Botones flotantes (WhatsApp + subir) ===== */
.floating-actions {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 150;
  display: flex; flex-direction: column; gap: 0.65rem; align-items: center;
}
.float-btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(22,48,42,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-actions { transition: bottom 0.3s ease; }
.floating-actions.is-raised { bottom: 6rem; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,48,42,0.38); }
.float-btn svg { width: 26px; height: 26px; }
.float-wa { background: #25d366; color: #fff; animation: floatPulse 2.6s ease-in-out infinite; }
.float-wa:hover { background: #1ebe5b; }
.float-top { background: var(--forest); color: var(--cream); }
.float-top:hover { background: var(--forest-deep); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 8px 20px rgba(37,211,102,0.35), 0 0 0 12px rgba(37,211,102,0); }
}

/* ===== Banner de cookies ===== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 160;
  background: var(--forest-deep); color: var(--cream);
  box-shadow: 0 -8px 24px rgba(22,48,42,0.25);
}
.cookie-inner {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: 1rem; flex-wrap: wrap;
}
.cookie-text { font-size: 13.5px; line-height: 1.55; flex: 1; min-width: 260px; opacity: 0.92; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-actions .btn { border-radius: 0; }
.cookie-reject {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(246,241,231,0.5);
}
.cookie-reject:hover { background: rgba(246,241,231,0.12); }
.cookie-accept { background: var(--cream); color: var(--forest-deep); }
.cookie-accept:hover { background: #fff; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; text-align: left; gap: 0.85rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
  .floating-actions { right: 1rem; bottom: 1rem; }
  .floating-actions.is-raised { bottom: 12rem; }
  .float-btn { width: 48px; height: 48px; }
}

/* ===== Libro de reclamaciones ===== */
.claims-hero { background: linear-gradient(135deg, #1A365D, #4A6FA5); }
.claims-wrap { padding-block: 3rem 4rem; max-width: 52rem; }
.claims-form { display: flex; flex-direction: column; gap: 2rem; }
.claims-fieldset {
  border: 1px solid var(--line); border-radius: 0; padding: 1.5rem;
  background: var(--surface); display: flex; flex-direction: column; gap: 1.1rem;
}
.claims-fieldset legend {
  font-weight: 700; color: var(--forest); font-size: 1.05rem;
  padding: 0 0.6rem; margin-left: -0.6rem;
}
.claims-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 0;
  padding: 0.7rem 0.85rem; font-size: 14px; color: var(--ink);
  background: var(--cream); outline: none; font-family: inherit;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--terracotta); background: #FFF4ED; }
.claims-type { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.radio-card {
  display: flex; align-items: flex-start; gap: 0.6rem;
  border: 1px solid var(--line); padding: 0.85rem 1rem; cursor: pointer;
  font-size: 13.5px; color: var(--ink); line-height: 1.4;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-card:has(input:checked) { border-color: var(--forest); background: var(--sage-soft); }
.radio-card input { margin-top: 0.15rem; accent-color: var(--forest); }
.claims-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.claims-consent input { margin-top: 0.15rem; accent-color: var(--forest); }
.claims-consent.has-error span { color: var(--terracotta); }
.claims-actions { display: flex; }
.claims-actions .btn { border-radius: 0; }
.claims-success {
  text-align: center; max-width: 34rem; margin-inline: auto;
  padding: 3rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.claims-success-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sage-soft); color: var(--forest);
}
.claims-success-icon svg { width: 34px; height: 34px; }
.claims-success h2 { font-size: 1.5rem; font-weight: 700; color: var(--forest); }
.claims-success p { color: var(--muted); line-height: 1.6; }
.claims-success .btn { border-radius: 0; margin-top: 0.5rem; }
@media (max-width: 640px) {
  .claims-grid, .claims-type { grid-template-columns: 1fr; }
  .claims-fieldset { padding: 1.1rem; }
}

/* ===== Carrito y favoritos ===== */
.product-fav.is-fav { color: var(--terracotta); }
.product-fav.is-fav svg { fill: currentColor; }

.icon-btn-badge { position: relative; }
.icon-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--terracotta); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
}

/* Toast */
.shop-toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  z-index: 400;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--forest-deep); color: var(--cream);
  padding: 0.8rem 1.25rem;
  box-shadow: 0 12px 30px rgba(22,48,42,0.35);
  font-size: 0.9rem; font-weight: 500;
  max-width: calc(100vw - 2rem);
}
.shop-toast-icon { display: grid; place-items: center; color: var(--sage-soft); }
.shop-toast-icon svg { width: 20px; height: 20px; }

/* Drawer */
.shop-drawer-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(20,40,33,0.5); }
.shop-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260;
  width: min(420px, 100%);
  background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(22,48,42,0.25);
}
.drawer-enter { transition: transform 0.3s ease; }
.drawer-enter-start { transform: translateX(100%); }
.drawer-leave { transition: transform 0.25s ease; }
.drawer-leave-end { transform: translateX(100%); }
.shop-drawer-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--line);
}
.shop-drawer-tabs { display: flex; gap: 0.25rem; flex: 1; }
.shop-drawer-tabs button {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.85rem; font-size: 0.85rem; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent;
}
.shop-drawer-tabs button.active { color: var(--forest); border-bottom-color: var(--forest); }
.tab-count {
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-grid; place-items: center; border-radius: 999px;
  background: var(--sage-soft); color: var(--forest-deep); font-size: 10px; font-weight: 700;
}
.shop-drawer-close { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); }
.shop-drawer-close:hover { background: var(--cream); }
.shop-drawer-body { flex: 1; overflow-y: auto; padding: 1rem; }
.shop-drawer-empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; font-size: 0.9rem; }
.drawer-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.drawer-item-img {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--bg-soft); background-size: cover; background-position: center;
}
.drawer-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.drawer-item-info strong { font-size: 0.9rem; color: var(--ink); line-height: 1.3; }
.drawer-item-price { font-size: 0.85rem; font-weight: 600; color: var(--forest); }
.drawer-qty { display: flex; align-items: center; border: 1px solid var(--line); width: max-content; }
.drawer-qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--forest); font-size: 1rem; }
.drawer-qty button:hover { background: var(--cream); }
.drawer-qty span { width: 34px; text-align: center; font-size: 0.85rem; font-weight: 600; }
.drawer-fav-add { align-self: flex-start; font-size: 0.78rem; font-weight: 600; color: var(--terracotta); }
.drawer-fav-add:hover { text-decoration: underline; }
.drawer-item-remove { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.drawer-item-remove:hover { background: var(--cream); color: var(--terracotta); }
.shop-drawer-foot { border-top: 1px solid var(--line); padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; }
.drawer-total strong { font-size: 1.25rem; color: var(--forest); }
.drawer-checkout { width: 100%; border-radius: 0; gap: 0.5rem; }
.drawer-continue { font-size: 0.82rem; color: var(--muted); }
.drawer-continue:hover { color: var(--forest); }
