/* Simple Chat Styles */
.smc-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.smc-chat-button:hover {
    transform: scale(1.05);
}

.smc-chat-icon {
    width: 60px;
    height: 60px;
}

.smc-chat-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.smc-chat-header {
    position: relative;
    color: white;
    padding: 16px;
    border-radius: 12px 12px 0 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.smc-chat-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.smc-chat-close:hover {
    background: #f0f0f0;
    color: #091311;
}

.smc-chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 24px 24px 24px 24px;
    margin-top: -16px;
}

.smc-chat-messengers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 280px;
}

.smc-chat-messenger {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #091311;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    height: 40px;
    transition: color 0.2s;
}

.smc-chat-messenger:hover {
    color: #01A9A0;
    background: transparent;
}

.smc-chat-messenger-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .smc-chat-popup {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
    }
    
    .smc-chat-content {
        padding: 40px 20px 30px 20px;
    }
    
    .smc-chat-button {
        width: 60px;
        height: 60px;
        bottom: 0px;
        right: 16px;
        top:626px;
    }
    
    .smc-chat-icon {
        width: 60px;
        height: 60px;
    }
}

.smc-chat-popup h3 {
    color: #091311;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    margin: 0 0 40px 0;
    padding-left: 24px;
    padding-right: 24px;
}

/* Scroll to Top Button - тільки на ПК */
.smc-scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--Black, rgba(9, 19, 17, 1));
    border-radius: 200px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    /* Приховуємо за замовчуванням */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
}

.smc-scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.smc-scroll-to-top:hover {
    background: var(--Black, rgba(9, 19, 17, 1));
    transform: scale(1.05);
}

.smc-scroll-to-top:hover .scroll-arrow {
    filter: invert(1);
}

.smc-scroll-to-top .scroll-arrow {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
}

/* Приховуємо на мобільному */
@media (max-width: 768px) {
    .smc-scroll-to-top {
        display: none !important;
    }
}