/* Controlar el estilo del menu */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
  }

  body {
    background-color: #f9f9f9;
    color: #333;
    padding: 20px 10px;
  }

  .container {
    max-width: 700px;
    margin: auto;
  }

  .restaurant-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #222;
  }

  .category {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #444;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
  }

  .menu-item {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.2s;
  }

  .menu-item:hover {
    transform: scale(1.02);
  }

  .menu-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
  }

  .menu-details {
    flex: 1;
    padding: 10px 15px;
  }

  .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
  }

  .menu-name {
    flex: 1;
  }

  .menu-price {
    color: #28a745;
    font-weight: 600;
  }

  .menu-desc {
    font-size: 0.95em;
    color: #555;
  }

  @media (max-width: 600px) {
    .menu-item {
      flex-direction: column;
    }

    .menu-img {
      width: 100%;
      height: 180px;
    }

    .menu-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .menu-price {
      margin-top: 5px;
    }
  }
/* END Controlar el estilo del menu */
/* Controlar el tamaño del SVG */
  .svg-logo {
   width: 180px; /* Ajusta según el tamaño que desees */
   height: auto; /* Mantener proporciones */
   vertical-align: middle; /* Alineación vertical */
   display: inline-block; /* Evitar que el SVG afecte el flujo del contenido */
  }
  /* Definir los estilos de las clases dentro del SVG */
  .text {
   font-family: 'Segoe UI', sans-serif;
   font-size: 34px;
   font-weight: bold;
   fill: #00ACC1;
  }
  .block {
   fill: #00ACC1;
  }
  .block2 {
   fill: #FF6B6B;
  }
/* End Controlar el tamaño del SVG */
/* Controlar el estilo del menu */
  .product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
  }
  .product-card img {
    object-fit: cover;
    height: 180px;
    cursor: pointer;
  }
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .section-title {
    font-weight: bold;
    font-size: 2rem;
    color: #198754;
  }
  #platilloImg {
    transition: transform 0.3s ease;
    cursor: grab;
  }
  .item{ cursor:pointer; }
  .modal-img{ max-height:70vh; object-fit:contain; }
  :root{
    --text:#2c2c2c;
    --muted:#6b7280;
    --accent:#d1d5db;
    --soft:#f7f7f7;
    --brand:#111827;
  }
  *{box-sizing:border-box}
  body{
    margin:0;
    color:var(--text);
    background:#fff;
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    line-height:1.5;
  }
  .wrap{
    max-width: 900px;
    margin: 32px auto 80px;
    padding: 0 16px;
  }
  .brand{
    text-align:center;
    margin-bottom: 24px;
  }
  .brand h1{
    margin:0 0 6px;
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing:.3px;
    color: var(--brand);
  }
  .brand .subtitle{
    color: var(--muted);
    font-size: 14px;
  }
/* END Controlar el estilo del menu */
/* Estilo para descripciones de categorías (contenido Quill) */
  .cat-description {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
  }
  .cat-description ul { padding-left: 1.2rem; }
  .cat-description strong { font-weight: 600; }
  .cat-description a { color: #0d6efd; text-decoration: underline; }
/* END Estilo para descripciones de categorías (contenido Quill) */
/* Categoría centrada */
  .cat{
    text-align:center;
    font-weight:700;
    font-size: clamp(18px, 3.5vw, 22px);
    margin: 28px 0 12px;
    letter-spacing:.4px;
    position:relative;
  }
  .cat:after{
    content:"";
    display:block;
    width: 80px;
    height: 2px;
    background: var(--accent);
    margin: 8px auto 0;
    border-radius:2px;
  }
/* END Categoría centrada */
/* Línea de platillo */
  .item{
    display:flex;
    align-items:baseline;
    gap: 10px;
    padding: 8px 0;
  }
  .left{
    display:flex;
    align-items:center;
    gap: 10px;
    min-width:0; /* truncate gracefully if super long */
    flex: 0 1 auto;
  }
  .name{
    font-weight:600;
    font-size: 16px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width: 55vw;
  }
  .allergens{
    display:inline-flex;
    gap:6px;
    font-size: 18px; /* tamaño de emoji */
    flex-wrap:wrap;
  }
  .dots{
    flex:1 1 auto;
    border-bottom: 1px dotted var(--accent);
    transform: translateY(-3px);
    min-width: 16px;
  }
  .price{
    white-space:nowrap;
    font-weight:700;
    font-size:16px;
  }
/* END Línea de platillo */
/* Leyenda de alérgenos */
  .legend{
    margin-top: 34px;
    padding: 16px;
    background: var(--soft);
    border:1px solid var(--accent);
    border-radius: 12px;
  }
  .legend h4{
    margin:0 0 12px;
    text-align:center;
    font-size: 16px;
    letter-spacing:.3px;
  }
  .legend-list{
    display:flex;
    flex-wrap:wrap;
    gap: 10px 16px;
    justify-content:center;
    font-size: 15px;
  }
  .legend-item{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 6px 10px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--accent);
  }
/* END Leyenda de alérgenos */
/* Info del restaurante (condicional) */
  .info{
    margin-top: 22px;
    text-align:center;
    color: var(--muted);
    font-size: 14px;
  }
  .info div{ margin: 6px 0; }
  .info a{ color:inherit; text-decoration:underline dotted }

  @media (max-width:600px){
    .name{ max-width: 48vw; }
    .price{ font-size:15px; }
    .legend-list{ gap:8px 12px; }
  }
/* END Info del restaurante (condicional) */