/*
 * Theme Name:  Once Child
 * Theme URI:   https://codesupply.co/themes/once/
 * Description: Once Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    once
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */

/* --- FOOTER TYPE 4: ESTILO BRANDING ROJO CORPORATIVO --- */

.footer-type-4 {
    background-color: #1c1918 !important; /* Oscuro neutro cálido */
    color: #c5beba !important;
    padding-top: 60px !important;
    padding-bottom: 30px !important;
    margin-top: 80px !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
}

.footer-type-4 .footer-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    margin-bottom: 50px !important;
}

/* Ajustes del Logo */
.footer-type-4 .footer-logo-img {
    max-width: 200px !important;
    height: auto !important;
    margin-bottom: 15px !important;
    display: block !important;
    /* Si las letras del logo son oscuras y no destacan sobre fondo oscuro, esta línea les da brillo blanco manteniendo el icono intacto */
    /*filter: brightness(0) invert(1) drop-shadow(0px 2px 4px rgba(0,0,0,0.5)) !important; */
}

.footer-type-4 .footer-brand p {
    font-size: 0.9rem !important;
    color: #a89f9a !important;
}

/* Títulos con Línea en el Rojo del Logo (#A02B2D) */
.footer-type-4 .widget-title,
.footer-type-4 h4 {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    /*text-transform: uppercase !important;*/
    letter-spacing: 1px !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #A02B2D !important; /* Rojo corporativo */
}

/* Listas y Enlaces con Hover en Rojo */
.footer-type-4 ul.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-type-4 ul.footer-links li {
    margin-bottom: 10px !important;
}

.footer-type-4 ul.footer-links a {
    color: #c5beba !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
}

.footer-type-4 ul.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

/* Indicador de lista al hacer hover en rojo */
.footer-type-4 ul.footer-links a:hover::before {
    content: "› " !important;
    color: #A02B2D !important;
}

/* Barra Inferior (Copyright) */
.footer-type-4 .footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 25px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #887f7a !important;
    font-size: 0.85rem !important;
}

.footer-type-4 .footer-bottom-bar a {
    color: #c5beba !important;
    text-decoration: none !important;
}

.footer-type-4 .footer-bottom-bar a:hover {
    color: #A02B2D !important;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-type-4 .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .footer-type-4 .footer-grid-4 {
        grid-template-columns: 1fr !important;
    }
    .footer-type-4 .footer-bottom-bar {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
}

/* --- OFF-CANVAS EDITOR PICK MODULE --- */

.offcanvas-editor-pick {
    margin-bottom: 25px !important;
}

.editor-tag {
    display: inline-block !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    color: #A02B2D !important; /* Rojo corporativo */
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

.editor-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.2 !important;
}

.editor-card-link {
    display: block !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.editor-card-img {
    height: 150px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    transition: transform 0.4s ease !important;
}

.editor-card-link:hover .editor-card-img {
    transform: scale(1.04) !important;
}

.editor-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%) !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 12px !important;
}

.editor-badge {
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background-color: rgba(160, 43, 45, 0.9) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
}

.editor-desc {
    font-size: 0.85rem !important;
    color: #555555 !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
}

/* Social Mini Row */
.offcanvas-social-mini {
    font-size: 0.8rem !important;
    color: #888888 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eeeeee !important;
}

.offcanvas-social-mini a {
    color: #111111 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.offcanvas-social-mini a:hover {
    color: #A02B2D !important;
}

/* --- OFF-CANVAS SIDEBAR DESIGN --- */

/* Titulares de sección */
.offcanvas-widget-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #111111 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #A02B2D !important; /* Rojo corporativo */
}

/* 1. Grid de Botones por Mood */
.mood-pills-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
}

.mood-pill {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #f7f5f3 !important;
    color: #2c2c2c !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid #e8e2dd !important;
    transition: all 0.25s ease !important;
}

.mood-pill:hover {
    background-color: #A02B2D !important;
    color: #ffffff !important;
    border-color: #A02B2D !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(160, 43, 45, 0.2) !important;
}

.mood-pill .pill-icon {
    font-size: 1.1rem !important;
}

/* 2. Tarjeta de Lead Magnet VIP */
.offcanvas-lead-card {
    background: linear-gradient(145deg, #231917 0%, #1a1211 100%) !important;
    color: #ffffff !important;
    padding: 25px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(160, 43, 45, 0.3) !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
}

.lead-badge {
    display: inline-block !important;
    background-color: #A02B2D !important;
    color: #ffffff !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
}

.offcanvas-lead-card h3 {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.offcanvas-lead-card p {
    color: #cbbdb9 !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
}

/* Formulario Lead Magnet */
.lead-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.lead-input {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 6px !important;
    border: 1px solid #443532 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    outline: none !important;
}

.lead-input:focus {
    border-color: #A02B2D !important;
}

.lead-button {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 6px !important;
    border: none !important;
    background-color: #A02B2D !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: background 0.25s ease !important;
}

.lead-button:hover {
    background-color: #b83235 !important;
}