:root {
    --fashion-eclipse: #343148;
    --fashion-antique-white: #ede3d2;
    --fashion-rum-rasin: #583432;
    --fashion-moonbeam: #cdc6bd;
    --fashion-ink: #211f29;
    --fashion-paper: #f7f3ec;
    --fashion-line: rgba(52, 49, 72, 0.17);
    --fashion-shadow: 0 24px 65px rgba(52, 49, 72, 0.16);
}

body.fashion-colors-page {
    background:
        radial-gradient(circle at 7% 8%, rgba(88, 52, 50, 0.16), transparent 24rem),
        radial-gradient(circle at 94% 22%, rgba(52, 49, 72, 0.18), transparent 28rem),
        linear-gradient(145deg, var(--fashion-antique-white) 0%, #faf7f1 43%, var(--fashion-moonbeam) 140%);
    color: var(--fashion-ink);
}

body.fashion-colors-page::before {
    right: -9rem;
    bottom: -9rem;
    width: 28rem;
    height: 28rem;
    border-color: rgba(52, 49, 72, 0.18);
    box-shadow:
        0 0 0 3.5rem rgba(88, 52, 50, 0.045),
        0 0 0 8rem rgba(52, 49, 72, 0.035);
}

.fashion-colors-page .fashion-page {
    width: min(100% - 40px, 1320px);
    padding-block: 42px 100px;
    counter-reset: fashion-palette;
}

.fashion-colors-page .gallery-switcher {
    justify-content: center;
    width: 100%;
    margin-bottom: 24px;
}

.fashion-colors-page .gallery-switcher a {
    min-height: 42px;
    padding: 9px 17px;
    border-color: rgba(237, 227, 210, 0.52);
    background: var(--fashion-rum-rasin);
    color: var(--fashion-antique-white);
    box-shadow: 0 9px 24px rgba(88, 52, 50, 0.2);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.fashion-colors-page .gallery-switcher a:hover,
.fashion-colors-page .gallery-switcher a:focus-visible {
    background: var(--fashion-eclipse);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(52, 49, 72, 0.25);
}

.fashion-colors-page .fashion-intro {
    isolation: isolate;
    width: min(1180px, 100%);
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    margin-bottom: 72px;
    padding: clamp(34px, 5vw, 66px);
    border: 1px solid rgba(237, 227, 210, 0.2);
    border-radius: 38px 38px 120px 38px;
    background:
        linear-gradient(125deg, rgba(52, 49, 72, 0.98), rgba(52, 49, 72, 0.93) 58%, rgba(88, 52, 50, 0.96));
    box-shadow: 0 34px 80px rgba(52, 49, 72, 0.3);
}

.fashion-colors-page .fashion-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 28px;
    right: 30px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(237, 227, 210, 0.2);
    border-radius: 50%;
    box-shadow:
        -38px 44px 0 -18px rgba(205, 198, 189, 0.12),
        -78px 87px 0 -38px rgba(237, 227, 210, 0.12);
}

.fashion-colors-page .fashion-intro::after {
    top: auto;
    right: -28px;
    bottom: -48px;
    width: 230px;
    height: 180px;
    border: 12px solid rgba(237, 227, 210, 0.12);
    border-radius: 50% 42% 62% 38%;
    background: transparent;
    transform: rotate(-16deg);
}

.fashion-colors-page .fashion-intro .fashion-title {
    max-width: 1220px;
    color: var(--fashion-antique-white);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.92;
    text-wrap: balance;
}

.fashion-colors-page .fashion-intro p {
    color: rgba(247, 243, 236, 0.84);
}

.fashion-colors-page .fashion-intro a {
    color: var(--fashion-antique-white);
    text-decoration-color: rgba(237, 227, 210, 0.55);
}

.fashion-colors-page .serenity-intro-copy {
    padding-top: 0;
}

.fashion-colors-page .serenity-intro-title {
    width: 70%;
}

.fashion-colors-page .fashion-intro-texts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(32px, 6vw, 82px);
    padding-top: 30px;
    border-top: 1px solid rgba(237, 227, 210, 0.18);
}

.fashion-colors-page .fashion-intro-text {
    align-self: start;
}

.fashion-colors-page .fashion-intro-text > :first-child {
    margin-top: 0;
}

.fashion-signature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-bottom: 34px;
    font-family: "Geist", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
}

.fashion-signature-label {
    width: 100%;
    margin-bottom: 8px;
    color: rgba(237, 227, 210, 0.72);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
}

.fashion-signature-color {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px 7px 7px;
    border: 1px solid rgba(237, 227, 210, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--fashion-antique-white);
    backdrop-filter: blur(8px);
}

.fashion-signature-color i {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.fashion-signature-color .is-eclipse { background: var(--fashion-eclipse); }
.fashion-signature-color .is-antique-white { background: var(--fashion-antique-white); }
.fashion-signature-color .is-rum-rasin { background: var(--fashion-rum-rasin); }
.fashion-signature-color .is-moonbeam { background: var(--fashion-moonbeam); }

.fashion-colors-page .fashion-palette {
    position: relative;
    isolation: isolate;
    counter-increment: fashion-palette;
    width: min(100%, 1180px);
    padding: clamp(28px, 4vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(52, 49, 72, 0.11);
    border-radius: 34px;
    background: rgba(247, 243, 236, 0.86);
    box-shadow: var(--fashion-shadow);
    backdrop-filter: blur(16px);
}

.fashion-colors-page .fashion-palette:nth-of-type(even) {
    background: rgba(205, 198, 189, 0.72);
}

.fashion-colors-page .fashion-palette::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -56px;
    width: 190px;
    height: 190px;
    border: 32px solid rgba(88, 52, 50, 0.055);
    border-radius: 50%;
}

.fashion-colors-page .fashion-palette::after {
    content: "0" counter(fashion-palette);
    position: absolute;
    top: 27px;
    right: 38px;
    color: rgba(52, 49, 72, 0.11);
    font-family: "Gideon Roman", Georgia, serif;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    pointer-events: none;
}

.fashion-colors-page .fashion-palette + .fashion-palette {
    margin-top: 42px;
}

.fashion-colors-page .fashion-palette > .fashion-title {
    width: min(75%, 760px);
    margin-bottom: 34px;
    padding: 0 0 18px;
    color: var(--fashion-eclipse);
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-wrap: balance;
}

.fashion-colors-page .fashion-palette > .fashion-title::after {
    width: 96px;
    height: 5px;
    background: linear-gradient(90deg, var(--fashion-rum-rasin), var(--fashion-moonbeam));
}

.fashion-colors-page .fashion-color-grid {
    gap: 22px;
}

.fashion-colors-page .fashion-swatch {
    position: relative;
    min-height: 158px;
    padding: 28px 30px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 26px 26px 58px 26px;
    box-shadow: 0 12px 30px rgba(52, 49, 72, 0.14);
    transition:
        transform 220ms ease,
        border-radius 220ms ease,
        box-shadow 220ms ease;
}

.fashion-colors-page .fashion-swatch::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.18;
}

.fashion-colors-page .fashion-swatch:hover {
    border-radius: 26px 58px 26px 26px;
    transform: translateY(-7px) rotate(-0.25deg);
    box-shadow: 0 22px 44px rgba(52, 49, 72, 0.23);
}

.fashion-colors-page .fashion-swatch h3 {
    margin-bottom: 20px;
    padding-right: 46px;
    font-size: clamp(1.85rem, 3.7vw, 3rem);
    line-height: 1;
}

.fashion-colors-page .fashion-meta {
    gap: 9px;
}

.fashion-colors-page .fashion-meta span {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
}

@media (min-width: 1000px) {
    .fashion-colors-page .fashion-palette:nth-of-type(even) {
        transform: translateX(18px);
    }

    .fashion-colors-page .fashion-palette:nth-of-type(odd) {
        transform: translateX(-18px);
    }
}

@media (max-width: 760px) {
    .fashion-colors-page .fashion-page {
        width: min(100% - 22px, 1320px);
        padding-block: 28px 64px;
    }

    .fashion-colors-page .fashion-intro {
        min-height: 0;
        margin-bottom: 44px;
        border-radius: 26px 26px 70px 26px;
    }

    .fashion-colors-page .fashion-intro .fashion-title {
        font-size: clamp(2.5rem, 14vw, 4.4rem);
    }

    .fashion-colors-page .serenity-intro-title {
        width: 100%;
    }

    .fashion-colors-page .fashion-intro-texts {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 24px;
    }

    .fashion-colors-page .serenity-intro-copy {
        padding-top: 0;
    }

    .fashion-colors-page .fashion-palette {
        padding: 24px 18px;
        border-radius: 25px;
    }

    .fashion-colors-page .fashion-palette::after {
        top: 20px;
        right: 20px;
        font-size: 4rem;
    }

    .fashion-colors-page .fashion-palette > .fashion-title {
        width: 82%;
        font-size: clamp(1.8rem, 10vw, 2.8rem);
    }

    .fashion-colors-page .fashion-swatch {
        min-height: 144px;
        padding: 24px 22px;
        border-radius: 22px 22px 46px 22px;
    }

    .fashion-colors-page .fashion-swatch:hover {
        border-radius: 22px 46px 22px 22px;
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fashion-colors-page .gallery-switcher a,
    .fashion-colors-page .fashion-swatch {
        transition: none;
    }
}
