.medical-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.medical-preloader__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
}

.medical-preloader__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
}

.medical-preloader__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.medical-preloader__text {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}

.heart-svg {
    width: 80%;
    height: 80%;
    overflow: visible;
}

.heart {
    fill: #e74c3c;
    transform-origin: center;
    animation: heartbeat 1.2s ease-in-out infinite both;
}

@keyframes heartbeat {
    0% { transform: scale(0.9); fill: #e74c3c; }
    25% { transform: scale(1); fill: #ff3333; }
    35% { transform: scale(0.9); }
    45% { transform: scale(1.05); fill: #ff0000; }
    55% { transform: scale(0.95); }
    65% { transform: scale(1.02); }
    75% { transform: scale(0.98); }
    100% { transform: scale(0.9); fill: #e74c3c; }
}


/*basket*/
.basket-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.3s ease-in-out;
    max-width: 350px;
    display: flex;
    align-items: center;
    
}

.basket-notification__content {
    position: relative;
    width: 100%;
    padding-right: 20px;
}

.basket-notification__icon {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.basket-notification__icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.basket-notification__text {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    
}

.basket-notification__link {
    color: #0079ff;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 5px;
}

.basket-notification__close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #f44336bf;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.basket-notification.show {
    transform: translateX(0);
}

/* Анимация появления */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
/*end basket*/

