/* HERO remates */
.hero-remates{
    position: relative;
    background-image: url('/img/banner/banner1.png');
    background-size: cover;
    background-position: center;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
    overflow: hidden;
}

.hero-remates-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 23, 115, 0.68) 0%, rgba(71, 99, 231, 0.78) 100%);
}

.hero-remates-container{
    position: relative;
    z-index: 2;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-remates-btn{
    min-width: 180px;
    min-height: 56px;
    padding: 12px 34px;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: .4px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.hero-remates-btn:hover{
    background: #ffffff;
    color: #001773;
    transform: translateY(-1px);
}

/* REMATES LISTADO */
.remates-listado-section{
    background: #f3f3f7;
    padding: 90px 0 90px;
}

.remates-listado-container{
    position: relative;
}

.remates-listado-header{
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 54px;
}

.remates-listado-copy{
    display: flex;
    align-items: flex-start;
}

.remates-listado-title{
    margin: 0;
    font-size: 3.3rem;
    line-height: .98;
    font-weight: 700;
    color: #001773;
    letter-spacing: -1px;
}

.remates-listado-search-wrap{
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
}

.remates-listado-search{
    width: 100%;
    max-width: 470px;
    position: relative;
}

.remates-listado-search-input{
    width: 100%;
    height: 62px;
    border: 1px solid rgba(0, 23, 115, 0.14);
    border-radius: 999px;
    background: transparent;
    padding: 0 78px 0 26px;
    font-size: 1.1rem;
    color: #001773;
    outline: none;
}

.remates-listado-search-input::placeholder{
    color: rgba(0, 23, 115, 0.25);
}

.remates-listado-search-btn{
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: #001773;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* GRID */
.remates-listado-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 24px 34px;
}

.remate-card{
    background: rgba(255,255,255,0.72);
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.remate-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 23, 115, 0.08);
}

.remate-card-image-wrap{
    padding: 14px 14px 0;
}

.remate-card-image{
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.remate-card-body{
    padding: 12px 18px 18px;
}

.remate-card-title{
    margin: 0 0 8px;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 500;
    color: #001773;
}

.remate-card-text,
.remate-card-meta{
    margin: 0 0 6px;
    font-size: .86rem;
    line-height: 1.55;
    color: #001773;
}

.remate-card-btn{
    margin-top: 10px;
    width: 160px;
    min-height: 36px;
    padding: 4px 5px 4px 14px;
    border-radius: 999px;
    background: #dff3f2;
    color: #001773;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    overflow: hidden;
    font-size: .92rem;
}

.remate-card-btn-icon{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(10, 36, 136, 0.14);
    flex-shrink: 0;
    position: relative;
}

.remate-card-btn-icon::before{
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 13px;
    height: 13px;
    background-image: url('/img/icon/vector.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.remate-card-btn:hover .remate-card-btn-icon{
    background: #001773;
}

.remate-card-btn:hover .remate-card-btn-icon::before{
    transform: rotate(-45deg);
    background-image: url('/img/icon/vector-white.png');
}

/* BOTÓN ABAJO */
.remates-listado-action{
    margin-top: 54px;
    display: flex;
    justify-content: center;
}

.remates-listado-main-btn{
    width: 270px;
    min-height: 56px;
    padding: 7px 8px 7px 22px;
    border-radius: 999px;
    background: #dff3f2;
    color: #001773;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: background .35s ease, transform .25s ease;
}

.remates-listado-main-btn::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 36, 136, 0.08);
    opacity: 0;
    transition: opacity .35s ease;
}

.remates-listado-main-btn:hover{
    color: #001773;
    transform: translateY(-1px);
}

.remates-listado-main-btn:hover::after{
    opacity: 1;
}

.remates-listado-main-btn > span:first-child{
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: 500;
    transition: transform .35s ease;
}

.remates-listado-main-btn-icon{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 36, 136, 0.14);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: background .35s ease, transform .35s ease;
}

.remates-listado-main-btn-icon::before{
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    background-image: url('/img/icon/vector.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform .35s ease, background-image .35s ease;
}

.remates-listado-main-btn:hover > span:first-child{
    transform: translateX(10px);
}

.remates-listado-main-btn:hover .remates-listado-main-btn-icon{
    background: #001773;
    transform: scale(1.04);
}

.remates-listado-main-btn:hover .remates-listado-main-btn-icon::before{
    transform: rotate(-45deg);
    background-image: url('/img/icon/vector-white.png');
}

/* RESPONSIVE */
@media (max-width: 1199.98px){
    .remates-listado-title{
        font-size: 2.7rem;
    }

    .remates-listado-grid{
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 991.98px){
    .remates-listado-header{
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .remates-listado-search-wrap{
        justify-content: flex-start;
    }

    .remates-listado-title{
        font-size: 2.3rem;
    }
}

@media (max-width: 767.98px){
    .remates-listado-section{
        padding: 70px 0 70px;
    }

    .remates-listado-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .remates-listado-title{
        font-size: 2rem;
    }

    .remates-listado-search-input{
        height: 56px;
        font-size: 1rem;
        padding-right: 72px;
    }

    .remates-listado-search-btn{
        width: 46px;
        height: 46px;
    }

    .remates-listado-main-btn{
        width: 220px;
        min-height: 50px;
        padding-left: 18px;
    }

    .remates-listado-main-btn-icon{
        width: 38px;
        height: 38px;
    }
}
