.mini-cart-recommended {
    padding: 10px 0;
    border-top: 1px solid #e2e2e2;
    margin-top: 5px;
}

.mini-cart-recommended h4 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.recommended-products {
    display: flex;
    flex-direction: column;

}

.recommended-product {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 3px;
    border-radius: 12px;
    transition: background 0.2s;
    position: relative;
}

.recommended-product:hover {
    background: rgba(0, 0, 0, 0.02);
}

.recommended-product .product-link {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    flex: 1;
}

.product-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    margin-bottom: 1px;
}

.recommended-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.recommended-product .product-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.recommended-product .product-title {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.discounted-price {
    font-size: 15px;
    font-weight: 700;
    color: #e74c3c;
}

.discounted-price .amount {
    font-weight: 700;
}

.discount-badge {
    background: #27ae60;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
}

.recommended-product .product-price {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.recommended-product .product-price .amount {
    font-weight: 600;
}

.recommended-add-to-cart {
    width: 40px;
    height: 40px;
    background: #22c55e;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.recommended-add-to-cart svg {
    color: white;
    width: 18px;
    height: 18px;
}

.recommended-add-to-cart:hover {
    background: #16a34a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.recommended-add-to-cart:active {
    transform: scale(0.95);
}

.recommended-add-to-cart.loading {
    opacity: 0.6;
    pointer-events: none;
}

.recommended-add-to-cart.added {
    background: #10b981;
    animation: successPulse 0.6s ease;
}

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

/* Loading spinner */
.recommended-add-to-cart.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.recommended-add-to-cart.loading svg {
    opacity: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
