* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --store-track-y: 0dvh;
    --store-transition: 860ms cubic-bezier(0.16, 1, 0.3, 1);
    --store-link-red: #D32F2F;
    --store-link-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html.store-controlled-scroll,
html.store-controlled-scroll body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

body.store-controlled-scroll {
    position: fixed;
    inset: 0;
    width: 100%;
    overflow: hidden;
    touch-action: none;
    background: #ffffff;
}

header {
    font-family: var(--font-acumin);
    font-weight: 200;
    font-style: italic;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

header nav ul li a {
    font-style: normal;
    font-weight: 400;
    color: #000000 !important;
}

header nav ul li:last-child a {
    color: var(--site-chrome-active, #b20f18) !important;
    font-style: italic;
    font-weight: 200;
}

body.site-chrome-dark header nav ul li,
body.site-chrome-dark header nav ul li a {
    color: #ffffff !important;
}

body.site-chrome-light header nav ul li,
body.site-chrome-light header nav ul li a {
    color: #000000 !important;
}

body.site-chrome-dark header nav ul li:last-child a,
body.site-chrome-light header nav ul li:last-child a {
    color: var(--site-chrome-active, #b20f18) !important;
}

.store-card-nav-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    transition: color 220ms var(--store-link-ease), opacity 220ms ease;
}

.store-card-nav-link[aria-current="page"],
.store-card-nav-link:focus-visible {
    color: var(--store-link-red) !important;
}

.store-card-nav-link:focus-visible {
    outline: 1px solid var(--store-link-red);
    outline-offset: 8px;
}

.store-card-nav-full {
    display: inline-block;
}

.store-card-nav-word {
    display: none;
}

.nav-link-bottom-active,
header nav ul li:last-child a.nav-link-bottom-active {
    animation: navLinkBottomBlink 1s ease-in-out infinite !important;
}

@keyframes navLinkBottomBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.18;
    }
}

@keyframes storeNavWordReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@media (hover: hover) and (pointer: fine) {
    .store-card-nav-link:hover {
        color: var(--store-link-red) !important;
    }
}

.store-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-acumin);
    overflow: visible;
}

.store-screen-track {
    width: 100%;
}

.store-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + env(safe-area-inset-top) + 24px) clamp(20px, 6vw, 72px) calc(var(--footer-height) + 64px + env(safe-area-inset-bottom));
    text-align: center;
}

.store-product-frame {
    width: 100%;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-product-image {
    display: block;
    width: min(700px, 72vw);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
}

.store-product-image-primary {
    align-self: center;
}

.store-status-fixed {
    position: fixed;
    left: 50%;
    bottom: calc(var(--footer-height) + env(safe-area-inset-bottom) + clamp(8px, 1.4vh, 18px));
    z-index: 1201;
    width: max-content;
    max-width: 86vw;
    font-size: clamp(16px, 2.1vw, 28px);
    font-weight: 200;
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: center;
    color: #000000;
    white-space: nowrap;
    pointer-events: none;
    transform: translate3d(-50%, 0, 0);
    opacity: 1;
    animation: store-status-blink 1.8s ease-in-out infinite;
    isolation: isolate;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-shadow: none;
}

@keyframes store-status-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.34;
    }
}

.mobile-scroll-control {
    display: none;
    position: fixed;
    left: 50%;
    bottom: calc(70px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 60;
    padding: 0;
    margin: 0;
}

.scroll-down-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-acumin);
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: #000000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.92), 0 0 1px currentColor;
    -webkit-tap-highlight-color: transparent;
}

.scroll-down-btn:hover {
    opacity: 0.7;
}

.scroll-down-btn:active {
    opacity: 0.9;
}

.scroll-arrows {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(2px, 0.8vw, 7px);
    letter-spacing: 0;
    opacity: 1;
    animation: arrows-move-down 1.2s ease-in-out infinite;
    transition: opacity 180ms ease;
}

.scroll-down-btn.is-changing-direction .scroll-arrows {
    opacity: 0;
}

.scroll-down-btn[data-scroll-direction="up"] .scroll-arrows {
    animation-name: arrows-move-up;
}

.scroll-arrows span {
    display: block;
    transform: rotate(0deg);
    transform-origin: center center;
    -webkit-text-stroke: 0.25px currentColor;
}

.scroll-down-btn[data-scroll-direction="up"] .scroll-arrows span {
    transform: rotate(180deg);
}

@keyframes arrows-move-down {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

@keyframes arrows-move-up {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.site-copyright {
    z-index: 40;
}

.site-copyright::before,
.site-copyright::after {
    z-index: 38;
}

.site-copyright-text {
    z-index: 41;
}

@media (min-width: 1025px) {
    .store-product-screen-secondary {
        padding-top: 0;
        padding-bottom: 0;
    }

    .store-product-screen-secondary .store-product-frame {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }
}

@media (max-width: 1024px) {
    html.store-controlled-scroll .store-page {
        height: 100svh;
        height: 100dvh;
        overflow: hidden;
    }

    html.store-controlled-scroll .store-screen-track {
        height: 100svh;
        height: 100dvh;
        transform: translate3d(0, var(--store-track-y), 0);
        transition: transform var(--store-transition);
        will-change: transform;
    }

    .store-screen {
        min-height: 100svh;
        min-height: 100dvh;
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 14px) clamp(18px, 6vw, 32px) calc(var(--footer-height) + 82px + env(safe-area-inset-bottom));
    }

    html.store-controlled-scroll .store-screen {
        height: 100svh;
        height: 100dvh;
    }

    .store-product-frame {
        min-height: auto;
    }

    .store-product-image {
        width: min(620px, 82vw);
    }

    .mobile-scroll-control {
        display: flex;
    }

    .scroll-down-btn {
        min-width: 48px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    header nav ul {
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(5px, 1.7vw, 9px);
    }

    header nav ul li {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .store-card-nav-link {
        display: inline-flex;
        align-items: center;
        width: 12.8ch;
        line-height: 1;
        overflow: hidden;
        white-space: nowrap;
        vertical-align: middle;
    }

    .store-card-nav-full {
        display: none;
    }

    .store-card-nav-word {
        display: inline-block;
        line-height: 1;
        color: currentColor;
        white-space: nowrap;
        clip-path: inset(0 0 0 0);
        will-change: clip-path, opacity;
    }

    .store-card-nav-word.is-revealing {
        animation: storeNavWordReveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .store-product-image {
        width: min(440px, 86vw);
    }

    .store-status-fixed {
        bottom: calc(var(--footer-height) + env(safe-area-inset-bottom) + clamp(7px, 1.2vh, 12px));
        font-size: clamp(14px, 4vw, 20px);
    }
}

@media (max-width: 480px) {
    .store-product-image {
        width: min(320px, 90vw);
    }

    .scroll-down-btn {
        min-width: 44px;
        min-height: 40px;
        font-size: clamp(24px, 7vw, 31px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-screen-track,
    .scroll-down-btn,
    .scroll-arrows,
    .scroll-arrows span,
    .store-card-nav-word,
    .store-status-fixed {
        animation: none !important;
        transition-duration: 1ms !important;
    }
}
