/* Full width container */
#block-vinfast-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.dealer-locator-container {
    margin: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Banner */
.dealer-banner {
    color: #fff;
    padding: 10rem 10% 6rem;
    text-align: center;
}

.dealer-banner img {
    transform: rotate(180deg);
    position: absolute;
    top: 0;
    left: 0;
    max-height: 360px;
    width: 100%;
    z-index: -1;
    object-fit: cover;
}

.dealer-banner p {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 120%;
    text-align: start;
    color: #FFFFFF;
}

.dealer-banner h2 {
    font-weight: 600;
    font-size: 4rem !important;
    line-height: 120%;
    text-align: start;
    color: #FFFFFF;
}

.dealer-banner p.description {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: #FFFFFF;
    margin: 0;
}

/* Banner */

/* Filter section */
.dealer-filter-section {
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    margin-bottom: 2rem;
    background-color: #F7F9F9;
    padding: 3rem;
    margin: 0rem 10%;
}

.filter-results {
    padding: 3rem 10%;
}



.dealer-filter-section .group-input {
    position: relative;
    width: 22%;
    height: 56px;
}

.dealer-filter-section .group-input input {
    text-indent: 1.8rem;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 150%;
    border: 1px solid #D9E1E2;
    padding: 0;
    cursor: pointer;
}

.dealer-filter-section .group-input .icon-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
}

.dealer-filter-section .group-input .icon-clear {
    position: absolute;
    display: none;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.dealer-filter-section .group-input label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 2rem;
    width: 100%;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 56px;
    display: flex;
    justify-content: space-between;
}

/* When input is not empty */
.dealer-filter-section .group-input input:not(:placeholder-shown) {
    text-indent: 4.5rem;
}

.dealer-filter-section .group-input input:not(:placeholder-shown)+label {
    display: none;
    transition: all 0.5s ease-in-out;
}

.dealer-filter-section .group-input input:not(:placeholder-shown)~.icon-search {
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
}

.dealer-filter-section .group-input input:not(:placeholder-shown)~.icon-clear {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    left: 2rem;
    transition: all 0.5s ease-in-out;
}

/* When input is not empty */
.dealer-filter-section .search-btn {
    flex: 1;
    background-color: #1464F4;
    border: none;
}

.dealer-filter-section .search-btn img {
    margin: auto;
}

.results-content p {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 150%;
    color: #000000;
}

.results-content p>span {
    font-size: 1.6rem;
    color: #28A745;
}

.results-content p span.item-0 {
    color: #FF0000;
}

.empty-results {
    text-align: center;
}

.empty-results h5 {
    font-weight: 600;
    font-size: 2.8rem !important;
    line-height: 150%;
    color: #000000;
}

.empty-results p {
    font-weight: 600;
    font-size: 2rem;
    line-height: 150%;
    letter-spacing: 0%;
    color: #3C3C3C;
}

.empty-results p a {
    color: #1464F4;
}

.service-centers-no-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.service-centers-no-results img {
    max-width: 120px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.service-centers-no-results h5 {
    font-weight: 600;
    font-size: 2.8rem !important;
    line-height: 150%;
    color: #000000;
    margin-bottom: 1rem;
}

.service-centers-no-results p {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: #3C3C3C;
}

.service-centers-no-results p a {
    color: #1464F4;
    text-decoration: none;
}

.service-centers-no-results p a:hover {
    text-decoration: underline;
}

/* Filter section */

.dealer-list {
    padding: 24px 10% 96px 10%;
}

.service-centers {
    background-color: #F7F9F9;
    padding: 96px 10%;
}

.charging-points {
    padding: 96px 10%;
}

/* Service Centers Header */
.service-centers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.service-centers-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 150%;
    color: #000000;
}

.service-type-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-type-filters .filter-label {
    font-weight: 600;
    font-size: 1.6rem;
    color: #3C3C3C;
    margin-right: 0.5rem;
}

.service-type-btn {
    padding: 4px 8px;
    background: #FFFFFF;
    border: 1px solid #D9E1E2;
    border-radius: 100px;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 150%;
    color: #3C3C3C;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-type-btn .checkbox-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.service-type-btn .service-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.service-type-btn .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #D9E1E2;
    border-radius: 50%;
    background: #FFFFFF;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.service-type-btn .checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}

.service-type-btn .service-checkbox:checked~.checkmark {
    background: #1464F4;
    border-color: #1464F4;
}

.service-type-btn .service-checkbox:checked~.checkmark:after {
    display: block;
}

.service-type-btn:hover {
    border-color: #000000;
    color: #000000;
}

.service-type-btn:hover .checkmark {
    border-color: #000000;
}

.service-type-btn.active {
    background: #3C3C3C;
    border-color: #3C3C3C;
    color: #FFFFFF;
}

.service-type-btn.active .checkmark {
    border-color: #FFFFFF;
}

.service-type-btn.active .service-checkbox:checked~.checkmark {
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.service-type-btn.active .service-checkbox:checked~.checkmark:after {
    background: #3C3C3C;
}

.service-type-btn[data-type=\"all\"] {
    padding: 0.8rem 2rem;
}

.service-type-btn[data-type=\"all\"].active {
    background: #3C3C3C;
    color: #FFFFFF;
}

/* Service Centers Header */

.dealer-card {
    max-width: fit-content;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dealer-card>img {
    width: 100%;
    height: 227px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.dealer-card.no-image>img {
    display: none;
}

.service-center-card {
    background-color: #FFFFFF;
}

.swiper:not(.swiper-initialized) .dealer-card {
    margin-right: 30px;
}

.swiper-initialized .dealer-card {
    max-width: unset;
}

.card-content {
    background: #F7F9F9;
    padding: 2.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Service Center Card - White Background */
.service-center-card .card-content {
    background: #FFFFFF;
}

.card-content h3 {
    font-weight: 600;
    font-size: 2rem;
    line-height: 150%;
    vertical-align: middle;
    color: #3C3C3C;
    margin-bottom: .4rem;
}

.card-content .address {
    margin: 0;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 150%;
    margin-bottom: 1.2rem;
    flex: 1;
}

.card-content .hotline {
    background: linear-gradient(0deg, rgba(20, 100, 244, 0.1), rgba(20, 100, 244, 0.1)), linear-gradient(0deg, #FFFFFF, #FFFFFF);
    padding: 0.8rem;
    text-align: center;
    margin-bottom: 1.6rem;
    font-size: 1.6rem;
}

.card-content a {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 150%;
    text-transform: uppercase;
    color: #1464F4;
}

/* Services Offered */
.services-offered {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
}

.services-offered .services-title {
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 150%;
    color: #1464F4;
    margin-bottom: 1.2rem;
}

.services-offered .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.services-offered .service-list li {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 150%;
    color: #3C3C3C;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.services-offered .service-list li .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.services-offered .service-list li .icon img,
.services-offered .service-list li .icon svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Services Offered */

.dealer-banner h2 {
    margin: 0;
    font-size: 2.5rem;
}

.dealer-banner p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Swiper custom */
.swiper .swiper-wrapper {
    padding-bottom: 6rem;
}

.swiper .swiper-wrapper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.swiper .swiper-wrapper {
    align-items: stretch;
}

.swiper:not(.swiper-initialized) .swiper-wrapper .swiper-slide {
    max-width: 410px;
}

.swiper.swiper-initialized .swiper-wrapper .swiper-slide {
    width: 30%;
    margin-right: 30px;
}

.swiper .swiper-wrapper .swiper-slide img {
    width: 100%;
    max-width: unset;
}

.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

.swiper-initialized .swiper-button-prev,
.swiper-initialized .swiper-button-next {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
    background: #3C3C3C;
    border-radius: 100px;
    top: unset !important;
    bottom: 0px !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    content: '' !important;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13 7.00011C13 7.25258 12.8002 7.45725 12.5537 7.45725L1.44628 7.45725C1.19981 7.45725 1 7.25258 1 7.00011C1 6.74764 1.19981 6.54297 1.44628 6.54297L12.5537 6.54297C12.8002 6.54297 13 6.74764 13 7.00011Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.52212 1.80064C6.6964 1.97917 6.6964 2.26861 6.52212 2.44714L2.07736 7.00008L6.52212 11.553C6.6964 11.7315 6.6964 12.021 6.52212 12.1995C6.34784 12.378 6.06527 12.378 5.89098 12.1995L1.13065 7.32333C0.956368 7.14481 0.956368 6.85536 1.13065 6.67683L5.89098 1.80064C6.06527 1.62212 6.34784 1.62212 6.52212 1.80064Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: center;
    display: block;
    width: 32px;
    height: 32px;

}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    background: #F7F9F9;
    opacity: 1 !important;
}

.swiper-button-next.swiper-button-disabled:after,
.swiper-button-prev.swiper-button-disabled:after {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13 7.00011C13 7.25258 12.8002 7.45725 12.5537 7.45725L1.44628 7.45725C1.19981 7.45725 1 7.25258 1 7.00011C1 6.74764 1.19981 6.54297 1.44628 6.54297L12.5537 6.54297C12.8002 6.54297 13 6.74764 13 7.00011Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.52212 1.80064C6.6964 1.97917 6.6964 2.26861 6.52212 2.44714L2.07736 7.00008L6.52212 11.553C6.6964 11.7315 6.6964 12.021 6.52212 12.1995C6.34784 12.378 6.06527 12.378 5.89098 12.1995L1.13065 7.32333C0.956368 7.14481 0.956368 6.85536 1.13065 6.67683L5.89098 1.80064C6.06527 1.62212 6.34784 1.62212 6.52212 1.80064Z' fill='black'/%3E%3C/svg%3E");
}

.swiper-pagination-bullets {
    bottom: 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #D9E1E2 !important;
    opacity: 1 !important;
    margin: 0 !important;
}

.swiper-pagination-bullet-active {
    background: #1464F4 !important;
    width: 32px !important;
    border-radius: 4px !important;
    transform: scale(1.1) !important;
}

/* Swiper controls container */
.swiper-controls {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px !important;
    margin-top: 24px;
    position: relative !important;
    bottom: auto !important;
    width: 100% !important;
}

.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex-shrink: 0;
    margin: 0 !important;
}

.swiper-pagination-bullets {
    position: static !important;
    bottom: auto !important;
    max-width: 500px !important;
    width: 100% !important;
    flex: 0 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px !important;
}

.swiper-button-next:after {
    transform: rotate(180deg);
}

/* Swiper custom */

/* Select2 custom */
select.select2+.select2-container {
    height: 100%;
}

select.select2+.select2-container .selection .select2-selection {
    height: 100%;
    border-radius: 0;
    border: 1px solid #D9E1E2;
    background-color: #fff;
    display: flex;
    align-items: center;
}

select.select2+.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 150%;
    padding: 2rem;
}

select.select2+.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 54px;
    right: 1rem;
    top: 0;
}

.select2-dropdown.select2-dropdown--below,
.select2-dropdown.select2-dropdown--above {
    padding: 1rem;
}

.select2-container .select2-dropdown .select2-results__option {
    padding: 8px 6px;
}

.select2-container .select2-dropdown .select2-results__option.select2-results__option--highlighted,
.select2-container .select2-dropdown .select2-results__option[aria-selected="true"] {
    background: linear-gradient(0deg, rgba(20, 100, 244, 0.1), rgba(20, 100, 244, 0.1)),
        linear-gradient(0deg, #FFFFFF, #FFFFFF);
    color: #000000;

}

.select2-search--dropdown {
    padding: 4px 0;
    margin-bottom: 1.2rem;
    height: 48px;
}

.select2-search--dropdown input {
    height: 100%;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 48px;
    padding: 0 1.6rem !important;
    background: linear-gradient(0deg, rgba(20, 100, 244, 0.1), rgba(20, 100, 244, 0.1)),
        linear-gradient(0deg, #FFFFFF, #FFFFFF);
}

/* Select2 custom */

@media (max-width: 768px) {


    .dealer-filter-section {
        flex-direction: column;
    }

    .dealer-banner {
        padding: 11rem 1.6rem 13.3rem;
    }

    .dealer-banner img {
        height: 400px;
    }

    .dealer-filter-section {
        padding: 2.4rem 1.6rem;
        margin: 0;
    }

    .filter-results {
        padding: 2.4rem 1.6rem;
    }

    .dealer-filter-section .search-btn {
        flex: unset;
        width: 100%;
        height: 56px;

        font-weight: 600;
        font-size: 1.6rem;
        line-height: 150%;
        text-align: center;
        color: #fff;
    }

    .results-content p {
        font-size: 2rem;
    }

    .dealer-banner h2 {
        font-size: 3.2rem !important;
    }

    .swiper-pagination-bullets {
        display: none !important;
    }

    .swiper-controls {
        gap: 100px !important;
    }

    .dealer-filter-section .group-input {
        width: 100%;
    }

    .service-centers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .service-centers-header h2 {
        font-size: 3.2rem;
    }

    .service-type-filters {
        display: none !important;
    }

    .dealer-list {
        padding: 0 1.6rem 8rem 1.6rem;
    }

    .service-centers {
        padding: 6rem 1.6rem;
    }

    .charging-points {
        padding: 6rem 1.6rem;
    }

    /* Swiper full width on mobile */
    .swiper .swiper-wrapper {
        padding-bottom: 4rem;
    }

    .swiper:not(.swiper-initialized) .swiper-wrapper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .swiper.swiper-initialized .swiper-wrapper .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .dealer-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .dealer-card>img {
        border-radius: 0;
        width: 100%;
    }

    .card-content {
        border-radius: 0;
    }
}

@media screen and (max-width: 1023px) {}

@media (min-width: 769px) {
    .dealer-card>img {
        height: 195px;
    }
}