#agro-locator-app.agro-locator-wrap {
    display: grid;
    grid-template-columns: 420px 1fr;
    height: 680px;
    max-width: 1280px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dcdad2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    font-family: inherit;
}

#agro-locator-app .agro-locator-sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e3dc;
    background: #faf9f5;
    min-height: 0;
}

#agro-locator-app .agro-locator-search-box {
    padding: 16px;
    background: #faf6eb;
    border-bottom: 1px solid #e5e3dc;
}

#agro-locator-app .agro-search-wrapper {
    position: relative;
}

#agro-locator-app .agro-search-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #2c3530;
    border-radius: 6px;
    padding: 6px 10px;
    background: #fff;
    gap: 6px;
}

#agro-locator-app .agro-search-input-wrap input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 6px 4px;
    font-size: 14.5px;
    color: #1a241e;
    outline: none;
}

#agro-locator-app .agro-clear-btn {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #777;
    cursor: pointer;
    padding: 2px 4px;
}

#agro-locator-app .agro-clear-btn:hover {
    color: #1a241e;
}

#agro-locator-app .agro-target-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid #d5d2c8;
    border-radius: 50%;
    background: #f4f7f5;
    color: #0b5d3b;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

#agro-locator-app .agro-target-btn:hover,
#agro-locator-app .agro-target-btn.is-active {
    background: #0b5d3b;
    border-color: #0b5d3b;
    color: #fff;
}

/* Floating "Use my current location" card under search bar */
#agro-locator-app .agro-location-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 500;
    background: #fff;
    border: 1px solid #e5e3dc;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

#agro-locator-app .agro-location-dropdown.is-open {
    display: block;
}

#agro-locator-app .agro-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    transition: background 0.15s ease;
}

#agro-locator-app .agro-dropdown-item:hover {
    background: #f2f7f4;
}

#agro-locator-app .agro-dropdown-icon {
    color: #1a73e8;
    flex-shrink: 0;
}

#agro-locator-app .agro-search-status {
    margin-top: 8px;
    font-size: 12.5px;
    color: #4a554e;
    min-height: 16px;
}

#agro-locator-app .agro-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 2px solid #0b5d3b;
    font-weight: 600;
    font-size: 14px;
    color: #0b5d3b;
}

#agro-locator-app .agro-reset-link {
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

#agro-locator-app .agro-results-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

#agro-locator-app .agro-card {
    padding: 16px;
    border-bottom: 1px solid #e5e3dc;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

#agro-locator-app .agro-card:hover,
#agro-locator-app .agro-card.is-active {
    background: #f2f7f4;
}

#agro-locator-app .agro-card-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1a241e;
}

#agro-locator-app .agro-card-address,
#agro-locator-app .agro-card-phone,
#agro-locator-app .agro-card-hours {
    margin: 3px 0;
    font-size: 13.5px;
    color: #4a4f4c;
    line-height: 1.4;
}

#agro-locator-app .agro-card-phone a {
    color: #0b5d3b;
    text-decoration: none;
    font-weight: 500;
}

#agro-locator-app .agro-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

#agro-locator-app .agro-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #0b5d3b;
    color: #fff !important;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 4px;
}

#agro-locator-app .agro-btn:hover {
    background: #08452c;
}

#agro-locator-app .agro-distance {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0b5d3b;
}

#agro-locator-app .agro-locator-map-col,
#agro-locator-app #agro-map {
    width: 100%;
    height: 100%;
}

.agro-cluster-icon {
    background: #0b5d3b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.agro-pin-icon {
    background: #0b5d3b;
    width: 26px;
    height: 26px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.agro-origin-pin {
    width: 18px;
    height: 18px;
    background: #1a73e8;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
    #agro-locator-app.agro-locator-wrap {
        grid-template-columns: 1fr;
        height: auto;
    }
    #agro-locator-app .agro-locator-map-col {
        height: 400px;
        order: -1;
    }
    #agro-locator-app .agro-results-list {
        max-height: 450px;
    }
}

#agro-locator-app .leaflet-pane,
#agro-locator-app .leaflet-top,
#agro-locator-app .leaflet-bottom,
#agro-locator-app .leaflet-control {
    z-index: 2 !important;
}

#agro-locator-app .leaflet-popup-pane {
    z-index: 4 !important;
}

#agro-locator-app .leaflet-tooltip-pane {
    z-index: 5 !important;
}