/* Integration and accessible state rules layered over the intact reference. */
[hidden] { display: none !important; }
html { scroll-padding-top: 112px; }
body { overflow-x: clip; }
.site-addressbar { text-transform: uppercase; }
.site-shell { min-width: 0; }
.site-shell img { max-width: 100%; }
.club-footer .footer-directions { display: block; margin-top: 24px; }
.club-footer .footer-directions .text-link { margin-top: 0; }
/* WooCommerce adds button rules to the body of product pages. Keep the footer
   reservation link identical to the reference on every route. */
.padi-theme .club-footer a.button {
    display: flex; width: fit-content; min-height: 40px; padding: 10px 25px;
    margin-top: 25px; border: 0; border-radius: 0; box-shadow: none;
    background: transparent; color: var(--cream);
    font: 400 12px/1.4 Inconsolata, monospace; letter-spacing: .08em;
    text-align: center; text-transform: uppercase; text-decoration: none;
    align-items: center; justify-content: center; position: relative;
}
.padi-theme .club-footer a.button:hover,
.padi-theme .club-footer a.button:focus-visible {
    background: transparent; color: var(--paper-white);
}
.padi-theme .club-footer a.button:focus-visible::before,
.padi-theme .club-footer a.button:focus-visible::after {
    width: 51%; background: var(--yellow); border-color: var(--yellow);
}
:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}
.padi-navigation-layer { position: fixed; z-index: 100001; inset: 0; }
.padi-navigation-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .45); animation: padi-backdrop-in .15s ease-out; }
.navigation-drawer[data-slot=sheet-content] {
    position: absolute; inset: 0 0 0 auto; height: 100%; display: flex;
    flex-direction: column; animation: padi-drawer-in .2s ease-out;
    overscroll-behavior: contain;
}
.navigation-drawer .drawer-links a { overflow-wrap: anywhere; }
.navigation-drawer .navigation-close { min-height: 44px; min-width: 44px; }
.padi-navigation-layer.is-closing .navigation-drawer { animation: padi-drawer-out .2s ease-in forwards; }
.padi-navigation-layer.is-closing .padi-navigation-backdrop { animation: padi-backdrop-out .15s ease-in forwards; }
.club-menu-toggle, .cart-badge { min-height: 44px; }
.club-header .reservation-link { white-space: nowrap; margin-left: 0; }
.club-header .header-actions { gap: 22px; }
.navigation-drawer > .drawer-phone {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; flex-shrink: 0; min-height: 66px; padding: 16px;
    margin-bottom: 24px; border: 1px solid var(--yellow); color: var(--cream);
    font: 400 20px/1.4 Inconsolata, monospace;
}
.drawer-phone span { text-decoration: underline; text-underline-offset: 5px; }
.drawer-phone svg { flex-shrink: 0; }
.drawer-phone:hover { color: var(--yellow); }
.navigation-drawer > .button { flex-shrink: 0; }
@media (max-width: 760px) {
    .club-header .header-actions { gap: 10px; }
    .club-header .reservation-link { padding: 10px 9px; font-size: 11px; min-height: 44px; }
    .navigation-drawer > .drawer-phone { margin-top: 12px; }
}
@media (max-width: 400px) {
    .club-header { gap: 8px; padding-left: 12px; padding-right: 12px; }
    .club-header .header-actions { gap: 8px; }
    .club-header .brand-wordmark { font-size: 40px; }
    .club-header .brand > span { font-size: 7px; }
    .club-header .reservation-link { padding: 10px 7px; font-size: 10px; letter-spacing: .05em; }
}
@media (max-width: 360px) {
    .club-header { gap: 6px; }
    .club-header .header-actions { gap: 4px; }
    .club-header .reservation-link { padding-left: 6px; padding-right: 6px; }
}
.menu-tab-bar [role=tab] { min-height: 44px; cursor: pointer; }
.menu-category-links a { min-height: 44px; display: inline-flex; align-items: center; }
.padi-menu-allergies { border-top: 1px solid var(--line); }
.padi-menu-allergies summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.padi-menu-allergies summary::-webkit-details-marker { display: none; }
.padi-menu-allergies summary svg { flex-shrink: 0; transition: transform .2s ease; }
.padi-menu-allergies[open] summary svg { transform: rotate(180deg); }
.padi-menu-allergies > p { display: block; padding: 0 0 22px; line-height: 1.8; }
.reveal:not(.in-view) { opacity: 1; transform: none; }
.padi-motion .reveal:not(.in-view) { opacity: 0; transform: translateY(22px); }
@keyframes padi-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes padi-drawer-out { to { transform: translateX(100%); } }
@keyframes padi-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes padi-backdrop-out { to { opacity: 0; } }
@media (min-width: 783px) { .admin-bar .club-header { margin-top: 32px; } }
@media (max-width: 782px) { .admin-bar .club-header { margin-top: 46px; } }
@media (max-width: 760px) {
    html { scroll-padding-top: 96px; }
    .menu-category-links { gap: 4px 18px; }
    .navigation-drawer[data-slot=sheet-content] { padding-bottom: max(35px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    .padi-motion .reveal:not(.in-view) { opacity: 1; transform: none; }
    .padi-navigation-layer *, .padi-menu-allergies summary svg { animation: none !important; transition: none !important; }
}
