/* BBQ24: visible keyboard focus on both light and dark surfaces. */
body :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #174f78 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 3px #fff !important;
}
html { scroll-padding-top: 8rem; }
#content h1, #content h2, #content h3 { overflow-wrap: anywhere; hyphens: auto; }
:is(a, button, input, select, textarea, [tabindex]) { scroll-margin-top: 8rem; }
.bbq24-home .bbq24-home__narrow > .bbq24-home__kicker { color: #805d00; }
.bbq24-home .bbq24-home__split-copy--dark > .bbq24-home__kicker { color: #f8bf00; }
.bbq24-instalment-more { text-decoration: underline; }
.productbox-title > a { min-height: 24px; }
/* Product names remain complete when visitors change text size or spacing. */
.productbox-title > a.text-clamp-2 {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
}
#content .sub-categories a:not(.image-link) {
    display: inline-block;
    min-height: 28px;
    padding-block: 3px;
}
/* Floating labels otherwise crop the optional-field note at larger sizes. */
#content .contact-form label[for="firstName"], #content .contact-form label[for="lastName"] {
    position: static !important;
    transform: none !important;
    width: auto !important;
    max-width: 100%;
    height: auto;
    white-space: normal;
    overflow: visible;
    margin-bottom: .35rem;
    padding: 0 !important;
}
/* Slick's own focus reset must not suppress the gallery's keyboard marker.
   Inset rings stay visible inside its overflow-clipped slide track. */
#image_wrapper :is([data-bbq24-gallery-action], .slick-arrow, .slick-dots button):focus-visible {
    outline: 3px solid #174f78 !important;
    outline-offset: -4px !important;
    box-shadow: inset 0 0 0 6px #fff !important;
}
#image_wrapper .js-gallery-images[data-bbq24-gallery-action]:focus-visible::after {
    content: '';
    position: absolute;
    inset: 4px;
    z-index: 1001;
    border: 3px solid #174f78;
    box-shadow: 0 0 0 2px #fff, inset 0 0 0 2px #fff;
    pointer-events: none;
}
#mainNavigation .nav-mobile-header-toggler button { min-width: 44px; min-height: 44px; }
/* Yellow remains an accent/background, not small text on white. */
#header-top-bar a:hover, #jtl-nav-wrapper a:hover,
#jtl-nav-wrapper .cart-icon-dropdown > a:hover .cart-icon-dropdown-price, #footer a:hover,
.productbox-title > a:hover { color: #333; }
.nav-panel .bbq24-category-row { display: flex; align-items: center; gap: .5rem; }
.bbq24-category-row > a { flex: 1; min-width: 0; }
.bbq24-category-toggle { flex: 0 0 36px; min-height: 36px; border: 0; background: transparent; color: inherit; font-size: 1.3rem; }
.bbq24-category-toggle[aria-expanded="true"] > span { display: inline-block; transform: rotate(180deg); }
.consent-modal-close { min-width: 44px; min-height: 44px; }
.consent-show-more { display: inline-flex; align-items: center; min-height: 28px; }
.consent-modal input:focus-visible + label { outline: 3px solid #174f78; outline-offset: 3px; }
@media (forced-colors: active) {
    body :is(a, button, input, select, textarea, [tabindex]):focus-visible {
        outline-color: Highlight !important;
    }
    #image_wrapper :is([data-bbq24-gallery-action], .slick-arrow, .slick-dots button):focus-visible {
        outline-color: Highlight !important;
    }
    #image_wrapper .js-gallery-images[data-bbq24-gallery-action]:focus-visible::after {
        border-color: Highlight;
    }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .consent-modal, .consent-modal-content { transition: none !important; }
}
