/**
 * Estilos personalizados para módulo de Contenido Store
 * Solo incluir estilos que no están disponibles en Bootstrap 5
 * Última actualización: 2025-01-15 11:30
 */

/* ===== FUENTES DEL STORE ===== */
@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700&display=swap");

/* ===== ESTILOS DEL MINI PREVIEW DEL SLIDER ===== */
.xoey-mini-preview-container {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.xoey-mini-slide-preview {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mini-slide-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 300px;
}

.mini-slide-image {
    width: 50%;
    min-height: 300px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mini-slide-content {
    width: 50%;
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #e9ecef;
}

.mini-slide-title {
    font-family: "Albert Sans", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #000000;
}

.mini-slide-desc {
    font-family: "Albert Sans", sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #545454;
}

.mini-slide-btn {
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
    border-color: #000000;
    color: #000000;
}

.mini-slide-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ===== ESTILOS DE LOS TABS ===== */
#slides-tabs .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* ===== ESTILOS DEL COLOR PICKER ===== */
.form-control-color {
    width: 3rem;
    height: calc(1.5em + 0.75rem + 2px);
    cursor: pointer;
}

/* ===== ESTILOS DEL MINI PREVIEW DEL BANNER ===== */
.xoey-mini-banner-preview {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mini-banner-wrapper {
    display: flex;
    flex-direction: column;
}

.mini-banner-image {
    width: 100%;
    min-height: 450px;
    max-height: 450px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mini-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.mini-banner-content {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.mini-banner-subheading {
    font-family: "Albert Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.375rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mini-banner-heading {
    font-family: "Albert Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mini-banner-btn {
    font-size: 0.8125rem;
    padding: 0.375rem 1rem;
    border-color: #ffffff;
    color: #ffffff;
    align-self: flex-start;
    background-color: transparent;
    text-shadow: none;
}

.mini-banner-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ===== ESTILOS DE LOS TABS (BANNERS) ===== */
#banners-tabs .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .xoey-mini-preview-container {
        position: static;
        margin-top: 2rem;
    }

    .mini-slide-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .mini-slide-image {
        width: 100%;
        min-height: 250px;
    }

    .mini-slide-content {
        width: 100%;
    }

    .mini-banner-image {
        min-height: 320px;
        max-height: 320px;
    }
}
