@charset "UTF-8";:root {
    --header-height: 80px
}

@media(min-width: 960px) {
    :root {
        --header-height: 103px
    }
}

*,*:before,*:after {
    box-sizing: border-box
}

::selection {
    color: #fff;
    background: #00cbff
}

strong {
    font-weight: 700
}

html {
    height: 100%
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

body.home-page {
    margin: var(--header-height) 0 0 0;
    min-height: calc(100vh - var(--header-height));
    background: var(--body-bg);
    display: flex;
    flex-direction: column
}

body.creditos-page,body.prestamos-page,body.seguros2-page,body.seguros-cotizar-page {
    margin: var(--header-height) 0 0 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column
}

.top-nav {
    border-bottom: 1px solid #DFE0E0;
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center
}

.top-nav__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    position: relative
}

@media(min-width: 0)and (max-width:959px) {
    .top-nav__menu {
        position:absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1;
        min-height: 300px;
        display: none!important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 1px solid #DFE0E0;
        box-shadow: 0 0 10px #0000001a;
        gap: 0!important
    }

    .top-nav__menu.active {
        display: flex!important
    }
}

.top-nav__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    list-style: none;
    margin: 0;
    gap: 40px
}

.top-nav__li {
    margin: 0;
    height: 100%
}

@media(min-width: 0)and (max-width:959px) {
    .top-nav__li {
        border-bottom:1px solid #DFE0E0;
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center
    }
}

.top-nav__li:last-child {
    margin: 0
}

@media(min-width: 0)and (max-width:959px) {
    .top-nav__li:last-child {
        border:none;
        width: 100%
    }
}

.top-nav__link {
    position: absolute;
    left: 0;
    padding-left: 20px
}

@media(min-width: 0)and (max-width:959px) {
    .top-nav__link {
        position:relative;
        left: auto;
        padding-left: 0
    }
}

.top-nav__anchor {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500
}

@media(min-width: 0)and (max-width:959px) {
    .top-nav__anchor {
        width:100%!important;
        display: block!important
    }
}

@media(min-width: 960px) {
    .top-nav__anchor.active {
        color:#16538e;
        background: #f2f7fd;
        border-radius: 4px;
        padding: 10px 20px
    }
}

.top-nav__avatar {
    width: 50px;
    height: 50px;
    cursor: pointer
}

.top-nav__mb-iconMenu>img {
    width: 30px
}

.top-nav__mb-iconMenu {
    cursor: pointer;
    position: absolute;
    right: 20px
}

@media(min-width: 960px) {
    .top-nav__mb-iconMenu {
        display:none
    }
}

.top-search {
    width: 100%;
    position: relative
}

.top-search>img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover
}

.top-search {
    height: 200px
}

@media(min-width: 640px) {
    .top-search {
        height:485px
    }
}

.top-search__content {
    padding: 20px;
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center
}

.top-search__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,.3)
}

@media(min-width: 640px) {
    .top-search__title {
        font-size:3rem;
        margin-bottom: 2rem
    }
}

.top-search__description {
    font-size: 16px;
    font-weight: 400;
    color: #fff
}

.top-search__form {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 300px
}

@media(min-width: 640px) {
    .top-search__form {
        margin-bottom:1.5rem;
        max-width: 500px
    }
}

.top-search__input-group {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.3);
}

.top-search__input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent
}

@media(min-width: 640px) {
    .top-search__input {
        padding:16px 20px;
        font-size: 16px
    }
}

.top-search__input::placeholder {
    color: #999
}

.top-search__input:focus {
    box-shadow: none
}

.top-search__search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
    font-weight: 600;
}

@media(min-width: 640px) {
    .top-search__search-btn {
        padding:16px 20px
    }
}

.top-search__search-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: scale(1.05);
}

.top-search__search-btn i {
    font-size: 14px
}

@media(min-width: 640px) {
    .top-search__search-btn i {
        font-size:16px
    }
}

.top-search__actions {
    display: flex;
    justify-content: center
}

.top-search__publish-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media(min-width: 640px) {
    .top-search__publish-btn {
        gap:10px;
        padding: 18px 40px;
        font-size: 16px
    }
}

.top-search__publish-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}

.top-search__publish-btn i {
    font-size: 14px
}

@media(min-width: 640px) {
    .top-search__publish-btn i {
        font-size:16px
    }
}

/* Sobrescribir estilos de botones Bootstrap en la sección de búsqueda */
.top-search .btn-primary,
.top-search__actions .btn-primary,
.top-search__content .btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all .3s ease !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
}

.top-search .btn-primary:hover,
.top-search__actions .btn-primary:hover,
.top-search__content .btn-primary:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5) !important;
    color: #fff !important;
}

@media(min-width: 640px) {
    .top-search .btn-primary,
    .top-search__actions .btn-primary,
    .top-search__content .btn-primary {
        padding: 18px 40px !important;
        font-size: 16px !important;
    }
}

.mejor-mercado {
    padding: 40px 20px
}

.mejor-mercado__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px
}

@media(max-width: 639px) {
    .mejor-mercado__title {
        font-size:1.5rem
    }
}

.mejor-mercado__list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

@media(min-width: 960px) {
    .mejor-mercado__list {
        display:grid;
        grid-template-columns: repeat(3,1fr);
        gap: 30px
    }
}

.mejor-mercado__card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0000001a;
    overflow: hidden;
    display: flex;
    transition: all .3s ease
}

.mejor-mercado__card:hover {
    box-shadow: 0 4px 12px #00000026
}

@media(min-width: 960px) {
    .mejor-mercado__card {
        flex-direction:column
    }
}

.mejor-mercado__card-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0
}

@media(min-width: 960px) {
    .mejor-mercado__card-image {
        width:100%;
        height: 200px
    }
}

.mejor-mercado__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.mejor-mercado__card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

@media(min-width: 960px) {
    .mejor-mercado__card-content {
        padding:20px
    }
}

.mejor-mercado__card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3
}

@media(max-width: 639px) {
    .mejor-mercado__card-title {
        font-size:1rem
    }
}

.mejor-mercado__card-description {
    font-size: .9rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4
}

@media(max-width: 639px) {
    .mejor-mercado__card-description {
        font-size:.85rem
    }
}

.mejor-mercado__card-update {
    font-size: .8rem;
    color: #999;
    margin-bottom: 10px
}

@media(max-width: 639px) {
    .mejor-mercado__card-update {
        font-size:.75rem
    }
}

.mejor-mercado__card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333
}

@media(max-width: 639px) {
    .mejor-mercado__card-price {
        font-size:1.1rem
    }
}

.ultimas-llegar {
    padding: 40px 20px
}

.ultimas-llegar__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px
}

@media(max-width: 639px) {
    .ultimas-llegar__title {
        font-size:1.5rem
    }
}

.ultimas-llegar__list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

@media(min-width: 960px) {
    .ultimas-llegar__list {
        display:grid;
        grid-template-columns: repeat(3,1fr);
        gap: 30px
    }
}

.ultimas-llegar__card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0000001a;
    overflow: hidden;
    display: flex;
    transition: all .3s ease
}

.ultimas-llegar__card:hover {
    box-shadow: 0 4px 12px #00000026
}

@media(min-width: 960px) {
    .ultimas-llegar__card {
        flex-direction:column
    }
}

.ultimas-llegar__card-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0
}

@media(min-width: 960px) {
    .ultimas-llegar__card-image {
        width:100%;
        height: 200px
    }
}

.ultimas-llegar__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ultimas-llegar__card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

@media(min-width: 960px) {
    .ultimas-llegar__card-content {
        padding:20px
    }
}

.ultimas-llegar__card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3
}

@media(max-width: 639px) {
    .ultimas-llegar__card-title {
        font-size:1rem
    }
}

.ultimas-llegar__card-description {
    font-size: .9rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4
}

@media(max-width: 639px) {
    .ultimas-llegar__card-description {
        font-size:.85rem
    }
}

.ultimas-llegar__card-update {
    font-size: .8rem;
    color: #999;
    margin-bottom: 10px
}

@media(max-width: 639px) {
    .ultimas-llegar__card-update {
        font-size:.75rem
    }
}

.ultimas-llegar__card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333
}

@media(max-width: 639px) {
    .ultimas-llegar__card-price {
        font-size:1.1rem
    }
}

.footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
    margin-top: auto
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer__logo-icon img {
    width: 100%;
    height: auto
}

.footer__logo-text {
    display: flex;
    flex-direction: column
}

.footer__logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1
}

.footer__logo-sub {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px
}

.footer__section {
    margin-bottom: 20px
}

.footer__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: none
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer__item {
    margin-bottom: 12px
}

.footer__link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color .3s ease
}

.footer__link:hover {
    color: #333;
    text-decoration: none
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 10px
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all .3s ease
}

.footer__social-link:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none
}

.footer__social-link i {
    font-size: 16px
}

.footer__copyright {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
    margin-top: 40px;
    text-align: center
}

.footer__copyright-text {
    color: #666;
    font-size: 14px;
    margin: 0
}

@media(max-width: 768px) {
    .footer {
        padding:40px 0 20px
    }

    .footer__logo {
        justify-content: center;
        margin-bottom: 30px
    }

    .footer__section {
        text-align: center;
        margin-bottom: 30px
    }

    .footer__social {
        justify-content: center
    }
}
