.atisuto-map-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.atisuto-filter-sidebar {
    flex: 0 0 300px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    overflow-y: auto;
}

/* Extra specificiteit + !important zodat thema-styling (Avada input-borders) niet wint */
.atisuto-map-container .atisuto-filter-sidebar input.atisuto-filter-search {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #861e80 !important;
    border-radius: 8px !important;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    background: #ffffff;
    color: #333333;
    box-shadow: none !important;
}

.atisuto-map-container .atisuto-filter-sidebar input.atisuto-filter-search:focus {
    outline: none;
    border-color: #b80f7c !important;
}

.atisuto-filter-group {
    margin-bottom: 15px;
}

.atisuto-filter-heading {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.atisuto-filter-heading.sub {
    font-size: 12px;
    color: #666;
    margin: 6px 0 4px;
}

.atisuto-main-filter-block {
    margin-bottom: 4px;
}

.atisuto-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
}

.atisuto-checkbox:hover {
    background: rgba(134, 30, 128, 0.06);
}

.atisuto-checkbox input[type="checkbox"] {
    accent-color: #861e80;
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.atisuto-checkbox.sub {
    font-size: 13px;
    padding: 3px 4px;
    color: #555;
}

.atisuto-color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.atisuto-sub-group {
    margin: 2px 0 8px 26px;
    padding-left: 8px;
    border-left: 2px solid #e6d3ef;
}

.atisuto-filter-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.atisuto-business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atisuto-business-item {
    padding: 12px;
    margin-bottom: 8px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.atisuto-business-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.atisuto-business-item.active {
    border-left-color: #662d91;
    background: #fff;
    box-shadow: 0 2px 8px rgba(102, 45, 145, 0.2);
}

.atisuto-business-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.atisuto-business-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.atisuto-business-tags {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.atisuto-business-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e0e0e0;
    border-radius: 4px;
    font-size: 11px;
    color: #555;
}

.atisuto-business-tag.category {
    background: #662d91;
    color: white;
}

.atisuto-business-tag.subcategory {
    background: #9966cc;
    color: white;
}

.atisuto-events-block {
    margin: 4px 0 12px;
    padding: 8px;
    background: #fdeef7;
    border: 1px solid #b80f7c;
    border-radius: 8px;
}

.atisuto-event-star {
    color: #b80f7c;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.atisuto-events-filter {
    margin: 6px 0 2px 26px;
}

.atisuto-events-range {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
}

.atisuto-events-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    flex-wrap: wrap;
}

.atisuto-events-custom input[type="date"] {
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
}

.atisuto-filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.atisuto-filter-btn {
    flex: 1;
    padding: 8px 12px;
    background: #662d91;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease;
}

.atisuto-filter-btn:hover {
    background: #551f7a;
}

.atisuto-filter-btn.secondary {
    background: #999;
}

.atisuto-filter-btn.secondary:hover {
    background: #777;
}

.atisuto-map-canvas {
    flex: 1;
    min-height: 300px;
    border-radius: 12px;
}

.atisuto-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Popup */
.atisuto-popup {
    font-size: 13px;
    line-height: 1.4;
}

.atisuto-popup-logo {
    text-align: center;
    margin-bottom: 8px;
}

.atisuto-popup-logo img {
    max-width: 100px;
    max-height: 100px;
}

.atisuto-popup-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.atisuto-popup-address {
    color: #666;
    margin-bottom: 6px;
}

.atisuto-popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.atisuto-popup-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e6d3ef;
    border-radius: 4px;
    font-size: 11px;
    color: #555;
}

.atisuto-ambassador-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #e6d3ef;
    border: 1px solid #861e80;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #861e80;
    margin-bottom: 4px;
}

.atisuto-ambassador-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
}

.atisuto-popup-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.atisuto-popup-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.2;
    font-family: inherit;
}

.atisuto-popup-btn.atisuto-video-btn {
    background: #ffffff;
}

/* Video fallback-popup (als er geen Avada Off-Canvas is ingesteld) */
.atisuto-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.atisuto-video-modal-inner {
    /* Krimpt om de video heen: staande video's krijgen zo geen zwarte balken */
    position: relative;
    width: auto;
    max-width: 90vw;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.atisuto-video-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.atisuto-video-modal-close:hover {
    background: #ffffff;
}

@media (max-width: 768px) {
    .atisuto-map-container {
        flex-direction: column;
    }

    .atisuto-filter-sidebar {
        flex: 1;
        max-height: 300px;
    }
}
