@font-face {
    font-family: 'Acumin Variable Concept';
    src: local('Acumin Variable Concept'),
         local('Acumin Variable Concept ExtraLight'),
         local('Acumin Pro ExtraLight');
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Acumin Variable Concept';
    src: local('Acumin Variable Concept Italic'),
         local('Acumin Variable Concept ExtraLight Italic'),
         local('Acumin Pro ExtraLight Italic');
    font-style: italic;
    font-weight: 200;
    font-display: swap;
}

:root {
    --font-acumin: 'Acumin Variable Concept', 'Helvetica Neue', Arial, sans-serif;
    --header-height: 96px;
    --footer-height: 64px;
    --top-blur: 22px;
    --top-content-y: 0px;
    --footer-blur: 12px;
    --footer-content-y: 0px;
    --footer-row-gap: 3px;
    --site-chrome-fg: #000000;
    --site-chrome-active: #b20f18;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100%;
    background: #ffffff;
    background-color: #ffffff;
}

html[data-site-selected-language="en"]:not([data-site-page="order"]) body,
html[data-site-selected-language="ru"]:not([data-site-page="order"]) body,
html[data-site-selected-language="kk"]:not([data-site-page="order"]) body {
    text-transform: uppercase;
}

html[data-site-page="order"] body,
html[data-site-selected-language="zh"] body {
    text-transform: none;
}

body {
    font-family: var(--font-acumin);
    font-weight: 200;
    user-select: text;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    background: #ffffff;
    background-color: #ffffff;
}

#root,
#__next {
    margin: 0;
    padding: 0;
}

i,
em {
    font-family: var(--font-acumin);
    font-style: italic;
    font-weight: 200;
}

header {
    font-family: var(--font-acumin);
    font-weight: 200;
    font-size: 20px;
    margin: 0;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: var(--header-height);
    padding: 0 calc(18px + 56px) 0 18px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    z-index: 1000;
    box-shadow: none;
    overflow: visible;
    color: var(--site-chrome-fg);
    transition: color 260ms ease;
}

header::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: calc(var(--header-height) + 110px);
    background: transparent;
    -webkit-backdrop-filter: blur(var(--top-blur));
    backdrop-filter: blur(var(--top-blur));
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.96) 24%,
        rgba(0, 0, 0, 0.78) 48%,
        rgba(0, 0, 0, 0.38) 74%,
        rgba(0, 0, 0, 0.12) 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.96) 24%,
        rgba(0, 0, 0, 0.78) 48%,
        rgba(0, 0, 0, 0.38) 74%,
        rgba(0, 0, 0, 0.12) 90%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 999;
}

header::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: calc(var(--header-height) + 190px);
    background: transparent;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.46) 38%,
        rgba(0, 0, 0, 0.24) 70%,
        rgba(0, 0, 0, 0.08) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.46) 38%,
        rgba(0, 0, 0, 0.24) 70%,
        rgba(0, 0, 0, 0.08) 88%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 999;
}

header.hidden {
    opacity: 1;
    pointer-events: auto;
}

header nav ul {
    display: flex;
    gap: 16px;
    align-items: center;
    height: var(--header-height);
    position: relative;
    z-index: 1001;
    transform: translateY(var(--top-content-y));
    transition: transform 0.16s ease-out, color 260ms ease;
    will-change: transform;
}

header nav,
header nav ul,
header nav ul li,
header nav ul li > a {
    height: var(--header-height);
}

header nav ul li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 3px;
    touch-action: manipulation;
}

header a[href] {
    opacity: 1;
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.92;
    }
}

a[href] {
    display: inline-block;
    text-decoration: none;
    color: var(--site-chrome-fg);
    transition: transform 0.08s ease, color 0.08s ease, opacity 0.8s ease;
}

a[href]:active {
    color: #737373;
    transform: scale(0.98);
}

header nav,
header nav ul,
header nav ul li {
    display: flex;
    align-items: center;
}

header nav ul li {
    min-height: var(--header-height);
}

header nav ul li[aria-hidden="true"] {
    line-height: 1;
}

header nav ul li > a[href] {
    height: var(--header-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.aspan-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    line-height: 0;
    perspective: 600px;
    vertical-align: middle;
}

.aspan-logo-link:active {
    transform: scale(0.94);
}

.aspan-nav-logo {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: contain;
    transform-origin: center center;
    transform-style: preserve-3d;
    animation: aspan-logo-spin-top-bottom 2.4s linear infinite;
    transition: filter 260ms ease, opacity 260ms ease;
}

body.site-chrome-dark .aspan-nav-logo {
    filter: none;
}

body.site-chrome-light .aspan-nav-logo {
    filter: none;
}

@keyframes aspan-logo-spin-top-bottom {
    from {
        transform: rotateX(0deg);
    }

    to {
        transform: rotateX(360deg);
    }
}

li {
    list-style-type: none;
}

.site-copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: var(--footer-height);
    padding: 0 20px;
    font-family: var(--font-acumin);
    font-size: 12px;
    font-style: normal;
    font-weight: 200;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--site-chrome-fg);
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    user-select: text;
    pointer-events: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.site-copyright::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: calc(var(--footer-height) + 180px);
    background: transparent;
    -webkit-backdrop-filter: blur(var(--footer-blur));
    backdrop-filter: blur(var(--footer-blur));
    -webkit-mask-image: linear-gradient(
        to top,
        #000 0%,
        rgba(0, 0, 0, 0.94) 28%,
        rgba(0, 0, 0, 0.72) 54%,
        rgba(0, 0, 0, 0.34) 78%,
        rgba(0, 0, 0, 0.1) 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to top,
        #000 0%,
        rgba(0, 0, 0, 0.94) 28%,
        rgba(0, 0, 0, 0.72) 54%,
        rgba(0, 0, 0, 0.34) 78%,
        rgba(0, 0, 0, 0.1) 92%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 998;
}

.site-copyright::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: calc(var(--footer-height) + 250px);
    background: transparent;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.42) 38%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.07) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.42) 38%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.07) 88%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 998;
}

.site-copyright-text {
    position: relative;
    z-index: 1001;
    transform: translateY(var(--footer-content-y));
    transition: transform 0.18s ease-out, color 260ms ease;
    will-change: transform;
    pointer-events: auto;
}

.site-copyright.site-legal-footer {
    min-height: 52px;
    height: auto;
    padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: var(--footer-row-gap);
    line-height: 1.1;
    pointer-events: none;
    z-index: 1200;
}

.site-copyright.site-legal-footer .site-copyright-text {
    display: block;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.065em;
}

.site-legal-links {
    position: relative;
    z-index: 1001;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 7px;
    row-gap: var(--footer-row-gap);
    max-width: min(920px, 96vw);
    transform: translateY(var(--footer-content-y));
    transition: transform 0.18s ease-out;
    will-change: transform;
    pointer-events: auto;
}

.site-legal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: currentColor;
    font: inherit;
    font-size: 11px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.72;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-shadow: none;
    transition: color 160ms ease, opacity 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.site-legal-link:hover,
.site-legal-link:focus-visible {
    color: #d32f2f;
    opacity: 1;
    outline: none;
}

.site-legal-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-legal-separator {
    display: inline-block;
    color: currentColor;
    font-size: 11px;
    line-height: 1;
    opacity: 0.38;
}

.site-store-glass-button {
    position: relative;
    z-index: 1002;
    width: 168px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 18px;
    flex: 0 0 auto;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.5), transparent 38%),
        rgba(18, 18, 18, 0.12);
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.26),
        0 0 28px rgba(255, 255, 255, 0.46),
        0 0 54px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transform: translate3d(0, 0, 0);
    animation: site-store-glass-pulse 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 320ms ease,
        background 320ms ease,
        box-shadow 320ms ease;
    -webkit-tap-highlight-color: transparent;
}

.site-store-glass-button[href] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.96);
    line-height: 0;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 320ms ease,
        background 320ms ease,
        box-shadow 320ms ease;
}

html[data-site-page="menu"] .site-store-glass-button,
html[data-site-page="menu"] .site-store-glass-button[href] {
    color: rgba(255, 255, 255, 0.96);
}

.site-store-glass-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 68%);
    opacity: 0.7;
    pointer-events: none;
}

.site-store-glass-icon {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: block;
    flex: 0 0 30px;
    isolation: isolate;
}

.site-store-glass-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: var(--font-acumin);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1025px) {
    html[data-site-selected-language="kk"] .site-store-glass-button {
        width: 196px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    html[data-site-selected-language="kk"] .site-store-glass-button {
        width: 194px;
    }
}

.site-store-glass-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.42) 36%, transparent 72%);
    filter: blur(4px);
    transform: translate3d(-20px, -50%, 0);
    opacity: 0.22;
    animation: site-store-icon-sweep 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    pointer-events: none;
}

.site-store-glass-button svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.98;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.58));
}

.site-store-glass-button:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1)),
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.56), transparent 38%),
        rgba(255, 255, 255, 0.14);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.3),
        0 0 32px rgba(255, 255, 255, 0.7),
        0 0 66px rgba(255, 255, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.site-store-glass-button:hover .site-store-glass-icon::before,
.site-store-glass-button:active .site-store-glass-icon::before {
    filter: blur(5px);
    opacity: 0.42;
}

.site-store-glass-button:active {
    border-color: rgba(255, 255, 255, 0.84);
    filter: brightness(0.94);
}

.site-store-glass-button[href]:active {
    color: rgba(255, 255, 255, 0.96);
}

.site-store-glass-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.78);
    outline-offset: 4px;
}

@keyframes site-store-glass-pulse {
    0%, 100% {
        transform: scale(0.96);
        box-shadow:
            0 16px 38px rgba(0, 0, 0, 0.26),
            0 0 34px rgba(255, 255, 255, 0.68),
            0 0 64px rgba(255, 255, 255, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.44),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    }

    50% {
        transform: scale(1.055);
        box-shadow:
            0 20px 42px rgba(0, 0, 0, 0.28),
            0 0 15px rgba(255, 255, 255, 0.36),
            0 0 30px rgba(255, 255, 255, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.52),
            inset 0 -1px 0 rgba(255, 255, 255, 0.14);
    }
}

@keyframes site-store-icon-sweep {
    0%, 100% {
        transform: translate3d(-20px, -50%, 0);
        opacity: 0.18;
    }

    25% {
        transform: translate3d(-50%, -50%, 0);
        opacity: 0.9;
    }

    50% {
        transform: translate3d(8px, -50%, 0);
        opacity: 0.18;
    }

    75% {
        transform: translate3d(-50%, -50%, 0);
        opacity: 0.9;
    }
}

.site-settings-button {
    position: fixed;
    top: calc(env(safe-area-inset-top) + ((var(--header-height) - 44px) / 2));
    right: 18px;
    z-index: 2600;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--site-chrome-fg);
    cursor: pointer;
    overflow: visible;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    transform: translate3d(0, 0, 0);
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        color 260ms ease;
    -webkit-tap-highlight-color: transparent;
}

.site-settings-button::before {
    content: "";
    position: absolute;
    inset: -8px;
}

body.site-no-header .site-settings-button {
    top: calc(env(safe-area-inset-top) + 18px);
    right: 18px;
}

.site-settings-equal-icon {
    position: relative;
    z-index: 1;
    width: 27px;
    height: 10px;
    display: block;
    pointer-events: none;
}

.site-settings-equal-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.82;
    transform: translateZ(0);
}

.site-settings-equal-icon span:first-child {
    top: 0;
}

.site-settings-equal-icon span:last-child {
    bottom: 0;
}

.site-settings-button:hover,
.site-settings-button:focus-visible,
body.site-settings-open .site-settings-button {
    color: var(--site-chrome-fg);
    outline: none;
    opacity: 0.72;
    transform: translateY(-1px);
}

.site-settings-button:active {
    opacity: 0.55;
    transform: scale(0.94);
}

.site-settings-button:focus-visible {
    outline: 1px solid rgba(0, 0, 0, 0.34);
    outline-offset: 6px;
}

.site-settings-panel {
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
    right: 18px;
    left: auto;
    z-index: 2590;
    width: min(304px, calc(100vw - 36px));
    max-height: min(420px, calc(100dvh - var(--header-height) - 88px));
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 246, 246, 0.86)),
        rgba(255, 255, 255, 0.86);
    color: #111111;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(calc(100% + 28px), 0, 0);
    -webkit-backdrop-filter: blur(18px) saturate(124%);
    backdrop-filter: blur(18px) saturate(124%);
    box-shadow:
        0 22px 70px rgba(18, 18, 18, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transition:
        transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 220ms ease;
}

html[data-site-page="order"] .site-settings-button {
    z-index: 6210;
}

html[data-site-page="order"] .site-settings-panel {
    z-index: 6200;
}

body.site-no-header .site-settings-panel {
    top: calc(env(safe-area-inset-top) + 74px);
    right: 18px;
    max-height: calc(100dvh - 92px);
}

body.site-settings-open .site-settings-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.site-settings-panel-inner {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: inherit;
    min-height: 0;
}

.site-settings-header {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(18, 18, 18, 0.1);
    background: transparent;
    box-shadow: none;
    overflow: visible;
    z-index: auto;
}

.site-settings-header::before,
.site-settings-header::after {
    content: none;
}

.site-settings-header h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 200;
    line-height: 0.95;
    letter-spacing: 0;
}

.site-settings-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.54);
    color: #111111;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.site-settings-close:hover,
.site-settings-close:focus-visible {
    border-color: rgba(211, 47, 47, 0.42);
    color: #d32f2f;
    outline: none;
}

.site-settings-scroll {
    display: grid;
    gap: 8px;
    overflow: auto;
    min-height: 0;
    padding: 14px 18px 18px;
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.site-language-section,
.site-language-options,
.site-effects-options {
    display: grid;
    gap: 8px;
}

.site-settings-panel button {
    touch-action: manipulation;
}

.site-language-option {
    width: 100%;
    min-height: 50px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    color: #111111;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.site-language-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.06);
    color: rgba(18, 18, 18, 0.68);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.site-language-option strong {
    overflow: hidden;
    color: currentColor;
    font-size: 15px;
    font-weight: 200;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-language-option:hover,
.site-language-option:focus-visible,
.site-language-option.is-active {
    border-color: rgba(211, 47, 47, 0.5);
    background: rgba(255, 255, 255, 0.76);
    color: #d32f2f;
    outline: none;
    transform: translateX(2px);
}

.site-language-option.is-active span {
    background: rgba(211, 47, 47, 0.12);
    color: #d32f2f;
}

.site-settings-section-title {
    margin-top: 8px;
    color: #d32f2f;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-effect-option,
.site-motion-permission-button {
    width: 100%;
    min-height: 46px;
    display: grid;
    align-items: center;
    gap: 3px;
    padding: 9px 12px;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    color: #111111;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.site-effect-option span {
    color: rgba(18, 18, 18, 0.5);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-effect-option strong,
.site-motion-permission-button {
    overflow: hidden;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-effect-option:hover,
.site-effect-option:focus-visible,
.site-effect-option.is-active,
.site-motion-permission-button:hover,
.site-motion-permission-button:focus-visible {
    border-color: rgba(211, 47, 47, 0.5);
    background: rgba(255, 255, 255, 0.76);
    color: #d32f2f;
    outline: none;
    transform: translateX(2px);
}

.site-effect-option.is-active span {
    color: #d32f2f;
}

.site-motion-permission-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: #d32f2f;
    font-size: 12px;
    text-align: center;
}

.site-motion-permission-button[hidden] {
    display: none;
}

.site-motion-permission-button:disabled {
    color: rgba(18, 18, 18, 0.42);
    cursor: default;
    transform: none;
}

.site-legal-modal[hidden] {
    display: none;
}

.site-legal-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 18px;
    font-family: var(--font-acumin);
}

.site-legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.66);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.site-legal-modal-panel {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 36px));
    max-height: min(760px, calc(100dvh - 36px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(9, 9, 9, 0.96);
    color: #ffffff;
    box-shadow: 0 24px 120px rgba(0, 0, 0, 0.38);
}

.site-legal-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 28px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.site-legal-modal-close:hover,
.site-legal-modal-close:focus-visible {
    border-color: #d32f2f;
    color: #d32f2f;
    outline: none;
}

.site-legal-modal-panel h2 {
    margin: 0 44px 18px 0;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 200;
    line-height: 1;
    letter-spacing: 0;
}

.site-legal-modal-body {
    display: grid;
    gap: 14px;
    overflow: auto;
    padding-right: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(13px, 1.7vw, 15px);
    line-height: 1.46;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.site-legal-modal-body h3 {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}

.site-legal-modal-body p,
.site-legal-modal-body ul {
    margin: 0;
}

.site-legal-modal-body ul {
    padding-left: 18px;
}

.site-legal-modal-body li + li {
    margin-top: 6px;
}

body.site-legal-modal-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    header {
        padding-right: calc(14px + 52px);
    }

    html body,
    html body * {
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none;
    }

    html body input,
    html body textarea,
    html body select,
    html body [contenteditable="true"] {
        -webkit-user-select: text !important;
        user-select: text !important;
        -webkit-touch-callout: default;
    }

    html body .mobile-scroll-control {
        display: none !important;
        bottom: var(--scroll-control-bottom, calc(68px + env(safe-area-inset-bottom))) !important;
        z-index: 1300 !important;
        isolation: isolate;
        pointer-events: none !important;
        filter: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    html body .scroll-down-btn,
    html body .scroll-arrows,
    html body .scroll-arrows span {
        position: relative;
        filter: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        text-shadow: none !important;
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
    }

    .site-store-glass-button {
        width: 164px;
        height: 68px;
        gap: 12px;
        padding: 0 18px;
        margin-bottom: 12px;
        border-radius: 21px;
    }

    .site-store-glass-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .site-settings-button {
        top: calc(env(safe-area-inset-top) + ((var(--header-height) - 42px) / 2));
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .site-settings-panel {
        top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
        right: 14px;
        left: auto;
        width: min(300px, calc(100vw - 28px));
        max-height: calc(100dvh - var(--header-height) - 82px);
    }

    body.site-no-header .site-settings-button {
        top: calc(env(safe-area-inset-top) + 14px);
        right: 14px;
    }

    body.site-no-header .site-settings-panel {
        top: calc(env(safe-area-inset-top) + 68px);
        right: 14px;
        max-height: calc(100dvh - 84px);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 84px;
        --footer-height: 54px;
        --footer-row-gap: 1px;
    }

    .site-copyright.site-legal-footer {
        min-height: 44px;
        padding: 4px 7px calc(4px + env(safe-area-inset-bottom));
        gap: var(--footer-row-gap);
    }

    .site-copyright.site-legal-footer .site-copyright-text {
        font-size: 10.5px;
        letter-spacing: 0.04em;
    }

    .site-legal-links {
        column-gap: 4px;
        row-gap: var(--footer-row-gap);
        max-width: 97vw;
    }

    .site-legal-link {
        min-height: 17px;
        padding: 0 1px;
        font-size: 9.5px;
    }

    .site-legal-separator {
        font-size: 9.5px;
    }

    .aspan-logo-link {
        width: var(--header-height);
        height: var(--header-height);
    }

    .aspan-nav-logo {
        width: calc(var(--header-height) - 20px);
        height: calc(var(--header-height) - 20px);
    }

    .site-store-glass-button {
        width: 64px;
        height: 64px;
        gap: 0;
        padding: 0;
        margin-bottom: 11px;
        border-radius: 20px;
    }

    .site-store-glass-icon {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .site-store-glass-label {
        display: none;
    }

    .site-settings-button {
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .site-settings-equal-icon {
        width: 25px;
        height: 9px;
    }

    .site-settings-panel {
        right: 12px;
        left: auto;
        width: min(252px, calc(100vw - 24px));
        max-height: min(348px, calc(100dvh - var(--header-height) - 72px));
    }

    .site-settings-header {
        gap: 12px;
        padding: 12px 12px 10px;
    }

    .site-settings-header h2 {
        font-size: 25px;
    }

    .site-settings-close {
        width: 28px;
        height: 28px;
        font-size: 21px;
    }

    .site-settings-scroll {
        gap: 6px;
        padding: 9px 12px 12px;
    }

    .site-language-option {
        min-height: 39px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        padding: 6px 8px;
    }

    .site-language-option span {
        min-width: 36px;
        min-height: 22px;
        font-size: 8px;
    }

    .site-language-option strong {
        font-size: 12px;
    }

    .site-settings-section-title {
        margin-top: 4px;
        font-size: 8px;
    }

    .site-effect-option {
        min-height: 38px;
        gap: 1px;
        padding: 6px 8px;
    }

    .site-effect-option span {
        font-size: 8px;
    }

    .site-effect-option strong {
        font-size: 11px;
    }

    .site-legal-modal {
        padding: 12px;
    }

    .site-legal-modal-panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-settings-button,
    .site-settings-panel,
    .site-language-option,
    .site-effect-option,
    .site-motion-permission-button {
        transition-duration: 1ms !important;
    }

    .site-store-glass-button {
        animation: none !important;
        transition-duration: 1ms !important;
    }

    .site-store-glass-button::before {
        transition-duration: 1ms !important;
    }

    .site-store-glass-icon::before {
        animation: none !important;
    }
}

.footer {
    display: block;
    width: 100%;
    padding: 290px 13px;
    text-decoration: none;
    color: #000000; 
}

.footer nav ul {
    display: flex;
    gap: 180px;
    font-family: var(--font-acumin);
    font-weight: 200;
    font-size: 24px;
    list-style: none;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}   

.footer div p {
    display: flex;
    gap: 180px;
    font-family: var(--font-acumin);
    font-weight: 200;
    font-size: 16px;
    list-style: none;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    margin-top: 40px;
}
/* Red section styles */
header.on-red-section {
    background: transparent;
    border: none;
}

header.on-red-section a[href] {
    color: #ffffff;
}

header.on-red-section a[href]:active {
    color: #cccccc;
}

header.on-red-section li[aria-hidden="true"] {
    color: #ffffff;
}

header.on-red-section a, header.on-red-section li > a, header.on-red-section li > a:only-child, header.on-red-section li > a:empty {
    color: #fff !important;
}

header.on-red-section li > a:empty {
    color: #fff !important;
    opacity: 0.7;
    font-weight: 200;
    font-size: 1.2em;
}

body.site-chrome-light {
    --site-chrome-fg: #000000;
    --site-chrome-active: #b20f18;
}

body.site-chrome-dark {
    --site-chrome-fg: #ffffff;
    --site-chrome-active: #b20f18;
}

body.site-chrome-light header,
body.site-chrome-light .site-copyright,
body.site-chrome-light .site-legal-link,
body.site-chrome-light .site-legal-separator,
body.site-chrome-light .site-settings-button {
    color: #000000;
}

body.site-chrome-dark header,
body.site-chrome-dark .site-copyright,
body.site-chrome-dark .site-legal-link,
body.site-chrome-dark .site-legal-separator,
body.site-chrome-dark .site-settings-button {
    color: #ffffff;
}

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

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

header nav ul li:last-child a[href],
header nav ul li:last-child a[aria-current="page"],
body.site-chrome-light header nav ul li:last-child a[href],
body.site-chrome-dark header nav ul li:last-child a[href] {
    color: var(--site-chrome-active) !important;
}

html[data-site-page="menu"] header nav ul li:last-child a[href] {
    animation: site-active-nav-blink 1s ease-in-out infinite;
}

@keyframes site-active-nav-blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.18;
    }
}

/* Overlay loader and spinner animation */
#page-loader {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#page-loader.active {
  opacity: 1;
  pointer-events: all;
}
.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #d32f2f;
  border-top: 6px solid #fff;
  border-radius: 50%;
  animation: spin-loader 0.8s linear infinite;
}
@keyframes spin-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========== RESPONSIVE ========== */

/* Large screens */
@media (min-width: 1400px) {
    header {
        padding: 0 calc(40px + 56px) 0 40px;
    }
    
}

/* Landscape tablets */
@media (max-width: 1024px) {
    header {
        font-size: 18px;
        padding: 0 calc(14px + 52px) 0 18px;
    }
    
    .footer nav ul {
        gap: 80px;
        font-size: 20px;
    }
}

/* Portrait tablets */
@media (max-width: 768px) {
    header {
        font-size: 16px;
        padding: 0 calc(12px + 48px) 0 18px;
        border-radius: 0;
        box-shadow: none;
    }
    
    header nav ul {
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .footer nav ul {
        gap: 40px;
        font-size: 18px;
    }
    
    .footer div p {
        font-size: 11px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --header-height: 80px;
        --footer-height: 50px;
    }

    header {
        font-size: 14px;
        padding: 0 calc(12px + 48px) 0 16px;
        border-radius: 0;
        box-shadow: none;
    }
    
    header nav ul {
        gap: 8px;
        justify-content: flex-start;
    }
    
    .footer nav ul {
        flex-direction: column;
        gap: 20px;
        font-size: 16px;
    }
    
    .footer div p {
        font-size: 10px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    :root {
        --header-height: 76px;
        --footer-height: 46px;
        --footer-row-gap: 0px;
    }

    header {
        font-size: 13px;
        padding: 0 calc(10px + 46px) 0 14px;
        border-radius: 0;
        box-shadow: none;
    }
    
    header nav ul {
        gap: 6px;
        justify-content: flex-start;
    }
    
    .footer nav ul {
        font-size: 14px;
        gap: 16px;
    }
    
    .footer div p {
        font-size: 9px;
    }

    .site-copyright.site-legal-footer {
        min-height: 39px;
        padding: 2px 5px calc(3px + env(safe-area-inset-bottom));
    }

    .site-copyright.site-legal-footer .site-copyright-text {
        font-size: 9px;
        letter-spacing: 0.032em;
    }

    .site-legal-links {
        column-gap: 3px;
        row-gap: 0;
    }

    .site-legal-link {
        min-height: 14px;
        padding: 0;
        font-size: 8.5px;
    }

    .site-legal-separator {
        font-size: 8.5px;
    }
}

/* ========== CURRENT PAGE STYLE IN HEADER ========== */
header nav ul li a[aria-current="page"] {
    color: var(--site-chrome-active) !important;
    font-weight: 200;
}

header.on-red-section nav ul li a[aria-current="page"] {
    color: var(--site-chrome-active) !important;
}

@media (pointer: coarse) {
    .site-legal-link {
        position: relative;
    }

    .site-legal-link::before {
        content: "";
        position: absolute;
        inset: -7px -4px;
    }
}
