.footer-block {
    background: #f8f8f8;
}
footer {
    color: #444;
}
body {
    background: #fff;
}




.svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative; /* Для позиционирования счетчика */
}

.cart-svg {
    width: 46px; /* Немного больше для корзины */
    height: 46px;
}

.svg-icon svg {
    color: #4A90E2;
    transition: all 0.3s ease;
}

.svg-icon:hover svg {
    color: #FF6B6B;
    transform: scale(1.1);
}

.cart-svg svg {
    color: #FFA726;
}

/* Стили для счетчика - теперь позиционируется поверх иконки */
.total {
    position: absolute;
    top: -2px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #f0f0f0;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.total.red {
    background: #FF6B6B;
    color: white;
    animation: pulse 2s infinite;
}

/* Анимации */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Анимация для корзины при наличии товаров */
.total.red ~ svg {
    animation: bounce 0.8s ease;
}

/* Стили для контейнеров */
.panel-url {
    display: inline-flex;
    align-items: center;
    margin: 0 4px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.panel-url:hover {
    background: rgba(74, 144, 226, 0.1);
}

.panel-url b {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-left: 4px;
}

/* Для мобильной адаптации */
@media (max-width: 768px) {
    .svg-icon {
        width: 36px;
        height: 36px;
    }
    
    .cart-svg {
        width: 40px;
        height: 40px;
    }
    
    .svg-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .panel-url b {
        font-size: 13px;
    }
    
    .total {
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        top: -1px;
        right: -1px;
    }
}