/*Banner*/

.page-banner-text {
    justify-content: space-between;
    padding: 270px 0;
    padding-bottom: 28px;
}

.page-banner-input-and-buttons {
    display: flex;
    align-items: end;
    column-gap: 17.5px;
}

.page-banner-input-area {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 9px;
}

.page-banner-input-area label {
    font-family: Poppins;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #FFFFFF;
}

.page-banner-select select {
    width: 100%;
    padding: 18px 40px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #8A8A8A;
    appearance: none;
    box-shadow: none;
    outline: none;
}

.page-banner-select {
    position: relative;
}

.page-banner-select::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translate(0, -50%);
}

.page-banner-buttons {
    display: flex;
    align-items: center;
    column-gap: 17.5px;
}

.page-banner-buttons .page-banner-filter-button {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #fff;
    padding: 19.5px 49px;
    width: max-content;
    max-width: 100%;
    background: #026002;
    border: 1px solid #026002;
    border-radius: 10px;
    box-shadow: none;
    outline: none;
}

.page-banner-buttons .page-banner-see-dealers-button {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #026002;
    background: #fff;
    border: 1px solid #fff;
    width: max-content;
    max-width: 100%;
    padding: 19.5px 22px;
    border-radius: 10px;
    box-shadow: none;
    outline: none;
}


.mobile-banner-input-and-buttons {
    display: none;
    align-items: center;
    column-gap: 12px;
    padding-top: 34px;
}


/*Satış Noktaları*/

.about-us-section {
    padding: 118px 0;
}




.sales-partner-card {
    padding: 24px;
    padding-bottom: 64px;
    background: #F5F5F5;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    height: 100%;
    position: relative;
}

.sales-partner-card-top {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E6E6E6;
}

.sales-partner-card-bottom {
    padding-top: 12px;
}

.sales-partner-card-address-and-phone {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.sales-partner-card-button a {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.sales-partner-card-city {
    font-family: Poppins;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #026002;
}

.sales-partner-card-title {
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #000000;
    word-break: break-word;
}

.sales-partner-card-address {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #343434;
    word-break: break-word;
}

.sales-partner-card-phone {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #343434;
}

.sales-partner-card-button {
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: end;
    position: absolute;
    bottom: 24px;
    right: 24px;
}

.sales-partner-card-button a {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #026002;
    text-decoration: none;
}

.sales-partner-card-button a .icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #026002;
    border-radius: 50px;
}

.clear-select-filter {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translate(0px, -50%);
}

    .clear-select-filter a {
        color: #000;
        font-size: 18px;
        line-height: 26px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.branch-card {
    background: #fff;
    border-radius: 8px;
    padding: 18px 18px 10px 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px #00000010;
    border: 1px solid #eee;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.branch-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.branch-card-logo {
    font-size: 28px;
    color: #026002;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branch-card-title {
    font-family: Poppins, Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #111;
    letter-spacing: 0.5px;
    word-break: break-word;
    overflow-wrap: anywhere;
    flex: 1;
    min-width: 0;
}

.branch-card-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 12px 0 10px 0;
}

.branch-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.branch-card-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.branch-card-icon {
    font-size: 18px;
    color: #026002;
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.branch-card-link {
    color: #026002;
    font-family: Poppins, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: anywhere;
        transition: color 0.2s;
    flex: 1;
    min-width: 0;
}

.branch-card-link:hover {
    color: #111;
    text-decoration: underline;
}

.branch-icon {
    flex-shrink: 0;
}

.branch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-title {
    font-size: 20px;
    font-weight: 600;
    color: #026002;
    margin-bottom: 8px;
    word-break: break-word;
}

.branch-details {
    font-size: 15px;
    color: #343434;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.branch-details a {
    color: #343434;
    text-decoration: none;
}

@media only screen and (max-width: 1640px)
{
    
}

@media only screen and (max-width: 1399px)
{
    
}

@media only screen and (max-width: 1199px)
{
.corporate-identity-card-image, .corporate-identity-card-image img {
    width: 40px;
    height: unset;
    object-fit: contain;
}
}


@media only screen and (max-width: 991px)
{

    .page-banner-input-area label {
        font-size: 15px;
        line-height: 23px;
        color: #181717;
    }
    
    .page-banner-text {
    max-width: 100%;
    padding: 70px 16px;
    padding-bottom: 30px;
    justify-content: end;
    row-gap: 10px;
    padding-right: 0;
}

.about-us-section {
    padding: 75px 0;
}

.page-banner-input-and-buttons
{
    display: none;
}

    .mobile-banner-input-and-buttons {
        display: flex;
        align-items: end;
        padding-top: 70px;
    }


.page-banner-buttons {
    display: flex;
    align-items: center;
    column-gap: 12px;
}

.page-banner-buttons .page-banner-filter-button {
    font-size: 15px;
    line-height: 23px;
    padding: 16px 24px;
}

.page-banner-buttons .page-banner-see-dealers-button {
    font-size: 15px;
    line-height: 23px;
    padding: 16px 20px;
}

    .leaflet-sidebar {
        width: 100vw;
        left: 0;
        top: 0;
        height: 100vh;
        min-width: unset;
        max-width: unset;
    }
    .sidebar-branchlist {
        max-height: calc(100vh - 180px);
    }

    .branch-card {
        padding: 14px 10px 8px 10px;
        margin-bottom: 12px;
    }
    .branch-card-title {
        font-size: 18px;
    }
    .branch-card-link {
        font-size: 14px;
    }
}



/*Map*/
.map-container {
    position: relative;
    width: 1600px;
    height: 700px;
    max-width: 100%;
    margin: auto;
}

#map {
    width: 1600px;
    margin: auto;
    max-width: 100%;
    height: 700px;

}

.leaflet-sidebar {
    display: flex;
    flex-direction: column;
    width: 400px;
    min-width: 280px;
    max-width: 100vw;
    height: 91%;
    background-color: white;
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 100 !important;
    box-sizing: border-box;
    overflow-x: hidden;
}

.leaflet-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-searchbar {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding-bottom: 8px;
}

.sidebar-branchlist {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 220px); /* Adjust as needed for header/searchbar */
    padding-right: 4px;
}

.leaflet-pane {
    z-index: 0 !important;
}

.leaflet-sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.leaflet-sidebar-close i {
    font-size: 18px;
    color: #000;
}

.leaflet-sidebar-header {
    margin-bottom: 8px;
}

/* beyaz kutu */
.custom-cluster {
    background: white;
    border-radius: 10px;
    padding: 8px 14px;
    border: 1px solid #ccc;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    position: relative;
}

/* sayı */
.cluster-count {
    font-weight: bold;
    font-size: 30px;
    color: black;
}

/* ters üçgen tamamen bitişik */
.cluster-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white; /* kutu rengi ile aynı */
    position: absolute;
    bottom: -1px; /* -1px ile kutuya bitişik, çizgi görünmez */
    left: 50%;
    transform: translateX(-50%);
}

/* Marker kapsayıcı */
.custom-marker {
    width: 75px;
    height: 75px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px #00000040;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .custom-marker img {
        width: 28px;
        height: 28px;
        transition: all 0.3s ease;
    }

    /* Hover efekti */
    .custom-marker:hover {
        background-color: #026002; /* yeşil */
        transform: scale(1.1);
    }

        .custom-marker:hover img {
            content: url('/img/camsan/Group 110.svg'); /* hover görseli */
        }

.custom-sidebar {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 400px;
    min-width: 280px;
    max-width: 95vw;
    height: 91%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0001;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.custom-sidebar-header {
    padding: 18px 18px 10px 18px;
    font-size: 20px;
    font-weight: 700;
    color: #026002;
    border-bottom: 1px solid #eee;
}

.page-banner-buttons .page-banner-see-dealers-button {
    font-size: 15px;
    line-height: 23px;
    padding: 16px 8px;
    width: 100%;
}

.page-banner-buttons .page-banner-filter-button {
    font-size: 15px;
    line-height: 23px;
    padding: 18px 8px;
    width: 100%;
}

.custom-sidebar-branchlist {
    overflow: hidden;
    overflow-y: auto;
}


@media only screen and (max-width: 375px)
{
    .page-banner-buttons {
    flex-direction: column;
    row-gap: 12px;
}
}

.custom-marker-hover {
    background-color: #026002 !important;
    transform: scale(1.1);
}
.custom-marker-hover img {
    content: url('/img/camsan/Group 110.svg');
}
.branch-card.hover {
    box-shadow: 0 0 0 2px #026002;
    border-color: #026002;
}

/* Category Checkbox Styles */
.category-select-container {
    position: relative;
}

.category-select-container .styledSelect {
    width: 100%;
    padding: 18px 40px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #8A8A8A;
    cursor: pointer;
    background: #fff;
}

.category-selections {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    margin-top: 8px;
    padding: 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
}

.category-item:hover {
    background-color: #f5f5f5;
    border-radius: 6px;
}

.category-checkbox {
    margin: 0;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #026002;
}

.category-item label {
    margin: 0;
    cursor: pointer;
    font-family: Poppins;
    font-size: 14px;
    color: #333;
    user-select: none;
}

/* Category Badge Styles */
.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #026002 0%, #038003 100%);
    color: #fff;
    border-radius: 20px;
    font-family: Poppins;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(2, 96, 2, 0.2);
    transition: all 0.3s ease;
}

.category-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 96, 2, 0.3);
}

.category-badge-small {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #026002 0%, #038003 100%);
    color: #fff;
    border-radius: 15px;
    font-family: Poppins;
    font-size: 10px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(2, 96, 2, 0.15);
}


@media (max-width: 768px) {
    .map-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .custom-sidebar {
        order: 2;
        width: 100% !important;
        position: relative !important;
        height: auto !important;
        overflow-y: auto !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .custom-sidebar-branchlist {
        max-height: 500px !important;
        overflow-y: auto !important;
    }

    #map {
        order: 1;
        width: 100% !important;
        height: 400px !important;
    }
}

/* Select2 Custom Styles */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #E6E6E6 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    min-height: 60px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #026002 !important;
    border: 1px solid #026002 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    margin: 4px 4px 0 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    margin-right: 5px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 4px !important;
    font-family: Poppins !important;
    font-size: 16px !important;
    height: unset;
}

.select2-dropdown {
    border: 1px solid #E6E6E6 !important;
    border-radius: 10px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #026002 !important;
}

.page-banner-select .select2-container {
    width: 100% !important;
}

@media only screen and (max-width: 575px)
{
    .mobile-banner-input-and-buttons {
        display: flex;
        flex-direction: column;
        row-gap: 12px;
    }

    .page-banner-buttons {
        width: 100%;
    }
}