
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Kaushan+Script&family=Ramabhadra&display=swap');

*{
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    font-family: "Rubik", sans-serif;
}

.content_banner{
  margin: 20px auto;
  width: 90%;
}

.content_banner img{
  border-radius: 20px;
  width: 100%;
}

.menu{
    background-color: white;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    height: 60px;
    position: sticky;
    top: 0px;
    z-index: 999;
}
.marging_menu{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0px auto;
    width: 80%;
}

.marging_menu .logo_menu{
    width: 100px;
    display: block;
}

nav{
    margin-left: auto;
}

nav ul{
    display: flex;
    list-style: none;
    justify-content: flex-start;
    gap: 10px;
}

nav ul li a{
    color: red;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 10px;
}
nav ul li a:hover{
    background-color: red;
    color: white;
    font-weight: 600;
}

.container_header{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 90%;
    margin: 0px auto;
}
.text_header{
    width: calc(100% - 600px);
    text-align: center;
    height: 150px;
}
.text_header h2{
    color: white;
    font-size: 48px;
}
.text_header h5{
    color: white;
    font-size: 18px;
    font-weight: 400;
}

.wrap_products_top{
    background-color: white;
    margin-top: -10px;
    padding-block: 40px;
}
.margin_products_top{
    width: 90%;
    margin: 0px auto;
}
.titulo-lineas{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #333; /* azul */
  width: 40%;
  margin: 0px auto;

}

.titulo-lineas::before,
.titulo-lineas::after {
    content: "";
    flex: 1;
    border-bottom: 3px solid #d8804d; /* color de las líneas */
    margin: 0 15px;
}

#content_platillos, #content_vendidos{
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.card_product_top{
   width: auto;
   box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
   border-radius: 12px;
}
.card_product_top img{
    border-radius: 20px;
    width: 240px;
    height: 240px;
    margin-inline: 75px;
    margin-top: 20px;
}
.card_product_top p{
    color: #333;
    text-align: center;
}

.card_product_top .precio_card{
    color: #c21006;
    font-size: 32px;
    font-weight: 600;
    font-family: "Bebas Neue", sans-serif;
    margin: 20px auto;
}








/* 
.book {
  transition: opacity 0.4s 0.2s;
}
.page {
  width: 30vw;
  height: 44vw;
  background-color: #111111;
  float: left;
  margin-bottom: 0.5em;
  background: left top no-repeat;
  background-size: cover;
}
.page:nth-child(even) {
  clear: both;
}
.book {
  perspective: 250vw;
}
.book .pages {
  width: 60vw;
  height: 44vw;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 4px;
}
.book .page {
  float: none;
  clear: none;
  margin: 0;
  position: absolute;
  top: 0;
  width: 30vw;
  height: 44vw;
  transform-origin: 0 0;
  transition: transform 1.4s;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  background-color: #f0f0f0;

}
.book .page:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.7s;
  z-index: 2;
}
.book .page:nth-child(odd) {
  pointer-events: all;
  transform: rotateY(0deg);
  right: 0;
  border-radius: 0 4px 4px 0;
  background-image: linear-gradient(to right, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 10%);
  background-image: url("../img/bg_carta.jpg");
}
.book .page:nth-child(odd):hover {
  transform: rotateY(-15deg);
}
.book .page:nth-child(odd):hover:before {
  background: rgba(0, 0, 0, 0.03);
}
.book .page:nth-child(odd):before {
  background: rgba(0, 0, 0, 0);
}
.book .page:nth-child(even) {
  pointer-events: none;
  transform: rotateY(180deg);
  transform-origin: 100% 0;
  left: 0;
  border-radius: 4px 0 0 4px;
  border-color: black;
  background-image: linear-gradient(to left, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 10%);
  background-image: url("../img/bg_carta.jpg");
}
.book .page:nth-child(even):before {
  background: rgba(0, 0, 0, 0.2);
}
.book .page.grabbing {
  transition: none;
}
.book .page.flipped:nth-child(odd) {
  pointer-events: none;
  transform: rotateY(-180deg);
}
.book .page.flipped:nth-child(odd):before {
  background: rgba(0, 0, 0, 0.2);
}
.book .page.flipped:nth-child(even) {
  pointer-events: all;
  transform: rotateY(0deg);
}
.book .page.flipped:nth-child(even):hover {
  transform: rotateY(15deg);
}
.book .page.flipped:nth-child(even):hover:before {
  background: rgba(0, 0, 0, 0.03);
}
.book .page.flipped:nth-child(even):before {
  background: rgba(0, 0, 0, 0);
}
*,
* :before,
*:after {
  box-sizing: border-box;
}

.bg_portada{
    background-image: url("../img/bg_portada.png") !important;
}

.bg_tacos{
    background-image: url("../img/bg_tacos.png") !important;
}

.bg_cortes{
    background-image: url("../img/bg_cortes.png") !important;
}

.container_page{
    width: 96%;
    margin: 20px auto;
}
.container_page h6{
    color: red;
    font-size: 24px;
    font-family: "Kaushan Script", cursive;
}



.platillo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
  font-size: 16px;
  max-width: 400px;
  margin-bottom: 8px;
  position: relative;
}
.nombre, .precio {
    color: white;
    position: relative;
    z-index: 1;
    padding: 0 4px;
}

.precio{
    background-color: #c21006;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 6px;
} */


.carousel-wrap{
  
    width:100%;
    max-width:1200px;
    position:relative;
    margin: 0px auto;
  }

  /* viewport */
  .carousel{
    overflow:hidden;
    padding: 12px 0;
  }

  /* track */
  .track{
    display:flex;
    gap:var(--gap);
    transition:transform 520ms cubic-bezier(.22,.9,.28,1);
    will-change:transform;
    align-items:stretch;
    user-select:none;
  }

  /* each card */
  .card{
    background:var(--bg);
    border-radius:var(--card-radius);
    box-shadow:var(--shadow);
    min-width: 300px; /* default 3 visible */
    display:flex;
    flex-direction:column;
    overflow:hidden;
    text-align:center;
    pad: 10px;
  }

  .card img{
    width: 210px;
    height:210px;
    margin: 0px auto;
    border-radius: 20px;
    object-fit:cover;
    display:block;
    border-bottom:6px solid transparent;
  }

  .card .meta{
    padding:14px 12px 20px;
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  .card .title{
    font-size:15px;
    color:#222;
    margin-bottom:12px;
  }

  .card .price{
    color: red;
    font-weight:800;
    font-size:22px;
    letter-spacing:0.5px;
  }

  /* controls */
  .controls{
    position:absolute;
    top:50%;
    left:0;
    right:0;
    transform:translateY(-50%);
    display:flex;
    justify-content:space-between;
    pointer-events:none;
  }
  .controls button{
    pointer-events:auto;
    background:rgba(255,255,255,0.95);
    border:0;
    width:44px;
    height:44px;
    border-radius:10px;
    margin:0 6px;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
    cursor:pointer;
  }
  .controls button:active{ transform:scale(.98); }

  .controls svg{ width:18px; height:18px; display:block; margin:auto; fill:#333; }

  /* dots */
  .dots{
    display:flex;
    gap:8px;
    justify-content:center;
    margin-top:18px;
    padding-block: 10px;
  }
  .dot{
    border: 1px solid #939393;
    width:10px; 
    height:10px; 
    border-radius:10px; 
    background:rgba(0,0,0,0.12);
    cursor:pointer;
  }
  .dot.active{ 
    background: red; 
    border: 1px solid red;
    transform:scale(1.15); 
  }

  /* responsive rules: 2 per row on tablet, 1 per row on mobile */
  @media (max-width:1000px){
    .card{ min-width: calc((100% - var(--gap)) / 2); } /* 2 visible */
    .card img{ height:200px; }
  }
  @media (max-width:600px){
    :root{ --gap: 16px; }
    .card{ min-width:100%; } /* 1 visible */
    .card img{ height:180px; }
    body{ padding:18px; }
  }

  /* small accessibility focus */
  .controls button:focus, .dot:focus{ outline:2px solid rgba(182,28,18,0.18); outline-offset:3px; }


  footer{
    background-color: #B52707;
    display: flex;
    justify-content: space-between;
    padding-inline: 20px;
    align-items: center;
    padding-block: 20px;
  }

  footer div img{
    width: 180px;
  }

  footer div h3{
    color: white;
    font-size: 16px;
  }





  .menu-container {
  display: flex;
  min-height: 100vh;
}

/* CATEGORÍAS */
.categorias {
  width: 180px;
  background: white;
  border-right: 2px solid #ddd;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.categoria-btn {
  padding: 12px;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.2s;
}

.categoria-btn:hover {
  background: #ddd;
}

.categoria-btn.active {
  background: #0077cc;
  color: white;
}

/* PLATILLOS */
.platillos {
  flex: 1;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.platillos .card{
  height: 250px;
}
.platillos .card img{
  width: 200px;
  height: 200px;
}
.platillos .card p.price_txt{
  color: red;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 600px){

  header{
    padding: 0px;
    width: 100%;
  }

  .container_header{
    width: 100%;
    margin: 10px auto;
  }
  .content_banner{
    margin: 0px auto;
    width: 100%;
  }

  #content_platillos{
    width: 100%;
    flex-wrap: wrap;
  }
  #content_platillos > .card_product_top{
    width: 280px !important;

  }
  #content_platillos > .card_product_top img{
    width: 250px;
    margin-inline: 15px;
  }




}