.custom-product-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.custom-product-icons a {
    position: relative;
    display: inline-block;
    text-align: center;
}

.custom-product-icons a img[alt] {
    width: 32px !important;
    height: 32px !important;
    transition: transform 0.2s ease;
    border-radius: 8px;
    cursor: pointer;
}

.custom-product-icons a:hover img[alt] {
    transform: scale(1.05);
}

/* Tooltip (Desktop Only) */
.custom-product-icons a .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #2c2c2c;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    min-width: 150px;
    text-align: center;
    white-space: normal;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.custom-product-icons a:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Label */
.custom-product-icons a .mobile-label {
    display: none;
    font-size: 13px;
    text-align: center;
    margin-top: 4px;
    color: #333;
    font-weight: 500;
}

/* Responsive: Show Label, Hide Tooltip on Mobile */
@media (max-width: 768px) {
    .custom-product-icons a .tooltip-text {
        display: none !important;
    }

    .custom-product-icons a .mobile-label {
        display: block;
    }
}

/* RTL Support */
html[lang="ar"] .custom-product-icons a .tooltip-text {
    direction: rtl;
}
