:root {
    --darkgray: #54565a;
    --red: #c40d3c;
    --lightgray: #f5f5f5;
    --gray: #8c919b;
}

* {
    font-family: "Roboto", sans-serif;
}

.text-graydark {
    color: var(--darkgray);
}

.secundary-color {
    color: var(--red);
}

ul {
    padding-left: 0px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

p {
    text-wrap: pretty;
}
.nav-item {
    font-weight: 600;
    white-space: 1.5px;
}
.bg-nav{
    background-color: #2f324620 !important;
    padding: 10px 10px !important;
}

.paginator-text{
    color: #2f3646 !important;
    font-size: 14px !important;
}

.nav-items.header {
    display: flex;
    justify-content: center;
    color: var(--darkgray);
    font-weight: 400;
    margin-bottom: 7px;
    flex-wrap: wrap;
}
.pagination{
    font-size: 16px !important;
    letter-spacing: 1px !important;
}

.active .page-link {
    background-color: #2196f3 !important;
}
.nav-items.footer {
    display: flex;
    justify-content: center;
    color: white;
    font-weight: 400;
    margin-bottom: 7px;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-item.header {
    /* border-right: 1px solid var(--darkgray); */
    line-height: 10px;
}

.nav-item.footer {
    border-right: 1px solid white;
    line-height: 10px;
}

.nav-link {
    padding-inline: 20px;
    padding-top: 3px;
}

.nav-item:after {
    content: "";
    display: block;
    margin: auto;
    height: 3.5px;
    width: 0;
    top: 8px;
    position: relative;
    background: transparent;
    transition: all 0.3s;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
    background-color: #2196f3;
}

.nav-item:last-child {
    border-right: none;
}

.bg-lightgray {
    background-color: #ffffff;
}

.bg-main {
    background-color: var(--darkgray);
}

.title-section {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-align: start;
}

.color-red {
    color: var(--red);
}

.fs-12 {
    font-size: 12px;
}

.fs-10 {
    font-size: 10px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px!important;
}

.fs-20 {
    font-size: 20px;
}

.fs-32 {
    font-size: 32px;
}

.fs-20 {
    font-size: 20px !important;
}

.title-card {
    background-color: #2f3646;
    padding: 12px 0px;
    text-align: center;
}

.text-since {
    font-weight: 300;
    color: var(--darkgray);
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;
}

.text-sinceL {
    font-weight: 300;
    color: #C0C1C2;
    letter-spacing: 2px;
    font-size: 15px;
    text-transform: uppercase;
}

.text-price {
    font-weight: 700;
    font-size: 26px;
    color: #2f324690;
    letter-spacing: 0.5px;
}

.text-priceL {
    font-weight: 900;
    font-size: clamp(0.75rem, calc(0.8rem + 0.3493vw), 1.5rem);
    color: #C0C1C2;
    letter-spacing: 2px; 
}

.brand-card {
    color: white;
    font-weight: 300;
    font-size: 18px;
}

.position-iva{
    position: absolute;
    top: -72px;
    right: -17px;
    background-color: transparent;
    color: var(--red);
    padding: 5px 10px;
    font-size: 11px;
    border-bottom-left-radius: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.position-ivaV{
    position: absolute;
    top: -56px;
    right: 34px;
    background-color: transparent;
    color: var(--red);
    padding: 5px 10px;
    font-size: 11px;
    border-bottom-left-radius: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}
.model-card {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
}

@media(991px < width < 1200px) {
    .text-price {
        font-size: 28px;
    }
    .btn-sg {
        font-size: 14px !important;
    }
}

.btn-sg-revert{
    width: 100%;
    background-color: #fff;
    border: 2px solid #2196f3;
    border-radius: 6px;
    padding: 8px 30px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    color: #2196f3;
    transition: 0.4s;
}
.btn-sg-revert:hover{
    background-color: #2196f3;
    color: #fff;
    transition: 0.4s;
}

.btn-sg {
    width: 100%;
    background-color: #2196f3;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 8px 30px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    color: #ffffff;
    transition: 0.4s;
}

.btn-sg:hover {
    background-color: #ffffff;
    color: #2196f3;
    transition: 0.4s;
}
.card-main{
    border: 1px solid #2f324620;
    border-radius: 6px;
    overflow: hidden;
}

.border-card {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.swiper {
    width: 100%;
    height: 100%;
}
.logoSitio{
    object-fit: contain;
    height: 60px;
    width: 100%;
}
.navCustom{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
}
.firstItem{
    flex: 0 0 50%;
}
.secondItem{
    flex: 0 0 50%;
    display: flex;
    justify-content: start;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-title {
    letter-spacing: 2px;
    font-size: 32px;
}

.footer-tab {
    background-color: #8c919b;
    letter-spacing: 1.4px;
    border: none !important;
    text-transform: uppercase;
    color: white;
    width: 165px;
    height: 55px;
    border-radius: 15px 15px 0px 0px !important;
}

.footer-tab:hover {
    border: none;
    color: white;
}

.nav-tabs .nav-link.active {
    background-color: #393939;
    border: none;
    color: white;
}

.tab-content {
    z-index: 2;
    position: relative;
}

.tab-sucursal {
    background-color: #393939;
    border-radius: 15px;
    padding-inline: 35px;
}

.sucursal-content {
    border-right: 3px solid black;
    margin: 10px 0px;
}

.sucursal-content:last-child {
    border-right: none;
}

.sucursal-pad {
    padding: 10px;
}

.sucursal-pad > p {
    font-size: 14px;
    color: white;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.title-content {
    font-size: 14px;
    border-left: 2px solid var(--red);
    padding-left: 15px;
    padding-bottom: 10px;
}

.sucursal-usedcars {
    font-size: 14px;
    padding-left: 15px;
    color: white;
    font-weight: 300;
    letter-spacing: 1.4px;
    margin-bottom: 15px;
}

.card-usedcars {
    font-size: 14px;
    color: white;
    font-weight: 300;
    letter-spacing: 1.4px;
    margin-bottom: 15px;
}

.btn-sg-footer {
    border: 1px solid #fff;
    margin-left: 15px;
    border-radius: 15px;
    padding: 8px 30px;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    background-color: transparent;
    color: white;
    transition: 0.4s;
}

.btn-sg-footer:hover {
    background-color: var(--red);
    border: 1px solid var(--red);
    color: white;
    transition: 0.4s;
}

.footer-card {
    background-color: #393939;
    border-radius: 15px;
    padding: 30px 20px;
    flex: 1; /* Esto hace que todas las cards tomen la misma altura */
    height: 100%;
    min-height: 663.4px;
}

.separator::after {
    text-align: center;
    content: "";
    width: 100%;
    height: 2px;
    background-color: black;
    display: block;
    margin-top: 20px;
}

.carousel-control-next-icon {
    background-image: url("../images/arrow_right.png");
    width: 22px;
    height: 43px;
}

.carousel-control-prev-icon {
    background-image: url("../images/arrow_left.png");
    width: 22px;
    height: 43px;
}
.carousel-indicators {
    top: -30px;
    bottom: unset;
}

.carousel-indicators [data-bs-target] {
    height: 13px;
    width: 13px;
    border-radius: 50%;
    border: 4px solid transparent;
}

.carousel-indicators .active {
    background-color: #2196f3;
    border: 4px solid #d9d9d9;
}

.carousel-item {
    height: 100%;
}

#footer-carousel > div {
    padding-right: 5px;
}

.carousel-inner {
    display: flex;
    flex-wrap: nowrap;
}

.carousel-item.active {
    display: flex;
}

.spaced-text {
    letter-spacing: 2.5px;
}

@media (width < 991px) {
    .nav-items.footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 30px;
        place-self: center;
    }
    .nav-item.footer {
        border-right: none;
    }
    .footer-wrapper {
        display: grid;
    }
    .btn-mobile {
        width: 30%;
        height: 40px;
        background-color: #f8f9fa;
        border: none;
        border-radius: 5px;
        margin: 5px;
    }

    /* Oculta las tabs en dispositivos móviles */
    .nav-tabs {
        display: none;
    }

    /* Ajustes en la visualización de contenidos en móviles */
    .tab-content {
        padding-top: 20px;
    }
}
