/**
 * Woo Tooltip Lite - Frontend Styles
 *
 * @package Woo_Tooltip_Lite
 */

/* Tooltip kutusu - body içine fixed olarak eklenir, kart akışını etkilemez */
.woo-tooltip-box {
    position: fixed;
    top: 0;
    left: 0;
    background: hsl(220, 100%, 20%);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    width: max-content;
    max-width: 260px;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                0 2px 6px rgba(0, 0, 0, 0.1);
    word-break: break-word;
    white-space: normal;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
}

.woo-tooltip-box.visible {
    opacity: 1;
    visibility: visible;
}

/* Yukarıyı gösteren ok */
.woo-tooltip-box::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    margin-bottom: -6px;
    width: 12px;
    height: 12px;
    background: hsl(220, 100%, 20%);
}

/* Tooltip yukarıda gösteriliyorsa ok aşağı bakar */
.woo-tooltip-box.above::after {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: -6px;
}

/* Hover imleci */
.wd-entities-title a {
    cursor: help;
}

/* Erişilebilirlik: hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .woo-tooltip-box {
        transition: none;
    }
}