/* ============================================================
   El Hornito — Componentes y secciones (réplica fiel del mockup)
   ============================================================ */

/* ============== TOP BAR ============== */
.topbar { background: var(--eh-dark); color: #d9d3c6; font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-block: 6px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--eh-gold); }
.topbar__center { font-weight: 500; color: #efe7d8; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { color: #c7c0b2; }
.topbar svg { width: 15px; height: 15px; }

/* ============== HEADER ============== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--eh-cream);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--eh-line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: var(--header-h); }
.header__logo { flex: 0 0 auto; }
.header__logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav--center { justify-content: center; flex: 1; }
.nav a {
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 600; font-size: 1.15rem; color: var(--eh-ink); position: relative; padding: 4px 0;
}
.site-branding img {
    margin: 0px;
    width: 100px !important;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--eh-red); transition: width .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--eh-ink); transition: background .2s, color .2s; position: relative; }
.icon-btn:hover { background: var(--eh-gold); color: var(--eh-gold-ink); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn--green { background: var(--eh-green); color: #fff; }
.icon-btn--green:hover { background: var(--eh-green-hover); color: #fff; }
.cart-count { position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; padding: 0 4px; background: var(--eh-gold); color: var(--eh-gold-ink); border-radius: 10px; font-family: var(--ff-body); font-size: 0.7rem; font-weight: 700; display: grid; place-items: center; }
.header__phone { display: none; }
.header__left { display: none; }
.header__phone svg { width: 28px; height: 28px; color: var(--eh-red); flex: 0 0 auto; }
.header__phone small { display: block; font-size: 0.66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eh-text-soft); font-family: var(--ff-cond); }
.header__phone strong { font-family: var(--ff-cond); font-size: 1.05rem; color: var(--eh-red); }
.hamburger { display: none; }
.header__cta { display: inline-flex; }

/* ============== HERO ============== */
.hero { position: relative; background: var(--eh-dark-2); }
.hero__media { position: relative; line-height: 0; }
.hero__media img { width: 100%; height: auto; display: block; }
.hero__float { position: absolute; left: 50%; bottom: clamp(20px, 5vw, 54px); transform: translateX(-50%); }
/*categorias elementor*/
.elementor-widget-fazfood-product-categories .product-cat-content {
    display: none;
}
.elementor-widget-fazfood-product-categories .category-product-img .decor-leaf-2 {
    bottom: 0px;
    left: -20px;
}
.elementor-widget-fazfood-product-categories .category-product-img .decor-leaf {
    right: -20px;
    top: 0px;
}
.elementor-widget-fazfood-product-categories .product-cat-link {
    box-shadow: 0 0 0 0;
	max-height: 460px
}
/* Color normal: marrón — en TODOS los SVG sin importar la clase */
.elementor-widget-fazfood-product-categories .category-product-icon-top svg text,
.elementor-widget-fazfood-product-categories .category-product-icon-top svg tspan,
.elementor-widget-fazfood-product-categories .category-product-icon-top svg path {
  fill: #482a14;
  transition: fill .35s ease;
}
/* Hover: blanco */
.elementor-widget-fazfood-product-categories .product-cat-link:hover .category-product-icon-top svg text,
.elementor-widget-fazfood-product-categories .product-cat-link:hover .category-product-icon-top svg tspan,
.elementor-widget-fazfood-product-categories .product-cat-link:hover .category-product-icon-top svg path {
  fill: #fff;
}
.elementor-widget-fazfood-product-categories .category-product-icon-top svg {
  height: 60px;        /* misma altura para todos (ajustá el número) */
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;      /* centrado */
}
/* =========== SITE TEMPLATE ============= */
#page .site-content {
    margin-bottom: 80px;
    margin-top: 0px;
}
/* Reducir altura del hero: recortar la imagen en lugar de mostrarla completa */
.hero { max-height: clamp(360px, 45vh, 520px); overflow: hidden; }
.hero__media { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: end; display: block; }

/* Ajustes para 'Sobre nuestras empanadas' (menos padding/min-height) */
.about { padding-block: clamp(32px, 4vw, 56px); }
.about__art { min-height: 360px; }
.about__features { margin-top: 18px; }

/* ============== PAGE TITLE (encabezado de página interna) ============== */
.page-title {
  background: var(--eh-cream-2);
  border-bottom: 1px solid var(--eh-line);
  text-align: center;
  padding-block: clamp(40px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}
.page-title__inner { position: relative; z-index: 2; }
.page-title h1 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; color: var(--eh-ink);
  letter-spacing: .01em;
}
.page-title .eyebrow { justify-content: center; margin-bottom: 14px; }
.breadcrumb {
  margin-top: 16px; display: flex; gap: 10px; justify-content: center; align-items: center;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .08em;
  font-size: .9rem; color: var(--eh-text-soft);
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--eh-gold-ink); }
.breadcrumb [aria-current] { color: var(--eh-gold-ink); font-weight: 600; }
.breadcrumb .sep { opacity: .5; }
.page-title__deco { position: absolute; z-index: 1; opacity: .5; pointer-events: none; }
.page-title__deco--l { width: 130px; left: 4%; top: 50%; transform: translateY(-50%) rotate(-10deg); }
.page-title__deco--r { width: 130px; right: 4%; top: 50%; transform: translateY(-50%) rotate(10deg); }

/* --- Encabezado con imagen de fondo (configurable por página) --- */
.page-title--bg {
  background-color: var(--eh-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 0;
}
.page-title--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, var(--pt-overlay, .4));
  pointer-events: none;
}
/* Contraste: si hay fondo y el admin NO eligió color, texto claro. */
.page-title--bg .page-title__inner { color: var(--eh-white); }
.page-title--bg h1 { color: var(--eh-white); }
.page-title--bg .eyebrow { color: var(--eh-white); }
.page-title--bg .breadcrumb { color: var(--eh-white); }
.page-title--bg .breadcrumb a { color: var(--eh-white); }
.page-title--bg .breadcrumb a:hover { color: var(--eh-gold); }
.page-title--bg .breadcrumb [aria-current] { color: var(--eh-gold); }

/* Fondo SÓLIDO (color elegido en el meta box, sin imagen). El color va inline;
   acá solo resolvemos el contraste del texto según la luminancia del fondo. */
.page-title--solid { border-bottom: 0; }
.page-title--on-dark .page-title__inner,
.page-title--on-dark h1,
.page-title--on-dark .eyebrow,
.page-title--on-dark .breadcrumb,
.page-title--on-dark .breadcrumb a { color: var(--eh-white); }
.page-title--on-dark .breadcrumb a:hover,
.page-title--on-dark .breadcrumb [aria-current] { color: var(--eh-gold); }
.page-title--on-light h1 { color: var(--eh-ink); }
.page-title--on-light .eyebrow { color: var(--eh-text-soft); }
.page-title--on-light .breadcrumb [aria-current] { color: var(--eh-gold-ink); }

/* ============== MARQUEE (cinta deslizante) ============== */
  .marquee { overflow: hidden; padding-block: clamp(12px, 2vw, 28px); }
.marquee__track { display: inline-flex; white-space: nowrap; gap: 30px; align-items: center; animation: marquee 60s linear infinite; }
.marquee__track span {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 8rem; letter-spacing: .02em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(31, 28, 23, .22);
  text-stroke: 1.5px rgba(31, 28, 23, .22);
}
.marquee__track .dot { font-size: clamp(1rem, 2vw, 1.6rem); -webkit-text-stroke: 0; color: var(--eh-red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============== CATEGORÍAS (ancho completo, sin fondo) ============== */
.cats { background: var(--eh-cream); padding-block: 0; }
.cats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 36px clamp(8px, 2vw, 26px); position: relative;
}
.cat + .cat::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--eh-line); }
.cat__img { width: 100%; max-width: 300px; aspect-ratio: 1; display: grid; place-items: center; }
.cat__img img {
  width: 100%; height: 100%; object-fit: contain;
  /* visual blending/shadows removed to avoid artefacts on mockup images */
  transition: transform .6s var(--ease), filter .3s var(--ease);
}

/* Hover: pintar contenedor dorado, texto blanco y animar la imagen */
.cat {
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cat:hover {
  background: var(--eh-gold);
}
.cat:hover .cat__name {
  color: var(--eh-white);
}
.cat:hover .cat__img img {
  transform: translateY(-12px) scale(1.08);
  animation: cat-img-float 1.2s ease forwards;
}

/* Estado activo (selector de categorías en menu.html) */
.cat { cursor: pointer; width: 100%; }
.cat.is-active { background: var(--eh-gold); }
.cat.is-active .cat__name { color: var(--eh-white); }
.cat.is-active .cat__img img { transform: translateY(-12px) scale(1.08); }

@keyframes cat-img-float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.06); }
 100% { transform: translateY(-12px) scale(1.08); }
}
.cat__name { font-family: var(--ff-display); text-transform: uppercase; font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: var(--eh-ink); letter-spacing: .02em; }
.cat__count { font-size: 0.85rem; color: var(--eh-text-soft); margin-top: -12px; }

/* Categorías sin padding (menu.html) */
.cats--flush { padding-block: 0; }
.cats--flush .cat { padding: 0 clamp(8px, 2vw, 26px); gap: 10px; }

/* ============== FILTROS DE VARIEDAD (menu.html) ============== */
.menu-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(34px, 5vw, 56px); }
.chip {
  border: 1px solid var(--eh-line); background: var(--eh-white); color: var(--eh-ink);
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; font-weight: 600;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--eh-gold); color: var(--eh-gold-ink); }
.chip.is-active { background: var(--eh-gold); border-color: var(--eh-gold); color: var(--eh-gold-ink); }
.menu-empty { grid-column: 1 / -1; text-align: center; color: var(--eh-text-soft); padding: 60px 0; font-size: 1.05rem; }

/* ============== SOBRE NOSOTROS (about flotante + watermark) ============== */
.about { background: var(--eh-cream); position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 2; }
.about__art { position: relative; min-height: 460px; display: grid; place-items: center; }
.about__watermark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--ff-display); font-size: clamp(3rem, 9vw, 7rem); line-height: .9;
  color: rgba(31,28,23,.05); text-transform: uppercase; transform: rotate(-8deg);
  pointer-events: none; text-align: center; z-index: 0; white-space: nowrap;
}
.about__main { position: relative; z-index: 2; width: min(86%, 460px); border-radius: 50%; box-shadow: var(--shadow-md); }
.about__deco { position: absolute; z-index: 1; pointer-events: none; }
.about__deco--tomato { width: 90px; top: 6%; right: 14%; z-index: 3; }
.about__deco--fries  { width: 180px; top: 18%; left: 4%; z-index: 3; transform: rotate(-12deg); }
.about__deco--v1 { width: 110px; top: 0; left: 30%; opacity: .5; }
.about__deco--v2 { width: 130px; bottom: 6%; left: 8%; opacity: .5; }
.about__deco--v3 { width: 80px; bottom: 10%; right: 6%; opacity: .5; }
.about__features { display: grid; gap: 26px; margin-top: 34px; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--eh-cream-2); color: var(--eh-red); }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.05rem; line-height: 1.1; }
.about .eyebrow { color: var(--eh-red); }
.about .eyebrow::before { background: var(--eh-red); }

/* ============== VARIEDADES (cards oscuras/cálidas) ============== */
.variety { background: var(--eh-cream); padding-top: 40px; }
.variety__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.variety-card {
  position: relative; border-radius: var(--radius-card); overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
  color: #fff; isolation: isolate;
}
.variety-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.variety-card:hover::before { transform: scale(1.06); }
.variety-card--1::before { background-image: url("../assets/previa-mundialista.png"); }
.variety-card--2::before { background-image: url("../assets/previa.pizza.png"); }
.variety-card--3::before { background-image: url("../assets/pack-trio.png"); }
.variety-card__badge { font-family: var(--ff-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--eh-gold); margin-bottom: 8px; }
.variety-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.variety-card__row { display: flex; align-items: center; gap: 16px; }
.variety-card .price { color: var(--eh-gold); font-size: 1.6rem; }

/* ============== LAS MÁS PEDIDAS (carrusel + cards flotantes) ============== */
.popular { background: var(--eh-cream); position: relative; overflow: hidden; }
.popular__deco { position: absolute; z-index: 0; opacity: .5; pointer-events: none; filter: grayscale(1) opacity(.4); }
.popular__deco--1 { width: 150px; left: -10px; top: 22%; }
.popular__deco--2 { width: 120px; right: 4%; top: 14%; }
.popular__deco--3 { width: 90px; right: 18%; bottom: 10%; }
.popular__head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); position: relative; z-index: 2; }
.popular .container { position: relative; z-index: 2; }

/* Carousel genérico */
.carousel-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); }
.carousel { position: relative; min-width: 0; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 18px);
  gap: 24px; overflow-x: auto; min-width: 0; scroll-snap-type: x mandatory;
  padding: 40px 4px 24px; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--eh-line); background: var(--eh-white); color: var(--eh-ink); display: grid; place-items: center; transition: all .2s; }
.carousel__btn:hover { background: var(--eh-red); color: #fff; border-color: var(--eh-red); }
.carousel__btn svg { width: 22px; height: 22px; }

/* ============== MENÚ ============== */
.menu-hero { background: var(--eh-cream); padding-block: clamp(34px, 5vw, 64px) 0; }
.menu-hero__inner { display: grid; gap: 14px; margin-bottom: 28px; }
.menu-hero__title { font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95; color: var(--eh-ink); }
.menu-hero__lead { max-width: 54ch; color: var(--eh-text); font-size: 1.06rem; }
.menu-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.menu-tab { border: 1px solid var(--eh-line); background: var(--eh-white); color: var(--eh-ink); padding: 12px 18px; border-radius: var(--radius-pill); font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; transition: all .2s; }
.menu-tab:hover { border-color: var(--eh-gold); color: var(--eh-gold-ink); background: var(--eh-gold); }
.menu-tab.is-active { background: var(--eh-red); border-color: var(--eh-red); color: #fff; }
.menu-carousel-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.menu-carousel-wrap .carousel { min-width: 0; }
.menu-carousel-wrap .carousel__track { padding-top: 24px; }
.menu-carousel-wrap .carousel__btn { flex: 0 0 auto; }

@media (max-width: 900px) {
  .menu-carousel-wrap { grid-template-columns: 1fr; }
  .menu-carousel-wrap .carousel__btn { justify-self: center; }
}

.product-card {
  background: var(--eh-white); border-radius: var(--radius-card); padding: 0 22px 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px;
  position: relative; margin-top: 90px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__fav { position: absolute; top: 18px; right: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--eh-cream); display: grid; place-items: center; color: var(--eh-text-soft); transition: all .2s; }
.product-card__fav:hover, .product-card__fav.is-active { background: var(--eh-red); color: #fff; }
.product-card__fav svg { width: 19px; height: 19px; }
.product-card__media { margin: -90px auto 6px; width: 98%; aspect-ratio: 1; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06) rotate(-2deg); }
.product-card h3 { font-size: 1.2rem; }
.product-card p { font-size: 0.86rem; min-height: 3.8em; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.product-card .price { font-family: var(--ff-display); color: var(--eh-red); font-size: 1.5rem; }
/* Selector de cantidad */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--eh-line); border-radius: var(--radius-pill); background: var(--eh-white); }
.qty__btn { width: 32px; height: 36px; display: grid; place-items: center; font-size: 1.25rem; line-height: 1; color: var(--eh-ink); transition: color .2s; }
.qty__btn:hover { color: var(--eh-red); }
.qty__val { min-width: 26px; text-align: center; font-family: var(--ff-cond); font-weight: 700; font-size: 1rem; color: var(--eh-ink); }
/* Botón agregar (full-width con ícono + texto) */
.product-card__cart {
  margin-top: 12px; width: 100%; height: 46px; border-radius: var(--radius-pill);
  background: var(--eh-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.product-card__cart:hover { background: var(--eh-green-hover); }
.product-card__cart:active { transform: scale(.97); }
.product-card__cart svg { width: 20px; height: 20px; }

/* Badge del producto (CPT): pill arriba-izquierda */
.product-card__badge {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 700; font-size: .72rem; line-height: 1;
  padding: 7px 12px; border-radius: var(--radius-pill);
  background: var(--eh-gold); color: var(--eh-gold-ink);
}
.product-card__badge--gold { background: var(--eh-gold); color: var(--eh-gold-ink); }
.product-card__badge--dark { background: var(--eh-ink); color: var(--eh-cream); }
.product-card__badge--green { background: var(--eh-ink); color: var(--eh-cream); }
/* Ingredientes (línea chica bajo la descripción) */
.product-card__ingredients { font-size: .78rem; color: var(--eh-text-soft); margin-top: -2px; }
/* Precio de oferta: normal tachado + oferta destacado */
.product-card .price--old { font-family: var(--ff-cond); color: var(--eh-text-soft); font-size: .95rem; text-decoration: line-through; margin-right: 4px; }
.product-card .price--offer { font-family: var(--ff-display); color: var(--eh-gold); }

/* Grid de productos (menu.html) — en vez de carrusel */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.products-grid .product-card { scroll-snap-align: none; }
.products-grid .menu-empty { grid-column: 1 / -1; }

/* ============== BANNER COUNTDOWN (fondo rojo) ============== */
.countdown { background: var(--eh-gold); color: #fff; position: relative; overflow: hidden; }
.countdown__inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; }
.countdown h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.countdown h2 .gold { color: var(--eh-gold); }
.countdown p { color: rgba(255,255,255,.9); margin: 16px auto 26px; max-width: 46ch; }
.timer { display: flex; gap: 18px; justify-content: center; margin-bottom: 30px; }
.timer__cell { text-align: center; }
.timer__num { font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fff; line-height: 1; }
.timer__label { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: rgba(255,255,255,.8); margin-top: 6px; }
.timer__sep { font-family: var(--ff-display); font-size: 2.2rem; color: rgba(255,255,255,.45); }
.countdown__deco { position: absolute; z-index: 1; pointer-events: none; }
.countdown__deco--l1 { width: 230px; left: -30px; top: 12%; transform: rotate(-8deg); }
.countdown__deco--l2 { width: 170px; left: 6%; bottom: 6%; }
.countdown__deco--r1 { width: 240px; right: -30px; top: 14%; transform: rotate(10deg); }
.countdown__deco--r2 { width: 150px; right: 7%; bottom: 4%; }
.countdown__deco--v { opacity: .35; }
.countdown__deco--vl { width: 120px; left: 16%; top: 4%; }
.countdown__deco--vr { width: 120px; right: 15%; bottom: 8%; }

/* ============== PROMESA (float + watermark + testimonio) ============== */
.promise { background: var(--eh-cream); position: relative; overflow: hidden; }
.promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.promise__art { position: relative; min-height: 420px; display: grid; place-items: center; }
.promise__watermark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--ff-display); font-size: clamp(3rem, 8vw, 6rem); color: rgba(31,28,23,.05); text-transform: uppercase; transform: rotate(-10deg); pointer-events: none; white-space: nowrap; }
.promise__main { position: relative; z-index: 2; width: min(88%, 460px); border-radius: var(--radius-card); box-shadow: var(--shadow-md); }
.promise .eyebrow { color: var(--eh-red); }
.promise .eyebrow::before { background: var(--eh-red); }
.stats { display: flex; gap: 44px; margin: 26px 0 32px; }
.stat__num { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--eh-red); line-height: 1; }
.stat__label { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--eh-text); font-size: .9rem; }
.promise__testimonial { background: var(--eh-white); border-radius: var(--radius-card); padding: 34px; box-shadow: var(--shadow-sm); text-align: center; max-width: 760px; margin: clamp(40px,6vw,68px) auto 0; position: relative; z-index: 2; }
.seal { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--eh-gold); display: grid; place-items: center; margin: -72px auto 18px; background: var(--eh-white); color: var(--eh-red); font-family: var(--ff-display); font-size: 1.6rem; }
.promise__testimonial .stars { justify-content: center; margin-bottom: 14px; }
.promise__quote { font-size: 1.2rem; color: var(--eh-ink); font-style: italic; line-height: 1.6; }
.promise__author { margin-top: 18px; font-family: var(--ff-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--eh-red); }
.promise__avatars { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.promise__avatars button { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: all .2s; }
.promise__avatars button.is-active { opacity: 1; border-color: var(--eh-gold); }
.promise__avatars img { width: 100%; height: 100%; object-fit: cover; }

/* ============== ESPECIAL DE HOY (banners alternados) ============== */
.special { background: var(--eh-cream); }
.special__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.special-banner { position: relative; overflow: hidden; border-radius: var(--radius-card); padding: clamp(28px, 4vw, 48px); min-height: 280px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.special-banner__media { position: absolute; right: -10px; bottom: -10px; width: 48%; max-width: 280px; z-index: 1; }
.special-banner__media img { width: 100%; }

/* ================= APP BANNER ============== */
.app-banner {
  position: relative; overflow: hidden;
  background: #1f1c17;
  min-height: 420px; display: grid; place-items: center; padding-block: 48px;
  background-image: url('../assets/Diseno-sin-titulo-2026-04-15T143531.671-1-1.png');
  background-repeat: no-repeat; background-position: right center; background-size: cover;
}
.app-banner__bg { display: none; }
.app-banner__overlay { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(31, 28, 23, 0.72); z-index: 1; }
.app-banner__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; max-width: 640px; }
.app-banner__content { width: 100%; }
.app-banner__content .eyebrow { display: inline-flex; gap: 10px; align-items: center; color: var(--eh-gold); font-weight: 800; letter-spacing: .18em; justify-content: center; }
.app-banner__content h2 { font-family: var(--ff-display); font-size: clamp(2rem, 4.2vw, 3.6rem); margin: 8px 0 6px; color: #fff; line-height: 1.08; }
.app-banner__content p { font-size: 1.08rem; color: #efe7d8; margin-bottom: 12px; }
.app-banner__buttons { margin-top: 20px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.app-banner__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px; background: #fff; color: #1f1c17; text-decoration: none; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.app-banner__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.app-banner__btn--appstore { background: #fff; }
.app-banner__btn--playstore { background: #0f9425; color: #fff; }
.app-banner__btn svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .app-banner { background-position: center center; min-height: 360px; padding-block: 36px; }
  .app-banner__content { max-width: 100%; }
  .app-banner__inner { padding: 0 20px; }
}
.special-banner > * { position: relative; z-index: 2; max-width: 60%; }
.special-banner--dark { background: var(--eh-dark); color: #fff; }
.special-banner--dark h2 { color: #fff; }
.special-banner--gold { background: var(--eh-gold); color: var(--eh-gold-ink); }
.special-banner--gold h2 { color: var(--eh-gold-ink); }
.special-banner__eyebrow { font-family: var(--ff-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.special-banner--dark .special-banner__eyebrow { color: var(--eh-gold); }
.special-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.special-banner__phone { font-family: var(--ff-display); font-size: 1.3rem; color: var(--eh-gold); }

  /* ============== NEWSLETTER ============== */
  .newsletter { background: var(--eh-cream); position: relative; overflow: hidden; padding-block: 60px; }
.newsletter__inner { text-align: center; max-width: 640px; margin-inline: auto; position: relative; z-index: 2; }
.newsletter p { color: var(--eh-text); margin: 14px 0 28px; }
.newsletter__form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.newsletter__form input { flex: 1; border: 1px solid var(--eh-line); background: var(--eh-white); color: var(--eh-ink); padding: 15px 22px; border-radius: var(--radius-pill); }
.newsletter__check { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .85rem; color: var(--eh-text-soft); }
.newsletter__check a { color: var(--eh-red); text-decoration: underline; }
.newsletter__msg { font-size: .92rem; margin-top: 14px; min-height: 1.2em; }
.newsletter__msg.ok { color: var(--eh-green); font-weight: 600; }
.newsletter__msg.err { color: var(--eh-red); }
.newsletter__deco { position: absolute; z-index: 1; pointer-events: none; }
.newsletter__deco--l { width: 320px; left: 20px; bottom: 20px; }
.newsletter__deco--r { width: 260px; right: 0px; top: 10%; }

/* ============== GALERÍA ============== */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.gallery a { aspect-ratio: 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }

/* ============== FOOTER ============== */
.footer { background: var(--eh-dark-2); color: #c7c0b2; padding-block: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.footer__inner { position: relative; z-index: 2; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 54px; margin-bottom: 18px; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer__contact { margin-top: 18px; display: grid; gap: 8px; font-size: .92rem; }
.footer__contact a:hover { color: var(--eh-gold); }
.footer h4 { color: var(--eh-cream); font-size: 1rem; margin-bottom: 18px; letter-spacing: .06em; }
.footer__col a, .footer__col li { font-size: .92rem; padding: 5px 0; display: block; transition: color .2s; }
.footer__col a:hover { color: var(--eh-gold); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: all .2s; }
.footer__social a:hover { background: var(--eh-gold); color: var(--eh-gold-ink); border-color: var(--eh-gold); }
.footer__social svg { width: 17px; height: 17px; }
.footer__deco { position: absolute; z-index: 1; opacity: .12; pointer-events: none; }
.footer__deco--1 { width: 170px; right: 3%; top: 8%; }
.footer__deco--2 { width: 110px; left: 2%; bottom: 16%; }
.footer__bottom { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: .85rem; text-align: center; color: #9a9384; }

/* ============== OVERLAYS ============== */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(20,16,9,.55); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; z-index: 100; width: min(420px, 90vw); height: 100%; background: var(--eh-cream); box-shadow: -20px 0 60px rgba(0,0,0,.25); transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer--left { right: auto; left: 0; width: min(300px, 78vw); transform: translateX(-100%); }
.drawer--left.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--eh-line); }
.drawer__head h3 { font-size: 1.3rem; }
.drawer__body { padding: 24px; overflow-y: auto; flex: 1; }
.drawer__foot { padding: 22px 24px; border-top: 1px solid var(--eh-line); }
.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--eh-line); }
.cart-line img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; }
.cart-line__info { flex: 1; }
.cart-line__info h4 { font-family: var(--ff-cond); font-size: 1.05rem; }
.cart-line__price { color: var(--eh-red); font-weight: 700; }
.cart-line__remove { color: var(--eh-text-soft); align-self: flex-start; }
.cart-line__remove:hover { color: var(--eh-red); }
.cart-empty { text-align: center; color: var(--eh-text-soft); padding: 40px 0; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-family: var(--ff-cond); font-size: 1.2rem; color: var(--eh-ink); }
.cart-total strong { font-family: var(--ff-display); }
.search-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 18vh; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-box { width: min(680px, 92vw); }
.search-box label { color: var(--eh-cream); font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.search-box input { width: 100%; margin-top: 12px; padding: 18px 24px; border-radius: var(--radius-pill); border: 0; font-size: 1.1rem; box-shadow: var(--shadow-md); }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel { background: var(--eh-cream); border-radius: var(--radius-card); width: min(420px, 100%); padding: 34px; box-shadow: var(--shadow-md); transform: translateY(14px); transition: transform .3s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel h3 { font-size: 1.6rem; margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--ff-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; color: var(--eh-ink); }
.field input { padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--eh-line); background: var(--eh-white); }
.modal__alt { text-align: center; margin-top: 16px; font-size: .9rem; }
.modal__alt a { color: var(--eh-red); font-weight: 600; text-decoration: underline; }
.link-muted { color: var(--eh-text-soft); font-size: .88rem; }
.link-muted:hover { color: var(--eh-red); }
.mnav a { display: block; padding: 14px 0; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; font-weight: 700; color: var(--eh-ink); border-bottom: 1px solid var(--eh-line); }
.mnav a:hover { color: var(--eh-red); padding-left: 6px; }
.drawer__contact { margin-top: 22px; display: grid; gap: 8px; font-size: .95rem; color: var(--eh-text); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
  .cat:nth-child(3n+1)::before { display: none; }
  .cat:nth-child(n+4) { border-top: 1px solid var(--eh-line); }
  .carousel__track { grid-auto-columns: calc(50% - 12px); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tablet / mobile: el menú de navegación colapsa a hamburguesa */
@media (max-width: 980px) {
  .nav--center { display: none; }
  .hamburger { display: inline-grid; }
  .header__inner { grid-template-columns: 1fr auto; gap: 12px; }
  .header__actions { gap: 8px; }
  .about__grid, .promise__grid { grid-template-columns: 1fr; }
  .about__art, .promise__art { order: -1; }
  .variety__grid { grid-template-columns: 1fr; }
  .special__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  :root { --section-y: 60px; }
  .topbar__links a:not(:first-child), .topbar__center { display: none; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .cat::before { display: none !important; }
  .cat:nth-child(2n)::before { display: block !important; }
  .cat:nth-child(n+3) { border-top: 1px solid var(--eh-line); }
  .cat__img { max-width: 190px; }
  .about__features { grid-template-columns: 1fr; }
  /* Promociones: alto fijo de 190px para mantener la proporción del banner/imagen */
  .variety-card { min-height: 190px; }
  /* Catálogo del menú en 2 columnas (igual densidad que el carrusel) */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* Carrusel a ancho completo + flechas centradas debajo (no roban ancho a las cards) */
  .carousel-row { grid-template-columns: 1fr 1fr; grid-template-areas: "car car" "prev next"; gap: 16px 10px; }
  .carousel-row .carousel { grid-area: car; }
  .carousel-row [data-car-prev] { grid-area: prev; justify-self: end; }
  .carousel-row [data-car-next] { grid-area: next; justify-self: start; }
  .carousel__track { grid-auto-columns: calc(50% - 10px); gap: 20px; padding-top: 14px; }
  /* Card compacta en mobile (carrusel y grid): imagen DENTRO de la card, no flotante */
  .carousel .product-card,
  .products-grid .product-card { margin-top: 0; padding: 14px 14px 18px; gap: 6px; }
  .carousel .product-card__media,
  .products-grid .product-card__media { margin: 0 auto 6px; width: 100%; aspect-ratio: 1; }
  .carousel .product-card__fav,
  .products-grid .product-card__fav { top: 10px; right: 10px; width: 34px; height: 34px; background: rgba(246,239,227,.85); }
  .carousel .product-card__fav svg,
  .products-grid .product-card__fav svg { width: 16px; height: 16px; }
  .carousel .product-card h3,
  .products-grid .product-card h3 { font-size: .98rem; line-height: 1.08; }
  .carousel .product-card p,
  .products-grid .product-card p { font-size: .78rem; min-height: 0; }
  .carousel .product-card .price,
  .products-grid .product-card .price { font-size: 1.2rem; }
  .carousel .product-card__foot,
  .products-grid .product-card__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .carousel .product-card__cart,
  .products-grid .product-card__cart { margin-top: 8px; height: 42px; font-size: .85rem; }
  .stats { gap: 26px; }
  .newsletter__form { flex-direction: column; }
  .timer { gap: 10px; }
  .marquee__track span { font-size: 3.4rem; }
  .special-banner { min-height: 220px; }
  .special-banner > * { max-width: 100%; }
  .special-banner__media { opacity: .28; }
  .special-banner__phone { font-size: 1.05rem; word-break: break-word; }
  .app-banner__buttons { flex-direction: column; align-items: center; }
  .app-banner__btn { width: 100%; max-width: 300px; justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* Decoraciones del newsletter: más chicas y en las esquinas (apoyo visual) */
  .newsletter { padding-block: 56px; }
  .newsletter__deco { opacity: .85; }
  .newsletter__deco--l { width: 88px; left: -8px; bottom: -6px; top: auto; }
  .newsletter__deco--r { width: 96px; right: -10px; top: 6px; }
}

@media (max-width: 480px) {
  :root { --section-y: 48px; }
  .header__cta { display: none; }            /* "Pedir ahora" queda en el menú hamburguesa */
  .header__logo img { height: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__deco { display: none; }
  .cats__grid { gap: 0; }
  .newsletter__check { align-items: flex-start; text-align: left; }
  /* Cards aún más compactas en celulares chicos (carrusel y grid) */
  .carousel__track { grid-auto-columns: calc(50% - 8px); gap: 16px; }
  .products-grid { gap: 12px; }
  .carousel .product-card,
  .products-grid .product-card { padding: 12px 12px 16px; }
  .carousel .product-card p,
  .products-grid .product-card p { display: none; }
}

/* ============== SUCURSALES (store locator) ============== */
.suc { position: relative; }
.suc__filters {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 36px;
}
/* Chips de filtro de sucursales (#suc-filters .chip): mismo tratamiento que
   .menu-filters/.po-filters para que el texto sea visible y pisar el <button>
   marrón del tema padre. Inactivo blanco/ink, hover crema+dorado, activo dorado. */
.suc__filters .chip,
.suc__filters .chip:not(.button-style) {
  background: var(--eh-white);
  color: var(--eh-ink);
}
.suc__filters .chip:hover,
.suc__filters .chip:not(.button-style):hover {
  background: var(--eh-cream-2);
  color: var(--eh-gold-ink);
  border-color: var(--eh-gold);
}
.suc__filters .chip.is-active,
.suc__filters .chip.is-active:not(.button-style),
.suc__filters .chip.is-active:hover,
.suc__filters .chip.is-active:not(.button-style):hover {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
  border-color: var(--eh-gold);
}

/* Buscador en vivo de sucursales. */
.suc-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 22px;
}
.suc-search .suc-search__ico {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--eh-ink); pointer-events: none; z-index: 1;
}
/* Especificidad (.suc-search input.suc-search__input = 0,2,1) para ganarle al
   input[type="search"] del tema/Elementor que pisaba padding y fondo. El
   padding-left despeja la lupa (icono a 18px + 20px de ancho → texto desde 54px). */
.suc-search input.suc-search__input {
  width: 100%;
  padding: 14px 20px 14px 54px;
  font-family: var(--ff-body); font-size: 1rem;
  color: var(--eh-ink);
  background: #fff;
  border: 1px solid var(--eh-ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.suc-search input.suc-search__input::placeholder { color: var(--eh-text-soft); }
.suc-search input.suc-search__input:focus {
  outline: none;
  border-color: var(--eh-gold);
  box-shadow: 0 0 0 3px rgba(251, 184, 0, .18);
}

.suc__empty {
  text-align: center; margin: 10px auto 0; color: var(--eh-text-soft);
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .08em;
}

.suc__count {
  text-align: center; margin: 0 auto 30px; color: var(--eh-text-soft);
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
}
.suc__count strong { color: var(--eh-ink); }
.suc__layout {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: start;
}
.suc__list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
/* El mapa queda fijo (sticky) mientras se scrollea la lista completa: nunca se
   pierde de vista en desktop. Patrón robusto: el WRAPPER estira a todo el alto de
   la fila del grid y el MAPA interno es el sticky (el sticky directo sobre el grid
   item con align-self:start no engancha en Chrome). */
.suc__mapwrap { align-self: stretch; }
.suc__map {
  position: sticky; top: calc(var(--header-h) + 16px);
  height: 760px; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--eh-line); box-shadow: var(--shadow-md); background: var(--eh-cream-2);
}
.suc__map .leaflet-control-attribution { font-size: 10px; }
.leaflet-marker-pin {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  background: var(--eh-gold); border: 2px solid var(--eh-gold-ink);
  transform: rotate(-45deg); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.leaflet-marker-pin::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--eh-gold-ink); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-family: var(--ff-body); margin: 12px 14px; }
.leaflet-popup-content b { font-family: var(--ff-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; color: var(--eh-ink); font-size: 1.05rem; }
.leaflet-popup-content span { color: var(--eh-text); }

.suc-card {
  background: var(--eh-white); border: 1px solid var(--eh-line);
  border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.suc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--eh-gold); }
.suc-card.is-active { border-color: var(--eh-gold); box-shadow: var(--shadow-gold); }
.suc-card__head { display: flex; flex-direction: column; gap: 2px; }
.suc-card__name {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em;
  font-size: 1.35rem; line-height: 1.05; color: var(--eh-ink);
}
.suc-card__region {
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .1em;
  font-size: .82rem; color: var(--eh-gold-ink); font-weight: 600;
}
.suc-card__rows { display: flex; flex-direction: column; gap: 8px; }
.suc-card__row { display: flex; gap: 10px; align-items: flex-start; color: var(--eh-text); font-size: .95rem; margin-bottom: 0px !important;}
.suc-card__row svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--eh-gold); }
.suc-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.suc-card__chip {
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em;
  font-size: .72rem; font-weight: 600; color: var(--eh-text);
  background: var(--eh-cream-2); border: 1px solid var(--eh-line);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.suc-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.suc-card__actions .btn { flex: 1; justify-content: center; gap: 6px; }
.suc-card__actions .btn svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
  .suc__layout { grid-template-columns: 1fr; gap: 24px; }
  .suc__mapwrap { position: static; order: -1; }
  .suc__map { position: static; height: 420px; }
  .suc__list { max-height: none; overflow: visible; grid-template-columns: repeat(2, 1fr); padding-right: 0; }
}
@media (max-width: 680px) {
  .suc__list { grid-template-columns: 1fr; }
  .suc-card__actions { flex-direction: column; }
}

/* ============== PORTAL DE FRANQUICIADOS ============== */
.portal-intro {
  background: var(--eh-cream-2); border-bottom: 1px solid var(--eh-line);
  padding-block: clamp(22px, 3vw, 34px);
}
.portal-intro__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.portal-stat {
  background: var(--eh-white); border: 1px solid var(--eh-line);
  border-radius: var(--radius-card); padding: 18px 20px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 14px;
}
.portal-stat__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--eh-gold); color: var(--eh-gold-ink);
  display: grid; place-items: center;
}
.portal-stat__icon svg { width: 24px; height: 24px; }
.portal-stat__num { font-family: var(--ff-display); font-size: 1.7rem; line-height: 1; color: var(--eh-ink); }
.portal-stat__label { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; color: var(--eh-text-soft); margin-top: 3px; }

/* ---- Toolbar (buscar + filtros + vista) ---- */
.portal-toolbar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.portal-search {
  position: relative; flex: 1 1 280px; max-width: 360px;
}
.portal-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--eh-text-soft); pointer-events: none; }
.portal-search input {
  width: 100%; padding: 12px 16px 12px 42px; border-radius: var(--radius-pill);
  border: 1px solid var(--eh-line); background: var(--eh-white); color: var(--eh-ink);
  font-family: var(--ff-body); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.portal-search input:focus { outline: none; border-color: var(--eh-gold); box-shadow: 0 0 0 3px rgba(251,184,0,.18); }
.portal-view { display: inline-flex; gap: 4px; background: var(--eh-cream-2); border: 1px solid var(--eh-line); border-radius: var(--radius-pill); padding: 4px; }
.portal-view button {
  width: 38px; height: 34px; border: 0; background: transparent; border-radius: var(--radius-pill);
  color: var(--eh-text-soft); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s;
}
.portal-view button svg { width: 18px; height: 18px; }
.portal-view button.is-active { background: var(--eh-white); color: var(--eh-ink); box-shadow: var(--shadow-sm); }

/* Override del <button> marrón del tema padre: que se vean el ícono de vista
   y el texto de los chips del portal. */
.portal-view button,
.portal-view button:not(.button-style) { background: transparent; color: var(--eh-text-soft); }
.portal-view button.is-active,
.portal-view button.is-active:not(.button-style) { background: var(--eh-white); color: var(--eh-ink); }
.portal-view button:hover,
.portal-view button:not(.button-style):hover { background: transparent; color: var(--eh-ink); }

.portal-filters .chip,
.portal-filters .chip:not(.button-style) { background: var(--eh-white); color: var(--eh-ink); }
.portal-filters .chip:hover,
.portal-filters .chip:not(.button-style):hover { background: var(--eh-cream-2); color: var(--eh-gold-ink); border-color: var(--eh-gold); }
.portal-filters .chip.is-active,
.portal-filters .chip.is-active:not(.button-style) { background: var(--eh-gold); color: var(--eh-gold-ink); border-color: var(--eh-gold); }

.portal-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

/* ---- Destacado ---- */
.post-featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--eh-white);
  border: 1px solid var(--eh-line); border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 34px;
}
.post-featured__media { position: relative; min-height: 280px; background: var(--eh-cream-2); }
.post-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-featured__flag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--eh-gold); color: var(--eh-gold-ink); font-family: var(--ff-cond);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .78rem;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.post-featured__body { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.post-featured__body h3 { font-family: var(--ff-display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--eh-ink); }
.post-featured__body p { color: var(--eh-text); }

/* ---- Layout con barra lateral ---- */
.portal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 38px; align-items: start; }
.portal-main { min-width: 0; }

/* ---- Feed ---- */
.portal-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 24px; }
.portal-feed.is-list { grid-template-columns: 1fr; gap: 16px; }

.post-card {
  background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--eh-gold); }
.post-card__media { position: relative; aspect-ratio: 16/10; background: var(--eh-cream-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__title { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em; font-size: 1.2rem; line-height: 1.1; color: var(--eh-ink); }
.post-card__excerpt { color: var(--eh-text); font-size: .93rem; flex: 1; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--eh-line); }
.post-card__more { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .82rem; color: var(--eh-gold-ink); display: inline-flex; align-items: center; gap: 6px; }
.post-card__more svg { width: 15px; height: 15px; transition: transform .2s; }
.post-card:hover .post-card__more svg { transform: translateX(3px); }

/* Meta común */
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-cat {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-cond);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .76rem;
  color: var(--eh-ink); background: var(--eh-cream-2); border: 1px solid var(--eh-line);
  padding: 4px 11px; border-radius: var(--radius-pill);
}
.post-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--eh-gold)); }
.post-cat[data-cat="operaciones"]   { --dot: #2f6f4f; }
.post-cat[data-cat="marketing"]     { --dot: #c0492b; }
.post-cat[data-cat="capacitacion"]  { --dot: #2d6ea3; }
.post-cat[data-cat="proveedores"]   { --dot: #7a5cab; }
.post-cat[data-cat="eventos"]       { --dot: #d08700; }
.post-cat[data-cat="novedades"]     { --dot: var(--eh-gold); }
.post-date { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--eh-text-soft); display: inline-flex; align-items: center; gap: 6px; }
.post-date svg { width: 14px; height: 14px; }

/* ---- Variante lista ---- */
.portal-feed.is-list .post-card { flex-direction: row; }
.portal-feed.is-list .post-card__media { flex: 0 0 300px; aspect-ratio: auto; }
.portal-feed.is-list .post-card__body { padding: 22px 24px; }
.portal-feed.is-list .post-card__title { font-size: 1.45rem; }

.portal-empty { text-align: center; padding: 60px 20px; color: var(--eh-text-soft); }
.portal-empty svg { width: 54px; height: 54px; opacity: .5; margin-bottom: 14px; }
.portal-more { display: flex; justify-content: center; margin-top: 38px; }

/* ---- Barra lateral (widgets de blog) ---- */
.portal-sidebar { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 22px; }
.widget {
  background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.widget__title {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.15rem; color: var(--eh-ink); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--eh-line); position: relative;
}
.widget__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 2px; background: var(--eh-gold); }

/* Categorías */
.widget-cats { display: flex; flex-direction: column; gap: 2px; }
.widget-cats button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  background: transparent; border: 0; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer;
  font-family: var(--ff-body); color: var(--eh-text); transition: background .2s, color .2s; text-align: left;
}
.widget-cats button:hover { background: var(--eh-cream-2); color: var(--eh-ink); }
.widget-cats button.is-active { background: var(--eh-cream-2); color: var(--eh-ink); font-weight: 700; }
.widget-cats .wc-name { display: inline-flex; align-items: center; gap: 9px; }
.widget-cats .wc-name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--eh-gold)); }
.widget-cats [data-cat="operaciones"]  .wc-name::before { background: #2f6f4f; }
.widget-cats [data-cat="marketing"]    .wc-name::before { background: #c0492b; }
.widget-cats [data-cat="capacitacion"] .wc-name::before { background: #2d6ea3; }
.widget-cats [data-cat="proveedores"]  .wc-name::before { background: #7a5cab; }
.widget-cats [data-cat="eventos"]      .wc-name::before { background: #d08700; }
.widget-cats [data-cat="todas"] .wc-name::before { background: var(--eh-ink); }
.widget-cats .wc-count {
  font-family: var(--ff-cond); font-size: .82rem; color: var(--eh-text-soft);
  background: var(--eh-cream-2); border: 1px solid var(--eh-line); border-radius: var(--radius-pill);
  padding: 1px 9px; min-width: 28px; text-align: center;
}
.widget-cats button:hover .wc-count, .widget-cats button.is-active .wc-count { background: var(--eh-white); }

/* Recientes */
.widget-recent { display: flex; flex-direction: column; gap: 15px; }
.widget-recent a { display: flex; gap: 13px; align-items: center; }
.widget-recent img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 1px solid var(--eh-line); }
.widget-recent h5 { font-family: var(--ff-body); font-weight: 700; font-size: .92rem; line-height: 1.22; color: var(--eh-ink); transition: color .2s; }
.widget-recent a:hover h5 { color: var(--eh-gold-ink); }
.widget-recent time { display: block; margin-top: 4px; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; color: var(--eh-text-soft); }

/* Recursos / descargas */
.widget-links { display: flex; flex-direction: column; }
.widget-links a { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--eh-line); color: var(--eh-text); font-size: .93rem; transition: color .2s; }
.widget-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.widget-links a:hover { color: var(--eh-gold-ink); }
.widget-links svg { width: 18px; height: 18px; color: var(--eh-gold); flex: 0 0 18px; }

/* Etiquetas */
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags button {
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; font-weight: 600;
  color: var(--eh-text); background: var(--eh-cream-2); border: 1px solid var(--eh-line); border-radius: var(--radius-pill);
  padding: 6px 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.widget-tags button:hover { background: var(--eh-gold); border-color: var(--eh-gold); color: var(--eh-gold-ink); }

/* CTA soporte */
.widget--cta { background: var(--eh-dark); border-color: var(--eh-dark); text-align: center; }
.widget--cta .widget__title { color: var(--eh-white); border-color: rgba(255,255,255,.14); }
.widget--cta p { color: rgba(255,255,255,.74); font-size: .92rem; margin-bottom: 16px; }

@media (max-width: 1024px) {
  .portal-intro__grid { grid-template-columns: repeat(2, 1fr); }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .portal-sidebar .widget { flex: 1 1 280px; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured__media { min-height: 240px; }
}
@media (max-width: 680px) {
  .portal-intro__grid { grid-template-columns: 1fr; }
  .portal-feed, .portal-feed.is-list { grid-template-columns: 1fr; }
  .portal-feed.is-list .post-card { flex-direction: column; }
  .portal-feed.is-list .post-card__media { flex: none; aspect-ratio: 16/10; }
  .portal-toolbar { justify-content: stretch; }
  .portal-search { max-width: none; }
  .portal-sidebar { flex-direction: column; }
}

/* ============== PORTAL · SINGLE (detalle de artículo) ============== */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--eh-gold); z-index: 200; transition: width .1s linear; }

.article-section .breadcrumb { justify-content: flex-start; margin: 0 0 26px; }

.article__head { margin-bottom: 26px; }
.article__head .post-meta { margin-bottom: 14px; }
.article__head h1 {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; color: var(--eh-ink);
}
.article__lead { font-size: 1.15rem; line-height: 1.6; color: var(--eh-text); margin-top: 16px; }
.article__byline {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--eh-line);
}
.article__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--eh-gold); color: var(--eh-gold-ink); display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.1rem; flex: 0 0 46px; }
.article__author { line-height: 1.2; }
.article__author strong { display: block; color: var(--eh-ink); font-size: .98rem; }
.article__author span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--eh-text-soft); }
.article__share { margin-left: auto; display: inline-flex; gap: 8px; }
.article__share a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--eh-line); background: var(--eh-white);
  display: grid; place-items: center; color: var(--eh-text); transition: background .2s, color .2s, border-color .2s;
}
.article__share a:hover { background: var(--eh-gold); border-color: var(--eh-gold); color: var(--eh-gold-ink); }
.article__share svg { width: 18px; height: 18px; }

.article__hero { margin: 0 0 30px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--eh-line); box-shadow: var(--shadow-md); }
.article__hero img { width: 100%; display: block; aspect-ratio: 16/8; object-fit: cover; }
.article__hero figcaption { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--eh-text-soft); padding: 10px 16px; background: var(--eh-cream-2); }

/* ---- Prosa ---- */
.article__body { color: var(--eh-text); font-size: 1.04rem; line-height: 1.75; }
.article__body > p { margin-bottom: 20px; }
.article__body h2 {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em;
  font-size: 1.7rem; line-height: 1.1; color: var(--eh-ink); margin: 40px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px);
}
.article__body h3 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: 1.2rem; color: var(--eh-ink); margin: 28px 0 12px; }
.article__body a { color: var(--eh-gold-ink); text-decoration: underline; text-decoration-color: var(--eh-gold); text-underline-offset: 3px; }
.article__body strong { color: var(--eh-ink); }
.article__body ul, .article__body ol { margin: 0 0 20px; padding-left: 22px; display: flex; flex-direction: column; gap: 9px; }
.article__body li { padding-left: 4px; }
.article__body ul li::marker { color: var(--eh-gold); }
.article__body blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--eh-gold);
  background: var(--eh-cream-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.12rem; color: var(--eh-ink); font-style: italic;
}

/* ---- Callout / nota ---- */
.callout {
  display: flex; gap: 14px; margin: 28px 0; padding: 18px 20px;
  background: var(--eh-cream-2); border: 1px solid var(--eh-line); border-radius: var(--radius-card);
}
.callout__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--eh-gold); color: var(--eh-gold-ink); display: grid; place-items: center; }
.callout__icon svg { width: 22px; height: 22px; }
.callout h4 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--eh-ink); margin-bottom: 4px; }
.callout p { margin: 0; font-size: .98rem; }

/* ---- Tabla de datos ---- */
.article-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .96rem; border: 1px solid var(--eh-line); border-radius: var(--radius-card); overflow: hidden; }
.article-table thead { background: var(--eh-ink); }
.article-table th { color: var(--eh-cream); text-align: left; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .82rem; padding: 12px 16px; }
.article-table td { padding: 12px 16px; border-top: 1px solid var(--eh-line); color: var(--eh-text); }
.article-table tbody tr:nth-child(even) { background: var(--eh-cream); }
.article-table td:first-child { font-weight: 700; color: var(--eh-ink); }

/* ---- Checklist ---- */
.checklist { list-style: none !important; padding-left: 0 !important; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding-left: 0 !important; }
.checklist li svg { flex: 0 0 22px; width: 22px; height: 22px; color: #2f6f4f; margin-top: 1px; }

/* ---- Para llevar / claves ---- */
.takeaways { background: var(--eh-dark); color: var(--eh-cream); border-radius: var(--radius-card); padding: 26px 28px; margin: 34px 0; }
.takeaways h3 { font-family: var(--ff-display); text-transform: uppercase; color: var(--eh-white); margin: 0 0 14px; font-size: 1.4rem; }
.takeaways ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.takeaways li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.85); }
.takeaways li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--eh-gold); margin-top: 2px; }

/* ---- Etiquetas del artículo ---- */
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 34px 0; padding-top: 26px; border-top: 1px solid var(--eh-line); }
.article__tags > span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--eh-text-soft); margin-right: 4px; }
.article__tags a { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; font-weight: 600; color: var(--eh-text); background: var(--eh-cream-2); border: 1px solid var(--eh-line); border-radius: var(--radius-pill); padding: 6px 13px; transition: background .2s, color .2s, border-color .2s; }
.article__tags a:hover { background: var(--eh-gold); border-color: var(--eh-gold); color: var(--eh-gold-ink); }

/* ---- Caja de autor ---- */
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); }
.author-box .article__avatar { width: 58px; height: 58px; flex: 0 0 58px; font-size: 1.4rem; }
.author-box h4 { font-family: var(--ff-display); text-transform: uppercase; color: var(--eh-ink); font-size: 1.2rem; }
.author-box span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--eh-gold-ink); display: block; margin-bottom: 8px; }
.author-box p { margin: 0; font-size: .95rem; }

/* ---- TOC ---- */
.article-toc nav { display: flex; flex-direction: column; gap: 2px; }
.article-toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--eh-line); color: var(--eh-text-soft); font-size: .9rem; transition: color .2s, border-color .2s; }
.article-toc a:hover { color: var(--eh-ink); }
.article-toc a.is-active { color: var(--eh-gold-ink); border-color: var(--eh-gold); font-weight: 700; }

/* ---- Relacionados ---- */
.related { margin-top: 56px; }
.related .section-head { margin-bottom: 24px; }

@media (max-width: 680px) {
  .article__hero img { aspect-ratio: 16/10; }
  .author-box { flex-direction: column; gap: 12px; }
}

/* ============== PEDIDO (checkout paso a paso, estilo pedix) ============== */
.btn--wa { background: #25D366; color: #07320f; }
.btn--wa:hover { background: #1ebe5a; }
.btn--wa svg { width: 20px; height: 20px; }

/* ---- Stepper ---- */
.order-progress { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin-bottom: 36px; }
.ostep { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; position: relative; text-align: center; }
.ostep::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 2px; background: var(--eh-line); z-index: 0; }
.ostep:first-child::before { display: none; }
.ostep.is-active::before, .ostep.is-done::before { background: var(--eh-gold); }
.ostep__num { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--eh-white); border: 2px solid var(--eh-line); color: var(--eh-text-soft); font-family: var(--ff-display); font-size: 1.1rem; transition: .25s; }
.ostep__num svg { width: 20px; height: 20px; }
.ostep__label { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-size: .76rem; color: var(--eh-text-soft); max-width: 90px; line-height: 1.15; }
.ostep.is-active .ostep__num { border-color: var(--eh-gold); background: var(--eh-gold); color: var(--eh-gold-ink); }
.ostep.is-done .ostep__num { border-color: var(--eh-gold); background: var(--eh-gold); color: var(--eh-gold-ink); }
.ostep.is-active .ostep__label, .ostep.is-done .ostep__label { color: var(--eh-ink); font-weight: 700; }

/* ---- Layout ---- */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.order-main { min-width: 0; }
.order-panel { border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.order-panel__title { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em; font-size: 1.55rem; color: var(--eh-ink); }
.order-panel__sub { color: var(--eh-text-soft); margin: 4px 0 22px; }
.order-step { display: none; }
.order-step.is-current { display: block; animation: orderfade .35s var(--ease); }
@keyframes orderfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Catálogo ---- */
.po-cats { margin-bottom: 18px; }
.po-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.po-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.po-card { background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 9px; transition: box-shadow .25s var(--ease), border-color .25s; }
.po-card:hover { box-shadow: var(--shadow-md); border-color: var(--eh-gold); }
.po-card__media { aspect-ratio: 1; background: var(--eh-cream-2); border-radius: var(--radius-sm); overflow: hidden; }
.po-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.po-card:hover .po-card__media img { transform: scale(1.05); }
.po-card h4 { font-family: var(--ff-cond); font-weight: 700; font-size: 1.06rem; color: var(--eh-ink); line-height: 1.1; }
.po-card p { font-size: .8rem; color: var(--eh-text-soft); line-height: 1.4; flex: 1; }
.po-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.po-card .price { font-family: var(--ff-display); color: var(--eh-gold-ink); font-size: 1.3rem; }
.po-card__add { display: inline-flex; align-items: center; gap: 6px; background: var(--eh-gold); color: var(--eh-gold-ink); border-radius: var(--radius-pill); padding: 9px 14px; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .82rem; transition: background .2s, transform .1s; }
.po-card__add:hover { background: var(--eh-gold-hover); }
.po-card__add:active { transform: scale(.95); }
.po-card__add svg { width: 16px; height: 16px; }
.po-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--eh-ink); color: var(--eh-cream); font-family: var(--ff-cond); font-weight: 700; font-size: .8rem; }

/* ---- Sucursales (selección) ---- */
.order-zonas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.order-branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.order-branch { background-color: #fff; display: block; position: relative; cursor: pointer; border: 1.5px solid var(--eh-line); border-radius: var(--radius-card); padding: 16px 18px; transition: border-color .2s, box-shadow .2s; }
.order-branch:hover { border-color: var(--eh-gold); }
.order-branch:has(input:checked) { border-color: var(--eh-gold); box-shadow: var(--shadow-gold); }
.order-branch input { position: absolute; opacity: 0; pointer-events: none; }
.order-branch__name { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.15rem; color: var(--eh-ink); line-height: 1.05; }
.order-branch__addr { color: var(--eh-text); font-size: .9rem; margin: 4px 0 8px; }
.order-branch__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.order-branch__tags span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; font-weight: 600; color: var(--eh-text); background: var(--eh-cream-2); border: 1px solid var(--eh-line); padding: 3px 9px; border-radius: var(--radius-pill); }
.order-branch__check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--eh-line); display: grid; place-items: center; color: transparent; transition: .2s; }
.order-branch:has(input:checked) .order-branch__check { background: var(--eh-gold); border-color: var(--eh-gold); color: var(--eh-gold-ink); }
.order-branch__check svg { width: 13px; height: 13px; }

/* ---- Tipo de entrega ---- */
.order-types { background-color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.order-type { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; border: 1.5px solid var(--eh-line); border-radius: var(--radius-card); padding: 22px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.order-type:hover { border-color: var(--eh-gold); }
.order-type:has(input:checked) { border-color: var(--eh-gold); box-shadow: var(--shadow-gold); }
.order-type input { position: absolute; opacity: 0; pointer-events: none; }
.order-type[aria-disabled="true"] { opacity: .42; cursor: not-allowed; filter: grayscale(.5); }
.order-type__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--eh-cream-2); display: grid; place-items: center; color: var(--eh-ink); }
.order-type:has(input:checked) .order-type__icon { background: var(--eh-gold); color: var(--eh-gold-ink); }
.order-type__icon svg { width: 26px; height: 26px; }
.order-type__name { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--eh-ink); }
.order-type__desc { font-size: .76rem; color: var(--eh-text-soft); }
.order-extra { margin-top: 22px; }

/* ---- Métodos de pago ---- */
.order-pays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.order-pay { display: flex; align-items: center; gap: 12px; cursor: pointer; border: 1.5px solid var(--eh-line); border-radius: var(--radius-card); padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.order-pay:hover { border-color: var(--eh-gold); }
.order-pay:has(input:checked) { border-color: var(--eh-gold); box-shadow: var(--shadow-gold); }
.order-pay input { position: absolute; opacity: 0; pointer-events: none; }
.order-pay__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--eh-cream-2); display: grid; place-items: center; color: var(--eh-ink); }
.order-pay:has(input:checked) .order-pay__icon { background: var(--eh-gold); color: var(--eh-gold-ink); }
.order-pay__icon svg { width: 22px; height: 22px; }
.order-pay__name { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; color: var(--eh-ink); font-size: .95rem; }

/* ---- Campos ---- */
.field textarea, .field select { padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--eh-line); background: var(--eh-white); font: inherit; color: var(--eh-ink); width: 100%; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--eh-gold); box-shadow: 0 0 0 3px rgba(251,184,0,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-block-title { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--eh-ink); font-size: 1.05rem; margin: 24px 0 12px; }
.order-block-title:first-child { margin-top: 0; }

/* ---- Revisión final ---- */
.review-list { display: flex; flex-direction: column; }
.review-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--eh-line); }
.review-row > span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--eh-text-soft); flex: 0 0 auto; }
.review-row > strong { color: var(--eh-ink); text-align: right; font-weight: 700; }
.review-items { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.review-items li { display: flex; justify-content: space-between; gap: 12px; color: var(--eh-text); font-size: .95rem; }

/* ---- Resumen (carrito) ---- */
.order-summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); box-shadow: var(--shadow-md); overflow: hidden; }
.order-summary__head { padding: 16px 20px; border-bottom: 1px solid var(--eh-line); display: flex; align-items: center; justify-content: space-between; }
.order-summary__head h3 { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.25rem; color: var(--eh-ink); }
.order-summary__count { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--eh-text-soft); }
.order-summary__body { padding: 4px 20px; max-height: 330px; overflow-y: auto; }
.order-line { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--eh-line); align-items: center; }
.order-line:last-child { border-bottom: 0; }
.order-line__img { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 10px; object-fit: contain; background: var(--eh-cream-2); }
.order-line__info { flex: 1; min-width: 0; }
.order-line__info h4 { font-family: var(--ff-cond); font-size: .98rem; color: var(--eh-ink); line-height: 1.1; }
.order-line__price { color: var(--eh-gold-ink); font-weight: 700; font-size: .86rem; }
.order-line .qty { transform: scale(.82); transform-origin: right center; }
.order-empty { padding: 34px 20px; text-align: center; color: var(--eh-text-soft); }
.order-empty svg { width: 46px; height: 46px; opacity: .5; margin-bottom: 10px; }
.order-summary__foot { padding: 16px 20px 20px; border-top: 1px solid var(--eh-line); background: var(--eh-cream); }
.order-row { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--eh-text); font-size: .94rem; }
.order-row--total { font-family: var(--ff-display); color: var(--eh-ink); font-size: 1.35rem; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--eh-line); }
.order-nav { display: flex; gap: 10px; margin-top: 22px; }
.order-nav .btn { flex: 1; justify-content: center; }
.order-nav .btn--ghost { flex: 0 0 auto; }
.order-hint { font-size: .82rem; color: var(--eh-text-soft); text-align: center; margin-top: 12px; }

@media (max-width: 1024px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; order: 2; }
  .po-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ostep__label { display: none; }
  .order-progress { margin-bottom: 26px; }
  .order-types { grid-template-columns: 1fr; }
  .order-branches, .order-pays, .field-row { grid-template-columns: 1fr; }
  /* 1 columna en celular: con 2 cols el precio + "Agregar" no entran y la card
     desbordaba el panel (scroll horizontal). Full-width lee mejor en mobile. */
  .po-grid { grid-template-columns: 1fr; }
  .po-card { min-width: 0; }
  .po-card__foot { flex-wrap: wrap; row-gap: 10px; }
}

/* ============================================================
   OVERRIDES DEL TEMA PADRE (fazfood) — flujo de PEDIDO
   El padre estila <button> genérico con
   `button:not(.button-style){background:var(--secondary)}` (verde #00833E)
   y `button:hover{background:var(--primary)}` (rojo). Esos selectores tienen
   mayor especificidad que nuestras clases de marca (un .clase), por eso el
   verde se filtra en chips/qty/Agregar/Continuar/tabs/resumen.
   Acá fijamos los colores de MARCA con especificidad suficiente para pisarlo.
   Regla del Hornito: SOLO tokens var(--eh-*). NUNCA verde.
   ============================================================ */

/* --- Acciones PRIMARIAS: dorado con texto sobre dorado --- */
/* "Agregar" en la card de producto */
.po-card .po-card__add,
.po-card .po-card__add:not(.button-style) {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
}
.po-card .po-card__add:hover,
.po-card .po-card__add:not(.button-style):hover {
  background: var(--eh-gold-hover);
  color: var(--eh-gold-ink);
}

/* Selector de cantidad (+ / −) en catálogo y resumen */
.qty .qty__btn,
.qty .qty__btn:not(.button-style) {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
}
.qty .qty__btn:hover,
.qty .qty__btn:not(.button-style):hover {
  background: var(--eh-gold-hover);
  color: var(--eh-gold-ink);
}

/* Navegación del checkout: Continuar (gold) y enviar / WhatsApp (wa) */
.order-nav .btn--gold,
.order-nav .btn--gold:not(.button-style) {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
}
.order-nav .btn--gold:hover,
.order-nav .btn--gold:not(.button-style):hover {
  background: var(--eh-gold-hover);
  color: var(--eh-gold-ink);
}
.order-nav .btn--wa,
.order-nav .btn--wa:not(.button-style) {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
}
.order-nav .btn--wa:hover,
.order-nav .btn--wa:not(.button-style):hover {
  background: var(--eh-gold-hover);
  color: var(--eh-gold-ink);
}
/* "Atrás": secundario oscuro */
.order-nav .btn--ghost,
.order-nav .btn--ghost:not(.button-style) {
  background: transparent;
  color: var(--eh-ink);
  border: 1px solid var(--eh-line);
}
.order-nav .btn--ghost:hover,
.order-nav .btn--ghost:not(.button-style):hover {
  background: var(--eh-ink);
  color: var(--eh-cream);
}

/* --- Elementos SECUNDARIOS / inactivos: crema con borde, activo dorado --- */
/* Tabs de categoría (la activa ya es var(--eh-gold) más arriba) */
.cats__grid .cat,
.cats__grid .cat:not(.button-style) {
  background: var(--eh-cream-2);
  color: var(--eh-ink);
}
.cats__grid .cat:hover,
.cats__grid .cat:not(.button-style):hover {
  background: var(--eh-cream);
  color: var(--eh-ink);
}
.cats__grid .cat.is-active,
.cats__grid .cat.is-active:not(.button-style),
.cats__grid .cat.is-active:hover,
.cats__grid .cat.is-active:not(.button-style):hover {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
}
.cats__grid .cat.is-active .cat__name { color: var(--eh-gold-ink); }

/* Chips de filtro (la activa ya es var(--eh-gold) en .chip.is-active) */
.po-filters .chip,
.po-filters .chip:not(.button-style),
.order-zonas .chip,
.order-zonas .chip:not(.button-style) {
  background: var(--eh-white);
  color: var(--eh-ink);
}
.po-filters .chip:hover,
.po-filters .chip:not(.button-style):hover,
.order-zonas .chip:hover,
.order-zonas .chip:not(.button-style):hover {
  background: var(--eh-cream-2);
  color: var(--eh-gold-ink);
}
.po-filters .chip.is-active,
.po-filters .chip.is-active:not(.button-style),
.po-filters .chip.is-active:hover,
.po-filters .chip.is-active:not(.button-style):hover,
.order-zonas .chip.is-active,
.order-zonas .chip.is-active:not(.button-style),
.order-zonas .chip.is-active:hover,
.order-zonas .chip.is-active:not(.button-style):hover {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
  border-color: var(--eh-gold);
}

/* Chips de filtro del MENÚ (#menu-filters .chip): mismo tratamiento que
   .po-filters/.portal-filters para pisar el <button> marrón del tema padre.
   Inactivo: blanco + texto ink. Hover: crema + borde dorado. Activo: dorado. */
.menu-filters .chip,
.menu-filters .chip:not(.button-style) {
  background: var(--eh-white);
  color: var(--eh-ink);
}
.menu-filters .chip:hover,
.menu-filters .chip:not(.button-style):hover {
  background: var(--eh-cream-2);
  color: var(--eh-gold-ink);
  border-color: var(--eh-gold);
}
.menu-filters .chip.is-active,
.menu-filters .chip.is-active:not(.button-style),
.menu-filters .chip.is-active:hover,
.menu-filters .chip.is-active:not(.button-style):hover {
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
  border-color: var(--eh-gold);
}

/* "Agregar" del menú es un <a class="po-card__add"> (enlace a /pedido/?add=ID):
   mismo aspecto que el botón del pedido, sin subrayado. */
.po-card a.po-card__add { text-decoration: none; }

/* Marquee a ancho COMPLETO (full-bleed). html,body ya tienen overflow-x:hidden,
   así que el desborde de 100vw no genera scroll horizontal. */
.marquee--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Placeholder prolijo si una categoría no tiene imagen */
.cat__img.cat__img--empty {
  background: var(--eh-cream);
  border: 1px dashed var(--eh-line);
  border-radius: var(--radius-sm);
}

/* --- Punto 6: resumen "TU PEDIDO" sticky en desktop --- */
@media (min-width: 1025px) {
  .order-summary {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

/* ============================================================
   Punto 7: PAGE-TITLE a ancho completo (full-bleed)
   El padre envuelve el contenido en .col-full (max-width 1320px),
   lo que recorta la banda. Esta técnica la lleva al ancho del viewport
   sin generar scroll horizontal; el contenido interno se sigue centrando
   con su .container.
   ============================================================ */
/* Guarda anti-overflow: con scrollbar vertical visible, 100vw ignora el ancho
   de la barra y el full-bleed de .page-title (margin negativo + 100vw) puede
   provocar scroll horizontal. Acotamos el eje X a nivel raíz sin romper el
   full-bleed (la banda sigue ocupando el ancho disponible del viewport). */
/* clip (no hidden) en TODOS los wrappers que el padre marca con overflow-x:hidden
   (html, body y .site = #page). hidden crea contenedor de scroll y rompe el
   position:sticky del mapa de sucursales; clip recorta igual sin romperlo. */
html, body, .site { overflow-x: clip; }
.page-title {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ===== Botón "Agregar al carrito" del shortcode [eh_productos] (ícono) =====
   El texto va en .screen-reader-text; mostramos solo el ícono en un cuadrado
   de marca. Especificidad alta para pisar el a.button del tema padre. */
.fazfood-add-to-cart a.eh-prod-cart,
.fazfood-add-to-cart a.eh-prod-cart.button,
.fazfood-add-to-cart button.eh-prod-cart,
.fazfood-add-to-cart button.eh-prod-cart.button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; min-width: 56px; padding: 0;
  background: var(--eh-ink); color: var(--eh-white);
  border: 0; border-radius: var(--radius-sm); box-shadow: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.fazfood-add-to-cart a.eh-prod-cart:hover,
.fazfood-add-to-cart button.eh-prod-cart:hover { background: var(--eh-gold); color: var(--eh-gold-ink); }
.fazfood-add-to-cart a.eh-prod-cart:active,
.fazfood-add-to-cart button.eh-prod-cart:active { transform: scale(.95); }
.fazfood-add-to-cart a.eh-prod-cart svg,
.fazfood-add-to-cart button.eh-prod-cart svg { width: 22px; height: 22px; }

/* Paginación (dots) del carrusel [eh_productos]: en flujo y bien separada de las cards. */
.fazfood-swiper .swiper-pagination {
  position: static;
  margin-top: 34px;
}

/* .btn--ghost como <button> (ej. "Cargar más" del portal): el tema padre le
   mete fondo marrón y oculta el texto. Restauramos el look ghost de marca. */
.btn--ghost,
.btn--ghost:not(.button-style) { background: transparent; color: var(--eh-ink); }
.btn--ghost:hover,
.btn--ghost:not(.button-style):hover { background: var(--eh-ink); color: var(--eh-cream); }

/* .btn--gold como <button> (ej. "Enviar mensaje" de contacto): el padre lo pinta
   marrón. Forzamos el dorado de marca. */
.btn--gold,
.btn--gold:not(.button-style) { background: var(--eh-gold); color: var(--eh-gold-ink); border-color: var(--eh-gold); }
.btn--gold:hover,
.btn--gold:not(.button-style):hover { background: var(--eh-gold-hover); color: var(--eh-gold-ink); }

/* Banda full-bleed del formulario de contacto (el fondo distinto ya no queda
   "cortado" dentro del contenedor del tema padre). */
.contact-band {
  background: var(--eh-cream-2);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* FAQ: buscador centrado + chips legibles (override del <button> marrón del padre). */
.faq-toolbar { justify-content: center; }
.faq-tags .chip,
.faq-tags .chip:not(.button-style) { background: var(--eh-white); color: var(--eh-ink); }
.faq-tags .chip:hover,
.faq-tags .chip:not(.button-style):hover { background: var(--eh-cream-2); color: var(--eh-gold-ink); border-color: var(--eh-gold); }
.faq-tags .chip.is-active,
.faq-tags .chip.is-active:not(.button-style) { background: var(--eh-gold); color: var(--eh-gold-ink); border-color: var(--eh-gold); }

/* ============== CONTACTO ============== */
/* Contacto ahora lleva page-title configurable arriba: usa la separación normal
   de .section (sin el padding-top extra que compensaba la ausencia de header). */
.contact-top { padding-top: var(--section-y); }

/* ---- Canales oficiales ---- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.channel {
  position: relative; overflow: hidden; border-radius: var(--radius-card); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px; min-height: 210px;
  border: 1px solid var(--eh-line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.channel:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.channel__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.channel__icon svg { width: 28px; height: 28px; }
.channel h3 { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em; font-size: 1.3rem; line-height: 1; }
.channel p { font-size: .92rem; opacity: .92; }
.channel a.channel__link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .85rem; }
.channel a.channel__link svg { width: 16px; height: 16px; transition: transform .2s; }
.channel:hover a.channel__link svg { transform: translateX(3px); }
.channel__deco { position: absolute; right: -18px; bottom: -18px; width: 110px; opacity: .12; pointer-events: none; transform: rotate(-12deg); }

.channel--wa { background: #25D366; border-color: #1faa52; color: #06320f; }
.channel--wa .channel__icon { background: rgba(0,0,0,.14); color: #06320f; }
.channel--gold { background: var(--eh-gold); border-color: var(--eh-gold-hover); color: var(--eh-gold-ink); }
.channel--gold .channel__icon { background: rgba(0,0,0,.12); color: var(--eh-gold-ink); }
.channel--dark { background: var(--eh-dark); border-color: var(--eh-dark-2); color: var(--eh-cream); }
.channel--dark h3, .channel--dark p, .channel--dark a.channel__link { color: var(--eh-cream); }
.channel--dark .channel__icon { background: rgba(251,184,0,.18); color: var(--eh-gold); }
.channel--cream { background: var(--eh-white); color: var(--eh-ink); }
.channel--cream .channel__icon { background: var(--eh-cream-2); color: var(--eh-ink); }
.channel--cream p { color: var(--eh-text); opacity: 1; }
.channel--cream a.channel__link { color: var(--eh-gold-ink); }

/* ---- Layout: formulario + info ---- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.contact-form { background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.contact-form__title { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.6rem; color: var(--eh-ink); }
.contact-form__sub { color: var(--eh-text-soft); margin: 4px 0 22px; }
.contact-form .field input, .contact-form .field textarea, .contact-form .field select {
  border-radius: var(--radius-sm); border: 1px solid var(--eh-line); background: var(--eh-white); padding: 13px 16px; width: 100%; font: inherit; color: var(--eh-ink);
}
.contact-form .field input:focus, .contact-form .field textarea:focus, .contact-form .field select:focus { outline: none; border-color: var(--eh-gold); box-shadow: 0 0 0 3px rgba(251,184,0,.18); }
.contact-form .newsletter__check { margin: 4px 0 18px; }
.contact-msg { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(37,211,102,.12); border: 1px solid #25D366; color: #0c5a26; font-size: .95rem; }
.contact-msg.is-show { display: flex; animation: orderfade .35s var(--ease); }
.contact-msg svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* Panel lateral colorido */
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.info-card { position: relative; overflow: hidden; border-radius: var(--radius-card); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card--dark { background: var(--eh-dark); color: var(--eh-cream); }
.info-card--gold { background: var(--eh-gold); color: var(--eh-gold-ink); }
.info-card h3 { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.35rem; margin-bottom: 16px; position: relative; z-index: 2; }
.info-card--dark h3, .info-card--dark .info-list strong, .info-card--dark .info-list a { color: var(--eh-cream); }
.info-card--gold h3, .info-card--gold .info-list strong { color: var(--eh-gold-ink); }
.info-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.info-card--dark .info-list svg { color: var(--eh-gold); }
.info-list strong { display: block; font-size: 1rem; }
.info-list span { font-size: .9rem; opacity: .82; }
.info-card--dark .info-list a, .info-card--gold .info-list a { color: inherit; }
.info-card__socials { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 18px; }
.info-card__socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
.info-card--dark .info-card__socials a { background: rgba(255,255,255,.1); color: var(--eh-cream); }
.info-card--gold .info-card__socials a { background: rgba(0,0,0,.12); color: var(--eh-gold-ink); }
.info-card__socials a:hover { transform: translateY(-3px); }
.info-card__socials svg { width: 18px; height: 18px; }
.info-card__deco { position: absolute; right: -24px; bottom: -24px; width: 150px; opacity: .14; pointer-events: none; transform: rotate(-10deg); z-index: 1; }

/* ---- FAQ ---- */
.faq-toolbar { display: flex; flex-wrap: wrap; flex-direction: column; gap: 16px; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto 18px; }
.faq-search { position: relative; width: 320px; }
.faq-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--eh-text-soft); pointer-events: none; }
.faq-search input { width: 100%; padding: 13px 16px 13px 44px; border-radius: var(--radius-pill); border: 1px solid var(--eh-line); background: var(--eh-white); color: var(--eh-ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.faq-search input:focus { outline: none; border-color: var(--eh-gold); box-shadow: 0 0 0 3px rgba(251,184,0,.18); }
.faq-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1100px; margin: 0 auto 26px; }
.faq-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq-empty { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--eh-text-soft); }
.faq-empty svg { width: 46px; height: 46px; opacity: .5; margin-bottom: 12px; }
.faq-item { background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.is-hidden { display: none; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--eh-gold); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: 1.08rem; color: var(--eh-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ico { margin-left: auto; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--eh-cream-2); display: grid; place-items: center; color: var(--eh-ink); transition: transform .25s var(--ease), background .2s, color .2s; }
.faq-item summary .faq-ico svg { width: 16px; height: 16px; }
.faq-item[open] summary .faq-ico { transform: rotate(45deg); background: var(--eh-gold); color: var(--eh-gold-ink); }
.faq-item summary .faq-bullet { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--eh-gold); }
.faq-a { padding: 0 22px 20px 44px; color: var(--eh-text); line-height: 1.65; }
.faq-a a { color: var(--eh-gold-ink); text-decoration: underline; text-decoration-color: var(--eh-gold); text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .channels { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .channels { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .faq-a { padding-left: 22px; }
}

/* ============== FRANQUICIAS (landing comercial) ============== */
/* ---- Hero (2 columnas balanceadas) ---- */
.fr-hero { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 85% 10%, #2a2114 0%, var(--eh-dark) 58%); color: var(--eh-cream); }
.fr-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(251,184,0,.10) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; z-index: 0; pointer-events: none; }
.fr-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding-block: clamp(48px, 6vw, 92px); }
.fr-hero__copy { max-width: 600px; }
.fr-hero .eyebrow { color: var(--eh-gold); }
.fr-hero .eyebrow::before { background: var(--eh-gold); }
.fr-hero h1 { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: .98; color: #fff; margin: 12px 0 0; }
.fr-hero h1 span { color: var(--eh-gold); }
.fr-hero__lead { color: rgba(255,255,255,.84); font-size: 1.12rem; line-height: 1.6; max-width: 560px; margin-top: 18px; }
.fr-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.fr-hero__media { position: relative; display: grid; place-items: center; min-height: 360px; }
.fr-hero__ring { position: absolute; width: min(92%, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(251,184,0,.22) 0%, rgba(251,184,0,0) 68%); z-index: 0; animation: fr-pulse 5s ease-in-out infinite; }
.fr-hero__ring::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed rgba(251,184,0,.35); animation: fr-spin 26s linear infinite; }
.fr-hero__art { position: relative; z-index: 2; width: min(86%, 440px); display: block; filter: drop-shadow(0 26px 50px rgba(0,0,0,.5)); animation: fr-float 6s ease-in-out infinite; }
.fr-hero__chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(20,16,9,.72); backdrop-filter: blur(6px); border: 1px solid rgba(251,184,0,.4); border-radius: var(--radius-pill); padding: 9px 15px; box-shadow: var(--shadow-md); }
.fr-hero__chip b { font-family: var(--ff-display); color: var(--eh-gold); font-size: 1.1rem; line-height: 1; }
.fr-hero__chip span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: rgba(255,255,255,.82); }
.fr-hero__chip--1 { top: 8%; left: -2%; animation: fr-bob 4.5s ease-in-out infinite; }
.fr-hero__chip--2 { bottom: 14%; right: -3%; animation: fr-bob 5.5s ease-in-out infinite .8s; }
.fr-hero__chip--3 { bottom: 2%; left: 14%; animation: fr-bob 5s ease-in-out infinite .4s; }

/* ---- Franja de números ---- */
.fr-stats { background: var(--eh-gold); }
.fr-stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-block: 30px; }
.fr-stat { text-align: center; position: relative; }
.fr-stat + .fr-stat::before { content: ""; position: absolute; left: -9px; top: 14%; height: 72%; width: 1px; background: rgba(0,0,0,.16); }
.fr-stat__num { font-family: var(--ff-display); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1; color: var(--eh-gold-ink); }
.fr-stat__label { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: rgba(0,0,0,.66); margin-top: 6px; }

/* ---- Bloques genéricos ---- */
.fr-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.fr-media { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--eh-line); box-shadow: var(--shadow-md); }
.fr-media img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.fr-quote { margin: 18px 0 0; padding: 18px 22px; border-left: 4px solid var(--eh-gold); background: var(--eh-cream-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--eh-ink); font-style: italic; }
.fr-quote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--eh-text-soft); }

/* ---- Pilares del modelo ---- */
.fr-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fr-pillar { border-radius: var(--radius-card); padding: 28px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--eh-line); }
.fr-pillar--cream { background: var(--eh-white); }
.fr-pillar--gold { background: var(--eh-gold); border-color: var(--eh-gold-hover); }
.fr-pillar--dark { background: var(--eh-dark); border-color: var(--eh-dark-2); color: var(--eh-cream); }
.fr-pillar__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.fr-pillar--cream .fr-pillar__icon { background: var(--eh-gold); color: var(--eh-gold-ink); }
.fr-pillar--gold .fr-pillar__icon { background: rgba(0,0,0,.12); color: var(--eh-gold-ink); }
.fr-pillar--dark .fr-pillar__icon { background: rgba(251,184,0,.18); color: var(--eh-gold); }
.fr-pillar__icon svg { width: 26px; height: 26px; }
.fr-pillar h3 { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.3rem; margin-bottom: 14px; }
.fr-pillar--dark h3 { color: #fff; }
.fr-pillar--gold h3, .fr-pillar--gold li { color: var(--eh-gold-ink); }
.fr-pillar ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fr-pillar li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; line-height: 1.4; }
.fr-pillar li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; }
.fr-pillar--cream li svg { color: var(--eh-gold); }
.fr-pillar--dark li svg { color: var(--eh-gold); }
.fr-pillar--gold li svg { color: var(--eh-gold-ink); }
.fr-pillar--cream li { color: var(--eh-text); }
.fr-pillar--dark li { color: rgba(255,255,255,.85); }

/* ---- Ventajas ---- */
.fr-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.fr-benefit { display: flex; gap: 14px; align-items: flex-start; background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: 18px 18px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.fr-benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--eh-gold); }
.fr-benefit__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--eh-cream-2); display: grid; place-items: center; color: var(--eh-ink); }
.fr-benefit:hover .fr-benefit__icon { background: var(--eh-gold); color: var(--eh-gold-ink); }
.fr-benefit__icon svg { width: 22px; height: 22px; }
.fr-benefit h4 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: 1rem; color: var(--eh-ink); line-height: 1.15; }

/* ---- Formatos ---- */
.fr-formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.fr-format { position: relative; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fr-format:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.fr-format__media { position: relative; height: 190px; overflow: hidden; }
.fr-format__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fr-format:hover .fr-format__media img { transform: scale(1.07); }
.fr-format__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20,16,9,.55)); }
.fr-format__num { position: absolute; right: 16px; top: 8px; z-index: 2; font-family: var(--ff-display); font-size: 3.2rem; line-height: 1; color: #fff; opacity: .9; text-shadow: 0 4px 16px rgba(0,0,0,.5); }
.fr-format__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fr-format--gold .fr-format__body { background: var(--eh-gold); color: var(--eh-gold-ink); }
.fr-format--dark .fr-format__body { background: var(--eh-dark); color: var(--eh-cream); }
.fr-format__tag { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .8rem; opacity: .8; }
.fr-format h3 { font-family: var(--ff-display); text-transform: uppercase; font-size: 2rem; line-height: 1; }
.fr-format--dark h3 { color: #fff; }
.fr-format p { font-size: .98rem; max-width: 46ch; }
.fr-format--gold p { color: var(--eh-gold-ink); }
.fr-format--dark p { color: rgba(255,255,255,.82); }

/* ---- Presencia / provincias ---- */
.fr-presence { text-align: center; }
.fr-provinces { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.fr-prov { display: inline-flex; align-items: center; gap: 8px; background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-pill); padding: 9px 16px; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; color: var(--eh-ink); box-shadow: var(--shadow-sm); }
.fr-prov svg { width: 15px; height: 15px; color: var(--eh-gold); }

/* ---- Perfil ---- */
.fr-profile { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fr-profile__card { background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-sm); }
.fr-profile__card h3 { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.4rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.fr-profile__card h3 svg { width: 26px; height: 26px; }
.fr-profile__card--yes { border-top: 4px solid #2f6f4f; }
.fr-profile__card--yes h3 svg { color: #2f6f4f; }
.fr-profile__card--no { border-top: 4px solid #c0492b; background: var(--eh-cream); }
.fr-profile__card--no h3 svg { color: #c0492b; }
.fr-profile__card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fr-profile__card li { display: flex; gap: 11px; align-items: flex-start; color: var(--eh-text); line-height: 1.45; }
.fr-profile__card li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
.fr-profile__card--yes li svg { color: #2f6f4f; }
.fr-profile__card--no li svg { color: #c0492b; }

/* ---- Proceso (pasos) ---- */
.fr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: frstep; }
.fr-step { position: relative; background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: 22px 20px 20px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.fr-step:hover { border-color: var(--eh-gold); box-shadow: var(--shadow-md); }
.fr-step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--eh-gold); color: var(--eh-gold-ink); display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 12px; }
.fr-step h4 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: 1rem; color: var(--eh-ink); line-height: 1.2; }

/* ---- Mapa de presencia ---- */
.fr-mapwrap { position: relative; max-width: 1000px; margin: 0 auto 30px; }
.fr-map { height: 520px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--eh-line); box-shadow: var(--shadow-md); background: var(--eh-cream); }
.fr-map .leaflet-control-attribution { font-size: 10px; }
.leaflet-prov-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--eh-gold); border: 2px solid var(--eh-gold-ink); transform: rotate(-45deg); box-shadow: var(--shadow-md); display: grid; place-items: center; }
.leaflet-prov-pin b { transform: rotate(45deg); font-family: var(--ff-display); font-size: .82rem; color: var(--eh-gold-ink); }
.fr-dot { width: 11px; height: 11px; border-radius: 50%; background: #c0492b; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.fr-map-legend { position: absolute; z-index: 500; right: 14px; bottom: 14px; background: rgba(255,255,255,.94); border: 1px solid var(--eh-line); border-radius: var(--radius-sm); padding: 10px 14px; box-shadow: var(--shadow-md); font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-size: .76rem; color: var(--eh-text); display: flex; flex-direction: column; gap: 6px; }
.fr-map-legend span { display: flex; align-items: center; gap: 8px; }
.fr-map-legend i { width: 13px; height: 13px; border-radius: 50%; flex: 0 0 13px; }
.fr-map-legend i.l-prov { background: var(--eh-gold); border: 2px solid var(--eh-gold-ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.fr-map-legend i.l-dot { background: #c0492b; border: 2px solid #fff; }

/* ---- Proceso: timeline paso a paso ---- */
.fr-timeline { position: relative; max-width: 880px; margin: 0 auto; }
.fr-timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--eh-gold), var(--eh-line)); }
.fr-tl { position: relative; display: flex; gap: 22px; padding: 0 0 26px 0; }
.fr-tl:last-child { padding-bottom: 0; }
.fr-tl__node { position: relative; z-index: 2; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--eh-white); border: 3px solid var(--eh-gold); color: var(--eh-gold-ink); display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.3rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), background .25s, color .25s; }
.fr-tl:hover .fr-tl__node { background: var(--eh-gold); color: var(--eh-gold-ink); transform: scale(1.08); }
.fr-tl__card { flex: 1; background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: 16px 22px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.fr-tl:hover .fr-tl__card { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--eh-gold); }
.fr-tl__card h4 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: 1.12rem; color: var(--eh-ink); line-height: 1.15; }
.fr-tl__card p { font-size: .92rem; color: var(--eh-text-soft); margin-top: 2px; }
.fr-tl__icon { flex: 0 0 auto; align-self: center; color: var(--eh-gold); opacity: .5; }
.fr-tl__icon svg { width: 26px; height: 26px; }

/* ---- Formulario ---- */
.fr-form-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 28px; align-items: start; }
.fr-cta-aside { display: flex; flex-direction: column; gap: 18px; }

/* ============== ANIMACIONES (vida + movimiento) ============== */
@keyframes fr-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes fr-bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes fr-pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes fr-spin  { to { transform: rotate(360deg); } }

/* Variantes direccionales del reveal (usan .is-visible de main.js) */
.reveal--left  { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--zoom  { transform: scale(.9); }
.reveal--left.is-visible, .reveal--right.is-visible, .reveal--zoom.is-visible { transform: none; }

/* Aparición escalonada de los hijos (stagger) */
.reveal-stagger { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: .10s; }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: .34s; }
.reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: .40s; }
.reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: .46s; }
.reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: .52s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: .58s; }
.reveal-stagger.is-visible > *:nth-child(n+11) { transition-delay: .64s; }

@media (prefers-reduced-motion: reduce) {
  .fr-hero__art, .fr-hero__ring, .fr-hero__ring::before, .fr-hero__chip { animation: none !important; }
  .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1024px) {
  .fr-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .fr-hero__copy { max-width: none; margin: 0 auto; }
  .fr-hero__lead { margin-inline: auto; }
  .fr-hero__btns { justify-content: center; }
  .fr-hero__media { min-height: 320px; order: -1; }
  .fr-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 22px 12px; }
  .fr-stat:nth-child(4)::before, .fr-stat:nth-child(n+4)::before { display: none; }
  .fr-pillars { grid-template-columns: 1fr; }
  .fr-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .fr-split { grid-template-columns: 1fr; }
  .fr-formats, .fr-profile { grid-template-columns: 1fr; }
  .fr-stats__grid { grid-template-columns: 1fr 1fr; }
  .fr-stat::before { display: none !important; }
  .fr-hero__art { width: min(68%, 280px); }
  .fr-hero__chip--1 { left: 2%; }
  .fr-hero__chip--2 { right: 2%; }
  .fr-map { height: 420px; }
}

/* ============== TRABAJÁ CON NOSOTROS (form por etapas) ============== */
.job-wizard { max-width: 840px; margin: 0 auto; }
.job-intro { max-width: 760px; margin: 0 auto 30px; text-align: center; }

/* Reutiliza .order-progress / .ostep / .order-panel / .order-step del checkout */
.job-panel { background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-card); padding: clamp(22px, 3.5vw, 38px); box-shadow: var(--shadow-sm); }
.job-panel__title { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.55rem; color: var(--eh-ink); }
.job-panel__sub { color: var(--eh-text-soft); margin: 4px 0 24px; }
.job-block-title { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--eh-ink); font-size: 1.05rem; margin: 26px 0 14px; }
.job-block-title:first-child { margin-top: 0; }

.job-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.job-fields .field--full { grid-column: 1 / -1; }
.job-panel .field input, .job-panel .field textarea, .job-panel .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--eh-line); background: var(--eh-white); font: inherit; color: var(--eh-ink);
}
.job-panel .field input:focus, .job-panel .field textarea:focus, .job-panel .field select:focus { outline: none; border-color: var(--eh-gold); box-shadow: 0 0 0 3px rgba(251,184,0,.18); }
.job-panel .field textarea { resize: vertical; min-height: 90px; }

/* ---- Avatar / foto de perfil ---- */
.job-avatar { display: flex; gap: 20px; align-items: center; }
.job-avatar__circle { position: relative; flex: 0 0 104px; width: 104px; height: 104px; border-radius: 50%; border: 2px dashed var(--eh-line); background: var(--eh-cream-2); display: grid; place-items: center; overflow: hidden; cursor: pointer; color: var(--eh-text-soft); transition: border-color .2s, color .2s; }
.job-avatar__circle:hover { border-color: var(--eh-gold); color: var(--eh-gold-ink); }
.job-avatar__circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.job-avatar__circle svg { width: 32px; height: 32px; }
.job-avatar__circle .job-avatar__edit { position: absolute; right: 4px; bottom: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--eh-gold); color: var(--eh-gold-ink); display: none; place-items: center; box-shadow: var(--shadow-sm); }
.job-avatar__circle.is-set .job-avatar__edit { display: grid; }
.job-avatar__circle.is-set svg.job-avatar__ph { display: none; }
.job-avatar__edit svg { width: 15px; height: 15px; }
.job-avatar__info strong { display: block; color: var(--eh-ink); font-size: .98rem; }
.job-avatar__info small { color: var(--eh-text-soft); font-size: .86rem; }

/* ---- Puestos ---- */
.job-positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.job-pos { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; border: 1.5px solid var(--eh-line); border-radius: var(--radius-card); padding: 18px 12px; transition: border-color .2s, box-shadow .2s; }
.job-pos:hover { border-color: var(--eh-gold); }
.job-pos:has(input:checked) { border-color: var(--eh-gold); box-shadow: var(--shadow-gold); }
.job-pos input { position: absolute; opacity: 0; pointer-events: none; }
.job-pos__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--eh-cream-2); display: grid; place-items: center; color: var(--eh-ink); }
.job-pos:has(input:checked) .job-pos__icon { background: var(--eh-gold); color: var(--eh-gold-ink); }
.job-pos__icon svg { width: 24px; height: 24px; }
.job-pos__name { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; font-size: .92rem; color: var(--eh-ink); line-height: 1.1; }

/* ---- Turnos (chips multi) ---- */
.job-shifts { display: flex; flex-wrap: wrap; gap: 10px; }
.job-shifts .chip { user-select: none; }

/* ---- Dropzone CV ---- */
.job-drop { display: block; border: 2px dashed var(--eh-line); border-radius: var(--radius-card); padding: 28px 22px; text-align: center; cursor: pointer; background: var(--eh-cream-2); transition: border-color .2s, background .2s; }
.job-drop input[type="file"] { display: none; }
.job-drop:hover, .job-drop.is-drag { border-color: var(--eh-gold); background: var(--eh-white); }
.job-drop.is-loaded { border-style: solid; border-color: #2f6f4f; background: rgba(47,111,79,.07); cursor: default; }
.job-drop__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--eh-white); border: 1px solid var(--eh-line); display: grid; place-items: center; margin: 0 auto 12px; color: var(--eh-gold-ink); }
.job-drop__icon svg { width: 26px; height: 26px; }
.job-drop strong { color: var(--eh-ink); font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .03em; }
.job-drop span { display: block; color: var(--eh-text-soft); font-size: .86rem; margin-top: 4px; }
.job-file { display: none; align-items: center; gap: 12px; text-align: left; background: var(--eh-white); border: 1px solid var(--eh-line); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 14px; }
.job-file.is-show { display: flex; }
.job-file__ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: rgba(192,73,43,.12); color: #c0492b; display: grid; place-items: center; }
.job-file__ico svg { width: 20px; height: 20px; }
.job-file__meta { flex: 1; min-width: 0; }
.job-file__meta strong { display: block; color: var(--eh-ink); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-file__meta small { color: var(--eh-text-soft); }
.job-file__remove { color: var(--eh-text-soft); flex: 0 0 auto; }
.job-file__remove:hover { color: #c0492b; }
.job-file__remove svg { width: 18px; height: 18px; }

/* ---- Navegación ---- */
.job-nav { display: flex; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--eh-line); }
.job-nav .btn { justify-content: center; }
.job-nav .job-next, .job-nav .job-send { flex: 1; }
.job-hint { font-size: .84rem; color: var(--eh-text-soft); text-align: center; margin-top: 12px; min-height: 1em; }

/* ---- Revisión ---- */
.job-review-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.job-review-head img, .job-review-head .job-review-ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--eh-gold); background: var(--eh-cream-2); display: grid; place-items: center; color: var(--eh-text-soft); }
.job-review-head h3 { font-family: var(--ff-display); text-transform: uppercase; color: var(--eh-ink); font-size: 1.4rem; line-height: 1; }
.job-review-head p { color: var(--eh-text-soft); font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }

/* ---- Éxito ---- */
.job-success { text-align: center; padding: 30px 10px; }
.job-success__ico { width: 78px; height: 78px; border-radius: 50%; background: rgba(47,111,79,.12); color: #2f6f4f; display: grid; place-items: center; margin: 0 auto 18px; animation: fr-pulse 2s ease-in-out infinite; }
.job-success__ico svg { width: 40px; height: 40px; }
.job-success h2 { font-family: var(--ff-display); text-transform: uppercase; color: var(--eh-ink); font-size: 1.8rem; }
.job-success p { color: var(--eh-text); max-width: 460px; margin: 8px auto 22px; }

@media (max-width: 680px) {
  .job-fields { grid-template-columns: 1fr; }
  .job-positions { grid-template-columns: 1fr 1fr; }
  .job-avatar { flex-direction: column; text-align: center; align-items: center; }
  .job-nav { flex-direction: column-reverse; }
}

/* ============================================================
   PEDIDO · paso "Sucursal" — geolocalización + mapa + recomendación
   Solo clases nuevas; colores/tipografía vía var(--eh-*)/var(--ff-*).
   ============================================================ */
/* Botón prominente "Usar mi ubicación" */
/* :not(.button-style) para ganarle al estilo de <button> del tema padre. */
.po-geo-btn,
.po-geo-btn:not(.button-style) {
  display: inline-flex; align-items: center; gap: 10px;
  width: 100%; justify-content: center;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; font-size: .95rem; line-height: 1.1;
  color: var(--eh-white); background: var(--eh-ink);
  border: 1.5px solid var(--eh-ink); border-radius: var(--radius-pill);
  padding: 13px 20px; margin-bottom: 14px; cursor: pointer;
  box-shadow: var(--shadow-md); transition: background .2s, box-shadow .2s, transform .12s;
}
.po-geo-btn:hover,
.po-geo-btn:not(.button-style):hover { background: var(--eh-dark); color: var(--eh-white); }
.po-geo-btn:active { transform: translateY(1px); }
.po-geo-btn:focus-visible { outline: 2px solid var(--eh-gold); outline-offset: 2px; }
.po-geo-btn__ico svg, .po-geo-btn svg { color: var(--eh-white); }
.po-geo-btn[disabled] { opacity: .6; cursor: progress; }
.po-geo-btn__ico { display: inline-flex; }
.po-geo-btn__ico svg { width: 20px; height: 20px; }
.po-geo-btn.is-loading .po-geo-btn__ico { animation: po-geo-pulse 1s ease-in-out infinite; }
@keyframes po-geo-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* Estado / aviso de geolocalización */
.po-geo-status {
  font-family: var(--ff-body); font-size: .9rem; line-height: 1.35;
  color: var(--eh-text); margin: 0 0 14px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  background: var(--eh-cream-2); border: 1px solid var(--eh-line);
}
.po-geo-status--loading { color: var(--eh-ink); }
.po-geo-status--ok { color: var(--eh-ink); border-color: var(--eh-gold); background: var(--eh-cream); }
.po-geo-status--warn { color: var(--eh-ink); border-color: var(--eh-gold); }

/* Contenedor del mapa Leaflet del pedido */
.po-map {
  height: 320px; margin: 0 0 16px;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--eh-line); box-shadow: var(--shadow-md);
  background: var(--eh-cream-2);
}
.po-map .leaflet-control-attribution { font-size: 10px; }

/* Marcador del usuario en el mapa */
.leaflet-user-pin {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--eh-ink); border: 3px solid var(--eh-white);
  box-shadow: var(--shadow-sm);
}
/* Resalte del pin de la sucursal recomendada/seleccionada */
.leaflet-marker-pin.is-active {
  background: var(--eh-gold-ink); border-color: var(--eh-gold);
  z-index: 1; transform: rotate(-45deg) scale(1.18);
}
.leaflet-marker-pin.is-active::after { background: var(--eh-gold); }

/* Distancia "a X,X km" dentro de la card */
.order-branch__dist {
  display: inline-block; margin-left: 6px;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .03em;
  font-weight: 700; font-size: .8rem; color: var(--eh-gold-ink);
}
/* Badge "MÁS CERCANA" */
.order-branch__badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 700; font-size: .66rem; line-height: 1;
  color: var(--eh-gold-ink); background: var(--eh-gold);
  border-radius: var(--radius-pill); padding: 5px 10px;
  box-shadow: var(--shadow-sm);
}
/* Card recomendada: borde dorado + halo (sin tapar el badge) */
.order-branch.is-nearest {
  border-color: var(--eh-gold); box-shadow: var(--shadow-gold);
  padding-top: 34px;
}
.order-branch.is-nearest .order-branch__check { top: 14px; }

/* Estado de ÉXITO tras enviar el pedido (reemplaza el paso "Confirmar") */
.po-success {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.po-success__ico {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--eh-gold); color: var(--eh-gold-ink);
  box-shadow: var(--shadow-gold);
}
.po-success__ico svg { width: 38px; height: 38px; }
.po-success__title {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--eh-ink);
  margin: 0;
}
.po-success__num {
  font-family: var(--ff-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.05rem; color: var(--eh-gold-ink);
  background: var(--eh-cream-2); border: 1px solid var(--eh-gold);
  border-radius: var(--radius-pill); padding: 6px 16px; margin: 0;
}
.po-success__num[hidden] { display: none; }
.po-success__text {
  color: var(--eh-text); font-size: 1.05rem; max-width: 42ch; margin: 0;
}
.po-success__again,
.po-success__again:not(.button-style) {
  margin-top: 8px;
  background: var(--eh-gold); color: var(--eh-gold-ink);
}
.po-success__again:hover,
.po-success__again:not(.button-style):hover { background: var(--eh-gold-hover); color: var(--eh-gold-ink); }

@media (prefers-reduced-motion: reduce) {
  .po-geo-btn, .po-geo-btn.is-loading .po-geo-btn__ico { transition: none; animation: none; }
}

/* ============================================================
 * Login propio del Portal de Franquiciados — [eh_portal_login]
 * (clases nuevas eh-login*; color/tipografía vía var(--eh-*)/var(--ff-*))
 * ============================================================ */
.eh-login {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(40px, 7vw, 90px) 20px;
  background: var(--eh-cream);
}
.eh-login__card {
  width: 100%;
  max-width: 440px;
  background: var(--eh-white);
  border: 1px solid var(--eh-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.eh-login__brand {
  font-family: var(--ff-cond);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--eh-gold);
  margin: 0 0 6px;
}
.eh-login__title {
  font-family: var(--ff-display);
  color: var(--eh-ink);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 8px;
}
.eh-login__lead {
  color: var(--eh-text);
  font-family: var(--ff-body);
  font-size: .95rem;
  margin: 0 0 22px;
}
.eh-login__error {
  background: color-mix(in srgb, var(--eh-danger) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-danger) 35%, transparent);
  color: var(--eh-danger-ink);
  font-family: var(--ff-body);
  font-size: .9rem;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0 0 18px;
  text-align: left;
}
.eh-login__form {
  text-align: left;
}
.eh-login__form .field input {
  width: 100%;
  font: inherit;
  color: var(--eh-ink);
}
.eh-login__form .field input:focus {
  outline: none;
  border-color: var(--eh-gold);
  box-shadow: 0 0 0 3px rgba(251, 184, 0, .18);
}
.eh-login__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--eh-text);
  margin: 4px 0 20px;
  cursor: pointer;
}
.eh-login__remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--eh-gold);
}
.eh-login__submit,
.eh-login__submit:not(.button-style) {
  width: 100%;
  justify-content: center;
  background: var(--eh-gold);
  color: var(--eh-gold-ink);
  border-color: var(--eh-gold);
}
.eh-login__submit:hover,
.eh-login__submit:not(.button-style):hover {
  background: var(--eh-gold-hover);
  color: var(--eh-gold-ink);
}
.eh-login__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.eh-login__actions {
  margin: 18px 0 14px;
}
.eh-login__actions .btn {
  width: 100%;
  justify-content: center;
}
.eh-login__alt {
  margin: 0;
}
.eh-login__logout {
  font-family: var(--ff-cond);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  color: var(--eh-text-soft);
  text-decoration: underline;
}
.eh-login__logout:hover {
  color: var(--eh-ink);
}

/* ============================================================
   PÁGINA MENÚ — grid de productos (markup del tema padre) y tabs
   ============================================================ */

/* Grid del catálogo del menú: usa el MARKUP del tema padre (ul.products > li.product),
   pero forzamos CSS Grid para controlar columnas (5 en desktop, 2 en mobile). El tema
   padre maquetaria los li.product con floats/anchos (.columns-N); por eso reseteamos
   float/width en los li para que mande el grid. La card en sí (imagen flotante,
   .product-block, etc.) conserva el estilo heredado del padre. */
.woocommerce ul.products.eh-menu-grid,
ul.products.eh-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Reset de los anchos/floats que el tema padre aplica a li.product. */
.woocommerce ul.products.eh-menu-grid li.product,
ul.products.eh-menu-grid li.product,
.woocommerce ul.products.eh-pedido-grid li.product,
ul.products.eh-pedido-grid li.product {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  clear: none;
  /* min-width:0 → permite que la celda se encoja (si no, el contenido/imagen
     flotante mantiene min-content y desborda el grid en mobile). */
  min-width: 0;
}
/* La imagen no debe forzar ancho de la celda. */
.eh-menu-grid li.product .product-image img,
.eh-menu-grid li.product img,
.eh-pedido-grid li.product .product-image img,
.eh-pedido-grid li.product img { max-width: 100%; height: auto; }
/* Precio + botón: que bajen de línea si la card es muy angosta (mobile). */
.eh-menu-grid li.product .product-caption-bottom,
.eh-pedido-grid li.product .product-caption-bottom { flex-wrap: wrap; gap: 10px; }
/* Descripción del menú: recortada a 3 líneas por defecto (no estira la card);
   el botón "Ver más" la expande dentro de la misma card. */
.eh-menu-grid li.product .product-caption .short-description,
.eh-menu-grid li.product .short-description,
.eh-pedido-grid li.product .product-caption .short-description,
.eh-pedido-grid li.product .short-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Popover compacto: aparece SOBRE el área de la descripción (alto según el texto),
   sin tapar la card entera ni estirar el grid. */
.eh-menu-grid li.product,
.eh-pedido-grid li.product { position: relative; }
.eh-menu-grid .eh-desc,
.eh-pedido-grid .eh-desc { position: relative; }
.eh-menu-grid .eh-desc-pop,
.eh-pedido-grid .eh-desc-pop {
  position: absolute; left: 0; right: 0; top: -6px;
  max-height: 230px; overflow: auto; z-index: 5;
  background: var(--eh-white); border: 1px solid var(--eh-line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 12px 14px;
}
.eh-menu-grid .eh-desc-pop p,
.eh-pedido-grid .eh-desc-pop p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--eh-text); }
.eh-menu-grid .eh-desc__more,
.eh-menu-grid .eh-desc__more:not(.button-style),
.eh-pedido-grid .eh-desc__more,
.eh-pedido-grid .eh-desc__more:not(.button-style) {
  background: none; border: 0; padding: 2px 0; margin: 2px 0 0;
  color: var(--eh-gold-ink); font-family: var(--ff-cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; font-size: .76rem;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.eh-menu-grid .eh-desc__more:hover,
.eh-pedido-grid .eh-desc__more:hover { color: var(--eh-gold); }
/* La imagen flotante del padre sube la card; damos aire arriba para que no se corte. */
.eh-menu-grid li.product,
.eh-pedido-grid li.product { margin-top: 30px; }

/* ===== Grid del paso "Productos" del PEDIDO =====
   Mismo markup/estilo de card que el menú, pero el panel del pedido es MÁS
   ANGOSTO (lleva el resumen al costado): menos columnas. 2 por fila en desktop
   (3 si hay mucho ancho), 2 en mobile → 1 en pantallas muy chicas. */
.woocommerce ul.products.eh-pedido-grid,
ul.products.eh-pedido-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1400px) {
  .woocommerce ul.products.eh-pedido-grid,
  ul.products.eh-pedido-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .woocommerce ul.products.eh-pedido-grid,
  ul.products.eh-pedido-grid { grid-template-columns: 1fr; gap: 14px; }
}
/* El selector +/− (.qty) ocupa el slot del carrito sin desbordar la card. */
.eh-pedido-grid .fazfood-add-to-cart { display: flex; }
.eh-pedido-grid .fazfood-add-to-cart .qty { margin: 0; }

/* Breakpoints del grid: 5 → 4 → 3 → 2 (mobile SIEMPRE 2 por fila). */
@media (max-width: 1200px) {
  .woocommerce ul.products.eh-menu-grid,
  ul.products.eh-menu-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .woocommerce ul.products.eh-menu-grid,
  ul.products.eh-menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .woocommerce ul.products.eh-menu-grid,
  ul.products.eh-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Quitar el padding lateral en mobile para darle más ancho a las cards. */
  #menu-catalogo .container { padding-left: 8px; padding-right: 8px; }
}

/* Tabs de categoría del MENÚ (#menu-tabs.cats__grid): CENTRADAS para cualquier
   cantidad (2, 3, 4…). Scopeado a #menu-tabs para NO afectar las tabs de la home.
   Pasamos de grid (4 columnas fijas, que alinea a la izquierda con pocas tabs) a
   flex centrado. Cada .cat toma un ancho razonable para que se vean equilibradas. */
#menu-tabs.cats__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(12px, 2vw, 28px);
}
#menu-tabs.cats__grid .cat {
  flex: 0 1 clamp(180px, 22%, 280px);
  width: auto;
  border-radius: var(--radius-md);
}
/* El divisor vertical entre .cat (::before) asume layout en fila contigua; con flex
   centrado y gap molesta. Lo desactivamos solo en estas tabs. */
#menu-tabs.cats__grid .cat + .cat::before { display: none; }
@media (max-width: 640px) {
  #menu-tabs.cats__grid .cat { flex: 0 1 clamp(140px, 44%, 220px); }
}

/* ============== MAPA SUCURSALES (shortcode [eh_mapa_sucursales]) ==============
   Mapa federal reutilizable para Elementor. Reutiliza la estética del mapa de
   Franquicias (.leaflet-prov-pin con el conteo + .fr-dot por sucursal) y la
   leyenda (i.l-prov / i.l-dot). Solo se definen acá las clases .eh-mapsuc*. */
.eh-mapsuc { position: relative; padding: 40px 0; }
.eh-mapsuc__inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.eh-mapsuc__title {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .01em;
  color: var(--eh-ink); text-align: center; margin: 0 0 22px; font-weight: 400;
}
.eh-mapsuc__empty {
  text-align: center; color: var(--eh-text-soft);
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .08em;
}

/* Chips (pills de marca). Override del <button> marrón del padre con
   :not(.button-style): inactivo blanco/ink, hover crema+dorado, activo dorado. */
.eh-mapsuc__chips {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 26px;
}
.eh-mapsuc__chips .chip,
.eh-mapsuc__chips .chip:not(.button-style) {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; cursor: pointer;
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em;
  font-size: .86rem; line-height: 1;
  background: var(--eh-white); color: var(--eh-ink);
  border: 1px solid var(--eh-line); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.eh-mapsuc__chips .chip:hover,
.eh-mapsuc__chips .chip:not(.button-style):hover {
  background: var(--eh-cream-2); color: var(--eh-gold-ink); border-color: var(--eh-gold);
}
.eh-mapsuc__chips .chip.is-active,
.eh-mapsuc__chips .chip.is-active:not(.button-style),
.eh-mapsuc__chips .chip.is-active:hover,
.eh-mapsuc__chips .chip.is-active:not(.button-style):hover {
  background: var(--eh-gold); color: var(--eh-gold-ink); border-color: var(--eh-gold);
}
.eh-mapsuc__chip-n {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: var(--radius-pill);
  font-size: .72rem; font-family: var(--ff-display);
  background: rgba(0, 0, 0, .08); color: inherit;
}

.eh-mapsuc__mapwrap { position: relative; }
.eh-mapsuc__map {
  height: 520px; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--eh-line); box-shadow: var(--shadow-md);
  background: var(--eh-cream);
}
.eh-mapsuc__map .leaflet-control-attribution { font-size: 10px; }

/* Leyenda (mismo tratamiento que .fr-map-legend). */
.eh-mapsuc__legend {
  position: absolute; z-index: 500; right: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--eh-line);
  border-radius: var(--radius-sm); padding: 10px 14px; box-shadow: var(--shadow-md);
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em;
  font-size: .76rem; color: var(--eh-text);
  display: flex; flex-direction: column; gap: 6px;
}
.eh-mapsuc__legend span { display: flex; align-items: center; gap: 8px; }
.eh-mapsuc__legend i { width: 13px; height: 13px; border-radius: 50%; flex: 0 0 13px; }
.eh-mapsuc__legend i.l-prov {
  background: var(--eh-gold); border: 2px solid var(--eh-gold-ink);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.eh-mapsuc__legend i.l-dot { background: #c0492b; border: 2px solid #fff; }

@media (max-width: 640px) {
  .eh-mapsuc__map { height: 420px; }
}
