@charset "utf-8";
/*<style>
/* ============================
   ESTILOS GENERALES
============================= */
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f6f2ec;
    margin: 0;
    padding: 0;
    color: #4a3a28;
}

h3 {
    margin: 0 0 10px 0;
}

/* ============================
   CABECERA
============================= */
.header-mivelada {
    background: linear-gradient(90deg, #d4a76a, #c89a58);
    color: white;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    flex-wrap: wrap;
    gap: 12px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-header {
    height: 48px;
}

.titulo-header {
    font-size: 24px;
    font-weight: 700;
}

.header-buttons {
    display: flex;
    gap: 12px;
}

.btn-header {
    background: white;
    color: #7a5c3a;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-header:hover {
    background: #f3e9dd;
}

.btn-home-icon {
    font-size: 22px;
    text-decoration: none;
}

/* ============================
   CONTENEDOR PRINCIPAL
============================= */
.reserva-container {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    width: 92%;
}

/* ============================
   CALENDARIO PREMIUM
============================= */
.calendario-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.cal-titulo-seccion {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #5b4630;
}

.calendario-premium {
    margin-top: 14px;
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #e4d7c7;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cal-title {
    font-size: 18px;
    font-weight: bold;
    color: #7a5c3a;
}

.cal-nav {
    background: #f3e9dd;
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
    color: #7a5c3a;
}

.cal-nav:hover {
    background: #e8dccb;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #7a5c3a;
    margin-bottom: 6px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-dia {
    text-align: center;
    padding: 8px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.15s;
    font-size: 14px;
    color: #4a3a28;
}

.cal-dia:hover {
    background: #f3e9dd;
}

.cal-dia.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.cal-dia.hoy {
    border: 2px solid #d4a76a;
    font-weight: bold;
}

.cal-dia.selected {
    background: #d4a76a;
    color: white;
    font-weight: bold;
}

/* ============================
   TURNOS PREMIUM
============================= */
.tramos {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.btn-tramo {
    flex: 1;
    min-width: 140px;
    background: #fff7ef;
    border: 1px solid #e6d9c9;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.btn-tramo:hover {
    background: #f3e9dd;
}

.btn-tramo.selected {
    background: #d4a76a;
    color: white;
    font-weight: bold;
    border-color: #c19255;
}

.btn-tramo.no-disponible {
    background: #ffcccc;
    cursor: not-allowed;
}

/* ============================
   EXTRAS
============================= */
.extras {
    margin-top: 30px;
}

.extras h3 {
    font-size: 19px;
    font-weight: bold;
    color: #7a5c3a;
    margin-bottom: 12px;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #e6d9c9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.2s;
}

.extra-item:hover {
    background: #f3e9dd;
}

.extra-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #d4a76a;
    margin-right: 12px;
}

.extra-nombre {
    font-size: 15px;
    font-weight: 600;
    color: #5b4630;
}

.extra-precio {
    font-size: 15px;
    font-weight: bold;
    color: #7a5c3a;
    margin-left: auto;
}

/* ============================
   PRODUCTOS PREMIUM
============================= */
.productos {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.producto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #e6d9c9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.producto span {
    font-size: 15px;
    font-weight: 500;
    color: #5b4630;
}

.contador {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contador button {
    background: #d4a76a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.contador button:hover {
    background: #c19255;
}

.contador .cantidad {
    min-width: 22px;
    text-align: center;
    font-weight: bold;
    color: #5b4630;
}

/* ============================
   TOTAL
============================= */
#total-box {
    margin-top: 25px;
    font-size: 22px;
    font-weight: bold;
    color: #7a5c3a;
    display: none;
}

/* ============================
   BOTONES ACCIONES
============================= */
.botones-acciones {
    margin-top: 25px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-accion {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.btn-presupuesto {
    background: #7a5c3a;
    color: white;
}

.btn-pedido {
    background: #d4a76a;
    color: white;
}

/* ============================
   MODAL PREMIUM
============================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden auto;
}

.modal {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    animation: modalShow 0.25s ease-out;
    overflow: hidden auto;
}

@keyframes modalShow {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 22px;
    color: #7a5c3a;
}

.modal-close {
    cursor: pointer;
    font-size: 26px;
    color: #7a5c3a;
}

.modal-body {
    margin-top: 15px;
}

/* ============================
   TABLA DESGLOSE PREMIUM
============================= */
.tabla-desglose {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    font-size: 15px;
}

.tabla-desglose th {
    background: #f3e9dd;
    padding: 10px;
    border-radius: 8px;
}

.tabla-desglose td {
    padding: 10px;
    border-bottom: 1px solid #e6d9c9;
}

.tabla-desglose td:nth-child(1),
.tabla-desglose th:nth-child(1) {
    text-align: left;
}

.tabla-desglose td:nth-child(2),
.tabla-desglose td:nth-child(3),
.tabla-desglose td:nth-child(4),
.tabla-desglose th:nth-child(2),
.tabla-desglose th:nth-child(3),
.tabla-desglose th:nth-child(4) {
    text-align: right;
}

/* ============================
   FORMULARIO DE PEDIDO PREMIUM
============================= */
.modal-cliente {
    margin-top: 20px;
    background: #fff7ef;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #eadccd;
}

.modal-cliente h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #7a5c3a;
}

.modal-cliente label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #5b4630;
}

.modal-cliente input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d8c8b6;
    font-size: 15px;
    margin-top: 4px;
    background: white;
}

.modal-cliente input:focus {
    outline: none;
    border-color: #d4a76a;
    box-shadow: 0 0 4px rgba(212,167,106,0.5);
}

/* ============================
   BOTONES MODAL
============================= */
.modal-footer {
    margin-top: 25px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-modal {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.btn-cancelar {
    background: #ccc;
}

.btn-guardar-pdf {
    background: #7a5c3a;
    color: white;
}

/* ============================
   FOOTER
============================= */
.footer-mivelada {
    text-align: center;
    padding: 22px;
    background: #d4a76a;
    color: white;
    margin-top: 40px;
    font-size: 15px;
}

/* ============================
   CHECKBOX ELEGANTE
============================= */
.legal-check {
    margin-top: 25px;
    padding: 18px 20px;
    background: #fafafa;
    border-left: 4px solid #ff7b00;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #444;
}

.pretty-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    position: relative;
}

.pretty-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #ff7b00;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .25s ease;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.checkmark::after {
    content: "✔";
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0.4);
    transition: all .25s ease;
}

.pretty-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, #ff7b00, #ffb366);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pretty-checkbox input:checked ~ .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.legal-text a {
    color: #ff7b00;
    font-weight: 600;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* ============================
   RESPONSIVE DESIGN
============================= */

/* Tablets */
@media (max-width: 768px) {
    .titulo-header {
        font-size: 20px;
    }

    .btn-header {
        padding: 6px 12px;
    }

    .reserva-container {
        padding: 20px;
    }

    .btn-tramo {
        min-width: 120px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .header-mivelada {
        flex-direction: column;
        text-align: center;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
    }

    .cal-grid {
        gap: 4px;
    }

    .btn-tramo {
        flex: 1 1 100%;
    }

    .botones-acciones {
        flex-direction: column;
    }

    .modal {
        padding: 18px;
    }
}

/*</style>/* CSS Document */

