/* ============================================================
   modal-producto.css - Estilos para modal de detalle de producto
   El Bocadón · Hamburguesería
   VERSIÓN CORREGIDA - CON SCROLL INFINITO Y SIN ALTURA FIJA
   ============================================================ */

/* ============================================================
   MODAL FULLSCREEN - FONDO BLANCO, OCUPA TODA LA PANTALLA
   ============================================================ */
.modal-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
    overflow-y: auto; 
  overflow-x: hidden; /* No scroll en el modal, scroll en el contenido */
}
body:has(.modal-fullscreen.active) {
  overflow: hidden !important;
}
.modal-fullscreen.active {
  visibility: visible;
  opacity: 1;
}

/* ============================================================
   CONTENEDOR DEL MODAL - CON SCROLL INTERIOR (SIN ALTURA FIJA)
   ============================================================ */
.modal-producto-detalle-content {
  width: 100%;
  min-height: 100vh; /* En lugar de height: 100vh */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  position: relative;
  padding: 0 0 3rem 0; /* Padding inferior para que el botón no quede pegado al borde */
}

.modal-producto-detalle-content::-webkit-scrollbar {
  width: 8px;
}
.modal-producto-detalle-content::-webkit-scrollbar-track {
  background: #f5f0eb;
}
.modal-producto-detalle-content::-webkit-scrollbar-thumb {
  background: #8B5A2B;
  border-radius: 4px;
}
.modal-producto-detalle-content::-webkit-scrollbar-thumb:hover {
  background: #5C3A1A;
}

/* ============================================================
   BOTÓN DE CIERRE (X) - FIJADO Y SIEMPRE VISIBLE
   ============================================================ */
#modalProductoDetalleKiosko .modal-close-x {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  background: #c0392b !important;
  color: white !important;
  border: none !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  font-size: 1.8rem !important;
  cursor: pointer !important;
  z-index: 100001 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s !important;
}
#modalProductoDetalleKiosko .modal-close-x:hover {
  transform: scale(1.05) !important;
}
#modalProductoDetalleKiosko .modal-close-x:active {
  transform: scale(0.95) !important;
}
@media (max-width: 480px) {
  #modalProductoDetalleKiosko .modal-close-x {
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.4rem !important;
  }
}

/* ============================================================
   MEDIA (IMAGEN DEL PRODUCTO) - 100% ANCHO
   ============================================================ */
.producto-detalle-media {
  width: 100%;
  padding: 0;
  background: #f8f4ef;
}
.producto-detalle-media h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  color: #3e2a21;
  padding: 1rem 2rem 0.5rem 2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.producto-detalle-media h3 i {
  color: #d4af37;
}
.media-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  background: #f0e6d8;
  position: relative;
}
.media-container img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.media-container.video-container {
  min-height: 200px;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #8B5A2B;
}
.video-placeholder i {
  font-size: 4rem;
  color: #d4af37;
}
.video-placeholder span {
  font-weight: 600;
  color: #666;
  font-size: 1.1rem;
}

/* ============================================================
   INFORMACIÓN DEL PRODUCTO - 100% ANCHO
   ============================================================ */
.producto-detalle-info-full {
  padding: 1.5rem 2rem 2rem;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.producto-detalle-info-full h2 {
  font-family: 'Bangers', cursive;
  font-size: 2.5rem;
  color: #3e2a21;
  margin: 0 0 0.2rem 0;
  line-height: 1.2;
}
.producto-detalle-precio {
  font-size: 2rem;
  font-weight: 700;
  color: #d4af37;
  margin: 0 0 1rem 0;
}

/* ============================================================
   TÍTULO SEO Y DESCRIPCIÓN (SIN TABS)
   ============================================================ */
.producto-detalle-titulo-seo {
  font-family: 'Bangers', cursive;
  font-size: 2.2rem;
  color: #3e2a21;
  margin: 0 0 0.3rem 0;
  line-height: 1.2;
  letter-spacing: 1px;
}
.producto-detalle-descripcion-seo {
  font-size: 1rem;
  color: #666;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

/* ============================================================
   CONTENEDOR DE INFORMACIÓN (INGREDIENTES + ALÉRGENOS)
   ============================================================ */
.producto-detalle-info-seo {
  margin: 0.5rem 0 1rem 0;
  padding: 1rem;
  background: #fef9f0;
  border-radius: 12px;
  border: 1px solid #f0e6d8;
}

/* Ingredientes */
.producto-detalle-ingredientes-seo h4 {
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  color: #3e2a21;
  margin: 0 0 0.5rem 0;
}
.producto-con-ingredientes {
  margin-bottom: 0.5rem;
}
.producto-con-ingredientes .producto-nombre {
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.producto-con-ingredientes .producto-nombre i {
  color: #d4af37;
  margin-right: 6px;
}
.ingredientes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.ingrediente-tag {
  padding: 0.2rem 0.8rem;
  background: #ffffff;
  border-radius: 20px;
  font-size: 1rem;
  color: #555;
  border: 1px solid #e0d5c0;
  display: inline-block;
}
.producto-sin-ingredientes {
  margin-bottom: 0.3rem;
}
.producto-sin-ingredientes i {
  color: #d4af37;
  margin-right: 6px;
}
.ingredientes-lista-simple {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ingredientes-lista-simple li {
  padding: 0.3rem 1rem;
  background: #fef9f0;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #f0e6d8;
}
.ingredientes-lista-simple li i {
  color: #27ae60;
  font-size: 1rem;
}

/* Alérgenos */
.producto-detalle-alergenos-seo {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #e0d5c0;
}
.producto-detalle-alergenos-seo h5 {
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  color: #3e2a21;
  margin: 0 0 0.3rem 0;
}
.producto-detalle-alergenos-seo h5 i {
  color: #d4af37;
}
.alergenos-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.alergenos-lista li {
  background: #fef3e2;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #8B5A2B;
  border: 1px solid #d4af37;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.alergenos-lista li i {
  color: #e74c3c;
  margin-right: 4px;
}
.alergenos-vacio {
  color: #27ae60;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alergenos-vacio i {
  font-size: 1.2rem;
}

/* ============================================================
   PERSONALIZACIÓN (DENTRO DEL MODAL)
   ============================================================ */
.personalizacion-header {
  margin-top: 0.5rem;
}
.personalizacion-header h3 {
  font-family: 'Bangers', cursive;
  color: #3e2a21;
  margin: 0 0 0.3rem 0;
}
.personalizacion-header p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.menu-personalizacion {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.producto-personalizacion {
  border: 1px solid #f0e6d8;
  border-radius: 12px;
  overflow: hidden;
}
.producto-personalizacion-header {
  background: #fef9f0;
  padding: 0.7rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  font-weight: 600;
  color: #3e2a21;
  font-size: 0.95rem;
}
.producto-personalizacion-header:hover {
  background: #f0e6d8;
}
.producto-personalizacion-header i {
  transition: transform 0.3s ease;
  color: #d4af37;
}
.producto-personalizacion-header i.rotated {
  transform: rotate(180deg);
}
.producto-personalizacion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #ffffff;
  padding: 0 1rem;
}
.producto-personalizacion-body.open {
  max-height: none; /* CORREGIDO: para que no se corte el contenido */
  padding: 1rem;
}

.campo-personalizacion {
  margin-bottom: 1rem;
}
.campo-personalizacion label {
  display: block;
  font-weight: 600;
  font-size: 1.5rem;
  color: #3e2a21;
  margin-bottom: 0.3rem;
}
.campo-personalizacion label i {
  color: #d4af37;
  margin-right: 4px;
}

.ingredientes-grid,
.salsas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* ============================================================
   BOTONES DE PERSONALIZACIÓN (ingredientes, salsas, bebidas)
   ============================================================ */
.ingrediente-tachable,
.salsa-tachable,
.bebida-incluida-btn,
.bebida-extra-btn {
  padding: 0.3rem 0.8rem;
  border: 2px solid #f0e6d8;
  background: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1.3rem;
  color: #3e2a21;
  transition: all 0.2s;
  margin: 0.2rem 0.2rem 0.2rem 0;
}
.ingrediente-tachable:hover,
.salsa-tachable:hover,
.bebida-incluida-btn:hover,
.bebida-extra-btn:hover {
  border-color: #d4af37;
}
.ingrediente-tachable.tachado {
  background: #fee9e7;
  border-color: #e74c3c;
  color: #c0392b;
  text-decoration: line-through;
  opacity: 0.7;
}
.salsa-tachable.seleccionado {
  background: #d4af37;
  border-color: #d4af37;
  color: #2c1810;
}
.bebida-incluida-btn.seleccionado {
  background: #d4af37;
  border-color: #d4af37;
  color: #2c1810;
}
.bebida-extra-btn.seleccionado {
  background: #27ae60;
  border-color: #27ae60;
  color: white;
}

.bebidas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.bebidas-extra-seleccionadas {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.bebida-extra-tag {
  background: #fef9f0;
  padding: 0.2rem 0.6rem;
  border-radius: 16px;
  font-size: 1rem;
  color: #3e2a21;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #f0e6d8;
}
.bebida-extra-tag i {
  color: #e74c3c;
  cursor: pointer;
}

/* ============================================================
   BOTONES DE ACCIÓN (PRINCIPALES)
   ============================================================ */
.producto-detalle-acciones-full {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.producto-detalle-acciones-full .btn-personalizar,
.producto-detalle-acciones-full .btn-comprar {
  flex: 1;
  min-width: 140px;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
}
.producto-detalle-acciones-full .btn-personalizar {
  background: #f0e6d8;
  color: #3e2a21;
}
.producto-detalle-acciones-full .btn-personalizar:hover {
  background: #e0d5c0;
  transform: translateY(-2px);
}
.producto-detalle-acciones-full .btn-comprar {
  background: #8B5A2B;
  color: white;
}
.producto-detalle-acciones-full .btn-comprar:hover {
  background: #5C3A1A;
  transform: translateY(-2px);
}
.producto-detalle-acciones-full .btn-comprar:active,
.producto-detalle-acciones-full .btn-personalizar:active {
  transform: scale(0.97);
}

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-fullscreen.active .modal-producto-detalle-content {
  animation: fadeIn 0.3s ease;
}
.producto-detalle-info-seo,
.producto-detalle-titulo-seo,
.producto-detalle-descripcion-seo,
.personalizacion-header {
  animation: slideInUp 0.4s ease;
}

/* ============================================================
   RESPONSIVE - UNIFICADO Y CORREGIDO (SIN DUPLICADOS)
   ============================================================ */

/* ===== TABLETS Y MÓVILES GRANDES (≤ 768px) ===== */
@media (max-width: 768px) {
  /* Ajustes de imagen */
  .producto-detalle-media h3 {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem 0.3rem 1.2rem;
  }
  .media-container {
    max-height: 300px;
  }
  .media-container img {
    max-height: 300px;
  }

  /* Ajustes de padding y tamaños de texto */
  .producto-detalle-info-full {
    padding: 1rem 1.2rem 1.5rem;
  }
  .producto-detalle-info-full h2 {
    font-size: 2.2rem;
  }
  .producto-detalle-precio {
    font-size: 1.8rem;
  }

  /* SEO */
  .producto-detalle-titulo-seo {
    font-size: 2.2rem !important;
  }
  .producto-detalle-descripcion-seo {
    font-size: 1.1rem !important;
  }
  .producto-detalle-info-seo {
    padding: 0.8rem !important;
  }

  /* Personalización */
  .producto-personalizacion-header {
    font-size: 1.1rem !important;
    padding: 0.7rem 1rem !important;
  }
  .producto-personalizacion-body.open {
    padding: 0.8rem;
  }
  .campo-personalizacion label {
    font-size: 1rem;
  }

  .personalizacion-header h3 {
    font-size: 1.8rem;
  }
  .personalizacion-header p {
    font-size: 1.1rem !important;
  }

  /* Botones de personalización (ingredientes, salsas, bebidas) */
  .ingrediente-tachable,
  .salsa-tachable,
  .bebida-incluida-btn,
  .bebida-extra-btn {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    min-height: 45px;
    min-width: 45px;
    border-radius: 30px;
    margin: 0.3rem 0.2rem;
  }

  /* Botones principales */
  .producto-detalle-acciones-full {
    flex-direction: column;
  }
  .producto-detalle-acciones-full .btn-personalizar,
  .producto-detalle-acciones-full .btn-comprar {
    min-width: auto;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    min-height: 56px;
  }

  /* Listas */
  .ingredientes-lista-simple li {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
  }
  .alergenos-lista li {
    font-size: 0.95rem;
    padding: 0.3rem 1rem;
  }
  .ingrediente-tag {
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
  }
  .bebida-extra-tag {
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    min-height: 38px;
  }

  /* Tabs de bebidas */
  .personalizacion-seccion-bebida .producto-personalizacion-header {
    font-size: 1rem !important;
    padding: 0.6rem 0.8rem !important;
  }
}

/* ===== MÓVILES PEQUEÑOS (≤ 480px) ===== */
@media (max-width: 480px) {
  .producto-detalle-info-full {
    padding: 0.8rem 1rem 1.2rem;
  }
  .producto-detalle-info-full h2 {
    font-size: 2rem;
  }
  .producto-detalle-precio {
    font-size: 1.6rem;
  }
  .producto-detalle-titulo-seo {
    font-size: 2rem !important;
  }
  .producto-detalle-descripcion-seo {
    font-size: 1rem !important;
  }
  .producto-detalle-info-seo {
    padding: 0.6rem !important;
  }

  .producto-personalizacion-header {
    font-size: 1.2rem !important;
    padding: 0.8rem 1rem !important;
  }
  .producto-personalizacion-body.open {
    padding: 0.6rem;
  }
  .campo-personalizacion label {
    font-size: 0.95rem;
  }
  .personalizacion-header h3 {
    font-size: 1.6rem;
  }
  .personalizacion-header p {
    font-size: 1.2rem !important;
  }

  .ingrediente-tachable,
  .salsa-tachable,
  .bebida-incluida-btn,
  .bebida-extra-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    min-height: 50px;
    min-width: 50px;
    border-radius: 30px;
    margin: 0.3rem 0.2rem;
  }

  .producto-detalle-acciones-full .btn-personalizar,
  .producto-detalle-acciones-full .btn-comprar {
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    min-height: 58px;
  }

  .ingredientes-lista-simple li {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
  .alergenos-lista li {
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
  }
  .ingrediente-tag {
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
  }
  .bebida-extra-tag {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    min-height: 40px;
  }

  .personalizacion-seccion-bebida .producto-personalizacion-header {
    font-size: 1.1rem !important;
    padding: 0.7rem 0.9rem !important;
  }
}

/* ============================================================
   ESTILOS PARA TABS DE BEBIDAS (INCLUIDA Y EXTRAS)
   ============================================================ */
.personalizacion-seccion-bebida {
  margin-top: 1rem;
  border: 1px solid #f0e6d8;
  border-radius: 12px;
  overflow: hidden;
}
.personalizacion-seccion-bebida .producto-personalizacion-header {
  background: #fef9f0;
  padding: 0.7rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  font-weight: 600;
  color: #3e2a21;
  font-size: 0.95rem;
}
.personalizacion-seccion-bebida .producto-personalizacion-header:hover {
  background: #f0e6d8;
}
.personalizacion-seccion-bebida .producto-personalizacion-header i {
  transition: transform 0.3s ease;
  color: #d4af37;
}
.personalizacion-seccion-bebida .producto-personalizacion-header i.rotated {
  transform: rotate(180deg);
}
.personalizacion-seccion-bebida .producto-personalizacion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #ffffff;
  padding: 0 1rem;
}
.personalizacion-seccion-bebida .producto-personalizacion-body.open {
  max-height: none;
  padding: 1rem;
}

/* ============================================================
   BEBIDAS EXTRA - DISEÑO UNIFORME (PC Y MÓVIL IGUAL)
   ============================================================ */
/* Contenedor principal de la sección */
.bebida-extra-seccion {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

/* Títulos de sección (Latas, Botellas) */
.bebida-extra-titulo {
  font-weight: 600;
  font-size: 1.2rem;
  color: #888;
  margin: 0;
}

/* Lista de bebidas (contenedor flex wrap) */
.bebida-extra-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Cada item de bebida extra */
.bebida-extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: #ffffff;
  border: 2px solid #f0e6d8;
  border-radius: 40px;
  transition: all 0.2s ease;
  flex: 1 1 auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
      max-width: max-content!important;
}
.bebida-extra-item:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

/* Nombre de la bebida */
.bebida-extra-nombre {
  font-weight: 600;
  font-size: 1rem;
  color: #3e2a21;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  line-height: 1.3;
  margin-right: 0.4rem;
}

/* Controles + y - */
.bebida-extra-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.bebida-extra-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #c0392b;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(192, 57, 43, 0.3);
  line-height: 1;
  padding: 0;
}
.bebida-extra-btn:hover {
  background: #a93226;
  transform: scale(1.05);
}
.bebida-extra-btn:active {
  transform: scale(0.95);
}
.bebida-extra-btn.menos {
  background: #e74c3c;
}
.bebida-extra-btn.menos:hover {
  background: #c0392b;
}

.bebida-extra-cantidad {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #3e2a21;
  line-height: 1;
}

/* ============================================================
   RESPONSIVE PARA BEBIDAS EXTRA
   Solo ajustamos padding y tamaño para mejor tacto,
   manteniendo el mismo layout horizontal
   ============================================================ */
@media (max-width: 768px) {
  .bebida-extra-item {
    padding: 0.5rem 1rem;
    min-width: 160px;
  }
  .bebida-extra-nombre {
    font-size: 0.95rem;
  }
  .bebida-extra-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .bebida-extra-cantidad {
    font-size: 1.1rem;
    min-width: 24px;
  }
}

@media (max-width: 480px) {
  .bebida-extra-item {
    padding: 0.5rem 1rem;
    min-width: 140px;
    /* Sin flex-wrap, mismo comportamiento que PC */
  }
  .bebida-extra-nombre {
    font-size: 1rem; /* Aumentado para mejor legibilidad */
  }
  .bebida-extra-titulo {
    font-size: 1.3rem; /* Títulos más grandes en móvil */
  }
  .bebida-extra-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .bebida-extra-cantidad {
    font-size: 1rem;
    min-width: 22px;
  }
}

/* ============================================================
   TAMAÑO DE PATATAS
   ============================================================ */
.tamano-patatas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
.tamano-patata-btn {
  padding: 0.4rem 1.2rem;
  border: 2px solid #f0e6d8;
  background: #ffffff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #3e2a21;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  flex: 0 1 auto;
  min-width: 70px;
  text-align: center;
}
.tamano-patata-btn:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.tamano-patata-btn.seleccionado {
  background: #d4af37;
  border-color: #d4af37;
  color: #2c1810;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transform: scale(1.02);
}
@media (max-width: 480px) {
  .tamano-patata-btn {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    min-height: 44px;
    min-width: 80px;
  }
}

/* ============================================================
   AUMENTAR TAMAÑO DEL TÍTULO DEL TAB DE PRODUCTO EN MENÚS
   ============================================================ */
@media (max-width: 768px) {
  .producto-personalizacion-header {
    font-size: 1.1rem !important;
    padding: 0.7rem 1rem !important;
  }
}
@media (max-width: 480px) {
  .producto-personalizacion-header {
    font-size: 1.2rem !important;
    padding: 0.8rem 1rem !important;
  }
}