/* Accessibility helpers (Web Interface Guidelines) */

/* Screen-reader-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--pink-accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
}

/* Visible focus states (never outline none without replacement) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--pink-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Touch */
a, button, .btn-book, .btn-login, .btn-slide {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Scroll margin for anchored headings */
h1, h2, h3, h4, h5, h6 {
    scroll-margin-top: 80px;
}

/* number columns use tabular-nums */
.stat-info h3,
.admin-table td:has(.price),
.price,
.total,
.subtotal {
    font-variant-numeric: tabular-nums;
}