/* =========================================================
ESTILOS DE LA PÁGINA CONDICIONES GENERALES (FROALA READY)
========================================================= */

/* HERO SECTION */
.conditions-hero {
    position: relative;
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-image-conditions {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.conditions-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(28, 32, 17, 0.4), rgba(28, 32, 17, 0.4)),
                rgba(123, 122, 122, 0.3);
    z-index: 2;
}

.conditions-hero .hero-content {
    position: relative;
    z-index: 3;
    padding-left: 10%;
}

.conditions-hero h1 {
    font-family: "Baumans", sans-serif !important;
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* MAIN CONTENT SECTION */
.conditions-section {
    background-color: #f9f9f9;
    padding: 60px 0 80px;
}

.conditions-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.conditions-card {
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    position: relative;
}

/* BOTONES DE ACCIÓN */
.conditions-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-action {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    outline: none;
}

.btn-action:hover {
    background-color: #F48534;
    border-color: #F48534;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(244, 133, 52, 0.3);
    transform: translateY(-2px);
}

/* TÍTULO CENTRADO DINÁMICO */
.conditions-title {
    font-family: "Baumans", sans-serif;
    color: #333;
    font-size: 32px;
    margin: 0 auto 45px auto;
    padding-bottom: 15px;
    border-bottom: 3px solid #F48534;
    display: block;
    width: fit-content;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FUERZA PARA CONTENIDO FROALA (.fr-view) CON FUENTE BAUMANS */
.conditions-body.fr-view,
.conditions-body.fr-view p,
.conditions-body.fr-view span,
.conditions-body.fr-view li {
    font-family: "Baumans", sans-serif !important;
    font-size: 1.1rem !important; /* Ligeramente más grande para Baumans */
    line-height: 1.6 !important;
    color: #444 !important;
    text-align: justify !important; /* Justifica párrafos y viñetas */
}

.conditions-body.fr-view p {
    margin-bottom: 20px !important;
}

/* Estilos para encabezados dentro del contenido */
.conditions-body.fr-view h2,
.conditions-body.fr-view h3,
.conditions-body.fr-view h4 {
    font-family: "Baumans", sans-serif !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    text-transform: uppercase;
}

/* Estilos específicos para listas/viñetas */
.conditions-body.fr-view ul,
.conditions-body.fr-view ol {
    margin-bottom: 25px !important;
    padding-left: 30px !important;
}

.conditions-body.fr-view li {
    margin-bottom: 12px !important;
    list-style-position: outside; /* Asegura que el punto no se meta en el texto */
}

/* CONFIGURACIÓN DE IMPRESIÓN */
@media print {
    .no-print, .main-header-wrapper, .top-bar, .conditions-hero,
    .conditions-footer, .mobile-sidebar, footer, .conditions-actions {
        display: none !important;
    }
    .conditions-section { background: #fff !important; padding: 0 !important; }
    .conditions-card { box-shadow: none !important; border: none !important; padding: 0 !important; }
    .conditions-title { margin-top: 20px; color: #000 !important; border-bottom: 2px solid #333 !important; }
    .conditions-body.fr-view, .conditions-body.fr-view p, .conditions-body.fr-view li {
        color: #000 !important;
        font-size: 12pt !important;
    }
}

/* RESPONSIVE */
@media (max-width: 991px) { .conditions-hero { margin-top: 0; } }
@media (max-width: 768px) {
    .conditions-hero h1 { font-size: 2rem; }
    .conditions-card { padding: 30px 20px; }
    .conditions-body.fr-view, .conditions-body.fr-view p { text-align: left !important; }
}