/*
 * FP Nike JP-inspired homepage visual layer.
 * Scope is deliberately limited to the rebuilt FP homepage. Header navigation
 * and drawer behaviour are not changed here.
 */

body[data-template='index'].fp-jp-rebuild {
    --fp-jp-ink: #111111;
    --fp-jp-paper: #ffffff;
    --fp-jp-soft: #f5f5f5;
    --fp-jp-warm: #eee9e2;
    --fp-jp-line: #d8d8d8;
    --fp-jp-muted: #6b6b6b;
    --fp-jp-gutter: 20px;
    --fp-jp-section-space: 72px;
    --fp-jp-content-max: 1440px;
    color: var(--fp-jp-ink);
    background: var(--fp-jp-paper);
}

body[data-template='index'].fp-jp-rebuild #MainContent {
    max-width: 100%;
    overflow: clip;
    background: var(--fp-jp-paper);
}

/* JS marks only the native SHOPLINE sections that the mobile rebuild replaces.
   Keep the destructive hide phone-only so a viewport change restores native
   content even before the JS media-query listener completes its teardown. */
@media (max-width: 767px) {

    body[data-template='index'].fp-jp-rebuild #MainContent>.fp-jp-source-section,
    body[data-template='index'].fp-jp-rebuild main[role='main']>.fp-jp-source-section {
        display: none !important;
    }
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: clip;
    color: var(--fp-jp-ink);
    background: var(--fp-jp-paper);
    font-family: Arial, Helvetica, "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix *,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix *::before,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix *::after {
    box-sizing: border-box;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix img {
    display: block;
    width: 100%;
    max-width: 100%;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix a {
    color: inherit;
    text-decoration: none;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix button,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix a {
    -webkit-tap-highlight-color: transparent;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix a:focus-visible,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix button:focus-visible {
    outline: 3px solid #2b6fff;
    outline-offset: 3px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix h1,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix h2,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix h3,
body[data-template='index'].fp-jp-rebuild #fp-jp-remix p {
    margin: 0;
    overflow-wrap: anywhere;
}

/* ------------------------------ Hero ------------------------------ */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(560px, 82svh, 760px);
    min-height: 560px;
    overflow: hidden;
    color: #ffffff;
    background: #2f0f12;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-stage {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: grid;
    overflow: hidden;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-tile {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-image {
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .83) 0%, rgba(0, 0, 0, .43) 31%, rgba(0, 0, 0, .06) 66%, rgba(0, 0, 0, .14) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 66%);
    pointer-events: none;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-copy {
    position: absolute;
    right: var(--fp-jp-gutter);
    bottom: 28px;
    left: var(--fp-jp-gutter);
    width: auto;
    max-width: 620px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-title {
    max-width: 10.5em;
    color: #ffffff;
    font-size: clamp(44px, 13vw, 64px);
    font-weight: 900;
    line-height: .88;
    letter-spacing: -.062em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-text {
    max-width: 34em;
    margin-top: 16px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 21px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button--light {
    color: var(--fp-jp-ink);
    background: #ffffff;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button--dark {
    color: #ffffff;
    background: var(--fp-jp-ink);
}

/* --------------------------- Section rhythm --------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__section {
    width: 100%;
    min-width: 0;
    padding-block: var(--fp-jp-section-space);
    background: var(--fp-jp-paper);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__section-head {
    width: 100%;
    max-width: var(--fp-jp-content-max);
    margin: 0 auto 28px;
    padding-inline: var(--fp-jp-gutter);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__section-head .fp-jp__eyebrow {
    color: var(--fp-jp-muted);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__heading {
    max-width: 14em;
    color: var(--fp-jp-ink);
    font-size: clamp(36px, 9.5vw, 52px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.052em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__lede {
    max-width: 40em;
    margin-top: 12px;
    color: var(--fp-jp-muted);
    font-size: 15px;
    line-height: 1.45;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__categories {
    background: #ffffff;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__trending {
    background: var(--fp-jp-warm);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__essentials {
    background: #ffffff;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sports {
    background: #ffffff;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__popular {
    background: var(--fp-jp-soft);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories {
    background: #ffffff;
    padding-block: 76px 84px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories .fp-jp__section-head {
    margin-bottom: 34px;
    padding-inline: 32px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories .fp-jp__heading {
    max-width: none;
    font-size: clamp(30px, 8vw, 40px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.035em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories .fp-jp__lede {
    max-width: 32em;
    margin-top: 17px;
    color: var(--fp-jp-ink);
    font-size: 18px;
    line-height: 1.45;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-shell--stories .fp-jp__rail {
    gap: 16px;
    padding-inline: 32px;
    scroll-padding-inline: 32px;
}

/* ----------------------------- Rails ----------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-shell {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: var(--fp-jp-content-max);
    margin-inline: auto;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail {
    display: flex;
    align-items: stretch;
    gap: 13px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 var(--fp-jp-gutter) 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--fp-jp-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail::-webkit-scrollbar {
    display: none;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-arrow {
    display: none;
    position: absolute;
    z-index: 4;
    top: 45%;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(17, 17, 17, .92);
    box-shadow: 0 7px 22px rgba(0, 0, 0, .18);
    font: 600 20px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-arrow--prev {
    left: 28px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-arrow--next {
    right: 28px;
}

/* --------------------------- Category cards --------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-card {
    position: relative;
    isolation: isolate;
    flex: 0 0 min(78vw, 350px);
    aspect-ratio: 4 / 5;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    background: #d9d9d7;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .55s cubic-bezier(.2, .75, .2, 1);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-shade {
    position: absolute;
    z-index: -1;
    inset: 38% 0 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent);
    pointer-events: none;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-copy {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-copy strong {
    font-size: clamp(31px, 9vw, 43px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.045em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-copy span {
    font-size: 14px;
    font-weight: 700;
}

/* ---------------------------- Products ---------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-card {
    display: flex;
    flex: 0 0 min(67vw, 282px);
    min-width: 0;
    flex-direction: column;
    color: var(--fp-jp-ink);
    scroll-snap-align: start;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f3f3;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    transition: transform .45s cubic-bezier(.2, .75, .2, 1);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-name {
    display: -webkit-box;
    min-height: 2.7em;
    margin-top: 15px;
    overflow: hidden;
    color: var(--fp-jp-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-price {
    display: block;
    margin-top: 8px;
    color: var(--fp-jp-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

/* ------------------------ ACG / Kids features ------------------------ */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--dark {
    color: #ffffff;
    background: #111111;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light {
    color: var(--fp-jp-ink);
    background: #efefed;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media {
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #d4d4d2;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media--collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-tile {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f3f3f3;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .65s cubic-bezier(.2, .75, .2, 1);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-copy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    flex-direction: column;
    padding: 34px var(--fp-jp-gutter) 52px;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--dark .fp-jp__eyebrow {
    color: rgba(255, 255, 255, .68);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light .fp-jp__eyebrow {
    color: var(--fp-jp-muted);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-title {
    max-width: 10em;
    font-size: clamp(42px, 11vw, 62px);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.058em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-text {
    max-width: 35em;
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.5;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--dark .fp-jp__feature-text {
    color: rgba(255, 255, 255, .76);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light .fp-jp__feature-text {
    color: #515151;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-copy .fp-jp__button {
    margin-top: 24px;
}

/* ------------------------- Essentials tabs ------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tabs {
    display: flex;
    width: 100%;
    max-width: var(--fp-jp-content-max);
    gap: 25px;
    margin: -4px auto 25px;
    padding: 0 var(--fp-jp-gutter) 3px;
    overflow-x: auto;
    scrollbar-width: none;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tabs::-webkit-scrollbar {
    display: none;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tab {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 0 10px;
    border: 0;
    color: #777777;
    background: transparent;
    font: 700 16px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: transparent;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tab.is-active {
    color: var(--fp-jp-ink);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tab.is-active::after {
    background: var(--fp-jp-ink);
}

/* --------------------------- Shop by sport --------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card {
    position: relative;
    isolation: isolate;
    flex: 0 0 min(78vw, 350px);
    aspect-ratio: 4 / 5;
    min-width: 0;
    overflow: hidden;
    color: var(--fp-jp-ink);
    background: #d7d7d7;
    scroll-snap-align: start;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-image {
    position: absolute;
    z-index: -1;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .55s cubic-bezier(.2, .75, .2, 1);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-copy {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: calc(100% - 36px);
    gap: 8px;
    padding: 12px 17px;
    border-radius: 999px;
    color: var(--fp-jp-ink);
    background: rgba(255, 255, 255, .94);
    font-size: 14px;
    line-height: 1.1;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-copy strong {
    font-size: 15px;
    font-weight: 800;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-copy span {
    color: #606060;
    font-weight: 600;
}

/* ------------------------- Popular links ------------------------- */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__link-cloud {
    display: grid;
    width: 100%;
    max-width: var(--fp-jp-content-max);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    margin-inline: auto;
    padding-inline: var(--fp-jp-gutter);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__chip {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 17px 22px 17px 0;
    border-bottom: 1px solid #cbcbcb;
    color: var(--fp-jp-ink);
    font-size: clamp(18px, 5vw, 23px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__chip::after {
    content: "→";
    position: absolute;
    right: 0;
    color: #777777;
    font-size: 16px;
    transition: transform .2s ease;
}

/* ------------------------------ Stories ------------------------------ */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-card {
    display: block;
    flex: 0 0 min(83vw, 420px);
    min-width: 0;
    color: var(--fp-jp-ink);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-image {
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #ededed;
    transition: transform .5s cubic-bezier(.2, .75, .2, 1);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-title {
    margin-top: 24px;
    color: var(--fp-jp-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.025em;
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-description {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    color: var(--fp-jp-ink);
    font-size: 17px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* --------------------------- Native footer --------------------------- */

body[data-template='index'].fp-jp-rebuild #shopline-section-footer,
body[data-template='index'].fp-jp-rebuild footer.footer {
    border-top: 0 !important;
    color: #ffffff !important;
    background: #111111 !important;
}

body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer [class*='footer'] {
    color: #ffffff;
    background-color: #111111;
}

body[data-template='index'].fp-jp-rebuild #shopline-section-footer h2,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer h3,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer h4,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer summary,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer strong {
    color: #ffffff !important;
    font-weight: 700;
}

body[data-template='index'].fp-jp-rebuild #shopline-section-footer a,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer p,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer li,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer small {
    color: rgba(255, 255, 255, .68) !important;
}

body[data-template='index'].fp-jp-rebuild #shopline-section-footer details,
body[data-template='index'].fp-jp-rebuild #shopline-section-footer [class*='accordion'] {
    border-color: rgba(255, 255, 255, .18) !important;
}

body[data-template='index'].fp-jp-rebuild #shopline-section-footer input {
    border-color: rgba(255, 255, 255, .4) !important;
    color: #ffffff !important;
    background: transparent !important;
}

body[data-template='index'].fp-jp-rebuild #shopline-section-footer svg {
    color: #ffffff;
    fill: currentColor;
}

/* ------------------------------ Motion ------------------------------ */

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .2, 1);
}

body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------- Tablet + ---------------------------- */

@media (min-width: 768px) {

    /* Desktop/tablet fail-safe: native sections are no longer hidden above, and
     the temporary mobile root stays invisible until JS removes it. */
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix {
        display: none !important;
    }

    body[data-template='index'].fp-jp-rebuild {
        --fp-jp-gutter: 40px;
        --fp-jp-section-space: 92px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero {
        height: clamp(640px, 78svh, 820px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-overlay {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .18) 44%, transparent 72%),
            linear-gradient(0deg, rgba(0, 0, 0, .64), transparent 55%);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-copy {
        bottom: 58px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-title {
        font-size: clamp(66px, 8vw, 104px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-text {
        margin-top: 20px;
        font-size: 17px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__heading {
        font-size: clamp(46px, 5.1vw, 68px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__lede {
        font-size: 17px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail {
        gap: 18px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-card,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card {
        flex-basis: min(42vw, 430px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-card {
        flex-basis: min(31vw, 310px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature {
        min-height: 680px;
        display: grid;
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media {
        height: 100%;
        aspect-ratio: auto;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-copy {
        height: 100%;
        padding: 70px clamp(42px, 6vw, 94px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-title {
        font-size: clamp(54px, 5.7vw, 82px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light {
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light .fp-jp__feature-media {
        order: 2;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light .fp-jp__feature-copy {
        order: 1;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__link-cloud {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 38px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-card {
        flex-basis: min(46vw, 440px);
    }
}

/* ---------------------------- Desktop ---------------------------- */

@media (min-width: 1024px) {
    body[data-template='index'].fp-jp-rebuild {
        --fp-jp-gutter: clamp(48px, 5vw, 80px);
        --fp-jp-section-space: clamp(104px, 9vw, 138px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-arrow {
        display: flex;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-card,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card {
        flex-basis: min(29vw, 416px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-card {
        flex-basis: min(23vw, 306px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-card {
        flex-basis: min(31vw, 430px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button:hover {
        transform: translateY(-2px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button--light:hover {
        background: #dedede;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button--dark:hover {
        background: #3f3f3f;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-card:hover .fp-jp__category-image,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card:hover .fp-jp__sport-image,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media:hover .fp-jp__feature-image {
        transform: scale(1.035);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-card:hover .fp-jp__product-image {
        transform: scale(1.028);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-card:hover .fp-jp__story-image {
        transform: scale(1.018);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__chip:hover::after {
        transform: translateX(5px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-arrow:hover {
        background: #333333;
        transform: translateY(-50%) scale(1.04);
    }
}

/* ----------------------- Nike-like mobile polish -----------------------
   This layer is intentionally phone-only. It refines the FP duplicate
   without changing the desktop/tablet presentation or native navigation. */
@media (max-width: 767px) {
    body[data-template='index'].fp-jp-rebuild {
        --fp-jp-gutter: 24px;
        --fp-jp-section-space: 60px;
        --fp-jp-warm: #ffffff;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix {
        font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix h1,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix h2,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix h3,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix p {
        overflow-wrap: normal;
        word-break: normal;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero {
        height: clamp(540px, 144vw, 590px);
        min-height: 0;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-stage {
        grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 2px;
        background: #111111;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-tile--1 {
        grid-row: 1 / 3;
        background: #d8d0c5;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-tile--2 {
        background: #c7cac4;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-tile--3 {
        background: #b85648;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-image {
        object-fit: contain;
        object-position: center;
        padding: 14px 8px;
        mix-blend-mode: multiply;
        filter: contrast(1.04) saturate(.92);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix :is(.fp-jp__hero-tile--2,
        .fp-jp__hero-tile--3) .fp-jp__hero-image {
        padding: 8px 4px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-overlay {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .42) 32%, rgba(0, 0, 0, .03) 66%, rgba(0, 0, 0, .08) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 72%);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-copy {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-copy .fp-jp__eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-title {
        max-width: 8.6em;
        font-size: clamp(40px, 11.3vw, 46px);
        font-weight: 700;
        line-height: .94;
        letter-spacing: -.045em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-text {
        max-width: 31em;
        margin-top: 14px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.45;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions {
        gap: 8px;
        margin-top: 18px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__button {
        min-height: 40px;
        padding: 6px 16px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__section {
        padding-block: 60px 64px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__section-head {
        margin-bottom: 22px;
        padding-inline: 24px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__heading {
        max-width: none;
        font-size: 26px;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: -.025em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix :is(.fp-jp__categories,
        .fp-jp__trending,
        .fp-jp__essentials,
        .fp-jp__sports,
        .fp-jp__popular) .fp-jp__eyebrow,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix :is(.fp-jp__categories,
        .fp-jp__trending,
        .fp-jp__essentials,
        .fp-jp__sports,
        .fp-jp__popular) .fp-jp__lede {
        display: none;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix :is(.fp-jp__categories,
        .fp-jp__trending,
        .fp-jp__essentials,
        .fp-jp__sports,
        .fp-jp__popular) {
        background: #ffffff;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail {
        gap: 12px;
        padding: 0 24px 20px;
        scroll-padding-inline: 24px;
        scroll-snap-type: x proximity;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix :is(.fp-jp__category-card,
        .fp-jp__sport-card) {
        flex-basis: min(300px, 80vw);
        aspect-ratio: 1 / 1;
        scroll-snap-stop: normal;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-shade {
        inset: 48% 0 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, .58), transparent);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-image {
        object-fit: contain;
        object-position: center top;
        background: #f1f1f1;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-copy {
        right: 18px;
        bottom: 18px;
        left: 18px;
        gap: 6px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-copy strong {
        font-size: 28px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: -.03em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-copy span {
        font-size: 14px;
        font-weight: 500;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-card {
        flex-basis: min(300px, 80vw);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-media {
        background: #f5f5f5;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-image {
        mix-blend-mode: normal;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-name {
        min-height: auto;
        margin-top: 14px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-price {
        margin-top: 7px;
        font-size: 16px;
        font-weight: 500;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media:not(.fp-jp__feature-media--collage) {
        aspect-ratio: 4 / 5;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media--collage {
        aspect-ratio: 2 / 1;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-image {
        object-fit: contain;
        object-position: center top;
        background: #f3f3f3;
        mix-blend-mode: normal;
        filter: none;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-media--collage .fp-jp__feature-image {
        object-fit: contain;
        object-position: center top;
        mix-blend-mode: normal;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--dark .fp-jp__feature-tile:first-child {
        background: #d8d8d6;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--dark .fp-jp__feature-tile:last-child {
        background: #c8c4be;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light .fp-jp__feature-tile:first-child {
        background: #ece7df;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light .fp-jp__feature-tile:last-child {
        background: #dfe7e8;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature--light {
        background: #ffffff;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-copy {
        padding: 28px 24px 48px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-copy .fp-jp__eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-title {
        max-width: 11em;
        font-size: 40px;
        font-weight: 600;
        line-height: .98;
        letter-spacing: -.04em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-text {
        margin-top: 15px;
        font-size: 16px;
        line-height: 1.5;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__feature-copy .fp-jp__button {
        margin-top: 20px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tabs {
        gap: 24px;
        margin: -2px auto 20px;
        padding-inline: 24px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__tab {
        font-family: inherit;
        font-size: 16px;
        font-weight: 500;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-copy {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: calc(100% - 32px);
        padding: 10px 15px;
        font-size: 14px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-copy strong {
        font-weight: 600;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card--running {
        background: #d9d3c8;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card--training {
        background: #bfc5c2;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card--everyday {
        background: #d8c4c7;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-image {
        object-fit: contain;
        object-position: center top;
        padding: 14px;
        mix-blend-mode: normal;
        filter: none;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__link-cloud {
        column-gap: 18px;
        padding-inline: 24px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__chip {
        padding-block: 15px;
        font-size: 18px;
        font-weight: 500;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories {
        padding-block: 64px 72px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories .fp-jp__section-head {
        margin-bottom: 24px;
        padding-inline: 24px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories .fp-jp__heading {
        font-size: 32px;
        font-weight: 500;
        line-height: 1.18;
        letter-spacing: -.025em;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories .fp-jp__lede {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.5;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-shell--stories .fp-jp__rail {
        gap: 12px;
        padding: 0 24px 24px;
        scroll-padding-inline: 24px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-card {
        flex-basis: min(300px, 80vw);
        scroll-snap-stop: normal;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-title {
        margin-top: 20px;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.35;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__story-description {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.5;
    }

    /* Avoid blank-looking sections while a phone user scrolls quickly. */
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__reveal,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ----------------------- Mobile footer refinement ----------------------- */
@media (max-width: 767px) {

    /* The seasonal promo repeats the same message as the footer and creates
     a card-on-card ending. Keep the native section available off mobile. */
    body[data-template='index'].fp-jp-rebuild #shopline-section-fp-studio-seasonal {
        display: none !important;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__stories {
        padding-bottom: 32px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__rail-shell--stories .fp-jp__rail {
        padding-bottom: 0;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer,
    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer {
        margin-top: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #111111 !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer {
        padding: 0 0 20px !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer * {
        text-shadow: none !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer::before,
    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer::after {
        display: none !important;
        content: none !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer__content-top {
        width: 100%;
        max-width: none;
        padding: 0 24px !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .studio-footer-intro {
        padding: 40px 0 28px !important;
        border: 0 !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .studio-footer-intro p {
        margin: 0 0 14px !important;
        color: rgba(255, 255, 255, .54) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        letter-spacing: .16em !important;
        text-transform: uppercase;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .studio-footer-intro h2 {
        max-width: 360px;
        margin: 0 0 14px !important;
        color: #ffffff !important;
        font-size: clamp(27px, 7.4vw, 32px) !important;
        font-weight: 600 !important;
        line-height: 1.08 !important;
        letter-spacing: -.035em !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .studio-footer-intro span {
        display: block;
        max-width: 430px;
        color: rgba(255, 255, 255, .62) !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer__blocks-wrapper {
        display: block !important;
        margin: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, .15);
        background: transparent !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer footer-menu.footer-block {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        background: transparent !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer-block__heading {
        min-height: 60px !important;
        padding: 0 !important;
        color: #ffffff !important;
        background: transparent !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer-block__heading .icon-arrow,
    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer-block__heading .icon-minus {
        width: 18px !important;
        height: 18px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: rgba(255, 255, 255, .74) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer-block__details-content {
        background: transparent !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer-block__details-content a {
        min-height: 42px;
        padding: 9px 0 !important;
        color: rgba(255, 255, 255, .62) !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer__content-bottom {
        margin: 20px 24px 0 !important;
        padding: 20px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .footer__copyright,
    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .copyright__content,
    body[data-template='index'].fp-jp-rebuild #shopline-section-footer .copyright__content a {
        color: rgba(255, 255, 255, .42) !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    /* Give the two hero CTAs a clear primary/secondary hierarchy instead of
     presenting them as two oversized, identical white pills. */
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions {
        gap: 10px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions .fp-jp__button {
        min-height: 48px;
        padding: 0 21px;
        border: 1px solid transparent;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 650;
        line-height: 1;
        letter-spacing: -.015em;
        text-decoration: none;
        box-shadow: none;
        -webkit-tap-highlight-color: transparent;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions .fp-jp__button:first-child {
        color: #111111;
        background: #ffffff;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions .fp-jp__button:nth-child(2) {
        border-color: rgba(255, 255, 255, .72);
        color: #ffffff;
        background: rgba(17, 17, 17, .28);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions .fp-jp__button:active {
        transform: scale(.97);
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-actions .fp-jp__button:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 3px;
    }
}

/* ---------------- FP mobile information architecture ---------------- */
@media (max-width: 767px) {

    /* Replace the generic SHOPLINE footer blocks with a compact Nike-inspired
     hierarchy. The native footer remains untouched and returns on desktop. */
    body.fp-jp-mobile-footer #shopline-section-footer,
    body.fp-jp-mobile-footer #shopline-section-footer .footer {
        margin-top: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        background: #111111 !important;
        box-shadow: none !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .footer::before,
    body.fp-jp-mobile-footer #shopline-section-footer .footer::after {
        display: none !important;
        content: none !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .footer__content-top,
    body.fp-jp-mobile-footer #shopline-section-footer .footer__content-bottom {
        display: none !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer #fp-jp-mobile-footer {
        display: block !important;
        width: 100%;
        color: #111111 !important;
        background: #f7f7f7 !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__intro {
        padding: 46px 24px 38px;
        color: #ffffff !important;
        background: #111111 !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__intro-kicker {
        margin: 0 0 16px;
        color: rgba(255, 255, 255, .58) !important;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .16em;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__intro-title {
        max-width: 390px;
        margin: 0 0 16px;
        color: #ffffff !important;
        font-size: clamp(30px, 8vw, 38px);
        font-weight: 650;
        line-height: 1.02;
        letter-spacing: -.045em;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__intro-copy {
        max-width: 440px;
        margin: 0;
        color: rgba(255, 255, 255, .68) !important;
        font-size: 15px;
        line-height: 1.6;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__nav {
        display: block !important;
        padding: 14px 24px 28px;
        color: #111111 !important;
        background: #f7f7f7 !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__group {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #d8d8d8 !important;
        color: #111111 !important;
        background: transparent !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer #fp-jp-mobile-footer .fp-jp-utility__summary {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 66px;
        padding: 0 !important;
        color: #111111 !important;
        background: transparent !important;
        font-size: 15px;
        font-weight: 600 !important;
        line-height: 1.2;
        letter-spacing: -.01em;
        list-style: none;
        cursor: pointer;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__summary::-webkit-details-marker {
        display: none;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__chevron {
        position: relative;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__chevron::before,
    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__chevron::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 1.5px;
        content: '';
        background: #111111;
        transform: translate(-50%, -50%);
        transition: transform .25s ease;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__chevron::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__group[open] .fp-jp-utility__chevron::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__content {
        padding: 0 0 22px;
        color: #111111 !important;
        background: transparent !important;
    }

    body.fp-jp-mobile-footer #shopline-section-footer #fp-jp-mobile-footer .fp-jp-utility__eyebrow {
        margin: 0 0 10px;
        color: #686868 !important;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .15em;
    }

    body.fp-jp-mobile-footer #shopline-section-footer #fp-jp-mobile-footer .fp-jp-utility__copy {
        max-width: 440px;
        margin: 0 0 16px;
        color: #4f4f4f !important;
        font-size: 14px;
        line-height: 1.6;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__links {
        display: grid !important;
        gap: 0;
    }

    body.fp-jp-mobile-footer #shopline-section-footer #fp-jp-mobile-footer .fp-jp-utility__link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 42px;
        padding: 7px 0 !important;
        color: #333333 !important;
        background: transparent !important;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
        text-decoration: none;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__link-arrow {
        color: #777777;
        font-size: 12px;
    }

    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__legal {
        display: grid !important;
        gap: 6px;
        padding: 28px 0 4px;
    }

    body.fp-jp-mobile-footer #shopline-section-footer #fp-jp-mobile-footer .fp-jp-utility__legal p {
        margin: 0;
        color: #777777 !important;
        font-size: 11px;
        line-height: 1.5;
    }

    /* About Us: replace the unfinished dropshipping template only on this FP
     theme's mobile rendering. The stored page remains intact for desktop. */
    body.fp-jp-about-mobile #shopline-section-main>.main-page {
        display: none !important;
    }

    body.fp-jp-about-mobile #shopline-section-main {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fp-jp-about-mobile #fp-jp-about-mobile,
    body.fp-jp-about-mobile #fp-jp-about-mobile * {
        box-sizing: border-box;
    }

    body.fp-jp-about-mobile #fp-jp-about-mobile {
        overflow: hidden;
        color: #111111;
        background: #ffffff;
        font-family: Arial, Helvetica, sans-serif;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero-copy,
    body.fp-jp-about-mobile .fp-jp-about__section {
        padding-right: 24px;
        padding-left: 24px;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero-copy {
        padding-top: 58px;
        padding-bottom: 36px;
    }

    body.fp-jp-about-mobile .fp-jp-about__eyebrow {
        margin: 0 0 16px;
        color: #666666;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .16em;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero h1 {
        max-width: 520px;
        margin: 0;
        color: #111111;
        font-size: clamp(48px, 13vw, 68px);
        font-weight: 800;
        line-height: .93;
        letter-spacing: -.065em;
        text-transform: uppercase;
    }

    body.fp-jp-about-mobile .fp-jp-about__lead {
        max-width: 470px;
        margin: 24px 0 0;
        color: #333333;
        font-size: 18px;
        line-height: 1.5;
    }

    body.fp-jp-about-mobile .fp-jp-about__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 28px;
    }

    body.fp-jp-about-mobile .fp-jp-about__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 22px;
        border: 1px solid #111111;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 650;
        line-height: 1;
        text-decoration: none;
    }

    body.fp-jp-about-mobile .fp-jp-about__button--dark {
        color: #ffffff !important;
        background: #111111;
    }

    body.fp-jp-about-mobile .fp-jp-about__button--light {
        color: #111111 !important;
        background: #ffffff;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero-media {
        height: min(118vw, 680px);
        margin: 0;
        overflow: hidden;
        background: #ecebe7;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    body.fp-jp-about-mobile .fp-jp-about__section {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    body.fp-jp-about-mobile .fp-jp-about__section h2,
    body.fp-jp-about-mobile .fp-jp-about__statement h2 {
        max-width: 500px;
        margin: 0;
        font-size: clamp(34px, 9.5vw, 48px);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -.05em;
    }

    body.fp-jp-about-mobile .fp-jp-about__section-copy {
        max-width: 470px;
        margin: 20px 0 0;
        color: #4f4f4f;
        font-size: 16px;
        line-height: 1.65;
    }

    body.fp-jp-about-mobile .fp-jp-about__features {
        margin-top: 44px;
        border-top: 1px solid #d8d8d8;
    }

    body.fp-jp-about-mobile .fp-jp-about__feature {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 14px;
        padding: 25px 0 26px;
        border-bottom: 1px solid #d8d8d8;
    }

    body.fp-jp-about-mobile .fp-jp-about__feature-number {
        grid-row: 1 / span 2;
        color: #777777;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .12em;
    }

    body.fp-jp-about-mobile .fp-jp-about__feature h3 {
        margin: 0;
        font-size: 19px;
        font-weight: 650;
        line-height: 1.2;
        letter-spacing: -.025em;
    }

    body.fp-jp-about-mobile .fp-jp-about__feature p {
        margin: 8px 0 0;
        color: #5d5d5d;
        font-size: 14px;
        line-height: 1.55;
    }

    body.fp-jp-about-mobile .fp-jp-about__statement {
        padding: 70px 24px 74px;
        color: #ffffff;
        background: #111111;
    }

    body.fp-jp-about-mobile .fp-jp-about__statement .fp-jp-about__eyebrow,
    body.fp-jp-about-mobile .fp-jp-about__statement p {
        color: rgba(255, 255, 255, .64);
    }

    body.fp-jp-about-mobile .fp-jp-about__statement h2 {
        color: #ffffff;
    }

    body.fp-jp-about-mobile .fp-jp-about__statement>p:not(.fp-jp-about__eyebrow) {
        max-width: 470px;
        margin: 22px 0 0;
        font-size: 16px;
        line-height: 1.65;
    }

    body.fp-jp-about-mobile .fp-jp-about__text-link {
        display: inline-flex;
        margin-top: 28px;
        padding-bottom: 4px;
        border-bottom: 1px solid #ffffff;
        color: #ffffff !important;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    body.fp-jp-about-mobile .fp-jp-about__support-links {
        margin-top: 34px;
        border-top: 1px solid #d8d8d8;
    }

    body.fp-jp-about-mobile .fp-jp-about__support-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 62px;
        border-bottom: 1px solid #d8d8d8;
        color: #111111 !important;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    /* Supporting pages retain their original policy text, but gain a clearer
     entry point and readable mobile typography. */
    body.fp-jp-support-mobile #shopline-section-main {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner {
        padding: 56px 24px 28px;
        color: #111111;
        background: #f5f5f5;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner__eyebrow {
        margin: 0 0 14px;
        color: #686868;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .16em;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner h1 {
        max-width: 500px;
        margin: 0;
        color: #111111;
        font-size: clamp(36px, 10vw, 50px);
        font-weight: 700;
        line-height: .98;
        letter-spacing: -.05em;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner__copy {
        max-width: 470px;
        margin: 18px 0 0;
        color: #555555;
        font-size: 15px;
        line-height: 1.6;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner__nav {
        display: flex;
        gap: 8px;
        margin-top: 28px;
        padding-bottom: 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner__nav::-webkit-scrollbar {
        display: none;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner__link {
        flex: 0 0 auto;
        padding: 10px 15px;
        border: 1px solid #cfcfcf;
        border-radius: 999px;
        color: #111111 !important;
        background: transparent;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
    }

    body.fp-jp-support-mobile .fp-jp-support-banner__link.is-current {
        border-color: #111111;
        color: #ffffff !important;
        background: #111111;
    }

    body.fp-jp-support-mobile #shopline-section-main>.main-page {
        margin: 0 !important;
        padding: 46px 24px 72px !important;
    }

    body.fp-jp-support-mobile #shopline-section-main>.main-page>.page-title {
        display: none !important;
    }

    body.fp-jp-support-mobile #shopline-section-main .rte {
        max-width: 680px;
        margin: 0 auto;
        color: #292929;
        font-size: 15px;
        line-height: 1.72;
    }

    body.fp-jp-support-mobile #shopline-section-main .rte h2 {
        margin: 38px 0 14px;
        color: #111111;
        font-size: 27px;
        line-height: 1.1;
        letter-spacing: -.035em;
    }

    body.fp-jp-support-mobile #shopline-section-main .rte h3 {
        margin: 30px 0 10px;
        color: #111111;
        font-size: 19px;
        line-height: 1.25;
    }

    body.fp-jp-support-mobile #shopline-section-main .rte p,
    body.fp-jp-support-mobile #shopline-section-main .rte li {
        color: #4f4f4f;
        line-height: 1.72;
    }
}

/* Keep the narrowest supported phones clean and usable. */
@media (max-width: 359px) {
    body[data-template='index'].fp-jp-rebuild {
        --fp-jp-gutter: 16px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero {
        height: 540px;
        min-height: 540px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-title {
        font-size: 41px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__hero-copy {
        bottom: 22px;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__category-card,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__sport-card {
        flex-basis: 82vw;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__product-card {
        flex-basis: 70vw;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__link-cloud {
        grid-template-columns: 1fr;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero h1 {
        font-size: 42px;
    }

    body.fp-jp-about-mobile .fp-jp-about__hero-copy,
    body.fp-jp-about-mobile .fp-jp-about__section,
    body.fp-jp-about-mobile .fp-jp-about__statement,
    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__intro,
    body.fp-jp-mobile-footer #shopline-section-footer .fp-jp-utility__nav {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix *,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix *::before,
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Keep the native footer payment/copyright strip from leaking above the
   mobile editorial footer. SHOPLINE can render this block after its usual
   content wrappers, so keep this last as a defensive override. */
@media (max-width: 767px) {

    body.fp-jp-mobile-footer #shopline-section-footer>.footer>.footer__content-bottom,
    body.fp-jp-mobile-footer #shopline-section-footer .footer__content-bottom,
    body.fp-jp-mobile-footer #shopline-section-footer .footer__payment,
    body.fp-jp-mobile-footer #shopline-section-footer .footer__copyright {
        display: none !important;
    }
}

/* Trending can contain landscape product photography. Preserve the complete
   shoe silhouette instead of enlarging it to fill a square and clipping the
   toe and heel. This remains isolated to the FP mobile homepage. */
@media (max-width: 767px) {
    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__trending .fp-jp__product-media {
        background: #f5f5f5;
        isolation: isolate;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__trending .fp-jp__product-image {
        box-sizing: border-box;
        padding: 12px;
        object-fit: contain;
        object-position: center;
        mix-blend-mode: darken;
    }

    body[data-template='index'].fp-jp-rebuild #fp-jp-remix .fp-jp__trending .fp-jp__product-card[href*='/products/aj1285-403'] .fp-jp__product-image {
        transform: scale(1.07);
        transform-origin: center;
    }
}

/* FP mobile collection shortcut rail. Reuses the store's existing Men, Women
   and Kids photography and links directly to each sale collection. */
@media (max-width: 767px) {
    body.fp-jp-collection-mobile [data-fp-jp-collection-heading-hidden='true'] {
        display: none !important;
    }

    /* Keep the collection grid but remove the mobile item-count/filter/sort bar. */
    body.fp-jp-collection-mobile #shopline-section-main-collection-product-list .facets-wrapper,
    body.fp-jp-collection-mobile [id^='shopline-section-main-collection-product-list-'] .facets-wrapper,
    body.fp-jp-collection-mobile #shopline-section-main-collection-product-list .facets-container,
    body.fp-jp-collection-mobile [id^='shopline-section-main-collection-product-list-'] .facets-container,
    body.fp-jp-collection-mobile #shopline-section-main-collection-product-list [data-fp-jp-collection-toolbar-hidden='true'],
    body.fp-jp-collection-mobile [id^='shopline-section-main-collection-product-list-'] [data-fp-jp-collection-toolbar-hidden='true'] {
        display: none !important;
    }

    body.fp-jp-collection-mobile #fp-jp-collection-quicklinks {
        box-sizing: border-box;
        width: calc(100% - 32px);
        max-width: 400px;
        padding: 16px 0 14px;
        margin: 0 auto !important;
        color: #111;
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 13px;
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__item {
        display: block;
        min-width: 0;
        color: #111;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__media {
        display: block;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 14px;
        background: #e9e9e9;
        transform: translateZ(0);
        transition: transform 160ms ease;
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: saturate(1.03) contrast(1.03);
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__label {
        display: block;
        margin-top: 17px;
        overflow: hidden;
        color: #111;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__item:active .fp-jp-collection-quicklinks__media {
        transform: scale(.98);
    }

    body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__item:focus-visible {
        border-radius: 14px;
        outline: 2px solid #111;
        outline-offset: 3px;
    }

    @media (max-width: 389px) {
        body.fp-jp-collection-mobile #fp-jp-collection-quicklinks {
            width: calc(100% - 24px);
        }

        body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__grid {
            gap: 10px;
        }

        body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__label {
            margin-top: 13px;
            font-size: 14px;
            line-height: 20px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        body.fp-jp-collection-mobile .fp-jp-collection-quicklinks__media {
            transition: none;
        }
    }
}

/* FP mobile product detail: scoped to product routes and the test theme asset. */
@media (max-width: 767px) {
    body[data-template='product'].fp-jp-product-mobile {
        --fp-pdp-ink: #111;
        --fp-pdp-muted: #707072;
        --fp-pdp-line: #dedede;
        --fp-pdp-surface: #f5f5f5;
    }

    body[data-template='product'].fp-jp-product-mobile .product__info-wrapper.sl-imitate {
        color: var(--fp-pdp-ink) !important;
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif !important;
    }

    body[data-template='product'].fp-jp-product-mobile .product__info-wrapper.sl-imitate .product-title {
        margin-bottom: 5px !important;
        color: var(--fp-pdp-ink) !important;
        font: 600 24px/1.2 "Helvetica Neue", Arial, Helvetica, sans-serif !important;
        letter-spacing: -.025em !important;
    }

    body[data-template='product'].fp-jp-product-mobile .product__info-wrapper.sl-imitate .breadcrumb,
    body[data-template='product'].fp-jp-product-mobile .product__info-wrapper.sl-imitate product-breadcrumb {
        display: none !important;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__taxonomy {
        display: flex;
        max-width: 100%;
        gap: 6px;
        margin: 0 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__taxonomy::-webkit-scrollbar,
    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-rail::-webkit-scrollbar {
        display: none;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__taxonomy-link {
        flex: 0 0 auto;
        padding: 6px 10px;
        border: 1px solid #e5e5e5;
        border-radius: 999px;
        color: #4b4b4d;
        background: #fff;
        font-size: 12px;
        line-height: 1.2;
        text-decoration: none;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__meta {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 17px;
        color: var(--fp-pdp-muted);
        font-size: 13px;
        line-height: 1.45;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-family {
        margin: 4px 0 24px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-heading {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 4px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-heading strong {
        color: var(--fp-pdp-ink);
        font-size: 16px;
        line-height: 1.4;
        font-weight: 600;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-heading span,
    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-name {
        color: var(--fp-pdp-muted);
        font-size: 13px;
        line-height: 1.45;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-name {
        margin: 0 0 12px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-rail {
        display: flex;
        gap: 8px;
        margin-inline: -20px;
        padding: 2px 20px 7px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-card {
        position: relative;
        display: block;
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
        box-sizing: border-box;
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: 4px;
        background: var(--fp-pdp-surface);
        scroll-snap-align: start;
        text-decoration: none;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-card.is-current {
        border-color: var(--fp-pdp-ink);
        box-shadow: inset 0 0 0 1px var(--fp-pdp-ink);
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-card:focus-visible {
        outline: 2px solid var(--fp-pdp-ink);
        outline-offset: 2px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-image {
        display: block;
        width: 100%;
        height: 100%;
        padding: 5px;
        box-sizing: border-box;
        object-fit: contain;
        object-position: center;
        mix-blend-mode: darken;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__native-color {
        display: none !important;
    }

    body[data-template='product'].fp-jp-product-mobile label.product-form--color-swatch:has(.fp-pdp__native-swatch-image) {
        width: 76px !important;
        height: 76px !important;
        overflow: hidden;
        border-radius: 4px !important;
        background: var(--fp-pdp-surface) !important;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__native-swatch-image {
        display: block;
        width: 100%;
        height: 100%;
        padding: 5px;
        box-sizing: border-box;
        object-fit: contain;
        mix-blend-mode: darken;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description {
        margin-top: 24px !important;
        border-top: 1px solid var(--fp-pdp-line) !important;
        border-bottom: 1px solid var(--fp-pdp-line) !important;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .product__details-container>summary {
        min-height: 60px !important;
        padding: 18px 0 !important;
        box-sizing: border-box !important;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .accordion__title {
        color: var(--fp-pdp-ink) !important;
        font: 600 18px/24px "Helvetica Neue", Arial, Helvetica, sans-serif !important;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .accordion__content {
        padding: 2px 0 28px !important;
        color: #3d3d3f !important;
        font: 400 16px/1.62 "Helvetica Neue", Arial, Helvetica, sans-serif !important;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .accordion__content h2,
    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .accordion__content h3 {
        margin: 24px 0 10px;
        color: var(--fp-pdp-ink);
        font-size: 17px;
        line-height: 1.35;
        font-weight: 600;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .accordion__content ul {
        padding-left: 20px;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .fp-pdp__detail-intro p {
        margin: 0 0 12px;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .fp-pdp__detail-list {
        display: grid;
        gap: 7px;
        margin: 0;
        padding-left: 20px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__eyebrow {
        display: block;
        margin-bottom: 10px;
        color: #707072;
        font-size: 11px;
        line-height: 1.25;
        font-weight: 600;
        letter-spacing: .13em;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .fp-pdp__overview h3 {
        margin: 0 0 14px;
        font-size: 19px;
        line-height: 1.3;
        letter-spacing: -.015em;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .fp-pdp__overview p {
        margin: 0 0 12px;
    }

    body[data-template='product'].fp-jp-product-mobile .product__details-wrapper--fp-description .fp-pdp__overview-lead {
        color: #111;
        font-size: 17px;
        line-height: 1.5;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__detail-section {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #e5e5e5;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__overview+.fp-pdp__detail-section,
    body[data-template='product'].fp-jp-product-mobile .fp-pdp__overview+.fp-pdp__verified-details,
    body[data-template='product'].fp-jp-product-mobile .fp-pdp__detail-section+.fp-pdp__verified-details {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #e5e5e5;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__verified-details>.fp-pdp__detail-section:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__detail-section h3 {
        margin: 0 0 14px !important;
        color: #111;
        font-size: 20px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        letter-spacing: -.02em;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__fact {
        display: block;
        min-height: 86px;
        padding: 15px;
        box-sizing: border-box;
        border-radius: 2px;
        background: var(--fp-pdp-surface);
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__fact.is-wide {
        grid-column: 1 / -1;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__fact dt {
        display: block;
        margin: 0;
        color: #707072;
        font-size: 12px;
        line-height: 1.35;
        font-weight: 500;
        letter-spacing: .02em;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__fact dd {
        display: block;
        margin: 6px 0 0;
        color: #111;
        font-size: 15px;
        line-height: 1.42;
        font-weight: 500;
        overflow-wrap: anywhere;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__detail-copy {
        margin: 0;
        color: #3d3d3f;
        font-size: 16px;
        line-height: 1.62;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-purchase {
        position: fixed;
        z-index: 1200;
        right: auto;
        bottom: 0;
        left: 50%;
        display: flex;
        width: min(100%, 520px);
        min-height: 74px;
        gap: 14px;
        align-items: center;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        box-sizing: border-box;
        border-top: 1px solid #e5e5e5;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 110%);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-purchase.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-copy {
        min-width: 0;
        flex: 1 1 auto;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-copy strong,
    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-copy span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-copy strong {
        color: #111;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 600;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-copy span {
        margin-top: 3px;
        color: #707072;
        font-size: 12px;
        line-height: 1.3;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-button {
        flex: 0 0 auto;
        min-width: 154px;
        min-height: 52px;
        padding: 0 22px;
        border: 1px solid #111;
        border-radius: 999px;
        color: #fff;
        background: #111;
        font: 600 15px/1 "Helvetica Neue", Arial, Helvetica, sans-serif;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-button:disabled {
        border-color: #d8d8d8;
        color: #8d8d8f;
        background: #e9e9e9;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-button:focus-visible {
        outline: 2px solid #111;
        outline-offset: 2px;
    }

    body[data-template='product'].fp-jp-product-mobile.fp-pdp-sticky-visible #MainContent {
        padding-bottom: 84px;
    }

    @media (max-width: 359px) {
        body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-copy {
            display: none;
        }

        body[data-template='product'].fp-jp-product-mobile .fp-pdp__sticky-button {
            width: 100%;
        }
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__service-links {
        margin-top: 14px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__service-links p {
        margin: 0 0 14px;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__policy-links {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__policy-links a {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid #cacacb;
        border-radius: 999px;
        color: #111;
        background: #fff;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
    }

    body[data-template='product'].fp-jp-product-mobile.fp-pdp-family-loading .product__info-wrapper.sl-imitate::after {
        content: 'Loading available colors…';
        display: block;
        margin: 4px 0 18px;
        color: var(--fp-pdp-muted);
        font-size: 12px;
        line-height: 1.4;
    }

    body[data-template='product'].fp-jp-product-mobile.fp-pdp-is-switching::before {
        content: '';
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        width: 38%;
        height: 3px;
        background: #111;
        animation: fp-pdp-progress 1s ease-in-out infinite;
    }

    body[data-template='product'].fp-jp-product-mobile.fp-pdp-is-switching .shopline-section[aria-busy='true'] {
        opacity: .58;
        pointer-events: none;
        transition: opacity 160ms ease;
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__color-card.is-pending {
        border-color: var(--fp-pdp-ink);
        box-shadow: inset 0 0 0 1px var(--fp-pdp-ink);
    }

    body[data-template='product'].fp-jp-product-mobile .fp-pdp__status {
        position: fixed !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    /* The legacy SHOPLINE product-group app contains manually grouped products
     that are not reliable color variants. The verified FP rail replaces it on
     mobile; native size and variant controls remain untouched. */
    body.fp-jp-product-mobile #plugin-product-group,
    body.fp-jp-product-mobile .plugin-product-group-modal {
        display: none !important;
    }

    @keyframes fp-pdp-progress {
        0% {
            transform: translateX(-110%);
        }

        50% {
            transform: translateX(95vw);
        }

        100% {
            transform: translateX(260%);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        body[data-template='product'].fp-jp-product-mobile.fp-pdp-is-switching::before {
            animation: none;
            width: 100%;
        }

        body[data-template='product'].fp-jp-product-mobile.fp-pdp-is-switching .shopline-section[aria-busy='true'] {
            transition: none;
        }
    }
}/* FP DAILY EDIT — FRONT-END ONLY */
#fp-daily-edit {
    display: block;
    margin: 34px auto 58px;
    padding: 0 16px;
    max-width: 1440px;
}

#fp-daily-edit .fp-daily-edit__frame {
    position: relative;
    overflow: hidden;
    background: #111;
    color: #fff;
    isolation: isolate;
}

#fp-daily-edit .fp-daily-edit__frame::before {
    position: absolute;
    z-index: -1;
    top: -150px;
    right: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

#fp-daily-edit .fp-daily-edit__intro {
    max-width: 720px;
    padding: 30px 20px 32px;
}

#fp-daily-edit .fp-daily-edit__eyebrow {
    margin: 0 0 16px;
    color: #ff5a61;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
}

#fp-daily-edit h2 {
    max-width: 580px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 11vw, 78px);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .89;
}

#fp-daily-edit .fp-daily-edit__copy {
    max-width: 430px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
    line-height: 1.5;
}

#fp-daily-edit .fp-daily-edit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .2);
    gap: 1px;
}

#fp-daily-edit .fp-daily-edit__grid a {
    display: flex;
    min-height: 112px;
    padding: 15px 14px 14px;
    flex-direction: column;
    justify-content: space-between;
    background: #111;
    color: #fff;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

#fp-daily-edit .fp-daily-edit__grid a:hover,
#fp-daily-edit .fp-daily-edit__grid a:focus-visible {
    background: #fff;
    color: #111;
}

#fp-daily-edit .fp-daily-edit__grid span {
    color: #ff5a61;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
}

#fp-daily-edit .fp-daily-edit__grid strong {
    display: block;
    margin-top: auto;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

#fp-daily-edit .fp-daily-edit__grid em {
    margin-top: 6px;
    color: currentColor;
    font-size: 11px;
    font-style: normal;
    line-height: 1.25;
    opacity: .62;
}

@media (min-width: 750px) {
    #fp-daily-edit {
        padding: 0 28px;
    }

    #fp-daily-edit .fp-daily-edit__intro {
        padding: 52px 46px 48px;
    }

    #fp-daily-edit .fp-daily-edit__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #fp-daily-edit .fp-daily-edit__grid a {
        min-height: 132px;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #fp-daily-edit .fp-daily-edit__grid a {
        transition: none;
    }
}/* FP mobile homepage: Nike U.S. visual replica (front-end only) */
@media (max-width: 767px) {

    body.fp-nike-us-replica-ready .studio-announcement,
    body.fp-nike-us-replica-ready #fp-daily-edit,
    body.fp-nike-us-replica-ready .fp-jp-remix,
    body.fp-nike-us-replica-ready .fp-jp-mobile-footer {
        display: none !important;
    }

    body.fp-nike-us-replica-ready .shopline-section-header,
    body.fp-nike-us-replica-ready .shopline-section-header-hidden {
        margin-top: 0 !important;
    }

    #fp-nike-us-mobile-home {
        --fpus-ink: #111111;
        --fpus-paper: #ffffff;
        --fpus-soft: #f5f5f5;
        --fpus-line: #e5e5e5;
        display: block;
        width: 100%;
        overflow: hidden;
        color: var(--fpus-ink);
        background: var(--fpus-paper);
        font-family: Helvetica, Arial, sans-serif;
        letter-spacing: 0;
    }

    #fp-nike-us-mobile-home *,
    #fp-nike-us-mobile-home *::before,
    #fp-nike-us-mobile-home *::after {
        box-sizing: border-box;
    }

    #fp-nike-us-mobile-home a {
        color: inherit;
        text-decoration: none;
    }

    #fp-nike-us-mobile-home img {
        display: block;
        width: 100%;
        height: auto;
    }

    #fp-nike-us-mobile-home .fpus-hero,
    #fp-nike-us-mobile-home .fpus-feature {
        position: relative;
        width: 100%;
        overflow: hidden;
        isolation: isolate;
        background: #121212;
    }

    #fp-nike-us-mobile-home .fpus-hero {
        min-height: 562px;
    }

    #fp-nike-us-mobile-home .fpus-feature {
        min-height: 562px;
        margin-top: 64px;
    }

    #fp-nike-us-mobile-home .fpus-media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        z-index: -2;
    }

    #fp-nike-us-mobile-home .fpus-hero-shade,
    #fp-nike-us-mobile-home .fpus-feature-shade {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 25%, rgba(0, 0, 0, 0.18) 53%, rgba(0, 0, 0, 0.83) 100%);
        z-index: -1;
    }

    #fp-nike-us-mobile-home .fpus-hero-copy,
    #fp-nike-us-mobile-home .fpus-feature-copy {
        position: absolute;
        right: 24px;
        bottom: 28px;
        left: 24px;
        color: #fff;
    }

    #fp-nike-us-mobile-home .fpus-hero-copy h1,
    #fp-nike-us-mobile-home .fpus-feature-copy h2 {
        max-width: 330px;
        margin: 0;
        color: inherit;
        font-size: clamp(34px, 10.7vw, 42px);
        font-weight: 900;
        line-height: .92;
        letter-spacing: -.055em;
    }

    #fp-nike-us-mobile-home .fpus-feature-copy h2 {
        font-size: clamp(31px, 9.5vw, 38px);
    }

    #fp-nike-us-mobile-home .fpus-hero-copy p,
    #fp-nike-us-mobile-home .fpus-feature-copy p {
        max-width: 325px;
        margin: 13px 0 17px;
        color: inherit;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.42;
    }

    #fp-nike-us-mobile-home .fpus-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 20px;
        border: 1px solid transparent;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
    }

    #fp-nike-us-mobile-home .fpus-pill--light {
        color: #111;
        background: #fff;
    }

    #fp-nike-us-mobile-home .fpus-pill--dark {
        color: #fff;
        background: #111;
    }

    #fp-nike-us-mobile-home .fpus-pill--ghost {
        color: #fff;
        border-color: rgba(255, 255, 255, .82);
        background: transparent;
    }

    #fp-nike-us-mobile-home .fpus-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    #fp-nike-us-mobile-home .fpus-rail-section {
        margin: 64px 0 0;
    }

    #fp-nike-us-mobile-home .fpus-rail-section--tight {
        margin-top: 32px;
    }

    #fp-nike-us-mobile-home .fpus-scroll {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(270px, 78vw);
        gap: 12px;
        overflow-x: auto;
        padding: 0 24px 5px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #fp-nike-us-mobile-home .fpus-scroll::-webkit-scrollbar {
        display: none;
    }

    #fp-nike-us-mobile-home .fpus-scroll>* {
        scroll-snap-align: start;
    }

    #fp-nike-us-mobile-home .fpus-scroll--campaigns {
        grid-auto-columns: minmax(280px, 82vw);
    }

    #fp-nike-us-mobile-home .fpus-scroll--products {
        grid-auto-columns: minmax(200px, 58vw);
        gap: 12px;
    }

    #fp-nike-us-mobile-home .fpus-scroll--stories {
        grid-auto-columns: minmax(270px, 76vw);
    }

    #fp-nike-us-mobile-home .fpus-campaign-card,
    #fp-nike-us-mobile-home .fpus-product-card,
    #fp-nike-us-mobile-home .fpus-story-card {
        display: block;
        min-width: 0;
    }

    #fp-nike-us-mobile-home .fpus-campaign-card img {
        aspect-ratio: 4 / 5;
        object-fit: cover;
        background: var(--fpus-soft);
    }

    #fp-nike-us-mobile-home .fpus-campaign-card span,
    #fp-nike-us-mobile-home .fpus-product-card span,
    #fp-nike-us-mobile-home .fpus-story-card span {
        display: block;
        padding-top: 11px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.25;
    }

    #fp-nike-us-mobile-home .fpus-brand-label {
        margin: 64px 0 0;
        padding: 0 24px;
        color: #111;
        font-size: 15px;
        font-weight: 900;
        letter-spacing: .22em;
        text-align: center;
    }

    #fp-nike-us-mobile-home .fpus-section-title,
    #fp-nike-us-mobile-home .fpus-trending h2 {
        margin: 0 24px 20px;
        color: #111;
        font-size: 25px;
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -.025em;
    }

    #fp-nike-us-mobile-home .fpus-product-card img {
        aspect-ratio: 1 / 1;
        object-fit: contain;
        background: #f5f5f5;
    }

    #fp-nike-us-mobile-home .fpus-product-card span {
        font-size: 14px;
        font-weight: 500;
    }

    #fp-nike-us-mobile-home .fpus-tech-card {
        position: relative;
        min-height: 500px;
        overflow: hidden;
        color: #fff;
        background: #111;
    }

    #fp-nike-us-mobile-home .fpus-tech-card img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        object-position: center;
    }

    #fp-nike-us-mobile-home .fpus-tech-card::after {
        position: absolute;
        inset: 0;
        content: '';
        background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .85) 100%);
        pointer-events: none;
    }

    #fp-nike-us-mobile-home .fpus-tech-card>div {
        position: absolute;
        right: 24px;
        bottom: 25px;
        left: 24px;
        z-index: 1;
    }

    #fp-nike-us-mobile-home .fpus-tech-card span {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 600;
    }

    #fp-nike-us-mobile-home .fpus-tech-card h2 {
        margin: 0 0 12px;
        font-size: 34px;
        font-weight: 900;
        line-height: .95;
        letter-spacing: -.05em;
    }

    #fp-nike-us-mobile-home .fpus-text-link {
        display: inline-block;
        padding-bottom: 2px;
        border-bottom: 1px solid currentColor;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
    }

    #fp-nike-us-mobile-home .fpus-feature--light {
        color: #111;
        background: #e7e5e0;
    }

    #fp-nike-us-mobile-home .fpus-feature--light .fpus-feature-shade {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 43%, rgba(255, 255, 255, .18) 56%, rgba(255, 255, 255, .94) 100%);
    }

    #fp-nike-us-mobile-home .fpus-feature--light .fpus-feature-copy {
        color: #111;
    }

    #fp-nike-us-mobile-home .fpus-trending {
        margin-top: 64px;
        padding: 0 24px;
    }

    #fp-nike-us-mobile-home .fpus-trending h2 {
        margin-right: 0;
        margin-left: 0;
    }

    #fp-nike-us-mobile-home .fpus-trending>p,
    #fp-nike-us-mobile-home .fpus-section-subtitle {
        margin: -7px 24px 22px;
        color: #555;
        font-size: 15px;
        line-height: 1.45;
    }

    #fp-nike-us-mobile-home .fpus-trending>p {
        margin: -7px 0 22px;
    }

    #fp-nike-us-mobile-home .fpus-trending-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 9px;
    }

    #fp-nike-us-mobile-home .fpus-trending-grid a {
        padding: 10px 13px;
        border: 1px solid #d9d9d9;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
    }

    #fp-nike-us-mobile-home .fpus-inside {
        margin-bottom: 64px;
    }

    #fp-nike-us-mobile-home .fpus-story-card img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
        background: var(--fpus-soft);
    }

    #fp-nike-us-mobile-home .fpus-footer {
        margin-top: 0;
        border-top: 1px solid var(--fpus-line);
        background: #111;
        color: #fff;
    }

    #fp-nike-us-mobile-home .fpus-footer details {
        border-bottom: 1px solid #3a3a3a;
    }

    #fp-nike-us-mobile-home .fpus-footer summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 62px;
        padding: 0 24px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 700;
        list-style: none;
    }

    #fp-nike-us-mobile-home .fpus-footer summary::-webkit-details-marker {
        display: none;
    }

    #fp-nike-us-mobile-home .fpus-footer summary::after {
        content: '+';
        font-size: 24px;
        font-weight: 300;
    }

    #fp-nike-us-mobile-home .fpus-footer details[open] summary::after {
        content: '−';
    }

    #fp-nike-us-mobile-home .fpus-footer details>div {
        display: grid;
        gap: 14px;
        padding: 0 24px 22px;
    }

    #fp-nike-us-mobile-home .fpus-footer a {
        color: #d1d1d1;
        font-size: 14px;
    }

    #fp-nike-us-mobile-home .fpus-footer>p {
        margin: 0;
        padding: 28px 24px 34px;
        color: #a7a7a7;
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    #fp-nike-us-mobile-home {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #fp-nike-us-mobile-home .fpus-scroll {
        scroll-behavior: auto;
    }
}

/* Keep the U.S. mobile homepage as a single, standalone composition. */
@media screen and (max-width: 767px) {
  body.fp-nike-us-replica-ready #MainContent > :not(#fp-nike-us-mobile-home) {
    display: none !important;
  }

  body.fp-nike-us-replica-ready .fp-jp-mobile-footer,
  body.fp-nike-us-replica-ready > footer.footer {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  body.fp-nike-us-replica-ready footer.footer {
    display: none !important;
  }
}


/* Nike US mobile: Never Miss a Day video card and FIT System motion rail. */
@media screen and (max-width: 767px) {
  body.fp-nike-us-replica-ready .fpus-us-motion {
    background: #fff;
  }

  body.fp-nike-us-replica-ready .fpus-video-card {
    position: relative;
    min-height: 520px;
    aspect-ratio: 66774 / 100000;
    overflow: hidden;
    background: #111;
    color: #fff;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__media,
  body.fp-nike-us-replica-ready .fpus-video-card__media > img,
  body.fp-nike-us-replica-ready .fpus-video-card__motion {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__media > img,
  body.fp-nike-us-replica-ready .fpus-video-card__motion {
    object-fit: cover;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.02) 20%, rgba(0,0,0,.7) 100%);
    pointer-events: none;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__motion {
    opacity: 0;
    transition: opacity .24s ease;
  }

  body.fp-nike-us-replica-ready .fpus-us-motion.is-motion-playing .fpus-video-card__motion {
    opacity: .9;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__copy {
    position: relative;
    z-index: 2;
    min-height: 520px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__copy h2 {
    max-width: 310px;
    margin: 0 0 10px;
    font-size: 38px;
    line-height: .96;
    letter-spacing: -.04em;
    font-weight: 900;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__copy p {
    max-width: 315px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.38;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  body.fp-nike-us-replica-ready .fpus-video-card__watch {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 999px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-weight: 700;
  }

  body.fp-nike-us-replica-ready .fpus-motion-rail {
    padding: 24px 0 42px;
    background: #fff;
  }

  body.fp-nike-us-replica-ready .fpus-motion-rail__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 24px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.fp-nike-us-replica-ready .fpus-motion-rail__track::-webkit-scrollbar {
    display: none;
  }

  body.fp-nike-us-replica-ready .fpus-motion-card {
    flex: 0 0 300px;
    display: block;
    color: #111;
    text-decoration: none;
    scroll-snap-align: start;
  }

  body.fp-nike-us-replica-ready .fpus-motion-card video {
    display: block;
    width: 300px;
    height: 300px;
    background: #f4f4f4;
    object-fit: cover;
  }

  body.fp-nike-us-replica-ready .fpus-motion-card span {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.2;
  }

  body.fp-nike-us-replica-ready .fpus-motion-card strong {
    display: block;
    margin-top: 7px;
    font-size: 21px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.02em;
  }
}


/* Restored FP right-side mobile navigation */
/* FP US mobile right-drawer menu — companion draft stylesheet. */

/* It is deliberately unavailable outside the FP mobile breakpoint. */
#fp-us-right-menu {
  display: none;
}

@media (max-width: 959px) {
  body.fpus-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  #fp-us-right-menu {
    display: block;
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    pointer-events: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #111;
  }

  #fp-us-right-menu *,
  #fp-us-right-menu *::before,
  #fp-us-right-menu *::after {
    box-sizing: border-box;
  }

  #fp-us-right-menu.is-open {
    pointer-events: auto;
  }

  #fp-us-right-menu .fpus-backdrop {
    appearance: none;
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgb(0 0 0 / 42%);
    opacity: 0;
    transition: opacity 220ms ease;
  }

  #fp-us-right-menu.is-open .fpus-backdrop {
    opacity: 1;
  }

  #fp-us-right-menu .fpus-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(91vw, 390px);
    overflow: hidden;
    background: #fff;
    box-shadow: -12px 0 38px rgb(0 0 0 / 15%);
    transform: translateX(105%);
    transition: transform 260ms cubic-bezier(.2, .76, .25, 1);
  }

  #fp-us-right-menu.is-open .fpus-drawer {
    transform: translateX(0);
  }

  #fp-us-right-menu .fpus-drawer-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 55px 36px 28px;
    scrollbar-width: thin;
    scrollbar-color: #777 transparent;
  }

  #fp-us-right-menu .fpus-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  #fp-us-right-menu .fpus-heading h2 {
    margin: 6px 0 18px;
    font-size: clamp(23px, 6vw, 27px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.035em;
  }

  #fp-us-right-menu .fpus-eyebrow,
  #fp-us-right-menu .fpus-popular h3,
  #fp-us-right-menu .fpus-promo-eyebrow {
    margin: 0;
    color: #5b5b5b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.2;
  }

  #fp-us-right-menu .fpus-eyebrow {
    color: #b51431;
  }

  #fp-us-right-menu .fpus-close {
    appearance: none;
    position: relative;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: -9px -9px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
  }

  #fp-us-right-menu .fpus-close span,
  #fp-us-right-menu .fpus-close span::after {
    position: absolute;
    top: 15px;
    left: 4px;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }

  #fp-us-right-menu .fpus-close span {
    transform: rotate(45deg);
  }

  #fp-us-right-menu .fpus-close span::after {
    top: 0;
    left: 0;
    transform: rotate(-90deg);
  }

  #fp-us-right-menu .fpus-search {
    display: flex;
    align-items: center;
    height: 44px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f6f6f6;
  }

  #fp-us-rigt-menu .fpus-search input {
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 12px;
    color: #111;
    font: 400 16px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  }

  #fp-us-right-menu .fpus-search input::placeholder {
    color: #757575;
  }

  #fp-us-right-menu .fpus-search button {
    appearance: none;
    position: relative;
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
  }

  #fp-us-right-enu .fpus-search button span,
  #fp-us-right-enu .fpus-search button span::after {
    position: absolute;
    display: block;
    content: "";
  }

  #fp-us-right-menu .fpus-search button span {
    top: 14px;
    left: 14px;
    width: 15px;
    height: 15px;
    border: 1.8px solid #111;
    border-radius: 50%;
  }

  #fp-us-right-enu .fpus-search button span::after {
    right: -5px;
    bottom: -4px;
    width: 7px;
    height: 1.8px;
    transform: rotate(48deg);
    transform-origin: center;
    background: #111;
  }

  #fp-us-right-enu .fpus-popular {
    margin-top: 19px;
  }

  #fp-us-right-menu .fpus-popular h3 {
    margin-bottom: 13px;
  }

  #fp-us-right-menu .fpus-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 8px;
  }

  #fp-us-right-menu .fpus-chip {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    border-radius: 999px;
    background: #f3f3f3;
    padding: 9px 16px;
    color: #161616;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }

  #fp-us-right-menu .fpus-groups {
    margin-top: 26px;
    border-top: 1px solid #ddd;
  }

  #fp-us-right-enu .fpus-group {
    border-bottom: 1px solid #ddd;
  }

  #fp-us-right-menu .fpus-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 57px;
    list-style: none;
    cursor: pointer;
    color: #181818;
    font-size: 17px;
    font-weight: 400;
  }

  #fp-us-right-menu .fpus-group > summary::-webkit-details-marker,
  #fp-us-right-menu .fpus-subgroup > summary::-webkit-details-marker {
    display: none;
  }

  #fp-us-right-menu .fpus-chevron {
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 180ms ease;
  }

  #fp-us-right-menu .fpus-group[open] > summary .fpus-chevron,
  #fp-us-right-menu .fpus-subgroup[open] > summary .fpus-chevron {
    transform: rotate(225deg) translate(-1px, -2px);
  }

  #fp-us-right-enu .fpus-group-links {
    display: grid;
    gap: 13px;
    padding: 0 0 20px;
  }

  #fp-us-right-menu .fpus-subgroup > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    list-style: none;
    cursor: pointer;
    color: #555;
    font-size: 15px;
    line-height: 1.25;
  }

  #fp-us-right-menu .fpus-subgroup > summary .fpus-chevron {
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-width: 1.4px;
  }

  #fp-us-right-menu .fpus-subgroup-links {
    display: grid;
    gap: 12px;
    padding: 7px 0 6px 16px;
  }

  #fp-us-right-menu .fpus-menu-link {
    display: block;
    color: #555;
    font-size: 15px;
    line-height: 1.25;
    text-decoration: none;
  }

  #fp-us-right-enu .fpus-promo {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 16px;
    border-bottom: 3px solid #d42339;
    border-radius: 3px;
    background: #222;
    padding: 22px 18px 19px;
    color: #fff;
    text-decoration: none;
  }

  #fp-us-right-enu .fpus-promo-eyebrow {
    color: #e9e9e9;
    font-size: 10px;
  }

  #fp-us-right-enu .fpus-promo strong {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.05;
  }

  #fp-us-right-menu .fpus-promo-cta {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }

  #fp-us-right-enu .fpus-promo-cta b {
    margin-left: 8px;
    color: #e73246;
    font-size: 17px;
    line-height: 0;
  }

  #fp-us-right-menu a:focus-visible,
  #fp-us-right-menu button:focus-visible,
  #fp-us-right-menu summary:focus-visible,
  #fp-us-right-menu input:focus-visible {
    outline: 2px solid #2266f5;
    outline-offset: 2px;
  }

  #fp-us-right-menu .fpus-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* fpus-write-check */

/* FPUS right drawer visual correction */
@media (max-width: 959px) {
#fp-us-right-menu .fpus-search input { min-width:0; flex:1 1 auto; height:100%; border:0; outline:0; background:transparent; padding:0 12px; color:#111; font:400 16px/1 Arial,sans-serif; }
#fp-us-right-menu .fpus-search button span,
#fp-us-right-menu .fpus-search button span::after { position:absolute; display:block; content:""; }
#fp-us-right-menu .fpus-search button span::after { right:-5px; bottom:-4px; width:7px; height:2px; transform:rotate(48deg); background:#111; }
#fp-us-right-menu .fpus-popular { margin-top:19px; }
#fp-us-right-menu .fpus-group { border-bottom:1px solid #ddd; }
#fp-us-right-menu .fpus-group-links { display:grid; gap:13px; padding:0 0 20px; }
#fp-us-right-menu .fpus-promo { display:flex; flex-direction:column; gap:11px; margin-top:16px; border-bottom:3px solid #d42339; border-radius:3px; background:#222; padding:22px 18px 19px; color:#fff; text-decoration:none; }
#fp-us-right-menu .fpus-promo-eyebrow { color:#e9e9e9; font-size:10px; }
#fp-us-right-menu .fpus-promo strong { font-size:21px; font-weight:500; letter-spacing:-.025em; line-height:1.05; }
#fp-us-right-menu .fpus-promo-cta b { margin-left:8px; color:#e73246; font-size:17px; line-height:0; }
}

/* FPUS mobile menu scroll and header order correction 2026-11-09 */
@media (max-width: 959px) {
  body.fpus-menu-open {
    overflow: hidden !important;
    touch-action: auto !important;
    overscroll-behavior: none;
  }
  #fp-us-right-menu {
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden !important;
  }
  #fp-us-right-menu .fpus-drawer {
    position: absolute !important;
    inset: 0 0 0 auto !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #fp-us-right-menu .fpus-drawer-inner {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y !important;
    overscroll-behavior-y: contain;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .header__container.header__nav-style--drawer {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .header__container.header__nav-style--drawer .header__heading {
    order: 0 !important;
    flex: 1 1 auto !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }
  .header__container.header__nav-style--drawer .header__tools.display-none-desktop,
  .header__container.header__nav-style--drawer .header__buttons.display-none-desktop {
    display: contents !important;
  }
  .header__container.header__nav-style--drawer .header__tools.display-none-desktop > .header__search {
    order: 1 !important;
  }
  .header__container.header__nav-style--drawer .header__buttons.display-none-desktop > a {
    order: 2 !important;
  }
  .header__container.header__nav-style--drawer #cart-icon-bubble-mobile {
    order: 3 !important;
  }
  .header__container.header__nav-style--drawer .header__tools.display-none-desktop > .header__menu-drawer {
    order: 4 !important;
    margin-left: 0 !important;
  }
}


/* FP mobile menu conflict hotfix — 2026-11-09 */
@media (max-width: 959px) {
  html {
    scrollbar-gutter: stable;
  }
  body.fpus-menu-ready .header__menu-drawer.display-none-desktop .modal__content,
  body.fpus-menu-ready .header__menu-drawer.display-none-desktop .modal__overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    pointer-events: none !important;
  }
}

/* FP mobile menu hard detach v2 — 2026-11-09 */
.fpus-menu-launcher {
  display: none;
}

@media (max-width: 959px) {
  /* The original SHOPLINE drawer is no longer a clickable/paintable surface. */
  body.fpus-menu-native-detached .header__menu-drawer.display-none-desktop[data-fpus-native-menu="detached"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .fpus-menu-launcher {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 4;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .fpus-menu-launcher svg {
    display: block;
    width: 28px;
    height: 28px;
  }

  /* Undo the earlier gutter workaround; it can alter the mobile page width. */
  html {
    scrollbar-gutter: auto !important;
  }

  body.fpus-menu-open {
    box-sizing: border-box;
    overflow: hidden !important;
    padding-right: var(--fpus-scrollbar-gap, 0px) !important;
    touch-action: auto !important;
  }

  #fp-us-right-menu .fpus-drawer {
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
  }

  #fp-us-right-menu .fpus-drawer-inner {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }
}


/* FP mobile menu first-paint race fix v3 — 2026-11-09 */
@media (max-width: 959px) {
  /* Keep the 40px header slot, but never paint or activate the native drawer. */
  .header__menu-drawer.display-none-desktop {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* FP mobile menu v4: prevent iOS visual-viewport horizontal pan. */
@media (max-width: 959px) {
  #fp-us-right-menu {
    max-width: 100% !important;
    overflow: hidden !important;
    overflow: clip !important;
    overscroll-behavior: none;
  }
}

@media (max-width: 959px) and (pointer: coarse) {
  body.fpus-menu-open {
    padding-right: 0 !important;
  }
}


/* FP mobile: compact SHOPLINE announcement-app strip */
@media (max-width: 767px) {
  #sales-notice-plugin.notice-plugin-top > a {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 10px !important;
    align-items: center !important;
    background: #000 !important;
    color: #fff !important;
  }
  #sales-notice-plugin.notice-plugin-top > a > div,
  #sales-notice-plugin.notice-plugin-top > a [class*="_body_"],
  #sales-notice-plugin.notice-plugin-top > a [class*="_noticeBoardContent"] {
    min-height: 0 !important;
    height: auto !important;
  }
  #sales-notice-plugin.notice-plugin-top p,
  #sales-notice-plugin.notice-plugin-top strong {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 28px !important;
    color: #fff !important;
  }
}


/* FP mobile: keep one announcement bar on every storefront route */
@media (max-width: 767px) {
  #shopline-section-announcement-bar,
  .announcement-bar--container {
    display: none !important;
  }

  #sales-notice-plugin ~ #sales-notice-plugin {
    display: none !important;
  }
}

/* Mobile product variants: image swatches and reference-style size layout. */
@media (max-width: 767px) {
    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color,
    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 28px !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .product-form__input--left,
    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .product-form__input--left {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 14px !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .form__label,
    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .form__label {
        margin: 0 !important;
        color: #111 !important;
        font: 700 16px/1.35 "Helvetica Neue", Arial, Helvetica, sans-serif !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .product-form__input--right,
    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .product-form__input--right {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .product-form__input--right {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 10px 8px !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color label.product-form--color-swatch {
        --swatch-border-radius: 50%;
        position: relative !important;
        display: block !important;
        justify-self: center !important;
        width: min(100%, 52px) !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        box-sizing: border-box !important;
        margin: 3px auto !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #f4f4f4 !important;
        background-image: none !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .fp-product-color-swatch__image,
    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .product-form--color-swatch-inner {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
        border-radius: 50% !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color .fp-product-color-swatch__image {
        padding: 3px !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #f4f4f4 !important;
        mix-blend-mode: darken;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color input[type='radio']:checked + label.product-form--color-swatch::after {
        inset: -4px !important;
        border: 2px solid #111 !important;
        border-radius: 50% !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color input[type='radio']:focus-visible + label.product-form--color-swatch::after {
        outline: 2px solid #111 !important;
        outline-offset: 3px !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-color input[type='radio']:disabled + label.product-form--color-swatch {
        opacity: .42 !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .product-form__input--right {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size input[type='radio'] + label {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 46px !important;
        height: 48px !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 9px !important;
        border: 1px solid #d6d6d6 !important;
        border-radius: 0 !important;
        color: #111 !important;
        background: #fff !important;
        font: 400 16px/1 "Helvetica Neue", Arial, Helvetica, sans-serif !important;
        white-space: nowrap !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size input[type='radio']:checked + label {
        border-color: #111 !important;
        color: #fff !important;
        background: #111 !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size input[type='radio']:disabled + label {
        border-color: #e3e3e3 !important;
        color: #9a9a9a !important;
        background: #f7f7f7 !important;
        text-decoration: line-through !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .product-form__input--left .fp-sg3-trigger {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 2px 0 !important;
        border: 0 !important;
        color: #111 !important;
        background: transparent !important;
        font: 500 14px/1.3 "Helvetica Neue", Arial, Helvetica, sans-serif !important;
        text-align: right !important;
        text-decoration: none !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .product-form__input--left .fp-sg3-trigger::before {
        content: "" !important;
        display: inline-block !important;
        width: 24px !important;
        height: 12px !important;
        margin-right: 7px !important;
        background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M1 2.5h22v7H1zM4 2.5v4m3-4v2.5m3-2.5v4m3-4v2.5m3-2.5v4m3-4v2.5' fill='none' stroke='%23111' stroke-width='1.2'/%3E%3C/svg%3E") !important;
    }

    body[data-template='product'] .product__info-wrapper variant-radios .fp-variant-size .product-form__input--left .fp-sg3-trigger::after {
        content: none !important;
    }
}

/* FP HOMEPAGE UNIFIED MOBILE FOOTER V1 */
@media screen and (max-width: 767px) {
    body.fp-nike-us-replica-ready #fp-nike-us-mobile-home .fpus-footer {
        display: none !important;
    }

    body.fp-nike-us-replica-ready #shopline-section-footer,
    body.fp-nike-us-replica-ready #shopline-section-footer > footer.footer {
        display: block !important;
    }
}

