/*
Theme Name: Classima Child
Theme URI: https://themeforest.net/item/classima-classified-ads-wordpress-theme/24494997
Description: Child theme for Classima
Author: Wilmer Chacón
Author URI: https://tusitio.com
Template: classima
Version: 1.0
*/

/* Importar estilos del padre */

@media (min-width: 992px) {
    .header-style-8 .header-style-6 .header-btn-area .header-btn {
        background-color: #fff !important;
        color: #f85c70 !important;
        border-radius: 30px;
        height: 46px;
        padding-left: 13px;
        padding-right: 18px;
        font-size: 15px;
        font-weight: 500;
    }
}

.header-style-8 .header-style-6 .header-btn {
	background-color: #f85c70 !important;
    color: #fff !important;
    padding: 0 30px;
    height: 52px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #f85c70 !important;
    border-radius: 50px;
    -webkit-transition: none;
    transition: none;
}

.header-style-8 .header-style-6 .header-btn i {
    font-size: 18px;
    line-height: 1;
    padding-right: 12px;
    -webkit-transform: translateX(0%) rotate(0);
    transform: translateX(0%) rotate(0);
}

.header-style-8 .header-style-6 .header-btn:hover {
    background: #e43d40 !important;
}


/*----- Header Layout 8 -----*/

@media all and (min-width: 992px) {
    .header-style-8 .main-header {
        background-color: #f85c70;
        box-shadow: 0 2px 8px rgba(222, 58, 79, 0.8);
        position: relative;
        z-index: 9;
    }

    .header-style-8 .main-header .site-branding a.dark-logo {
        display: none;
    }

    .header-style-8 .main-header .site-branding a.light-logo {
        display: block;
    }

    .header-style-8 .main-header .main-navigation-area .main-navigation ul.menu > li > a:hover,
    .header-style-8 .main-header .main-navigation-area .main-navigation ul.menu > li > a,
    .header-style-8 .main-header .main-navigation-area .main-navigation ul.menu > li.menu-item-has-children:after {
        color: #ffffff;
    }

    .header-style-8 .header-style-6 a.header-login-icon,
    .header-style-8 a.header-chat-icon {
        color: #ffffff !important;
        font-size: 15px;
        font-weight: 500;
        margin-left: 15px;
    }

    .header-style-8 .header-style-6 a.header-login-icon i,
    .header-style-8 a.header-chat-icon i {
        width: 45px;
        height: 40px;
        color: #F85C70;
        background-color: #ffffff !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        border-radius: 50px;
        margin-right: 8px;
    }

    .header-style-8 a.header-chat-icon .rtcl-unread-badge {
        width: auto;
        height: auto;
        top: -15px;
        left: 20px;
        right: auto;
        background-color: #e40a26;
        padding: 5px;
        border-radius: 50%;
    }

    .header-style-8 .header-btn-area .header-btn {
        background-color: #8c002c !important;
        color: #ffff !important;
        border-radius: 30px;
        height: 46px;
        padding-left: 13px;
        padding-right: 18px;
        font-size: 15px;
        font-weight: 500;
    }

    .header-style-8 .header-btn i {
        background-color: #8c002c !important;
        color: #fff;
        padding: 0;
        width: 24px;
        height: 24px;
        display: inline-block;
        margin-right: 7px;
        font-size: 12px;
        text-align: center;
        line-height: 24px;
        border-radius: 50%;
    }

    .header-style-8 .header-btn-area .header-btn:hover {
        background-color: #e40a26;
        color: #fff !important;
    }
    .header-style-8 .main-header .main-navigation-area .main-navigation ul {
        text-align: left;
    }
    .header-style-8 .main-header .main-navigation-area .main-navigation .menu-main-menu-container > ul > li > a {
        padding: 10px 20px;
        font-size: 16px;
    }
    .header-style-8 .main-header .main-navigation-area .main-navigation ul.menu > li.menu-item-has-children:after {
        bottom: 17px;
        right: 5px;
    }
}

@media all and (min-width: 992px) and (max-width: 1199px) {
    .header-style-8 a.header-login-icon span,
    .header-style-8 a.header-chat-icon span {
        display: none;
    }
    .header-style-8 a.header-login-icon i,
    .header-style-8 a.header-chat-icon i {
        margin-right: 0;
    }
    .header-style-8 a.header-login-icon,
    .header-style-8 a.header-chat-icon {
        margin-left: 10px;
    }
}

.header-style-8 .main-header .main-navigation-area .main-navigation ul {
    text-align: right;
    -webkit-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
}


.responsive-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 100%;
}

.responsive-search-form input[type="text"] {
    flex: 1 1 300px;
    height: 64px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.responsive-search-form button {
    flex: 0 0 auto;
    height: 64px;
    padding: 0 20px;
    font-size: 16px;
    background: #8c002c !important;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.responsive-search-form button i {
    margin-right: 8px;
    padding: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .responsive-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .responsive-search-form input[type="text"],
    .responsive-search-form button {
        width: 100% !important;
        height: 48px !important;            /* 🔽 Fuerza altura */
        font-size: 15px !important;
        padding: 8px 12px !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;  /* 🔑 Controla altura real */
    }

    .responsive-search-form button {
        margin-top: 5px;
    }

    .responsive-search-form button i {
        padding: 0;
        margin-right: 6px;
    }
}

