/* Parts Poa: global layout touches, loaded after the theme CSS */

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* Skip link: appears only when focused with the keyboard */
.pp-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 10000;
    padding: 10px 16px;
    background: #1b2430;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.pp-skip:focus { top: 12px; color: #fff; }

/* Visible keyboard focus across header, menus and forms */
#header a:focus-visible,
#header button:focus-visible,
#header input:focus-visible,
#nav-top-menu a:focus-visible {
    outline: 3px solid #f2b705;
    outline-offset: 2px;
}

/* Page body: keep the footer from floating up on short pages */
main.columns-container { min-height: 55vh; }

/* Flash messages */
#columns > .alert { margin-top: 16px; }

/* Long part names never break the layout */
.product-name, .pp-card__name { overflow-wrap: anywhere; }

/* Small screens: images never overflow, slightly tighter page gutters */
img { max-width: 100%; }
@media (max-width: 767px) {
    #columns.container { padding-left: 12px; padding-right: 12px; }
}
