/* Distributors Map Styles - Leaflet Version */
.distributors-map-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Regional Color Variables */
:root {
    --color-europe: #3B82F6;      /* Blue */
    --color-asia: #EF4444;        /* Red */
    --color-americas: #10B981;    /* Green */
    --color-africa: #F97316;      /* Orange */
    --color-oceania: #EAB308;     /* Yellow */
    
    /* Hover states */
    --color-europe-hover: #2563EB;
    --color-asia-hover: #DC2626;
    --color-americas-hover: #059669;
    --color-africa-hover: #EA580C;
    --color-oceania-hover: #CA8A04;
    
    /* Light backgrounds */
    --color-europe-light: #DBEAFE;
    --color-asia-light: #FEE2E2;
    --color-americas-light: #D1FAE5;
    --color-africa-light: #FFEDD5;
    --color-oceania-light: #FEF3C7;
}

/* Country Badge Colors - Europe (Blue) */
.country-badge.badge-europe {
    background-color: var(--color-europe);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.country-badge.badge-europe:hover {
    background-color: var(--color-europe-hover);
}

/* Country Badge Colors - Asia (Red) */
.country-badge.badge-asia {
    background-color: var(--color-asia);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.country-badge.badge-asia:hover {
    background-color: var(--color-asia-hover);
}

/* Country Badge Colors - Americas (Green) */
.country-badge.badge-americas {
    background-color: var(--color-americas);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.country-badge.badge-americas:hover {
    background-color: var(--color-americas-hover);
}

/* Country Badge Colors - Africa (Orange) */
.country-badge.badge-africa {
    background-color: var(--color-africa);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.country-badge.badge-africa:hover {
    background-color: var(--color-africa-hover);
}

/* Country Badge Colors - Oceania (Yellow) */
.country-badge.badge-oceania {
    background-color: var(--color-oceania);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.country-badge.badge-oceania:hover {
    background-color: var(--color-oceania-hover);
}

/* Distributor Card Border Colors on Hover */
.distributor-card[data-distributor-id*="europe"]:hover,
.distributor-card[data-country*="UK"]:hover,
.distributor-card[data-country*="ROMANIA"]:hover,
.distributor-card[data-country*="RUSSIA"]:hover,
.distributor-card[data-country*="TURKEY"]:hover,
.distributor-card[data-country*="SLOVAKIA"]:hover,
.distributor-card[data-country*="POLAND"]:hover,
.distributor-card[data-country*="UKRAINE"]:hover,
.distributor-card[data-country*="BELGIUM"]:hover,
.distributor-card[data-country*="NETHERLANDS"]:hover,
.distributor-card[data-country*="LUXEMBOURG"]:hover,
.distributor-card[data-country*="ITALY"]:hover,
.distributor-card[data-country*="SPAIN"]:hover,
.distributor-card[data-country*="MONTENEGRO"]:hover,
.distributor-card[data-country*="CROATIA"]:hover,
.distributor-card[data-country*="GERMANY"]:hover,
.distributor-card[data-country*="NORWAY"]:hover,
.distributor-card[data-country*="CZECH"]:hover,
.distributor-card[data-country*="FRANCE"]:hover,
.distributor-card[data-country*="SWITZERLAND"]:hover,
.distributor-card[data-country*="SERBIA"]:hover {
    border-color: var(--color-europe);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.distributor-card[data-country*="CHINA"]:hover,
.distributor-card[data-country*="TAIWAN"]:hover,
.distributor-card[data-country*="KUWAIT"]:hover,
.distributor-card[data-country*="UAE"]:hover,
.distributor-card[data-country*="LEBANON"]:hover,
.distributor-card[data-country*="IRAN"]:hover,
.distributor-card[data-country*="KAZAKHSTAN"]:hover,
.distributor-card[data-country*="INDIA"]:hover,
.distributor-card[data-country*="OMAN"]:hover,
.distributor-card[data-country*="MALAYSIA"]:hover,
.distributor-card[data-country*="SRI LANKA"]:hover,
.distributor-card[data-country*="INDONESIA"]:hover {
    border-color: var(--color-asia);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.distributor-card[data-country*="CANADA"]:hover,
.distributor-card[data-country*="USA"]:hover,
.distributor-card[data-country*="COSTA RICA"]:hover,
.distributor-card[data-country*="COLOMBIA"]:hover,
.distributor-card[data-country*="MEXICO"]:hover,
.distributor-card[data-country*="GUATEMALA"]:hover {
    border-color: var(--color-americas);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.distributor-card[data-country*="EGYPT"]:hover {
    border-color: var(--color-africa);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

/* View on Map Button Colors */
.view-on-map-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

/* Europe Cards - Blue Button */
[data-country*="UK"] .view-on-map-btn,
[data-country*="ROMANIA"] .view-on-map-btn,
[data-country*="RUSSIA"] .view-on-map-btn,
[data-country*="TURKEY"] .view-on-map-btn,
[data-country*="SLOVAKIA"] .view-on-map-btn,
[data-country*="POLAND"] .view-on-map-btn,
[data-country*="UKRAINE"] .view-on-map-btn,
[data-country*="BELGIUM"] .view-on-map-btn,
[data-country*="NETHERLANDS"] .view-on-map-btn,
[data-country*="LUXEMBOURG"] .view-on-map-btn,
[data-country*="ITALY"] .view-on-map-btn,
[data-country*="SPAIN"] .view-on-map-btn,
[data-country*="MONTENEGRO"] .view-on-map-btn,
[data-country*="CROATIA"] .view-on-map-btn,
[data-country*="GERMANY"] .view-on-map-btn,
[data-country*="NORWAY"] .view-on-map-btn,
[data-country*="CZECH"] .view-on-map-btn,
[data-country*="FRANCE"] .view-on-map-btn,
[data-country*="SWITZERLAND"] .view-on-map-btn,
[data-country*="SERBIA"] .view-on-map-btn {
    border-color: var(--color-europe);
    color: var(--color-europe);
}

[data-country*="UK"] .view-on-map-btn:hover,
[data-country*="ROMANIA"] .view-on-map-btn:hover,
[data-country*="RUSSIA"] .view-on-map-btn:hover,
[data-country*="TURKEY"] .view-on-map-btn:hover,
[data-country*="SLOVAKIA"] .view-on-map-btn:hover,
[data-country*="POLAND"] .view-on-map-btn:hover,
[data-country*="UKRAINE"] .view-on-map-btn:hover,
[data-country*="BELGIUM"] .view-on-map-btn:hover,
[data-country*="NETHERLANDS"] .view-on-map-btn:hover,
[data-country*="LUXEMBOURG"] .view-on-map-btn:hover,
[data-country*="ITALY"] .view-on-map-btn:hover,
[data-country*="SPAIN"] .view-on-map-btn:hover,
[data-country*="MONTENEGRO"] .view-on-map-btn:hover,
[data-country*="CROATIA"] .view-on-map-btn:hover,
[data-country*="GERMANY"] .view-on-map-btn:hover,
[data-country*="NORWAY"] .view-on-map-btn:hover,
[data-country*="CZECH"] .view-on-map-btn:hover,
[data-country*="FRANCE"] .view-on-map-btn:hover,
[data-country*="SWITZERLAND"] .view-on-map-btn:hover,
[data-country*="SERBIA"] .view-on-map-btn:hover {
    background-color: var(--color-europe);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Asia Cards - Red Button */
[data-country*="CHINA"] .view-on-map-btn,
[data-country*="TAIWAN"] .view-on-map-btn,
[data-country*="KUWAIT"] .view-on-map-btn,
[data-country*="UAE"] .view-on-map-btn,
[data-country*="LEBANON"] .view-on-map-btn,
[data-country*="IRAN"] .view-on-map-btn,
[data-country*="KAZAKHSTAN"] .view-on-map-btn,
[data-country*="INDIA"] .view-on-map-btn,
[data-country*="OMAN"] .view-on-map-btn,
[data-country*="MALAYSIA"] .view-on-map-btn,
[data-country*="SRI LANKA"] .view-on-map-btn,
[data-country*="INDONESIA"] .view-on-map-btn {
    border-color: var(--color-asia);
    color: var(--color-asia);
}

[data-country*="CHINA"] .view-on-map-btn:hover,
[data-country*="TAIWAN"] .view-on-map-btn:hover,
[data-country*="KUWAIT"] .view-on-map-btn:hover,
[data-country*="UAE"] .view-on-map-btn:hover,
[data-country*="LEBANON"] .view-on-map-btn:hover,
[data-country*="IRAN"] .view-on-map-btn:hover,
[data-country*="KAZAKHSTAN"] .view-on-map-btn:hover,
[data-country*="INDIA"] .view-on-map-btn:hover,
[data-country*="OMAN"] .view-on-map-btn:hover,
[data-country*="MALAYSIA"] .view-on-map-btn:hover,
[data-country*="SRI LANKA"] .view-on-map-btn:hover,
[data-country*="INDONESIA"] .view-on-map-btn:hover {
    background-color: var(--color-asia);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Americas Cards - Green Button */
[data-country*="CANADA"] .view-on-map-btn,
[data-country*="USA"] .view-on-map-btn,
[data-country*="COSTA RICA"] .view-on-map-btn,
[data-country*="COLOMBIA"] .view-on-map-btn,
[data-country*="MEXICO"] .view-on-map-btn,
[data-country*="GUATEMALA"] .view-on-map-btn {
    border-color: var(--color-americas);
    color: var(--color-americas);
}

[data-country*="CANADA"] .view-on-map-btn:hover,
[data-country*="USA"] .view-on-map-btn:hover,
[data-country*="COSTA RICA"] .view-on-map-btn:hover,
[data-country*="COLOMBIA"] .view-on-map-btn:hover,
[data-country*="MEXICO"] .view-on-map-btn:hover,
[data-country*="GUATEMALA"] .view-on-map-btn:hover {
    background-color: var(--color-americas);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Africa Cards - Orange Button */
[data-country*="EGYPT"] .view-on-map-btn {
    border-color: var(--color-africa);
    color: var(--color-africa);
}

[data-country*="EGYPT"] .view-on-map-btn:hover {
    background-color: var(--color-africa);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

/* Leaflet Map Marker Colors - Custom Marker Styles */
.leaflet-marker-icon .marker-europe {
    background-color: var(--color-europe) !important;
    border-color: var(--color-europe) !important;
}

.leaflet-marker-icon .marker-asia {
    background-color: var(--color-asia) !important;
    border-color: var(--color-asia) !important;
}

.leaflet-marker-icon .marker-americas {
    background-color: var(--color-americas) !important;
    border-color: var(--color-americas) !important;
}

.leaflet-marker-icon .marker-africa {
    background-color: var(--color-africa) !important;
    border-color: var(--color-africa) !important;
}

.leaflet-marker-icon .marker-oceania {
    background-color: var(--color-oceania) !important;
    border-color: var(--color-oceania) !important;
}

/* Smooth transitions for all interactive elements */
.distributor-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-badge {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional: Add regional legend */
.regional-legend {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.europe {
    background-color: var(--color-europe);
}

.legend-color.asia {
    background-color: var(--color-asia);
}

.legend-color.americas {
    background-color: var(--color-americas);
}

.legend-color.africa {
    background-color: var(--color-africa);
}

.legend-color.oceania {
    background-color: var(--color-oceania);
}

/* Interactive Map Section */
.interactive-map-wrapper {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.map-header p {
    font-size: 16px;
    color: #666;
}

/* Leaflet Map Container */
.leaflet-map-container {
    height: 600px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

/* Custom Leaflet Popup Styles */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.custom-popup {
    padding: 20px;
    min-width: 250px;
}

.custom-popup .popup-country {
    font-size: 14px;
    font-weight: 600;
    color: #5EBEB2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.custom-popup .popup-company {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.custom-popup .popup-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.custom-popup .popup-contacts {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.custom-popup .popup-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.custom-popup .popup-contact-item a {
    color: #5EBEB2;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-popup .popup-contact-item a:hover {
    color: #4a9d93;
    text-decoration: underline;
}

.custom-popup .popup-view-details {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: #5EBEB2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-popup .popup-view-details:hover {
    background: #4a9d93;
}

/* Custom Marker Styles */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-icon {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.marker-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
}

.marker-icon.marker-ht {
    background: #34B2A9;
}

.marker-icon:hover {
    transform: rotate(-45deg) scale(1.2);
}

.marker-icon.active {
    animation: markerBounce 0.6s ease;
}

@keyframes markerBounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-10px); }
}

/* Map Legend */
.map-legend {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.map-legend h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-items {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend-marker.marker-teal {
    background: #5EBEB2;
}

.legend-marker.marker-cyan {
    background: #4ECDC4;
}

.legend-marker.marker-green {
    background: #52C9A5;
}

.legend-item span:last-child {
    font-size: 14px;
    color: #555;
}

/* Distributors Section */
.distributors-section {
    margin-top: 100px;
    scroll-margin-top: 100px;
}

.distributors-section .section-title {
    font-size: 40px;
    font-family: Akrobat;
    color: #131414;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 30px;
}

/* Country Filter */
.country-filter {
    max-width: 300px;
    margin: 0 0 40px 0;
}

.country-dropdown {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    font-weight: 400;
    line-height: 170.00000476837158%;
    letter-spacing: 2%;
    background: #39315E;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.2s ease;
}

.country-dropdown:hover {
    background-color: #4a495e;
}

.country-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 61, 92, 0.3);
}

/* Distributors Wrapper */
.distributors-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* Distributors Grid */
.distributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Distributor Card */
.distributor-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.distributor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.distributor-card.hidden {
    display: none;
}

.distributor-card.highlighted {
    border-color: #5EBEB2;
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(94, 190, 178, 0.3);
}

.card-header {
    margin-bottom: 15px;
}

.country-badge {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 20px;
    font-family: Akrobat;
    color: #f8f9fa;
    font-weight: 700;
    letter-spacing: 0%;
    text-align: center;
}

.badge-ht {
    background: #34B2A9;
}

.company-name {
    font-size: 26px;
    font-family: Akrobat;
    color: #131414;
    font-weight: 700;
    letter-spacing: 0%;
    margin: 10px 0;
}

.company-description {
    font-size: 16px;
    font-family: Open Sans;
    color: #000000;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0%;
    margin-bottom: 20px;
}

.contact-details h4 {
    font-size: 20px;
    font-family: Akrobat;
    color: #131414;
    font-weight: 700;
    letter-spacing: 0%;
    margin-bottom: 10px;
}

.contact-email,
.contact-phone {
    font-size: 16px;
    font-family: Open Sans;
    color: #000000;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0%;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.contact-email a,
.contact-phone a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email a:hover,
.contact-phone a:hover {
    color: #34B2A9;
    text-decoration: underline;
}

.contact-email .icon,
.contact-phone .icon {
    margin-right: 8px;
    font-size: 16px;
}

/* View on Map Button */
.view-on-map-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: transparent;
    color: #34B2A9;
    border: 2px solid #34B2A9;
    border-radius: 6px;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-on-map-btn:hover {
    background: #34B2A9;
    color: white;
}

/* CTA Sidebar */
.cta-sidebar {
    position: sticky;
    top: 100px;
}

.cta-card {
    background: linear-gradient(135deg, #3e3d5c 0%, #2d2c47 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-card h3 {
    font-size: 30px;
    font-family: Akrobat;
    color: #f8f9fa;
    font-weight: 700;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 15px;
}

.inquiry-button {
    background: white;
    font-size: 18px;
    font-family: Open Sans;
    color: #39315e;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 2%;
    text-transform: capitalize;
    border: 1px solid white;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0px;
}

.inquiry-button:hover {
    background: transparent;
    transform: translateY(-2px);
    border: 1px solid white;
    color: white;
}

.inquiry-button:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .distributors-wrapper {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }
    
    .distributors-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .distributors-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-sidebar {
        position: static;
        max-width: 100%;
    }
    
    .cta-card {
        margin-top: 20px;
    }
    
    .distributors-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .leaflet-map-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .distributors-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .map-header h2 {
        font-size: 26px;
    }
    
    .leaflet-map-container {
        height: 400px;
    }
    
    .country-filter {
        max-width: 100%;
    }
    
    .legend-items {
        flex-direction: column;
        gap: 12px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .distributors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading State */
.leaflet-map-container.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f8f9fa 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fa 50%, #f8f9fa 75%, #e9ecef 75%, #e9ecef);
    background-size: 40px 40px;
    animation: loading-gradient 1s linear infinite;
}

@keyframes loading-gradient {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}