/* --- Десктопний блок контактів --- */
.ipro-header-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.ipro-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a1a;
    transition: opacity 0.2s;
}

.ipro-contact-item:hover {
    opacity: 0.7;
}

/* Общі стилі іконок (шапка) */
.ipro-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* --- Мобільний швидкий доступ --- */
.ipro-mobile-quick-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    background:var(--base-3);
    margin-right: 15px;
}

.ipro-quick-item {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ipro-quick-item .ipro-icon {
    width: 28px;
    height: 28px;
    display: flex;
}

/* --- Модальне вікно --- */
.ipro-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.ipro-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.ipro-modal-box {
    background: #fff;
    width: 90%;
    max-width: 360px;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    transform: translateY(20px);
    transition: 0.3s;
}

.ipro-modal-overlay.is-active .ipro-modal-box {
    transform: translateY(0);
}

.ipro-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 2px 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.ipro-modal-close:hover {
    color: #000;
}

.ipro-modal-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #1a1a1a;
}

/* Кнопки в попапі */
.ipro-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.ipro-action-btn:hover {
    opacity: 0.85;
}

.btn-tg:hover, .btn-viber:hover {
    color: #fff !important;
}

/* Іконки всередині кнопок попапу */
.ipro-btn-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-call { background: #f0f0f0; color: #000; }
.ipro-messenger-grid { display: flex; gap: 10px; margin-bottom: -10px; }
.btn-tg { background: #2AABEE; color: #fff; flex: 1; }
.btn-viber { background: #7360F2; color: #fff; flex: 1; }

/* --- Блок контактів всередині кастомного Drawer Меню --- */
.ipro-drawer-contacts-block {
    margin-top: auto;
    padding: 3px 5px;
    border-top: 1px solid #eee;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.ipro-drawer-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 5px 15px 0px 15px;
}

.ipro-drawer-icons-row {
    display: flex;
    align-items: center;
    margin-left: 10px;
    gap: 10px;
}

.ipro-drawer-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent!important;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
    padding: 5px;
}

.ipro-drawer-icon-btn:hover {
    background: #fff;
}

.ipro-drawer-icon-btn img {
    width: 32px;
    height: 26px;
    object-fit: contain;
    display: block;
}

/* --- Медіазапити --- */
@media (min-width: 769px) { 
    .hide-on-desktop { display: none !important; } 
}

@media (max-width: 768px) { 
    .hide-on-mobile { display: none !important; } 
}

.main-navigation .menu-bar-items {
    background: var(--base-3);

}