/* ===== VARIABLES — Paleta pastel ===== */
:root {
  --rose-deep: #C77B92;     /* burdeos suavizado (era #C77B92) */
  --rose-mid: #E89BAF;      /* rosa medio pastel (era #E89BAF) */
  --rose-soft: #F2B4C5;     /* rosa suave pastel (era #F2B4C5) */
  --rose-pale: #F8D4DD;     /* pastel claro (era #F8D4DD) */
  --rose-blush: #FDF1F4;    /* casi blanco rosado */
  --rose-cream: #FFFAFC;    /* fondo crema */
  --gold: #D4B581;          /* dorado suavizado */
  --gold-light: #EEDDB5;
  --text-dark: #3A2A2F;
  --text-mid: #6B4E58;
  --text-light: #A38995;
  --white: #FFFFFF;
  --shadow-soft: 0 8px 40px rgba(199, 123, 146, 0.10);
  --shadow-card: 0 20px 60px rgba(199, 123, 146, 0.13);
  --radius: 20px;
  --radius-sm: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.johanas-page {
  font-family: 'Lato', sans-serif;
  background: var(--rose-cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== KEYFRAMES ===== */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(-110vh) rotate(720deg); opacity: 0; }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 30px rgba(199, 123, 146, 0.4); }
  50%       { transform: scale(1.04); box-shadow: 0 12px 50px rgba(199, 123, 146, 0.6); }
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(60px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.3); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.2); }
  70%       { transform: scale(1); }
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;       /* al fondo, detrás del contenido (antes salía por encima) */
  opacity: 0.55;     /* más sutil, como textura de fondo */
}

/* ===== HERO ===== */
.jm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.jm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.jm-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.jm-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(244, 143, 177, 0.35);
  z-index: 1;
}

.jm-hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
  max-width: 800px;
}

.jm-hero-badge {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--rose-deep);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1.6rem;
  border-radius: 50px;
  border: 1px solid rgba(194,57,122,0.2);
  margin-bottom: 1.5rem;
  animation: slideUpFade 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.jm-hero-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(194,57,122,0.3);
  margin-bottom: 0.5rem;
  animation: slideUpFade 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.jm-hero-subtitle {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  animation: slideUpFade 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

.jm-hero-tagline {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
  font-weight: 300;
  min-height: 2em;
  animation: slideUpFade 0.8s ease forwards;
  opacity: 0;
  animation-delay: 1.1s;
}

.jm-hero-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2.8rem;
  background: var(--white);
  color: var(--rose-deep);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  animation: slideUpFade 0.8s ease forwards, pulse 3s ease-in-out infinite;
  animation-delay: 1.4s, 2.2s;
  opacity: 0;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.jm-hero-cta:hover {
  background: var(--rose-deep);
  color: var(--white);
  transform: translateY(-3px);
}

.jm-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: slideUpFade 1s ease forwards;
  animation-delay: 2s;
  opacity: 0;
  z-index: 3;
}

.jm-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: slideUpFade 1s ease infinite alternate;
}

/* ===== FEATURES STRIP ===== */
.jm-features {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 30px rgba(194,57,122,0.08);
}

.jm-features-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.jm-feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  animation: slideUpFade 0.6s ease both;
  animation-delay: 0.1s;
}

.jm-feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.jm-feature-icon {
  font-size: 1.8rem;
  animation: heartBeat 2s ease-in-out infinite;
}

.jm-feature-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
}

.jm-feature-sep {
  width: 1px;
  height: 40px;
  background: var(--rose-pale);
  flex-shrink: 0;
}

/* ===== SECTION: PRODUCTS ===== */
.jm-products-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: var(--rose-blush);
}

.jm-section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: slideUpFade 0.7s ease both;
  animation-delay: 0.15s;
}

.jm-section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.jm-section-eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: var(--rose-mid);
  margin-bottom: 0.5rem;
}

.jm-section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.jm-section-title span {
  color: var(--rose-deep);
}

.jm-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.jm-section-divider::before,
.jm-section-divider::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose-pale));
}

.jm-section-divider::after {
  background: linear-gradient(to left, transparent, var(--rose-pale));
}

.jm-divider-icon {
  font-size: 1.2rem;
  color: var(--rose-soft);
}

/* ===== PRODUCT GRID ===== */
.jm-products-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 320px));
  gap: 2.2rem;
  justify-content: center;   /* hasta 3 por fila, centradas */
}

/* Categoría con UN solo producto → el contenedor sale del grid para no aplastar la tarjeta */
.jm-products-grid:has(> .jm-card:only-child) {
  display: block;
  max-width: 900px;
}

/* Categoría con UN solo producto → tarjeta destacada horizontal (foto grande | info) */
.jm-products-grid > .jm-card:only-child {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 900px;
  width: 100%;
  justify-self: center;
  text-align: left;
}
.jm-products-grid > .jm-card:only-child .jm-card-media {
  flex: 0 0 44%;
  aspect-ratio: auto;          /* anula el 3/4 vertical */
  align-self: stretch;         /* la foto ocupa toda la altura de la tarjeta */
}
.jm-products-grid > .jm-card:only-child .jm-card-body {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem 2.6rem;
}
/* En móvil vuelve a vertical */
@media (max-width: 768px) {
  .jm-products-grid > .jm-card:only-child {
    flex-direction: column;
    max-width: 380px;
    text-align: center;
  }
  .jm-products-grid > .jm-card:only-child .jm-card-media {
    flex: none;
    aspect-ratio: 3/4;
  }
  .jm-products-grid > .jm-card:only-child .jm-card-body {
    text-align: left;
    padding: 1.2rem;          /* mismo padding que las tarjetas de rejilla → botón igual */
  }
}

/* ===== PRODUCT CARD ===== */
.jm-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  animation: cardReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: var(--card-delay, 0s);
}

.jm-card.visible {
  animation: cardReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.jm-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 80px rgba(194,57,122,0.2);
}

.jm-card-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.jm-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jm-card:hover .jm-card-img {
  transform: scale(1.08);
}

.jm-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--rose-deep);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  z-index: 2;
}

.jm-card-gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.jm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.jm-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.jm-card-body {
  padding: 2rem;
}

.jm-card-category {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin-bottom: 0.6rem;
}

.jm-card-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.jm-card-subtitle {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  color: var(--rose-soft);
  margin-bottom: 1rem;
}

.jm-card-desc {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.jm-card-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.jm-card-features li {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: var(--rose-deep);
  background: var(--rose-blush);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--rose-pale);
  transition: background 0.3s, color 0.3s;
}

.jm-card-features li:hover {
  background: var(--rose-deep);
  color: var(--white);
}

.jm-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rose-blush);
}

/* Tarjetas de producto de rejilla: precio + botón CENTRADOS y siempre al FONDO
   (alineados igual en todas). El destacado horizontal de 1 producto queda excluido. */
.jm-card:not(:only-child) {
  display: flex;
  flex-direction: column;
}
.jm-card:not(:only-child) .jm-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.jm-card:not(:only-child) .jm-card-footer {
  margin-top: auto;
  justify-content: center;
}
/* Escritorio: el botón "Pedir ahora" siempre al fondo del footer → mismo margen abajo en todas */
@media (min-width: 701px) {
  .jm-card:not(:only-child) .jm-card-footer {
    align-items: flex-end;
  }
}

.jm-card-price {
  display: flex;
  flex-direction: column;
}

.jm-price-amount {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1;
}

.jm-price-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  white-space: nowrap;        /* siempre en 1 línea → footers de igual altura */
}

.jm-btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, var(--rose-mid), var(--rose-deep));
  color: var(--white) !important;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 25px rgba(194,57,122,0.35);
  animation: pulse 2.5s ease-in-out infinite;
}

.jm-btn-buy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}

.jm-btn-buy:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px rgba(194,57,122,0.5);
}

.jm-btn-icon {
  font-size: 1.3rem;
}

/* ===== Indicador "Descubre": ocultar en pantallas no muy altas (evita solape con el botón "Ver la colección") ===== */
@media (max-height: 860px) {
  .jm-scroll-indicator { display: none; }
}

/* ===== Páginas genéricas (Aviso Legal, Privacidad, Condiciones, Cookies…) — plantilla page.php ===== */
.jm-page {
  padding: 120px 1.5rem 5rem;
  background: var(--rose-blush, #FFF6F9);
}
.jm-page-inner {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem clamp(1.2rem, 4vw, 3rem);
  box-shadow: 0 10px 40px rgba(194,57,122,0.08);
}
.jm-page-title {
  font-family: 'Fredoka', sans-serif;
  color: var(--rose-deep, #C77B92);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  text-align: center;
  margin: 0 0 1.8rem;
}
.jm-page-content {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark, #3A2A2F);
  line-height: 1.75;
}
.jm-page-content h2 {
  font-family: 'Fredoka', sans-serif;
  color: var(--rose-deep, #C77B92);
  font-size: 1.35rem;
  margin: 2rem 0 0.7rem;
}
.jm-page-content h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  margin: 1.4rem 0 0.5rem;
}
.jm-page-content p { margin: 0 0 1rem; }
.jm-page-content ul,
.jm-page-content ol { margin: 0 0 1rem 1.5rem; }
.jm-page-content li { margin-bottom: 0.4rem; }
.jm-page-content a { color: var(--rose-deep, #C77B92); text-decoration: underline; }
.jm-page-content strong { color: var(--text-dark, #3A2A2F); }

/* ===== ORDER NOTE ===== */
.jm-note-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  background: var(--white);
}

.jm-note-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  animation: slideUpFade 0.7s ease both;
  animation-delay: 0.2s;
}

.jm-note-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.jm-note-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: heartBeat 2s ease-in-out infinite;
}

.jm-note-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.jm-note-text {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.jm-note-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose-blush), var(--rose-pale));
  border: 1px solid var(--rose-pale);
  border-radius: var(--radius-sm);
  padding: 1.2rem 2.5rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--rose-deep);
}

/* ===== FOOTER ===== */
.jm-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #3A2A2F, #6B4E58);
  color: rgba(255,255,255,0.8);
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.jm-footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  color: var(--rose-pale);
  margin-bottom: 0.5rem;
}

.jm-footer-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.jm-footer-divider {
  width: 60px;
  height: 1px;
  background: var(--rose-deep);
  margin: 0 auto 2rem;
}

.jm-footer-contact {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.jm-footer-contact a {
  color: var(--rose-pale);
  text-decoration: none;
  transition: color 0.3s;
}

.jm-footer-contact a:hover {
  color: var(--white);
}

.jm-footer-copy {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== EVENT BANNER — Día de la Madre ===== */
.jm-event-banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #FAE0E8 0%, #FDF1F4 50%, #F8D4DD 100%);
  padding: 5rem 2rem;
  overflow: hidden;
}

.jm-event-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(232, 155, 175, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(199, 123, 146, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

/* Decoraciones flotantes */
.jm-event-deco {
  position: absolute;
  font-size: 2rem;
  opacity: 0.35;
  pointer-events: none;
  animation: jmFloat 6s ease-in-out infinite;
}
.jm-event-deco-1 { top: 12%; left: 6%; color: var(--rose-deep); animation-delay: 0s; }
.jm-event-deco-2 { top: 68%; left: 11%; color: var(--rose-mid); font-size: 2.6rem; animation-delay: 1.2s; }
.jm-event-deco-3 { top: 18%; right: 8%; color: var(--rose-deep); font-size: 1.6rem; animation-delay: 2.4s; }
.jm-event-deco-4 { bottom: 14%; right: 6%; color: var(--rose-mid); font-size: 2.2rem; animation-delay: 3.6s; }

@keyframes jmFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(8deg); }
}

.jm-event-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.jm-event-left,
.jm-event-right {
  align-self: center;
}

.jm-event-tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: var(--white);
  border: 1px solid var(--rose-pale);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 14px rgba(199, 123, 146, 0.12);
}

.jm-event-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.4);
}

.jm-event-desc {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 460px;
}

.jm-event-btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose-mid) 100%);
  color: var(--white) !important;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 28px rgba(199, 123, 146, 0.35);
}

.jm-event-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(199, 123, 146, 0.45);
}

/* Tarjetas de producto */
.jm-event-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  align-self: center;
}

.jm-event-card {
  display: block;
  text-decoration: none !important;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(199, 123, 146, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid var(--rose-pale);
}

.jm-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(199, 123, 146, 0.28);
}

.jm-event-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--rose-blush);
}

.jm-event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jm-event-card:hover .jm-event-card-media img {
  transform: scale(1.06);
}

.jm-event-card-pill {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.jm-event-card-info {
  padding: 1.1rem 1.2rem 1.3rem;
  text-align: center;
}

.jm-event-card-info h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.jm-event-card-price {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rose-deep);
  margin: 0 0 0.6rem;
}

.jm-event-card-price .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
}

.jm-event-card-link {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  padding-top: 0.4rem;
  border-top: 1px solid var(--rose-pale);
  margin-top: 0.3rem;
  transition: color 0.2s;
}

.jm-event-card:hover .jm-event-card-link {
  color: var(--rose-mid);
}

.jm-event-section {
  background: linear-gradient(180deg, #FDF1F4 0%, #FAE0E8 100%);
}

.jm-badge-event {
  background: linear-gradient(135deg, #C9A96E, #E8D5A3) !important;
  color: #3A2A2F !important;
}

/* ===== CONFETTI ===== */
.jm-confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall linear forwards;
}

/* ===== FLOATING CART ===== */
.jm-cart-float {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--rose-mid), var(--rose-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(194,57,122,0.45);
  z-index: 999;
  animation: pulse 2.5s ease-in-out infinite;
  transition: transform 0.3s;
}

.jm-cart-float:hover {
  transform: scale(1.12);
}

.jm-cart-float-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .jm-features-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .jm-feature-sep {
    display: none;
  }
}

@media (max-width: 700px) {
  .jm-products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .jm-features-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  /* Móvil: alinear las 4 ventajas (mismo ancho, icono en columna fija) */
  .jm-feature-item {
    width: 250px;
    max-width: 84vw;
    justify-content: flex-start;
    padding: 0.3rem 0;
  }
  .jm-feature-icon {
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
  }
  .jm-feature-sep {
    width: 60px;
    height: 1px;
    display: block;
  }
  .jm-card-footer {
    flex-direction: column;
    align-items: center;
  }
  /* Descripción recortada a 3 líneas en móvil → tarjetas más compactas */
  .jm-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
  }
  /* Foto cuadrada en móvil (en vez de vertical 3/4) → tarjeta mucho más baja */
  .jm-card-media {
    aspect-ratio: 1 / 1;
  }
  .jm-btn-buy {
    width: 100%;
    justify-content: center;
  }
  .jm-event-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .jm-event-left {
    text-align: center;
  }
  .jm-event-desc { margin-left: auto; margin-right: auto; }
  .jm-event-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 460px;
    margin: 0 auto;
  }
  .jm-event-card--up,
  .jm-event-card--down { transform: none; }
  /* Tarjetas de evento: misma altura y precio+botón alineados abajo (aunque el título ocupe 2 o 3 líneas) */
  .jm-event-right { align-items: stretch; }
  .jm-event-card { display: flex; flex-direction: column; }
  .jm-event-card-info { flex: 1; display: flex; flex-direction: column; }
  .jm-event-card-price { margin-top: auto; }
  .jm-event-card-link { align-self: center; }
  .jm-cart-float {
    bottom: 5rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* ===== WOOCOMMERCE PAGES ===== */

body.woocommerce-cart,
body.woocommerce-checkout {
  background: #FFFAFC !important;
  font-family: 'Lato', sans-serif;
}

body.woocommerce-cart h1,
body.woocommerce-checkout h1 {
  font-family: 'Fredoka', sans-serif !important;
  color: #C77B92 !important;
}

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
  background: #FFFAFC;
}

.woocommerce table.shop_table th {
  background: #FDF1F4;
  color: #C77B92;
  font-family: 'Fredoka', sans-serif;
  border: none !important;
}

.woocommerce table.shop_table td {
  border-color: #F8D4DD !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-proceed-to-checkout a.checkout-button {
  background: linear-gradient(135deg, #E89BAF, #C77B92) !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  border: none !important;
  padding: 0.9rem 2rem !important;
}

/* Atrapa-todo: botones de WooCommerce por CLASE (nuestras plantillas custom no van
   dentro de .woocommerce, así que el botón salía con el color por defecto / negro) */
.single_add_to_cart_button,
a.add_to_cart_button,
button.add_to_cart_button,
.jm-pd-form button.button,
.jm-pd-form a.button,
.jm-product-detail .single_add_to_cart_button {
  background: linear-gradient(135deg, #E89BAF, #C77B92) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 1rem 2rem !important;
  box-shadow: 0 8px 24px rgba(199,123,146,0.32) !important;
  cursor: pointer;
}
.single_add_to_cart_button:hover,
a.add_to_cart_button:hover { transform: translateY(-2px); }
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
  opacity: 0.55 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* ===== Raciones en botones grandes (productos variables tipo Express) ===== */
.jm-var-raciones {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.3rem 0 0.5rem;
}
.jm-var-racion {
  flex: 1 1 auto;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 2px solid #F8D4DD;
  border-radius: 16px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.jm-var-racion:hover { border-color: #E89BAF; transform: translateY(-2px); }
.jm-var-racion.active { border-color: #C77B92; background: linear-gradient(135deg, #FCE9F0, #F8D4DD); }
.jm-var-racion-label { font-weight: 700; color: #3A2A2F; }
.jm-var-racion-price { color: #C77B92; font-weight: 700; font-size: 0.95rem; }
/* Ocultar el desplegable de raciones cuando ya hay botones, y la cantidad (las tartas van de 1 en 1) */
.jm-pd-form select.jm-raciones-hidden { display: none !important; }
.jm-pd-form .variations_form .quantity { display: none !important; }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-container .wc-block-components-button {
  background: linear-gradient(135deg, #E89BAF, #C77B92) !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  border: none !important;
  box-shadow: 0 6px 25px rgba(194,57,122,0.35) !important;
}

.wc-block-components-button:not(.is-link):hover {
  background: #C77B92 !important;
  transform: translateY(-2px) !important;
}

.wc-block-cart-items__header span {
  color: #C77B92 !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.wc-block-cart-item__product-name,
.wc-block-cart-item__product-name a {
  font-family: 'Fredoka', sans-serif !important;
  color: #3A2A2F !important;
}

.wc-block-cart-item__product-name a:hover { color: #C77B92 !important; }
.wc-block-cart-item__description { color: #A38995 !important; font-size: 0.85rem !important; }

.wc-block-cart-item__total .woocommerce-Price-amount,
.wc-block-components-product-price .woocommerce-Price-amount {
  color: #C77B92 !important;
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 700 !important;
}

.wc-block-components-totals-wrapper,
.wc-block-cart__totals {
  background: #FDF1F4 !important;
  border-radius: 16px !important;
  border: 1px solid #F8D4DD !important;
  padding: 1.2rem 1.5rem !important;
}

.wc-block-components-totals-item,
.wc-block-components-totals-footer-item {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  column-gap: 1rem !important;
  width: 100% !important;
  padding: 0.6rem 0 !important;
  border-color: #F8D4DD !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item > *:first-child,
.wc-block-components-totals-footer-item > *:first-child {
  grid-column: 1 !important;
  text-align: left !important;
  font-family: 'Lato', sans-serif !important;
  color: #6B4E58 !important;
}

.wc-block-components-totals-item__value,
.wc-block-components-totals-item > *:last-child,
.wc-block-components-totals-footer-item > *:last-child {
  grid-column: 2 !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-family: 'Lato', sans-serif !important;
  color: #6B4E58 !important;
}

.wc-block-components-totals-item__value .woocommerce-Price-amount,
.wc-block-components-totals-item__value bdi,
.wc-block-components-totals-item > *:last-child .woocommerce-Price-amount,
.wc-block-components-totals-item > *:last-child bdi {
  display: inline !important;
  white-space: nowrap !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item > *:first-child {
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 700 !important;
  color: #C77B92 !important;
  font-size: 1.1rem !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item > *:last-child {
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 700 !important;
  color: #C77B92 !important;
  font-size: 1.2rem !important;
}

.wc-block-components-quantity-selector {
  border-color: #F8D4DD !important;
  border-radius: 50px !important;
}

.wc-block-components-quantity-selector__button { color: #C77B92 !important; }
.wc-block-components-quantity-selector__input { text-align: center !important; }

.wc-block-cart-item__remove-link { color: #F2B4C5 !important; }
.wc-block-cart-item__remove-link:hover { color: #C77B92 !important; }

.wc-block-components-totals-coupon { display: none !important; }

.wc-block-components-totals-wrapper:empty,
.wc-block-components-totals-wrapper:has(> :only-child:empty) {
  display: none !important;
}

/* ===== HEADER ===== */
.elementor-location-header {
  background: linear-gradient(135deg, #FDF1F4 0%, #FAE0E8 100%) !important;
  border-bottom: 1px solid #F8D4DD !important;
  box-shadow: 0 2px 20px rgba(194,57,122,0.08) !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-nav-menu > li > a,
.elementor-location-header .elementor-nav-menu a,
.elementor-location-header .elementor-item {
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #6B4E58 !important;
  transition: color 0.3s !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-nav-menu > li > a:hover,
.elementor-location-header .elementor-nav-menu a:hover,
.elementor-location-header .elementor-item:hover {
  color: #C77B92 !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: #C77B92 !important;
}

.elementor-location-header .elementor-button {
  background: linear-gradient(135deg, #C77B92, #3A2A2F) !important;
  border-radius: 50px !important;
  color: #FFFFFF !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

.elementor-location-header .elementor-menu-cart__toggle .elementor-button-text,
.elementor-location-header .woocommerce-Price-amount {
  display: none !important;
}

/* ===== OCULTAR CARRITO EN PÁGINA CARRITO/CHECKOUT ===== */
body.woocommerce-cart .elementor-menu-cart,
body.woocommerce-checkout .elementor-menu-cart {
  display: none !important;
}

/* ===== MINI-CART POPUP ===== */
.elementor-menu-cart__container {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  border: 1px solid #F8D4DD !important;
  box-shadow: 0 20px 60px rgba(194,57,122,0.2) !important;
  overflow: hidden !important;
}

.elementor-menu-cart__header {
  background: linear-gradient(135deg, #FDF1F4, #FAE0E8) !important;
  border-bottom: 1px solid #F8D4DD !important;
  padding: 1rem 1.5rem !important;
}

.elementor-menu-cart__title {
  font-family: 'Fredoka', sans-serif !important;
  color: #3A2A2F !important;
  font-size: 1.1rem !important;
}

.elementor-menu-cart__product-name,
.elementor-menu-cart__product-name a {
  font-family: 'Fredoka', sans-serif !important;
  color: #3A2A2F !important;
}

.elementor-menu-cart__product-price .woocommerce-Price-amount {
  color: #C77B92 !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
}

.elementor-menu-cart__subtotal {
  font-family: 'Lato', sans-serif !important;
  border-top: 1px solid #F8D4DD !important;
  padding: 1rem 1.5rem !important;
}

.elementor-menu-cart__subtotal .woocommerce-Price-amount {
  color: #C77B92 !important;
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 700 !important;
}

.elementor-menu-cart__footer-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  padding: 1rem 1.5rem 1.5rem !important;
  background: #FFFAFC !important;
}

.elementor-menu-cart__footer-buttons .elementor-button {
  border-radius: 50px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-align: center !important;
  padding: 0.85rem 1.5rem !important;
  transition: all 0.3s !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
  background: #FDF1F4 !important;
  color: #C77B92 !important;
  border: 2px solid #F8D4DD !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover {
  background: #F8D4DD !important;
  color: #3A2A2F !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout {
  background: linear-gradient(135deg, #E89BAF, #C77B92) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 6px 25px rgba(194,57,122,0.35) !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 35px rgba(194,57,122,0.5) !important;
}

.elementor-menu-cart__empty-message {
  font-family: 'Lato', sans-serif !important;
  color: #A38995 !important;
  text-align: center !important;
  padding: 2rem !important;
}

/* ===== PÁGINAS INTERNAS (FONDO GENERAL) ===== */
body.page .site-main,
body.woocommerce .site-main,
body.woocommerce-page:not(.woocommerce-cart):not(.woocommerce-checkout) .site-main {
  background: #FFFAFC !important;
}

body.page,
body.woocommerce:not(.woocommerce-cart):not(.woocommerce-checkout) {
  background: #FFFAFC !important;
}

h1.page-title,
.woocommerce-products-header__title {
  font-family: 'Fredoka', sans-serif !important;
  color: #C77B92 !important;
}

.woocommerce-breadcrumb {
  font-family: 'Lato', sans-serif !important;
  color: #A38995 !important;
  font-size: 0.85rem !important;
}

.woocommerce-breadcrumb a {
  color: #C77B92 !important;
  text-decoration: none !important;
}

/* ===== TIENDA / BÚSQUEDA — CUADRÍCULA DE PRODUCTOS ===== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  max-width: 1080px !important;
}

/* Quitar el clearfix de WooCommerce: sus ::before/::after cuentan como celdas y descuadran la grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

/* Anular floats, anchos y clears por defecto de WooCommerce (incluidas las clases first/last) */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Foto uniforme (cuadrada) en todas las tarjetas del listado */
.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* Responsive: 3 → 2 → 1 columnas */
@media (max-width: 900px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr !important; }
}

/* ===== TIENDA — TARJETAS DE PRODUCTO ===== */
.woocommerce ul.products li.product {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(194,57,122,0.1) !important;
  overflow: hidden !important;
  padding-bottom: 1.5rem !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 50px rgba(194,57,122,0.2) !important;
}

.woocommerce ul.products li.product a img {
  border-radius: 12px 12px 0 0 !important;
  width: 100% !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Fredoka', sans-serif !important;
  color: #3A2A2F !important;
  font-size: 1.2rem !important;
  padding: 1rem 1.2rem 0.3rem !important;
}

.woocommerce ul.products li.product .price {
  color: #C77B92 !important;
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  padding: 0 1.2rem !important;
}

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button {
  background: linear-gradient(135deg, #E89BAF, #C77B92) !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  border: none !important;
  margin: 0.8rem 1.2rem 0 !important;
  padding: 0.7rem 1.5rem !important;
  box-shadow: 0 4px 15px rgba(194,57,122,0.3) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(194,57,122,0.45) !important;
}

.woocommerce-result-count {
  font-family: 'Lato', sans-serif !important;
  color: #A38995 !important;
}

.woocommerce-ordering select {
  font-family: 'Lato', sans-serif !important;
  color: #6B4E58 !important;
  border-color: #F8D4DD !important;
  border-radius: 50px !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  font-family: 'Lato', sans-serif !important;
  color: #C77B92 !important;
  border-color: #F8D4DD !important;
  border-radius: 50px !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #C77B92 !important;
  color: #FFFFFF !important;
}

/* ================================================================
   PÁGINAS CUSTOM (Catering, Nosotros, Tienda)
   ================================================================ */

.jm-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Hero interior (Catering) ── */
.jm-hero-inner {
  position: relative;
  min-height: 55vh;
  padding-top: 80px;
  background: #C77B92 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.jm-hero-inner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.jm-hero-inner__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.jm-hero-inner__content h1 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: clamp(2.4rem, 6vw, 4.5rem) !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

/* ── Catering body ── */
.jm-catering-body {
  background: #FFFFFF;
  padding: 5rem 0;
}

.jm-catering-body h2 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
  font-weight: 700 !important;
  color: #3A2A2F !important;
  line-height: 1.25 !important;
  margin-bottom: 1.5rem !important;
}

.jm-catering-body > .jm-container > p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #6B4E58;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.jm-steps {
  list-style: none;
  counter-reset: jm-step;
  margin-bottom: 3rem;
}

.jm-steps li {
  counter-increment: jm-step;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #6B4E58;
  line-height: 1.7;
  padding: 0.7rem 0 0.7rem 3rem;
  position: relative;
  border-bottom: 1px solid #FDF1F4;
}

.jm-steps li::before {
  content: counter(jm-step) ".";
  position: absolute;
  left: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #C77B92;
}

/* ── Formulario ── */
.jm-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jm-form input[type="text"],
.jm-form input[type="email"],
.jm-form textarea {
  width: 100%;
  padding: 1rem 1.4rem;
  background: #FDF1F4;
  border: 1.5px solid #F8D4DD;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #3A2A2F;
  outline: none;
  transition: border-color 0.3s;
  box-shadow: none;
}

.jm-form textarea {
  border-radius: 20px;
  resize: vertical;
}

.jm-form input[type="text"]:focus,
.jm-form input[type="email"]:focus,
.jm-form textarea:focus {
  border-color: #C77B92;
}

.jm-form__check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #A38995;
  cursor: pointer;
}

.jm-form__check a { color: #C77B92; text-decoration: underline; }

.jm-form__msg {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  display: none;
}

.jm-form__msg.jm-form__msg--ok {
  display: block;
  background: #FDF1F4;
  color: #C77B92;
  border: 1px solid #F8D4DD;
}

.jm-form__msg.jm-form__msg--err {
  display: block;
  background: #FDF1F4;
  color: #C77B92;
  border: 1px solid #F8D4DD;
}

.jm-btn-send {
  background: linear-gradient(135deg, #E89BAF, #C77B92);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 25px rgba(199, 123, 146, 0.35);
  align-self: center;
}

.jm-btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(199, 123, 146, 0.5);
}

/* ── Nosotros — título ── */
.jm-nosotros-title {
  background: linear-gradient(135deg, #FDF1F4, #FAE0E8);
  padding: calc(4rem + 80px) 0 4rem;
  text-align: center;
  border-bottom: 1px solid #F8D4DD;
}

.jm-nosotros-eyebrow {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  color: #C77B92;
  margin-bottom: 0.5rem;
}

.jm-nosotros-title h1 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  color: #3A2A2F !important;
  line-height: 1.2 !important;
  max-width: 720px !important;
  margin: 0 auto 1.5rem !important;
}

/* ── Nosotros — stats strip ── */
.jm-nosotros-stats {
  display: flex;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #FAE0E8;
}
.jm-nosotros-stat {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid #FAE0E8;
}
.jm-nosotros-stat:last-child { border-right: none; }
.jm-nosotros-stat strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C77B92;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.jm-nosotros-stat span {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: #A38995;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Nosotros — bio ── */
.jm-nosotros-bio {
  background: #FFFFFF;
  padding: 4rem 0 5rem;
}

.jm-nosotros-bio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.jm-nosotros-bio__grid--no-img {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.jm-nosotros-bio__img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(199, 123, 146, 0.15);
  display: block;
}

.jm-nosotros-bio__text p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: #6B4E58;
  margin-bottom: 1.2rem;
}

.jm-nosotros-firma {
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid #FAE0E8;
}
.jm-nosotros-firma span {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  color: #C77B92;
  display: block;
  margin-top: 0.5rem;
}

/* ── Nosotros — local ── */
.jm-nosotros-local {
  background: #E89BAF;
  border-radius: 40px 40px 0 0;
  padding: 4rem 2rem;
}

.jm-nosotros-local__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.jm-nosotros-local__img img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: block;
}

.jm-nosotros-local__text h2 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: #3A2A2F !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

.jm-nosotros-local__text address {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.jm-btn-location {
  display: inline-block;
  background: #3A2A2F;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
}

.jm-btn-location:hover {
  background: #C77B92;
  transform: translateY(-2px);
}

/* ── Tienda — cabecera ── */
.jm-tienda-header {
  background: linear-gradient(135deg, #FDF1F4, #FAE0E8);
  padding: calc(5rem + 80px) 0 4rem;
  text-align: center;
  border-bottom: 1px solid #F8D4DD;
}

.jm-tienda-header .jm-section-eyebrow {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: #C77B92;
  margin-bottom: 0.4rem;
}

.jm-tienda-header h1 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 700 !important;
  color: #3A2A2F !important;
  margin: 0 0 0.5rem !important;
}

.jm-tienda-header__sub {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: #E89BAF;
}

/* ── Tienda — toolbar ── */
.jm-tienda-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Tienda — grid de productos ── */
.jm-tienda-productos {
  background: #FFFAFC;
  padding: 4rem 0;
}

/* ── FAQs ── */
.jm-faqs {
  background: #FDF1F4;
  padding: 5rem 0;
}

.jm-faqs__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.jm-faqs__title {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #3A2A2F !important;
  margin-bottom: 2.5rem !important;
}

.jm-faq-item {
  border-bottom: 1px solid #F8D4DD;
}

.jm-faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #6B4E58;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}

.jm-faq-item__question:hover,
.jm-faq-item__question[aria-expanded="true"] {
  color: #C77B92;
}
/* Quitar el recuadro morado al clicar con el ratón (sin perder el foco de teclado) */
.jm-faq-item__question:focus,
.jm-faq-item__question:active {
  outline: none;
  background: none;
  box-shadow: none;
}
.jm-faq-item__question:focus-visible {
  outline: 2px solid #C77B92;
  outline-offset: 3px;
  border-radius: 6px;
}

.jm-faq-item__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.jm-faq-item__question[aria-expanded="true"] .jm-faq-item__icon {
  transform: rotate(180deg);
}

.jm-faq-item__answer {
  overflow: hidden;
}

.jm-faq-item__answer[hidden] {
  display: none;
}

.jm-faq-item__answer p {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #A38995;
  padding-bottom: 1.2rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .jm-nosotros-bio__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .jm-nosotros-local__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .jm-nosotros-local__img img {
    width: 100%;
    height: 240px;
  }

  .jm-nosotros-local {
    border-radius: 24px 24px 0 0;
  }
}

/* ============================================================
   HERO — VÍDEO DE FONDO
   ============================================================ */
.jm-hero {
  position: relative;
  overflow: hidden;
}
/* Anular el gradiente ::before original — el overlay del vídeo lo sustituye */
.jm-hero::before {
  display: none !important;
}
.jm-hero-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.jm-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20, 5, 12, 0.50) 0%,
    rgba(199, 123, 146, 0.20) 45%,
    rgba(20, 5, 12, 0.65) 100%
  );
}
.jm-hero-content {
  position: relative;
  z-index: 3;
}
.jm-scroll-indicator {
  z-index: 3;
}

/* ============================================================
   NAV
   ============================================================ */
.jm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(194,57,122,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.jm-nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 24px rgba(194,57,122,0.14);
}
.jm-nav-logo img { display: block; }
.jm-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.jm-nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #6B4E58;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.jm-nav-links a:hover { color: #C77B92; }
.jm-nav-links svg { display: block; }

/* ===== Desplegable "Productos" ===== */
.jm-nav-dropdown { position: relative; }
.jm-nav-dropdown-toggle {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #6B4E58;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.jm-nav-dropdown-toggle:hover { color: #C77B92; }
.jm-nav-caret { font-size: 0.65em; transition: transform 0.25s; }
.jm-nav-dropdown.open .jm-nav-caret,
.jm-nav-dropdown:hover .jm-nav-caret { transform: rotate(180deg); }

.jm-nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(194,57,122,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1001;
}
.jm-nav-dropdown:hover .jm-nav-dropdown-menu,
.jm-nav-dropdown:focus-within .jm-nav-dropdown-menu,
.jm-nav-dropdown.open .jm-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.jm-nav-dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.3rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6B4E58;
  text-transform: none;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.jm-nav-dropdown-menu li a:hover { background: #FDF1F4; color: #C77B92; }
.jm-nav-dropdown-heading {
  padding: 0.55rem 1.3rem 0.25rem;
  margin-top: 0.3rem;
  border-top: 1px solid #FDF1F4;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #C99BAA;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .jm-nav-dropdown { width: 100%; }
  .jm-nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #FDF1F4;
  }
  .jm-nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    background: #FCF3F6;
  }
  .jm-nav-dropdown.open .jm-nav-dropdown-menu { display: block; }
  .jm-nav-dropdown-menu li a { padding: 0.7rem 3rem; border-bottom: 1px solid #FDF1F4; }
  .jm-nav-dropdown-heading { padding-left: 3rem; margin-top: 0; }
}

/* ===== Botón buscador en el header ===== */
.jm-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin: 0;
  color: #6B4E58;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.jm-search-btn:hover {
  color: #C77B92;
  transform: scale(1.1);
}
.jm-search-btn svg { display: block; }

/* ===== Overlay del buscador ===== */
.jm-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(58, 42, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  animation: jmSearchFade 0.25s ease forwards;
}
.jm-search-overlay[hidden] { display: none; }

@keyframes jmSearchFade {
  to { opacity: 1; }
}

.jm-search-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.6rem;
  font-family: 'Fredoka', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.jm-search-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.jm-search-form {
  width: 100%;
  max-width: 640px;
}

.jm-search-label {
  display: block;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.jm-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 60px;
  box-shadow: 0 20px 50px rgba(199, 123, 146, 0.3);
  overflow: hidden;
}

.jm-search-icon {
  position: absolute;
  left: 1.2rem;
  color: #C77B92;
  pointer-events: none;
}

#jmSearchInput {
  flex: 1;
  padding: 1rem 1.2rem 1rem 3.5rem;
  border: none;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  background: transparent;
  color: #3A2A2F;
}
#jmSearchInput::placeholder {
  color: #A38995;
}

.jm-search-submit {
  background: linear-gradient(135deg, #C77B92 0%, #E89BAF 100%);
  border: none;
  color: #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.8rem;
  margin: 0.3rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.jm-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(199, 123, 146, 0.4);
}

.jm-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}
.jm-search-suggestions-label {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  margin-right: 0.4rem;
}
.jm-search-suggestions a {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s, transform 0.2s;
}
.jm-search-suggestions a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .jm-search-label { font-size: 1.4rem; }
  .jm-search-submit { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
  #jmSearchInput { font-size: 0.95rem; padding-left: 3rem; }
}

/* ===== Footer legal links ===== */
.jm-footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem auto 0.5rem;
  max-width: 700px;
  padding: 0 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.jm-footer-legal a {
  color: #A38995;
  text-decoration: none;
  transition: color 0.2s;
}
.jm-footer-legal a:hover {
  color: #C77B92;
  text-decoration: underline;
}
.jm-footer-legal-sep {
  color: #A38995;
  opacity: 0.4;
}
/* Botón "Gestionar cookies" (Complianz) a juego con el tema rosa */
.jm-footer .cmplz-revoke-custom,
.jm-footer .jm-footer-cookie-btn {
  background: #C77B92;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.jm-footer .cmplz-revoke-custom:hover,
.jm-footer .jm-footer-cookie-btn:hover {
  background: #E89BAF;
  transform: translateY(-1px);
}
.jm-footer .cmplz-status-accepted,
.jm-footer .cmplz-status-denied {
  color: #C9A3B2;
  font-size: 0.72rem;
}
.jm-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.jm-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #6B4E58;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.jm-hero { padding-top: 80px; }

@media (max-width: 768px) {
  .jm-nav { padding: 0.7rem 1.2rem; }
  .jm-nav-toggle { display: flex; }
  .jm-nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(194,57,122,0.12);
  }
  .jm-nav-links.open { display: flex; }
  .jm-nav-links a {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #FDF1F4;
  }
}

/* ============================================================
   BOTÓN WHATSAPP FLOTANTE
   ============================================================ */
.jm-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.jm-whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}
.jm-whatsapp-btn svg { width: 34px; height: 34px; }

/* ============================================================
   CARRITO FLOTANTE STICKY + MINI-CARRITO
   ============================================================ */
.jm-floating-cart-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

/* Botón circular */
.jm-floating-cart {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #C77B92, #E89BAF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(194,57,122,0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.2s;
  pointer-events: none;
}
.jm-floating-cart.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.jm-floating-cart:hover {
  box-shadow: 0 6px 28px rgba(194,57,122,0.6);
  transform: translateY(-3px);
}
.jm-floating-cart svg { width: 32px; height: 32px; }

/* Badge contador */
.jm-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #3A2A2F;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.jm-cart-count.has-items { opacity: 1; }

/* Panel mini-carrito */
.jm-mini-cart {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 440px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(194,57,122,0.2);
  border: 1px solid #FAE0E8;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  transform-origin: bottom right;
}
.jm-mini-cart.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.jm-mini-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem 0.8rem;
  border-bottom: 1px solid #FAE0E8;
}
.jm-mini-cart-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3A2A2F;
}
.jm-mini-cart-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #A38995;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}
.jm-mini-cart-close:hover { color: #C77B92; }

/* Contenido del mini-carrito */
.widget_shopping_cart_content { padding: 0 1rem; }

/* Lista de productos */
.jm-mc-list {
  list-style: none;
  padding: 0.6rem 0;
  margin: 0;
  max-height: 340px;
  overflow-y: auto;
}
.jm-mc-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #FDF1F4;
  position: relative;
}
.jm-mc-item:last-child { border-bottom: none; }
.jm-mc-remove {
  position: absolute;
  top: 0.4rem;
  right: 0;
  font-size: 1rem;
  color: #ccc;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}
.jm-mc-remove:hover { color: #C77B92; }
.jm-mc-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.jm-mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jm-mc-info { flex: 1; min-width: 0; padding-right: 1.2rem; }
.jm-mc-name {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3A2A2F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jm-mc-meta {
  display: block;
  font-size: 0.82rem;
  color: #A38995;
  margin: 0.1rem 0;
}
.jm-mc-qty-price {
  display: block;
  font-size: 0.9rem;
  color: #C77B92;
  font-weight: 600;
}

/* Vacío */
.jm-mc-empty {
  padding: 1.5rem;
  text-align: center;
  color: #A38995;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
}
.jm-mc-shop-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: #C77B92;
  text-decoration: underline;
}

/* Total */
.jm-mc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  margin: 0 0 0.8rem;
  border-top: 2px solid #FAE0E8;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #3A2A2F;
}
.jm-mc-total strong { font-size: 1.2rem; color: #C77B92; }

/* Botones */
.jm-mc-actions {
  display: flex;
  gap: 0.6rem;
  padding-bottom: 1rem;
}
.jm-mc-btn {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.jm-mc-btn--cart {
  background: #FDF1F4;
  color: #C77B92;
  border: 1.5px solid #F8D4DD;
}
.jm-mc-btn--cart:hover { background: #FAE0E8; }
.jm-mc-btn--checkout {
  background: linear-gradient(135deg, #C77B92, #E89BAF);
  color: #fff;
  box-shadow: 0 4px 16px rgba(194,57,122,0.35);
}
.jm-mc-btn--checkout:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(194,57,122,0.45); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.jm-testimonios {
  background: #FFFAFC;
  padding: 5rem 1.5rem;
  text-align: center;
}
.jm-testimonios-inner { max-width: 1100px; margin: 0 auto; }
.jm-testimonios .section-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C77B92;
  margin-bottom: 0.5rem;
}
.jm-testimonios .section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #3A2A2F;
  margin-bottom: 0.5rem;
}
.jm-testimonios-rating-global {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.jm-stars-big {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 2px;
  line-height: 1;
}
.jm-stars-big .jm-stars-empty {
  color: rgba(155, 112, 128, 0.25);
}
.jm-stars-big .jm-stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #F4B942;
  white-space: nowrap;
  pointer-events: none;
}
.jm-testimonios-rating-global span {
  font-size: 0.9rem;
  color: #A38995;
  font-family: 'Lato', sans-serif;
}
.jm-testimonios-track-wrapper {
  overflow: hidden;
  position: relative;
}
.jm-testimonios-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.jm-testimonio-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(194,57,122,0.08);
  text-align: left;
  border: 1px solid #FAE0E8;
}
.jm-testimonio-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.jm-testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.jm-testimonio-meta { flex: 1; }
.jm-testimonio-meta strong {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #3A2A2F;
}
.jm-testimonio-meta span {
  font-size: 0.78rem;
  color: #A38995;
}
.jm-google-icon { margin-left: auto; flex-shrink: 0; }
.jm-testimonio-stars {
  color: #F4B942;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.7rem;
}
.jm-testimonio-texto {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #6B4E58;
  margin: 0;
}
.jm-testimonios-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.8rem;
}
.jm-testimonios-dots .jm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F8D4DD;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.jm-testimonios-dots .jm-dot.active {
  background: #C77B92;
  transform: scale(1.3);
}
.jm-ver-resenas {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.8rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #A38995;
  text-decoration: none;
  transition: color 0.2s;
}
.jm-ver-resenas:hover { color: #C77B92; }

@media (max-width: 900px) {
  .jm-testimonio-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 600px) {
  .jm-testimonio-card { flex: 0 0 100%; }
}

/* ============================================================
   MAPA + HORARIO (page-nosotros)
   ============================================================ */
.jm-nosotros-local__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.jm-nosotros-local__map { width: 100%; }
.jm-horario {
  margin-top: 1.5rem;
  background: #FDF1F4;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}
.jm-horario h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: #C77B92;
  margin: 0 0 0.8rem;
}
.jm-horario ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.jm-horario li {
  display: flex;
  justify-content: space-between;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: #6B4E58;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #F8D4DD;
}
.jm-horario li:last-child { border-bottom: none; }
.jm-horario-nota {
  font-size: 0.75rem;
  color: #A38995;
  margin-top: 0.7rem;
  font-style: italic;
}
.jm-nosotros-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.jm-btn-whatsapp-inline,
.jm-btn-instagram-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.4rem 0.7rem 0.6rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  background: #fff;
  color: #3A2A2F;
  border: 1px solid rgba(45,27,32,0.08);
  box-shadow: 0 4px 18px rgba(45,27,32,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.jm-btn-whatsapp-inline:hover,
.jm-btn-instagram-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,27,32,0.18);
  color: #3A2A2F;
}
/* Icono dentro de un círculo con el color de la marca */
.jm-btn-whatsapp-inline svg,
.jm-btn-instagram-inline svg {
  width: 18px;
  height: 18px;
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  box-sizing: content-box;
}
.jm-btn-whatsapp-inline svg {
  background: #25D366;
}
.jm-btn-instagram-inline svg {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.jm-btn-location {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C77B92;
  text-decoration: none;
}
.jm-btn-location:hover { text-decoration: underline; }

/* ============================================================
   FOOTER — SOCIAL + LOGO
   ============================================================ */
.jm-footer-logo img { max-width: 160px; height: auto; display: block; margin: 0 auto; }
.jm-footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}
.jm-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.jm-footer-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   CATERING SOCIAL STRIP
   ============================================================ */
.jm-catering-social {
  background: #FDF1F4;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.jm-catering-social p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #6B4E58;
  margin-bottom: 1rem;
}

/* ============================================================
   NOTICES DE WOOCOMMERCE (mensajes de carrito, errores, etc.)
   ============================================================ */
.woocommerce-notices-wrapper {
  max-width: 720px;
  margin: 0 auto 2rem;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  margin: 0 auto 1rem;
  border-radius: 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(194,57,122,0.08);
  animation: slideUpFade 0.4s ease forwards;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  font-family: serif;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}
.woocommerce-message {
  background: linear-gradient(135deg, #FFFAFC 0%, #FAE0E8 100%);
  color: #3A2A2F;
  border-color: rgba(194,57,122,0.18);
}
.woocommerce-message::before {
  content: '✓';
  background: #C77B92;
  color: #fff;
}
.woocommerce-info {
  background: #FDF1F4;
  color: #6B4E58;
  border-color: rgba(194,57,122,0.12);
}
.woocommerce-info::before {
  content: 'i';
  background: #F8D4DD;
  color: #fff;
  font-style: italic;
}
.woocommerce-error {
  background: #FFE9EC;
  color: #8B1A2A;
  border-color: rgba(201,24,74,0.25);
}
.woocommerce-error::before {
  content: '!';
  background: #C9184A;
  color: #fff;
}
/* Forzar sobre WooCommerce/Storefront: el .woocommerce-info salía AZUL y con el icono
   en posición absoluta (se solapaba con el texto). Lo dejamos rosa y con el icono en línea. */
.woocommerce .woocommerce-info,
.woocommerce-page .woocommerce-info,
.jm-page--checkout .woocommerce-info {
  background: #FDF1F4 !important;
  color: #6B4E58 !important;
  border: 1px solid rgba(194,57,122,0.12) !important;
  border-top: 1px solid rgba(194,57,122,0.12) !important;
  padding: 1rem 1.4rem !important;
}
.woocommerce .woocommerce-info::before,
.woocommerce-page .woocommerce-info::before,
.jm-page--checkout .woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce-page .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce-page .woocommerce-error::before {
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
}
.woocommerce .woocommerce-info::before,
.woocommerce-page .woocommerce-info::before,
.jm-page--checkout .woocommerce-info::before {
  content: 'i' !important;
  font-family: serif !important;
  font-style: italic !important;
  background: #F8D4DD !important;
  color: #fff !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.woocommerce-message .restore-item {
  color: #C77B92;
  font-weight: 700;
  text-decoration: underline;
  margin-left: auto;
  white-space: nowrap;
  transition: color 0.2s;
}
.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover,
.woocommerce-message .restore-item:hover {
  color: #9B0A45;
}
/* Esconder el botón "Volver a la tienda" que WC inyecta dentro del .woocommerce-message */
.woocommerce-message .button.wc-forward,
.woocommerce-info .button.wc-forward {
  display: none !important;
}

/* ============================================================
   PÁGINA DEL CARRITO
   ============================================================ */
.jm-page--cart,
.jm-cart-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(3rem + 80px) 1.5rem 5rem;
}

/* ===== CARRITO VACÍO ===== */
.jm-cart-empty {
  max-width: 520px;
  margin: 2rem auto 0;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #FFFAFC 0%, #FAE0E8 100%);
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 8px 36px rgba(194,57,122,0.10);
  border: 1px solid rgba(194,57,122,0.08);
  animation: slideUpFade 0.6s ease forwards;
  opacity: 0;
}
.jm-cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  color: #C77B92;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(194,57,122,0.12);
  animation: heartBeat 2.4s ease-in-out infinite;
}
.jm-cart-empty-eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: #C77B92;
  margin: 0 0 0.4rem;
  line-height: 1;
}
.jm-cart-empty-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #3A2A2F;
  margin: 0 0 0.8rem;
  font-weight: 700;
}
.jm-cart-empty-sub {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #6E5560;
  margin: 0 0 2rem;
  line-height: 1.5;
}

/* ===== BOTÓN PRIMARIO REUTILIZABLE ===== */
.jm-btn-primary {
  display: inline-block;
  padding: 1rem 2.6rem;
  background: linear-gradient(135deg, #FF4D6D 0%, #C77B92 100%);
  color: #fff !important;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(194,57,122,0.28);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.jm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(194,57,122,0.36);
  filter: brightness(1.05);
  color: #fff !important;
}
.jm-btn-primary:active { transform: translateY(0); }
.jm-cart-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.jm-cart-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #3A2A2F;
  margin: 0.3rem 0 0.8rem;
}
.jm-cart-back {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #C77B92;
  text-decoration: none;
  transition: color 0.2s;
}
.jm-cart-back:hover { color: #A38995; }
.jm-cart-form table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(194,57,122,0.08);
}
.jm-cart-form thead th {
  background: #FDF1F4;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A38995;
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #FAE0E8;
}
.jm-cart-form td {
  padding: 1.2rem;
  vertical-align: middle;
  border-bottom: 1px solid #FDF1F4;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #3A2A2F;
}
.jm-cart-form .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.jm-cart-form .product-name a {
  font-weight: 600;
  color: #3A2A2F;
  text-decoration: none;
}
.jm-cart-form .product-name a:hover { color: #C77B92; }
.jm-cart-form .product-remove a {
  font-size: 1.3rem;
  color: #F8D4DD;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 700;
}
.jm-cart-form .product-remove a:hover { color: #C77B92; }
.jm-cart-form td.actions {
  background: #FAFAFA;
  padding: 1.4rem 1.5rem !important;
  text-align: right;
}
.jm-cart-form .coupon {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.jm-cart-form .coupon input {
  flex: 1;
  min-width: 180px;
  padding: 0.6rem 1rem;
  border: 1.5px solid #F8D4DD;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  outline: none;
}
.jm-cart-form .coupon input:focus { border-color: #C77B92; }
.jm-btn-coupon,
.jm-btn-update-cart {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.jm-btn-coupon {
  background: #FAE0E8;
  color: #C77B92;
}
.jm-btn-update-cart {
  background: linear-gradient(135deg, #C77B92, #E89BAF);
  color: #fff;
}
.jm-btn-coupon:hover { background: #F8D4DD; }
.jm-btn-update-cart:hover { transform: translateY(-2px); }
/* Estado desactivado (WooCommerce lo deshabilita hasta cambiar una cantidad) */
.jm-btn-update-cart:disabled,
.jm-btn-update-cart[disabled] {
  background: #FAE0E8;
  color: #C77B92;
  opacity: 1;
  cursor: default;
  transform: none;
}
/* Totales del carrito */
.cart-collaterals {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-end;
}
.cart_totals {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 28px rgba(194,57,122,0.08);
  min-width: 320px;
  max-width: 420px;
  width: 100%;
}
.cart_totals h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: #3A2A2F;
  margin-bottom: 1.2rem;
}
.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}
.cart_totals td,
.cart_totals th {
  padding: 0.7rem 0;
  border-bottom: 1px solid #FDF1F4;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #6B4E58;
}
.cart_totals .order-total td,
.cart_totals .order-total th {
  font-weight: 700;
  color: #3A2A2F;
  font-size: 1.1rem;
  border-bottom: none;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  margin-top: 1.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #C77B92, #E89BAF);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(194,57,122,0.35);
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.jm-page--checkout { background: var(--rose-cream); padding-bottom: 5rem; }

.jm-checkout-header {
  padding: calc(3rem + 80px) 0 2.5rem;
  text-align: center;
}
.jm-checkout-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

/* Layout 2 columnas: datos | resumen */
.woocommerce-checkout #customer_details { float: none !important; width: 100% !important; }
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order { float: none !important; width: 100% !important; }

@media (min-width: 768px) {
  .woocommerce-checkout form.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    align-items: start;
  }
  .woocommerce-checkout #customer_details { grid-column: 1; }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 2; grid-row: 1 / span 3; }
  .woocommerce-checkout #order_review_heading { margin-top: 0; }
}

/* Campos del formulario */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  border: 1.5px solid #F8D4DD !important;
  border-radius: 10px !important;
  padding: 0.7rem 1rem !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.95rem !important;
  color: var(--text-dark) !important;
  background: #fff !important;
  transition: border-color 0.2s !important;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: #C77B92 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(194,57,122,0.1) !important;
}
/* select2 (País / Provincia): el texto se salía por height:28px + padding. Centrar con flex. */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: auto !important;
  min-height: 46px !important;
  padding: 0 1rem !important;
  display: flex !important;
  align-items: center !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.4 !important;
  padding: 0 20px 0 0 !important;
  color: var(--text-dark) !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 10px !important;
}
.woocommerce-checkout label {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mid);
}
.woocommerce-checkout h3 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 1.3rem !important;
  color: var(--text-dark) !important;
  margin-bottom: 1.2rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #FAE0E8;
}

/* Resumen del pedido */
.woocommerce-checkout-review-order-table {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(194,57,122,0.08);
  border: 1px solid #FAE0E8;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid #FAE0E8;
}
.woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout-review-order-table tfoot .order-total th {
  font-size: 1.1rem;
  font-weight: 700;
  color: #C77B92;
  border-bottom: none;
}
/* Quitar el fondo gris/rosa que Storefront pone en las celdas th (descuadraba las filas) */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout-review-order-table tfoot tr {
  background: transparent !important;
}
/* Cabecera con fondo uniforme en toda la fila */
.woocommerce-checkout-review-order-table thead th {
  background: #FDF1F4 !important;
  text-align: left;
}
.woocommerce-checkout-review-order-table tfoot th { text-align: left; }
.woocommerce-checkout-review-order-table tfoot td { text-align: right; }

/* Métodos de pago */
#payment {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 24px rgba(194,57,122,0.08);
  border: 1px solid #FAE0E8;
}
#payment ul.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; }
#payment ul.wc_payment_methods li { padding: 0.8rem 0; border-bottom: 1px solid #FAE0E8; }
#payment ul.wc_payment_methods li:last-child { border-bottom: none; }
/* Quitar los fondos grises que Storefront pone en la lista de pago y el área del botón */
#payment,
#payment li,
#payment ul.wc_payment_methods,
#payment ul.wc_payment_methods li,
#payment .place-order,
#payment .form-row.place-order,
#payment .woocommerce-NoticeGroup {
  background-color: transparent !important;
}
#payment { background-color: #fff !important; }
#payment ul.wc_payment_methods li label {
  font-size: 0.95rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  cursor: pointer;
}
#payment .payment_box {
  background: #FDF1F4;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-family: 'Lato', sans-serif;
}
#payment #place_order {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #C77B92, #E89BAF);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(194,57,122,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#payment #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(194,57,122,0.5);
}

/* ============================================================
   ORDER RECEIVED (GRACIAS)
   ============================================================ */
.jm-page--order-received { background: var(--rose-cream); padding-bottom: 5rem; }

.jm-order-received-header {
  text-align: center;
  padding: calc(3rem + 80px) 0 2.5rem;
}
.jm-order-received-icon { font-size: 4rem; margin-bottom: 1rem; }
.jm-order-received-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0.3rem 0 0.8rem;
}
.jm-order-received-sub {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.jm-order-received-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Detalles del pedido WooCommerce */
.woocommerce-order { max-width: 720px; margin: 2rem auto 0; }
.woocommerce-order-details,
.woocommerce-customer-details {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(194,57,122,0.08);
  border: 1px solid #FAE0E8;
}
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 1.2rem !important;
  color: var(--text-dark) !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #FAE0E8;
}
.woocommerce-order-overview {
  background: #FDF1F4;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.woocommerce-order-overview li {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.woocommerce-order-overview li strong { color: #C77B92; }
.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(194,57,122,0.5);
}
@media (max-width: 700px) {
  .cart-collaterals { justify-content: stretch; }
  .cart_totals { max-width: 100%; min-width: unset; }
  .jm-cart-form table { display: block; overflow-x: auto; }
}

/* ============================================================
   INNER PAGE LOGO
   ============================================================ */
.jm-inner-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.jm-inner-logo:hover { opacity: 1; }

/* ============================================================
   TARJETA — ENLACE A PRODUCTO
   ============================================================ */
.jm-card-media { position: relative; }
.jm-card-media-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}

/* ============================================================
   PÁGINA DE PRODUCTO INDIVIDUAL
   ============================================================ */
.johanas-product-page { background: var(--rose-blush, #FDF1F4); }

.jm-product-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(2rem + 80px) 1.5rem 5rem;
}

.jm-product-container {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 5rem;
}

/* Galería — todas las fotos en un cuadrado uniforme (mismo tamaño en todos los productos) */
.jm-product-gallery {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;            /* centra la galería en su columna */
}
.jm-pg-main {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 40px rgba(194,57,122,0.12);
  aspect-ratio: 1 / 1;        /* cuadrado fijo: vertical y apaisada se ven igual */
}
.jm-pg-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* rellena el cuadrado sin deformar */
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.jm-pg-thumbs { justify-content: center; }
.jm-pg-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.jm-pg-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}
.jm-pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jm-pg-thumb.active,
.jm-pg-thumb:hover { border-color: var(--rose-deep); }

/* Detalle */
.jm-pd-category {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin-bottom: 0.5rem;
}
.jm-pd-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark, #4A3640);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.jm-pd-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.jm-pd-price .price,
.jm-pd-price .woocommerce-Price-amount {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-deep);
}
.jm-pd-price-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: #A38995;
}
.jm-pd-desc {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #6B4E58;
  margin-bottom: 1.5rem;
}

/* Formulario variaciones */
.jm-pd-form table.variations { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.jm-pd-form table.variations td { padding: 0.5rem 0; vertical-align: middle; }
.jm-pd-form table.variations td.label label {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark, #4A3640);
  white-space: nowrap;
  padding-right: 1rem;
}
.jm-pd-form table.variations td.value select {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 2px solid #F8D4DD;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #4A3640;
  background: #fff;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.jm-pd-form table.variations td.value select:focus { outline: none; border-color: var(--rose-deep); }
.jm-pd-form .single_variation_wrap { margin-top: 1rem; }

/* Móvil: apilar la tabla de variaciones (Base/Relleno/Raciones) a ancho completo.
   OJO: la etiqueta es un <th>, no un <td> (markup de WooCommerce/Storefront). */
@media (max-width: 700px) {
  .jm-pd-form table.variations,
  .jm-pd-form table.variations tbody,
  .jm-pd-form table.variations tr,
  .jm-pd-form table.variations th,
  .jm-pd-form table.variations td {
    display: block;
    width: 100%;
  }
  .jm-pd-form table.variations th.label,
  .jm-pd-form table.variations td.label {
    padding: 0 0 0.35rem 0;
    background: none;
    box-shadow: none;
    text-align: left;
  }
  .jm-pd-form table.variations th.label label,
  .jm-pd-form table.variations td.label label {
    white-space: normal;
    padding-right: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #4A3640;
  }
  .jm-pd-form table.variations td.value {
    padding: 0 0 0.9rem 0;
  }
  /* Botones de raciones a ancho completo, como el personalizador */
  .jm-var-racion { flex: 1 1 100%; }
}
.jm-pd-form .woocommerce-variation-price { margin-bottom: 0.8rem; }
.jm-pd-form .quantity { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.jm-pd-form .quantity input {
  width: 70px;
  padding: 0.6rem;
  border: 2px solid #F8D4DD;
  border-radius: 30px;
  text-align: center;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}
.jm-pd-form .single_add_to_cart_button {
  background: var(--rose-deep);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}
.jm-pd-form .single_add_to_cart_button:hover {
  background: #a82d68;
  transform: translateY(-2px);
}

/* Perks */
.jm-pd-perks {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.jm-pd-perks li {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: #6B4E58;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Descripción completa */
.jm-pd-full-desc {
  margin-top: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.jm-pd-full-desc h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: var(--text-dark, #4A3640);
  margin-bottom: 1rem;
  text-align: center;
}
.jm-pd-full-desc p {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #6B4E58;
}

@media (max-width: 768px) {
  .jm-product-container { grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem; }
  .jm-pd-title { font-size: 1.8rem; }
}

/* ===== FLECHAS TARJETAS ===== */
.jm-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  box-shadow: 0 4px 14px rgba(199, 123, 146, 0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
}
.jm-card:hover .jm-card-arrow { opacity: 1; }
.jm-card-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(199, 123, 146, 0.35);
}
.jm-card-arrow--prev { left: 0.7rem; }
.jm-card-arrow--next { right: 0.7rem; }

/* ============================================================
   MOBILE — tablets y móviles (≤ 768px)
   Nunca modifica reglas de escritorio, solo añade overrides.
   ============================================================ */

/* Evita desbordamiento horizontal */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* El hero ocupa exactamente el ancho del viewport */
  .jm-hero {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* El contenido del hero llena todo el ancho del hero (flex item con basis 100%) */
  .jm-hero-content {
    display: block !important;
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 1.5rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* Cada elemento centrado individualmente para evitar márgenes heredados */
  .jm-hero-badge,
  .jm-hero-title,
  .jm-hero-subtitle,
  .jm-hero-tagline,
  .jm-hero-cta {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  .jm-hero-badge,
  .jm-hero-cta {
    /* Estos eran inline-block — los hago bloque centrado con width fit-content */
    width: fit-content !important;
  }

  /* Secciones que pueden desbordar */
  .jm-testimonios,
  .jm-features,
  .jm-products-section,
  .jm-event-banner { overflow-x: hidden; }

  /* Título ajustado para no partir en 2 líneas */
  .jm-hero-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .jm-hero-badge,
  .jm-hero-title,
  .jm-hero-subtitle,
  .jm-hero-tagline {
    text-align: center;
  }

  /* Features strip */
  .jm-features { padding: 1.8rem 1rem; }
  .jm-feature-text { font-size: 0.95rem; }

  /* Products section */
  .jm-products-section { padding: 3.5rem 1rem; }
  .jm-section-header { margin-bottom: 2rem; }
  .jm-products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

  /* Card body */
  .jm-card-body { padding: 1.2rem; }
  .jm-card-name { font-size: 1.3rem; }

  /* Card arrows siempre visibles en táctil */
  .jm-card-arrow { opacity: 1; }

  /* Note / pedido especial */
  .jm-note-section { padding: 3rem 1rem; }
  .jm-note-icon { font-size: 2rem; }
  .jm-note-title { font-size: 1.4rem; }

  /* Footer */
  .jm-footer { padding: 2.5rem 1rem 1.5rem; }
  .jm-footer-logo { font-size: 2rem; }

  /* Tienda header */
  .jm-tienda-header { padding: calc(3rem + 80px) 1rem 2.5rem; }
  .jm-tienda-header__sub { font-size: 1.2rem; }

  /* Catering */
  .jm-catering-body { padding: 3rem 0; }
  .jm-step { padding-left: 1.8rem; }

  /* Checkout header */
  .jm-checkout-header { padding: calc(2rem + 80px) 1rem 2rem; }

  /* Cart page */
  .jm-cart-page { padding: 2rem 1rem 4rem; }

  /* Mini-carrito: no se sale de pantalla */
  .jm-mini-cart {
    width: min(440px, 94vw);
    right: 0;
    left: auto;
  }
}

/* ============================================================
   MOBILE — solo móviles pequeños (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* Products grid: una columna fija */
  .jm-products-grid { grid-template-columns: 1fr; }

  /* Section header margin */
  .jm-section-header { margin-bottom: 1.5rem; }

  /* Hero CTA */
  .jm-hero-cta { padding: 0.9rem 2rem; font-size: 0.9rem; }

  /* Nosotros — stats en columna */
  .jm-nosotros-stats {
    flex-direction: column;
    align-items: center;
  }
  .jm-nosotros-stat {
    max-width: 100%;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #FAE0E8;
    padding: 1.2rem 1rem;
  }
  .jm-nosotros-stat:last-child { border-bottom: none; }
  .jm-nosotros-stat strong { font-size: 1.6rem; }

  /* Note highlight */
  .jm-note-highlight { padding: 1rem 1.5rem; }

  /* Testimonial card */
  .jm-testimonio-card { padding: 1.5rem; }

  /* Botón WhatsApp — a la misma altura que el carrito (simétrico) */
  .jm-whatsapp-btn { bottom: 16px; }

  /* Carrito flotante — más pegado al borde */
  .jm-floating-cart-wrap { bottom: 16px; right: 16px; }
}
