.nice-select .list {
    left: auto !important;
    max-height: 130px;
    overflow: auto;
}
@media (min-width: 768px) {
    .h-md-100 {
        height: 100% !important;
    }
}
.alert-success {
    z-index: 9;
}
/* Sticky Social Sidebar */
.sticky-social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    border-radius: 0 8px 8px 0;
    overflow: hidden;
}

.sticky-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--secondary-color);
    color: #fff !important;
    font-size: 17px;
    text-decoration: none;
    transition: background-color 0.25s ease, width 0.25s ease, padding-left 0.25s ease;
}

.sticky-social-item:hover {
    width: 48px;
}

.sticky-social-item.facebook:hover { background-color: #1877F2; }
.sticky-social-item.twitter:hover { background-color: #1DA1F2; }
.sticky-social-item.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sticky-social-item.linkedin:hover { background-color: #0A66C2; }
.sticky-social-item.youtube:hover { background-color: #FF0000; }
.sticky-social-item.tiktok:hover { background-color: #000000; }
.sticky-social-item.snapchat:hover { background-color: #FFFC00; color: #000 !important; }
.sticky-social-item.whatsapp:hover { background-color: #25D366; }

@media (max-width: 767px) {
    .sticky-social-item {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* Branch Map Floating Panel */
.branches-map-wrap {
    position: relative;
}

.branches-floating-panel {
    position: absolute;
    top: 0;
    left: 0;
    inset-inline-start: 0;
    width: 25%;
    min-width: 260px;
    max-width: 320px;
    height: 90%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 4px 0 20px rgba(4, 28, 62, 0.15);
    padding: 16px;
    overflow-y: auto;
    z-index: 9999;
    top: 50%;
    transform: translate(-50%, -50%);
    inset-inline-start: -150px;
}
.english-version .branches-floating-panel {
    inset-inline-start: 180px;
}
@media (max-width: 767.98px) {
    .branches-floating-panel {
        display: none;
    }
} 
.branches-floating-panel-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.branch-panel-item {
    background: #fff;
    border: 1px solid rgba(4, 28, 62, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.branch-panel-item:last-child {
    margin-bottom: 0;
}

.branch-panel-item:hover {
    border-color: rgba(219, 22, 53, 0.25);
    box-shadow: 0 6px 18px rgba(4, 28, 62, 0.12);
}

@media (max-width: 767px) {
    .branches-floating-panel {
        left: 0;
        right: 0;
        inset-inline-start: 0;
        width: auto;
        min-width: 0;
        max-width: none;
        height: 45%;
        box-shadow: 0 6px 16px rgba(4, 28, 62, 0.15);
    }
}

/* Branch Map Floating Card (marker popup) */
.branch-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(4, 28, 62, 0.2);
    overflow: hidden;
}

.branch-popup .leaflet-popup-content {
    margin: 0;
    width: auto !important;
}

.branch-popup-card {
    padding: 14px 16px;
    min-width: 210px;
}

.branch-popup-name {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
}

.branch-popup-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #667085;
}

.branch-popup-address i {
    margin-top: 2px;
    color: var(--primary-color);
}

.branch-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.branch-popup-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.branch-popup-btn i {
    width: 14px;
    text-align: center;
}

.branch-popup-directions {
    background-color: rgba(219, 22, 53, 0.08);
    color: var(--primary-color);
}
.branch-popup-directions:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.branch-popup-share {
    background-color: rgba(4, 28, 62, 0.06);
    color: var(--secondary-color);
}
.branch-popup-share:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.branch-popup-contact {
    background-color: #e9f8ee;
    color: #1e8a4c;
}
.branch-popup-contact:hover {
    background-color: #1e8a4c;
    color: #fff;
}
