@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap');

body{
    margin: auto;
  background: #f2f2f2;
  font-family: 'Bebas Neue', sans-serif;

}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.12),
    rgba(0,0,0,0.09) 60px,
    transparent 60px,
    transparent 120px
  );

  pointer-events: none;
  
}


body::after {
  content: "";
  position: fixed;
  inset: 0;




  pointer-events: none;
}

.card{
  background-color: #333;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 2px #111;
height:220px;
  transition:transform .18s,box-shadow .18s;
  border: 3px solid #c4a24a;
  margin: 10px;
  width: 270px;
z-index: 1;
}


.categorias{
    display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 80px;
  justify-content: center;
}

.logo{
    width: 200px;
    height: 200px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

.navbar {
  position: sticky;
  top: 0;
  background: #ffffff; /* pared blanca como el local */
  border-bottom: 4px solid #c4a24a; /* línea negra fuerte */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 60px;
  margin: auto;
  box-shadow: 0 3px 10px #111;
}


.sub-title{
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-family: sans-serif;
}

.ingrediente{
    color:  #fff;
    text-align: center;
    margin: 5px
}

.price{
    color: #fff;
    margin-left: 15px;
    font-size: 20px;
}

.reserve-button{
    background-color: #c4a24a;
    border: none;
    border-radius: 7px;
    padding: 8px;
    margin: 10px;
    cursor: pointer;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1rem;

}

.reserve-button2{
    background-color: #c4a24a;
    border: none;
    border-radius: 7px;
    padding: 8px;
    margin: 10px;
    cursor: pointer;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1rem;
margin: 4px;
}
.info{
  display: flex;
  justify-content: space-between; /* separa izquierda y derecha */
  align-items: center; /* alinea verticalmente */
}

.a-individual{
  display: block;
  text-decoration: none;
  color: #111;
  font-size: 35px;
  font-weight: bold;
  font-family: cursive;
  height: 0;
  margin-left: 20px;
    position: relative;
  top: -30px; /* 👈 sube la flecha */
}

.title{
  font-family: 'Stardos Stencil', cursive;
      color: #333;
      margin: 40px;
      text-align: center;
      font-size: 50px;
}


.hacer-pedido{
  padding: 5px;
    position: absolute;
    display: flex;
  right: 100px;
  font-size: 1.5rem;
  background-color: #111;
  color: #fff;
  cursor: pointer;
  margin-right: 1rem;
    font-family: 'Bebas Neue', sans-serif;
}



/* ============================================ */
/* ESTILOS DEL MODAL DEL CARRITO */
/* ============================================ */

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contenedor del modal */
.modal-content {
    background-color: #f2f2f2;
    border: 4px solid #c4a24a;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header del modal */
.modal-header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-bottom: 3px solid #c4a24a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 2px;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #c4a24a;
}

.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #c4a24a;
}

/* Mensaje de carrito vacío */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-family: 'Bebas Neue', sans-serif;
}

.empty-cart p:first-child {
    font-size: 2rem;
    margin-bottom: 10px;
}

.empty-cart p:last-child {
    font-size: 1.2rem;
}

/* Items del carrito */
.cart-items {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.cart-item-ingredients {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0;
    font-family: Arial, sans-serif;
}

.cart-item-price {
    font-size: 1.1rem;
    color: #c4a24a;
    font-weight: bold;
    margin: 5px 0 0 0;
    font-family: 'Bebas Neue', sans-serif;
}

/* Controles del item */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background-color: #333;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #c4a24a;
}

.quantity {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
}

.remove-btn {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #b71c1c;
}

/* Footer del carrito */
.cart-footer {
    background-color: #333;
    padding: 20px;
    border-top: 3px solid #c4a24a;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.cart-total span:last-child {
    color: #c4a24a;
    font-size: 2rem;
}

/* Botones principales */
.btn-primary,
.btn-whatsapp {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #c4a24a;
    color: #111;
}

.btn-primary:hover {
    background-color: #d4b25a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 162, 74, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Formulario */
.order-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #c4a24a;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #333;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.radio-label:hover {
    border-color: #c4a24a;
    background-color: #fffbf0;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span {
    color: #c4a24a;
}

.radio-label:has(input:checked) {
    background-color: #333;
    border-color: #c4a24a;
}

.radio-label:has(input:checked) span {
    color: #fff;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid #c4a24a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.fritas{
    color:#d4b25a ;
    font-size: 1.1rem;
}

/* BOTÓN MITAD Y MITAD */
.half-button {
    background: #c0392b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: bold;
font-size: 1.1rem;
text-transform: uppercase;
}

#half-container{
position: fixed;
top:0;
left:0;
width:100%;
height:100%;
background: rgba(0,0,0,0.6);

display:flex;
align-items:center;
justify-content:center;

z-index:9999;
}

#half-container > div{
background:white;
padding:25px;
border-radius:10px;
width:400px;
}

.select{
        padding: 10px;
    border-radius: 8px;
    margin: 5px;
}
.mitad {
    display: flex;
    flex-direction: column;
    align-items: center;      /* centra horizontal */
    justify-content: center;  /* centra vertical */
    text-align: center;
    padding: 20px;
    gap: 15px;
}

/* ============================================ */
/* RESPONSIVE DESIGN - MEDIA QUERIES */
/* ============================================ */

/* Tablets (hasta 1024px) */
@media (max-width: 1024px) {
    .navbar {
        padding: 80px 60px;
    }

    .logo {
        width: 260px;
        height: 260px;
    }

    .a-individual {
        font-size: 55px;
        margin-left: 15px;
        top: -40px;
    }

    .hacer-pedido {
        right: 10px;
        font-size: 2.5rem;
        padding:  12px;
    }

    .title {
        font-size: 40px;
        margin: 30px 20px;
    }

    .categorias {
        margin-top: 60px;
        gap: 15px;
    }

    .card {
        width: 260px;
        height: 210px;
    }

    .sub-title {
        font-size: 1.2rem;
    }

    .ingrediente {
        font-size: 1.1rem;
    }

    .price {
        font-size: 20px;
    }

    .reserve-button {
        font-size: 0.95rem;
        padding: 7px;
    }
}

/* Móviles grandes (hasta 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 50px 25px;
    }

    .logo {
        width: 170px;
        height: 170px;
    }

    .a-individual {
        font-size: 35px;
        margin-left: 10px;
        top: -30px;
    }

    .hacer-pedido {
        right: -5px;
        font-size: 1.5rem;
        padding: 8px 10px;
    }

    .title {
        font-size: 32px;
        margin: 20px 10px;
    }

    .categorias {
        margin-top: 50px;
        gap: 15px;
        padding: 0 10px;
    }

    .card {
        width: 90%;
        max-width: 350px;
        height: auto;
        min-height: 200px;
        margin: 10px auto;
    }

    .sub-title {
        font-size: 1.2rem;
        padding: 10px 5px;
    }

    .ingrediente {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .info {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .price {
        font-size: 22px;
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .reserve-button {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        margin: 0;
    }

    /* Modal responsive */
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-controls {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .cart-total {
        font-size: 1.3rem;
    }

    .cart-total span:last-child {
        font-size: 1.7rem;
    }

    .btn-primary,
    .btn-whatsapp {
        font-size: 1.1rem;
        padding: 12px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
        justify-content: center;
    }

    .notification {
        right: 10px;
        left: 10px;
        top: 10px;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 40px 20px;
    }

    .logo {
        width: 160px;
        height: 160px;
    }

    .a-individual {
        font-size: 30px;
        margin-left: 8px;
        top: -20px;
    }

    .hacer-pedido {
        right: -5px;
        font-size: 1.3rem;
        padding: 6px 8px;
    }

    .title {
        font-size: 26px;
        margin: 15px 5px;
    }

    .categorias {
        margin-top: 40px;
        gap: 12px;
        padding: 0 5px;
    }

    .card {
        width: 95%;
        min-height: 180px;
    }

    .sub-title {
        font-size: 1.2rem;
        padding: 8px 5px;
    }

    .ingrediente {
        font-size: 1.1rem;
        padding: 0 8px;
        line-height: 1.3;
    }

    .info {
        gap: 8px;
        padding: 8px;
    }

    .price {
        font-size: 20px;
    }

    .reserve-button {
        padding: 8px;
        font-size: 0.95rem;
    }

    /* Modal muy pequeño */
    .modal-header {
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .close-modal {
        font-size: 2rem;
    }

    .cart-items {
        padding: 15px;
        max-height: 300px;
    }

    .cart-item {
        padding: 12px;
    }

    .cart-item-info h4 {
        font-size: 1.1rem;
    }

    .cart-item-ingredients {
        font-size: 0.8rem;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .remove-btn {
        width: 32px;
        height: 32px;
    }

    .cart-footer {
        padding: 15px;
    }

    .cart-total {
        font-size: 1.1rem;
    }

    .cart-total span:last-child {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-whatsapp {
        font-size: 1rem;
        padding: 10px;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"] {
        padding: 10px;
        font-size: 0.95rem;
    }

    .radio-label {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Scrollbar personalizado para el carrito */
.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #c4a24a;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #b39239;
}

/* ============================================
   MODAL DOCENA EMPANADAS
   ============================================ */

#docena-container {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}
.docena-modal {
  border-radius: 20px 20px 0 0;
  padding: 1rem 1.25rem 1.5rem;
  width: 100%;
  max-width: 480px;        /* ← tope en desktop */
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 12px;          /* ← espacio lateral en mobile */
  border-radius: 20px 20px 0 0;
    background: #fff; 

}
.docena-drag-handle {
  width: 40px; height: 4px;
  background: #ccc; border-radius: 2px;
  margin: 0 auto .75rem;
}
.docena-titulo { font-size: 18px; font-weight: 600; margin-bottom: 1rem; }
.docena-step-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: #888; margin-bottom: 6px;
}
.docena-divider { border: none; border-top: 1px solid #eee; margin: 1rem 0; }
.docena-selector {
  display: flex; width: fit-content;
  border: 1px solid #ddd; border-radius: 8px;
  overflow: hidden; margin-bottom: 1rem;
}
.docena-btn {
  width: 44px; height: 44px; border: none;
  background: #f5f5f5; font-size: 20px; cursor: pointer;
}
.docena-btn:disabled { opacity: .3; cursor: default; }
.docena-num {
  width: 52px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600;
  border-left: 1px solid #ddd; border-right: 1px solid #ddd;
}
.docena-tipo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 1rem;
}
.docena-tipo-card {
  border: 1px solid #ddd; border-radius: 12px;
  padding: 14px 10px; cursor: pointer; text-align: center;
}
.docena-tipo-card.selected { border: 2px solid #333; background: #f9f9f9; }
.docena-tipo-icon   { font-size: 22px; margin-bottom: 4px; }
.docena-tipo-name   { font-size: 13px; font-weight: 600; }
.docena-tipo-desc   { font-size: 11px; color: #888; margin-top: 2px; }
.docena-select {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 15px; margin-bottom: 1rem;
}
.docena-slots-bar {
  background: #f5f5f5; border-radius: 8px;
  padding: 10px 12px;
  display: flex; justify-content: space-between;
  margin-bottom: .75rem;
}
.docena-slots-text { font-size: 13px; color: #888; }
.docena-slots-num  { font-size: 14px; font-weight: 600; }
.docena-sabor-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid #f0f0f0;
}
.docena-sabor-row:last-child { border-bottom: none; }
.docena-sabor-name { font-size: 14px; flex: 1; }
.docena-sabor-ctrl {
  display: flex; align-items: center;
  border: 1px solid #ddd; border-radius: 8px; overflow: hidden;
}
.docena-sabor-btn {
  width: 36px; height: 36px; border: none;
  background: #f5f5f5; font-size: 18px; cursor: pointer;
}
.docena-sabor-btn:disabled { opacity: .3; cursor: default; }
.docena-sabor-count {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  border-left: 1px solid #ddd; border-right: 1px solid #ddd;
}
.docena-btn-agregar {
  width: 100%; padding: 13px;
  background: #222; color: #fff;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  margin-bottom: 8px;
}
.docena-btn-agregar:disabled { opacity: .35; cursor: default; }
#tarta-container {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}

/* ===========================
   MODAL SELECCIÓN DE PASTAS
=========================== */

#pasta-container{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    animation: fadeIn .25s;
}

#pasta-container .modal-content{
    width:min(92%,420px);
    background:#fff;
    border-radius:18px;
    padding:1.8rem;
    display:flex;
    flex-direction:column;
    gap:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    animation: popup .25s ease;
}

#pasta-container h3{
    text-align:center;
    font-size:1.6rem;
    margin:0;
}

#pasta-container p{
    margin:0;
    font-size:.95rem;
    color:#666;
    text-align:center;
}

#pasta-salsa{
    width:100%;
    padding:14px;
    border:2px solid #ddd;
    border-radius:12px;
    font-size:1rem;
    outline:none;
    transition:.2s;
    cursor:pointer;
}

#pasta-salsa:focus{
    border-color:#d62828;
}

#pasta-container .docena-btn-agregar{
    margin-top:8px;
}

#pasta-container .reserve-button2{
    margin-top:-5px;
}

/* Animaciones */

@keyframes popup{
    from{
        transform:scale(.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}