/* Hitek Product Actions - final refined styles for Hitek theme */

.hitek-product-action-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
    flex-wrap: wrap;
    direction: rtl;
    width: 100%;
}

/* Compact, minimal buttons */
.hitek-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.96);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    transition: all 0.18s ease-out;
    position: relative;
    overflow: hidden;
    line-height: 1;
    white-space: nowrap;
}

.hitek-icon-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.hitek-icon-btn:hover {
    border-color: #111827;
    background: #111827;
    color: #f9fafb;
}

/* Circles & icons */
.hitek-icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    flex-shrink: 0;
    transition: all 0.18s ease-out;
}

.hitek-icon-svg {
    width: 13px;
    height: 13px;
    fill: #111827;
    transition: fill 0.18s ease-out;
}

.hitek-icon-btn:hover .hitek-icon-circle {
    background: rgba(249, 250, 251, 0.12);
    border-color: rgba(249, 250, 251, 0.7);
}

.hitek-icon-btn:hover .hitek-icon-svg {
    fill: #f9fafb;
}

/* Wishlist active state (purely visual, state comes from your wishlist plugin) */
.hitek-icon-btn.hitek-add-wishlist.is-active {
    background: #dc2626;
    color: #fef2f2;
    border-color: #dc2626;
}

.hitek-icon-btn.hitek-add-wishlist.is-active .hitek-icon-circle {
    background: #fef2f2;
    border-color: rgba(254, 242, 242, 0.9);
}

.hitek-icon-btn.hitek-add-wishlist.is-active .hitek-icon-svg {
    fill: #dc2626;
}

/* Toast message */
.hitek-toast {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.98);
    color: #f9fafb;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
    direction: rtl;
}

.hitek-toast--visible {
    opacity: 1;
    transform: translate(-50%, -4px);
}

/* Responsiveness */
@media (max-width: 480px) {
    .hitek-icon-btn {
        padding-inline: 8px;
        font-size: 11px;
    }
}
