/*
 * Hot Cookie — ADA Accessibility Styles
 * Added for WCAG 2.1 AA compliance (Title III / Unruh Act)
 */

/* Skip to main content link — invisible until focused by keyboard */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    z-index: 999999;
    text-decoration: none;
    border-bottom-right-radius: 4px;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid #ffbf47;
    outline-offset: 0;
}

/* Visually hidden — readable by screen readers, invisible on screen */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hamburger button — reset browser default button styling */
button.hamburger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
button.hamburger:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

/* Nav links and store dropdown — ensure focus visible */
.nav-primary a:focus-visible,
.store-dropdown a:focus-visible,
.navigation a:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

/* Cookie banner ACCEPT button — override plugin's low-contrast colors */
#cookie_action_close_header.wt-cli-accept-btn,
.cli-plugin-main-button.wt-cli-accept-btn {
    background-color: #1a7a1a !important;
    color: #ffffff !important;
    border-color: #1a7a1a !important;
}

/* Checkout privacy policy link — must be distinguishable without color alone */
a.woocommerce-privacy-policy-link {
    text-decoration: underline;
}

/* Inline content links must be distinguishable without color alone */
.entry-content a,
.entry-summary a {
    text-decoration: underline;
}
