/* Стили для баннера cookie */
.cookie-banner {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #AAAAAA;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-family: sans-serif;
    font-size: 16px;
    box-shadow: 0 0 14px 0px rgba(56, 56, 56, 0.2);
    max-width: 1250px;
    width: 100%;
}

.cookie-banner .message {
    flex: 1;
    margin-right: 20px;
    padding-left: 16px;
}

.cookie-banner .buttons {
    display: flex;
    gap: 10px;
    padding-right: 16px;
}

.cookie-banner button,
.cookie-banner a {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.cookie-banner a:hover {
    color: #fff;
    text-decoration: underline;
}

.cookie-accept {
    background-color: #FFAD00;
    color: white;
}

.cookie-decline {
    background-color: #383838;
    color: white;
}

.cookie-banner.hidden {
    display: none;
}

/* Стили для виджета сравнения */
.compare-widget {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 1000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.compare-widget__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.compare-widget__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
}

.compare-widget__link:active {
    transform: translateY(-1px);
}

.compare-widget__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.compare-widget__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compare-widget__title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.compare-widget__count {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* Анимация пульсации при обновлении */
.compare-widget__link.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .compare-widget {
        right: 10px;
        bottom: 70px;
    }
    
    .compare-widget__link {
        padding: 12px 16px;
        gap: 10px;
    }
    
    .compare-widget__icon {
        width: 35px;
        height: 35px;
    }
    
    .compare-widget__title {
        font-size: 11px;
    }
    
    .compare-widget__count {
        font-size: 18px;
    }
}

