/*
 * ARCHIVO: assets/css/frontend.css
 * VERSIÓN: 4.4.0
 */

/* --- CONTENEDOR PRINCIPAL --- */
.aos-customization-container {
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: #f9f9f9;
}


.aos-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.aos-header-row h2 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}


.aos-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    margin-top: 5px;
    display: block;
    width: 100%;
}


.aos-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #ddd;
}

.aos-tabs-nav li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    background: #f1f1f1;
    margin-right: 5px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    margin-bottom: -2px;
}

.aos-tabs-nav li.active {
    color: #0073aa;
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: 2px solid #fff;
    z-index: 2;
}

/* PANELES DE CONTENIDO */
.aos-tab-pane {
    display: none;
}

.aos-tab-pane.active {
    display: block;
}


@media (min-width: 769px) {
    .aos-mobile-accordion-content {
        display: block !important;
        border: none !important;
        padding: 0 !important;
    }

    .aos-mobile-accordion-header {
        display: none !important;
    }
}


.aos-zone-item {
    border: 1px solid #dcdcdc;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    background-color: #fff;
}


.aos-zone-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    width: 100%;
    gap: 15px;
}

.aos-zone-checkbox {
    margin: 0 !important;
    transform: scale(1.1);
    flex-shrink: 0;
}

.zone-info-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.zone-name {
    font-weight: 600;
    color: #333;
    text-align: left;
}

.zone-price {
    font-weight: bold;
    color: #27ae60;
    white-space: nowrap;
}


.aos-zone-details {
    margin-top: 10px;
    padding: 15px;
    background-color: #fdfdfd;
    border-top: 1px dashed #e0e0e0;
}

.aos-upload-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.aos-image-preview-box img {
    max-width: 100px;
    border: 1px solid #ccc;
    padding: 3px;
    background: #fff;
    margin-top: 5px;
}


.aos-customization-total-wrapper {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.aos-total-row.final {
    font-size: 1.2em;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.aos-zone-error {
    border: 2px solid #d63638 !important;
    background-color: #ffebe9 !important;
}


.aos-scheme-btn {
    background: #fff;
    border: 1px solid #0073aa;
    color: #0073aa;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;

}

.aos-scheme-btn:hover {
    background: #0073aa;
    color: #fff;
    text-decoration: none;
}


.aos-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.aos-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: aosFadeIn 0.3s;
}

.aos-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.aos-modal-close:hover,
.aos-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@keyframes aosFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/ @media (max-width: 768px) {
    .aos-tabs-nav {
        display: none !important;
    }

    .aos-mobile-accordion-header {
        display: flex;
        justify-content: space-between;
        padding: 12px;
        background: #eee;
        margin-top: 5px;
        cursor: pointer;
        font-weight: bold;
        border-radius: 4px;
    }

    .aos-tab-pane {
        display: block !important;
    }

    .aos-mobile-accordion-content {
        display: none;
        padding: 10px;
        border: 1px solid #eee;
        border-top: none;
    }

    .zone-info-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }


    .aos-header-row {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .aos-scheme-btn {
        width: 100%;
        justify-content: center;
    }
}