/* NEUMÁTICOS */

.ns-rel-wrap {
    margin: 40px 0;
}

.ns-rel-title {
    text-align: center;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 38px;
    color: #0b123c !important;
    text-align: center;
    margin-bottom: 30px;
}

.ns-rel-swiper:not(.swiper-initialized) .ns-rel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1024px) {
    .ns-rel-swiper:not(.swiper-initialized) .ns-rel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ns-rel-swiper:not(.swiper-initialized) .ns-rel-pagination {
        display: none;
    }
}

.ns-rel-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid #d9dde3;
    border-radius: 18px;
    min-height: 140px;
    padding: 20px 30px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.ns-rel-card:hover {
    transform: translateY(-2px);
    border-color: #b8c0cc;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

.ns-rel-card:focus {
    outline: none;
}

.ns-rel-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 115, 170, .35), 0 10px 26px rgba(0, 0, 0, .10);
}

.ns-rel-card-text {
    text-align: center;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.2em;
}

.ns-rel-card--bg {
    background-color: #0b123c;
    background-size: cover;
    background-position: center;
    border-color: transparent;
    overflow: hidden;
}

.ns-rel-card--bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 60, 0.45);
    z-index: 1;
}

.ns-rel-card--bg .ns-rel-card-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
}


.ns-rel-pagination {
    position: relative;
    margin-top: 14px;
    text-align: center;
}

.ns-rel-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    opacity: .25;
    margin: 0 5px !important;
    background: #0b123c;
    transition: opacity .15s ease, transform .15s ease;
}

.ns-rel-pagination .swiper-pagination-bullet-active {
    opacity: .9;
    transform: scale(1.2);
}


/* LOCALIZACIONES */

.ns-loc-wrap {
    margin: 40px 0;
}

.ns-loc-title {
    text-align: center;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 38px;
    color: #0b123c !important;
    text-align: center;
    margin-bottom: 30px;
}

.ns-loc-swiper:not(.swiper-initialized) .ns-loc-grid {
    display: grid;
    grid-template-columns: repeat(var(--ns-loc-cols, 3), 1fr);
    gap: 16px;
    width: 100%;
}

.ns-loc-card {
    width: 100%;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e5e8ee;
    border-radius: 10px;
    padding: 25px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ns-loc-card:hover {
    transform: translateY(-2px);
    border-color: #cfd6e2;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

.ns-loc-card:focus {
    outline: none;
}

.ns-loc-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 115, 170, .35), 0 10px 26px rgba(0, 0, 0, .10);
}

.ns-loc-pin {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ns-loc-pin-svg {
    fill: #e23b2e;
}

.ns-loc-pin-dot {
    fill: #111;
}

.ns-loc-text {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    margin-top: 35px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #2b2b2b;
    line-height: 20px;
}

@media (max-width: 1024px) {
    .ns-loc-swiper:not(.swiper-initialized) .ns-loc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ns-loc-swiper:not(.swiper-initialized) .ns-loc-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 767px) {
    .ns-loc-swiper:not(.swiper-initialized) .ns-loc-pagination {
        display: none;
    }

    .ns-loc-title, .ns-rel-title, .ns-brand-title {
        font-size: 26px;
    }
}

.ns-loc-pagination {
    position: relative;
    margin-top: 14px;
    text-align: center;
}

.ns-loc-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    opacity: .25;
    margin: 0 5px !important;
    background: #0b123c;
    transition: opacity .15s ease, transform .15s ease;
}

.ns-loc-pagination .swiper-pagination-bullet-active {
    opacity: .9;
    transform: scale(1.2);
}


/* MARCAS */
.ns-brand-wrap {
    margin: 40px 0;
}

.ns-brand-title {
    text-align: center;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 38px;
    color: #0b123c !important;
    margin-bottom: 30px;
}

.ns-brand-card .ns-rel-card-text {
    font-size: 16px;
    letter-spacing: .6px;
}

.ns-brand-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ns-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    text-decoration: none;
}

.ns-brand-img {
    width: 100%;
    max-height: 100px;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.ns-brand-swiper .swiper-wrapper {
    align-items: center;
}

.ns-brand-wrap .ns-rel-card{
    box-shadow: unset;
}

.ns-brand-wrap .ns-rel-card:hover {
    transform: unset;
    border-color: #d9dde3;
    box-shadow: unset;
}

.ns-brand-pagination{
  position: relative;
  margin-top: 14px;
  text-align: center;
}

.ns-brand-pagination .swiper-pagination-bullet{
  width: 6px;
  height: 6px;
  opacity: .25;
  margin: 0 5px !important;
  background: #0b123c;
  transition: opacity .15s ease, transform .15s ease;
}

.ns-brand-pagination .swiper-pagination-bullet-active{
  opacity: .9;
  transform: scale(1.2);
}

@media (max-width: 767px) {
    .ns-brand-img{
        max-height: 145px;
    }

    .ns-brand-pagination{
        margin-top: 25px;
    }
}
