/* Shared Naver directions button */
a.naver-directions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 10px 22px 10px 12px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: #087f3e;
    color: #fff;
    box-shadow: 0 6px 22px rgba(0, 64, 30, 0.24);
    font-family: 'Noto Sans KR', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.naver-directions__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #087f3e;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
}

.naver-directions__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.naver-directions__label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.naver-directions__service {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

a.naver-directions:hover {
    background: #066b34;
    color: #fff;
    box-shadow: 0 8px 26px rgba(0, 64, 30, 0.3);
}

a.naver-directions:focus-visible {
    outline: 3px solid #153c27;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    a.naver-directions {
        right: 16px;
        bottom: 16px;
        right: calc(16px + env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        min-height: 56px;
        gap: 9px;
        padding: 8px 17px 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    a.naver-directions { transition: none; }
}

@media print {
    a.naver-directions { display: none; }
}
