#mos-mall {
    --mos-bg: #050505;
    --mos-text: #ffffff;
    --mos-muted: rgba(255,255,255,.45);
    --mos-line: rgba(255,255,255,.16);

    position: relative;
    width: 100%;
    background: var(--mos-bg);
    color: var(--mos-text);
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.mos-mall-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, #181818 0%, #090909 38%, #030303 75%);
}

.mos-mall-content {
    position: relative;
    z-index: 5;
    width: min(1400px, 92vw);
    text-align: center;
}

.mos-mall-eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .45em;
    color: var(--mos-muted);
}

.mos-mall-title {
    margin: 0;
    color: #fff;
    font-size: clamp(75px, 14vw, 210px);
    font-weight: 700;
    line-height: .78;
    letter-spacing: -.075em;
}

.mos-mall-title span {
    display: block;
    font-weight: 200;
    color: rgba(255,255,255,.82);
}

.mos-mall-subtitle {
    margin: 38px auto 55px;
    color: rgba(255,255,255,.62);
    font-size: clamp(13px, 1.15vw, 17px);
    line-height: 1.7;
    letter-spacing: .08em;
}

.mos-brand-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 65px);
    width: 100%;
}

.mos-brand {
    position: relative;
    appearance: none;
    border: 0;
    padding: 18px 0;
    background: transparent;
    color: rgba(255,255,255,.3);
    cursor: pointer;
    transition:
        color .4s ease,
        transform .4s ease;
}

.mos-brand:hover,
.mos-brand.active {
    color: #fff;
    transform: translateY(-5px);
}

.mos-brand-number {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    letter-spacing: .2em;
    opacity: .35;
}

.mos-brand-name {
    white-space: nowrap;
    font-size: clamp(11px, 1vw, 15px);
    font-weight: 500;
    letter-spacing: .12em;
}

.mos-brand::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: #fff;
    transform: translateX(-50%);
    transition: width .4s ease;
}

.mos-brand:hover::after,
.mos-brand.active::after {
    width: 100%;
}

.mos-mall-instruction {
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,.25);
    font-size: 8px;
    letter-spacing: .3em;
}

.mos-mouse {
    position: relative;
    width: 15px;
    height: 23px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 10px;
}

.mos-mouse::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: 2px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: mos-scroll 1.7s infinite;
}

@keyframes mos-scroll {
    0% {
        opacity: 0;
        transform: translate(-50%,0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%,7px);
    }
}

.mos-mall-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.mos-mall-glow-1 {
    width: 45vw;
    height: 45vw;
    top: -25vw;
    left: -15vw;
    background: rgba(255,255,255,.07);
}

.mos-mall-glow-2 {
    width: 35vw;
    height: 35vw;
    right: -15vw;
    bottom: -20vw;
    background: rgba(100,120,255,.07);
}

@media (max-width: 767px) {

    .mos-mall-content {
        width: 90vw;
    }

    .mos-mall-title {
        font-size: 26vw;
    }

    .mos-mall-subtitle {
        margin: 30px auto;
    }

    .mos-brand-selector {
        flex-direction: column;
        gap: 2px;
    }

    .mos-brand {
        padding: 12px;
    }

    .mos-brand-number {
        display: none;
    }

    .mos-mall-instruction {
        margin-top: 30px;
    }
}


/* =========================================================
   MOS MALL — SHOWROOM V1
========================================================= */

.mos-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
}

/* Brand screen */
.mos-brand-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, #181818 0%, #090909 38%, #030303 75%);
}

.mos-enter {
    margin-top: 50px;
    font-size: 8px;
    letter-spacing: .28em;
    color: rgba(255,255,255,.25);
}


/* =========================================================
   SHOWROOM
========================================================= */

.mos-showroom {
    display: none;
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, #222 0%, #0c0c0c 40%, #020202 78%);
    color: #fff;
}

.mos-showroom.is-open {
    display: block;
}


/* Header */
.mos-showroom-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;

    width: 100%;
    padding: 32px 42px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.mos-back {
    justify-self: start;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.5);

    font-size: 9px;
    letter-spacing: .18em;

    cursor: pointer;
    transition: color .3s ease;
}

.mos-back:hover {
    color: #fff;
}

.mos-showroom-brand {
    justify-self: center;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .28em;
}

.mos-product-counter {
    justify-self: end;

    font-size: 10px;
    letter-spacing: .18em;
    color: rgba(255,255,255,.4);
}

.mos-current {
    color: #fff;
}


/* =========================================================
   PRODUCT STAGE
========================================================= */

.mos-product-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.mos-product {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transform: scale(.94);

    transition:
        opacity .65s cubic-bezier(.22,.61,.36,1),
        transform .8s cubic-bezier(.22,.61,.36,1),
        visibility .65s;
}

.mos-product.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}


/* Product image */
.mos-product-visual {
    position: relative;

    width: min(720px, 68vw);
    height: min(430px, 48vh);

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1200px;
}

.mos-product-visual img {
    position: relative;
    z-index: 5;

    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 30px 45px rgba(0,0,0,.5));

    user-select: none;

    transition:
        transform .15s ease-out,
        filter .4s ease;
}


/* Halo behind glasses */
.mos-product-halo {
    position: absolute;
    z-index: 1;

    left: 50%;
    top: 50%;

    width: 55%;
    aspect-ratio: 1;

    transform: translate(-50%,-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.13) 0%,
            rgba(255,255,255,.045) 35%,
            transparent 70%
        );

    filter: blur(18px);
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.mos-product-info {
    position: relative;
    z-index: 10;

    margin-top: 5px;

    text-align: center;
}

.mos-stock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: .24em;

    color: rgba(255,255,255,.42);
}

.mos-stock span {
    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #7cff92;

    box-shadow: 0 0 12px rgba(124,255,146,.7);
}

.mos-product-info h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(38px, 5vw, 78px);
    line-height: 1;

    font-weight: 400;
    letter-spacing: -.045em;
}

.mos-price {
    margin-top: 14px;

    font-size: 14px;
    letter-spacing: .08em;

    color: rgba(255,255,255,.55);
}

.mos-price del {
    opacity: .4;
}

.mos-price ins {
    text-decoration: none;
    color: #fff;
}


/* View product */
.mos-view-product {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 24px;
    padding: 14px 20px;

    border-bottom: 1px solid rgba(255,255,255,.35);

    color: #fff !important;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: .22em;

    text-decoration: none !important;

    transition:
        border-color .3s ease,
        gap .3s ease;
}

.mos-view-product:hover {
    gap: 25px;
    border-color: #fff;
}

.mos-view-product span {
    font-size: 14px;
}


/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.mos-showroom-controls {
    position: absolute;
    z-index: 20;

    left: 50%;
    bottom: 40px;

    width: min(700px, 75vw);

    transform: translateX(-50%);

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.mos-prev,
.mos-next {
    appearance: none;
    border: 0;
    background: transparent;

    color: rgba(255,255,255,.4);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: .18em;

    cursor: pointer;

    transition: color .3s ease;
}

.mos-prev:hover,
.mos-next:hover {
    color: #fff;
}

.mos-progress {
    position: relative;

    width: 100%;
    height: 1px;

    overflow: hidden;

    background: rgba(255,255,255,.12);
}

.mos-progress span {
    position: absolute;
    top: 0;
    left: 0;

    width: 33.333%;
    height: 100%;

    background: #fff;

    transform-origin: left center;

    transition:
        transform .6s cubic-bezier(.22,.61,.36,1);
}


/* Bottom label */
.mos-showroom-footer {
    position: absolute;
    z-index: 10;

    right: 42px;
    bottom: 18px;

    font-size: 7px;
    letter-spacing: .25em;

    color: rgba(255,255,255,.18);
}


/* Disabled brands while prototype */
.mos-brand:disabled {
    cursor: default;
    opacity: .28;
}

.mos-brand:disabled:hover {
    color: rgba(255,255,255,.3);
    transform: none;
}

.mos-brand:disabled:hover::after {
    width: 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .mos-showroom-header {
        padding: 22px 18px;
    }

    .mos-showroom-brand {
        font-size: 8px;
        letter-spacing: .18em;
    }

    .mos-back {
        font-size: 7px;
    }

    .mos-product-counter {
        font-size: 8px;
    }

    .mos-product-visual {
        width: 90vw;
        height: 38vh;
    }

    .mos-product-info {
        width: 90%;
    }

    .mos-product-info h2 {
        font-size: clamp(38px, 13vw, 60px);
    }

    .mos-showroom-controls {
        width: calc(100% - 36px);
        bottom: 30px;
        gap: 15px;
    }

    .mos-showroom-footer {
        display: none;
    }

}

/* MOS Mall WooCommerce sale price */
#mos-mall .mos-price del,
#mos-mall .mos-price del .woocommerce-Price-amount {
    color: rgba(255,255,255,.38) !important;
}

#mos-mall .mos-price ins,
#mos-mall .mos-price ins .woocommerce-Price-amount,
#mos-mall .mos-price ins .woocommerce-Price-currencySymbol {
    color: #fff !important;
    opacity: 1 !important;
    text-decoration: none !important;
    font-weight: 500;
}


/* =========================================================
   MOS MALL — PRODUCT TRANSITIONS
========================================================= */

.mos-product {
    transition:
        opacity .5s cubic-bezier(.22,.61,.36,1),
        transform .65s cubic-bezier(.22,.61,.36,1),
        filter .5s ease;
}

.mos-product.mos-leave-left {
    opacity: 0;
    transform: translate3d(-12vw,0,0) scale(.92);
    filter: blur(8px);
}

.mos-product.mos-leave-right {
    opacity: 0;
    transform: translate3d(12vw,0,0) scale(.92);
    filter: blur(8px);
}

.mos-product.mos-enter-right {
    opacity: 0;
    visibility: visible;
    transform: translate3d(12vw,0,0) scale(.92);
    filter: blur(8px);
}

.mos-product.mos-enter-left {
    opacity: 0;
    visibility: visible;
    transform: translate3d(-12vw,0,0) scale(.92);
    filter: blur(8px);
}

.mos-product.active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0,0,0) scale(1);
    filter: blur(0);
}


/* =========================================================
   MOS MALL — ASK US SLIDE
========================================================= */

.mos-ask-slide {
    text-align: center;
}

.mos-ask-content {
    position: relative;
    z-index: 5;

    width: min(760px, 88vw);
    margin: auto;
}

.mos-ask-small {
    margin-bottom: 28px;

    color: rgba(255,255,255,.38);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: .28em;
}

.mos-ask-content h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(55px, 8vw, 120px);
    font-weight: 300;

    line-height: .88;
    letter-spacing: -.065em;
}

.mos-ask-content p {
    margin: 35px auto 0;

    color: rgba(255,255,255,.5);

    font-size: 13px;
    line-height: 1.8;
    letter-spacing: .04em;
}

.mos-ask-button {
    appearance: none;

    margin-top: 35px;
    padding: 16px 25px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 0;

    background: transparent;
    color: #fff;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: .22em;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.mos-ask-button span {
    margin-left: 15px;
}

.mos-ask-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

@media (max-width: 767px) {

    .mos-ask-content h2 {
        font-size: clamp(48px, 16vw, 78px);
    }

    .mos-ask-content p {
        font-size: 11px;
    }

}


/* =========================================================
   MOS MALL — ASK US VISUAL TUNING
========================================================= */

/* DESKTOP */
@media (min-width: 768px) {

    /* Gentle Monster · Special Request — slightly larger */
    #mos-mall .mos-ask-small {
        font-size: 10px;
        color: rgba(255,255,255,.55);
    }

    /* Keep entire Ask Us content properly centered */
    #mos-mall .mos-ask-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(-20px);
    }

    /* Center button visually */
    #mos-mall .mos-ask-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

}


/* MOBILE */
@media (max-width: 767px) {

    /* Special Request — similar size to description */
    #mos-mall .mos-ask-small {
        margin-bottom: 22px;

        font-size: 10px;
        line-height: 1.6;
        letter-spacing: .12em;

        color: rgba(255,255,255,.55) !important;
    }

    /* CAN'T FIND YOUR MODEL? — pure white */
    #mos-mall .mos-ask-content h2 {
        color: #fff !important;
    }

    /* Description — light grey */
    #mos-mall .mos-ask-content p {
        color: rgba(255,255,255,.55) !important;

        font-size: 10px;
        line-height: 1.7;
    }

    /* Center Ask Us button */
    #mos-mall .mos-ask-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-left: auto;
        margin-right: auto;
    }

}

/* =========================================================
   MOS MALL — BRAND SELECTOR INTERACTION
========================================================= */

@media (min-width: 768px) {

    #mos-mall .mos-brand {
        transition:
            opacity .35s ease,
            transform .45s cubic-bezier(.22,.61,.36,1),
            border-color .35s ease;
    }

    #mos-mall .mos-brand-selector:hover .mos-brand {
        opacity: .28;
    }

    #mos-mall .mos-brand-selector .mos-brand:hover {
        opacity: 1;
        transform: translateX(12px);
    }

    #mos-mall .mos-brand-name {
        transition:
            letter-spacing .45s cubic-bezier(.22,.61,.36,1),
            color .35s ease;
    }

    #mos-mall .mos-brand:hover .mos-brand-name {
        letter-spacing: .08em;
        color: #fff;
    }

    #mos-mall .mos-brand-number {
        transition: opacity .35s ease;
    }

    #mos-mall .mos-brand:hover .mos-brand-number {
        opacity: 1;
    }
}

