.textile-journey-page {
    --textile-blue: #466cbc;
    --textile-magenta: #cd4ca3;
    --textile-pink: #ed057a;
}

.textile-hero .uv-hero__background {
    background-image: url("../front/img/planche_dtf_textile/header-QHVIah1.png");
}

.textile-hero .uv-hero__eyebrow {
    color: var(--textile-magenta);
}

.textile-hero .uv-hero__title span {
    color: var(--textile-blue);
}

.textile-hero .uv-button {
    border-color: var(--textile-magenta);
    min-width: clamp(12rem, 14vw, 18rem);
}

.textile-hero .uv-button--primary {
    background: var(--textile-magenta);
    box-shadow: 0.5rem 0.75rem 1.75rem rgb(205 76 163 / 20%);
}

.textile-hero .uv-button--primary:hover {
    background: #b83b8e;
    box-shadow: 0.5rem 1rem 2rem rgb(205 76 163 / 28%);
}

.textile-products .uv-products__heading h2 span {
    color: var(--textile-magenta);
}

.textile-product-card {
    grid-template-rows: minmax(20rem, 1fr) auto;
    min-height: 29rem;
}

.textile-product-card__media {
    padding: 1.25rem 1.25rem 0;
}

.textile-product-card__media img {
    max-height: 22rem;
}

.textile-product-card__media--cap {
    padding: 2rem 1.75rem 0;
}

.textile-product-card__media--cap img {
    max-height: 18rem;
}

.textile-product-card .uv-product-card__copy {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 7.5rem;
    padding-top: 0;
}

.textile-product-card .uv-product-card__copy strong {
    padding-right: 0;
}

.textile-product-card .uv-product-card__arrow {
    flex: 0 0 auto;
    position: static;
}

.textile-product-card .uv-product-card__arrow svg {
    height: 1em;
    width: 1em;
}

.textile-editor-showcase {
    background: #09090b;
    color: #ffffff;
    overflow: hidden;
    padding-block: 5.5rem;
}

.textile-editor-showcase__layout {
    align-items: center;
    display: grid;
    gap: clamp(3rem, 6vw, 8rem);
    grid-template-columns: minmax(20rem, 0.72fr) minmax(32rem, 1.28fr);
}

.textile-editor-showcase__copy h2,
.textile-catalog-guide h2 {
    font-family: var(--font-sovaz-display);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
}

.textile-editor-showcase__copy h2 {
    font-size: clamp(3.2rem, 4.7vw, 5.5rem);
}

.textile-editor-showcase__copy > p {
    color: rgb(255 255 255 / 68%);
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.75;
    margin-top: 2.5rem;
    max-width: 38rem;
}

.textile-editor-showcase__copy dl {
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    margin: 3rem 0 0;
}

.textile-editor-showcase__copy dl div {
    border-top: 1px solid rgb(255 255 255 / 16%);
    display: grid;
    gap: 1rem;
    grid-template-columns: 9rem minmax(0, 1fr);
    padding-block: 1.35rem;
}

.textile-editor-showcase__copy dt {
    color: var(--textile-pink);
    font-weight: 700;
}

.textile-editor-showcase__copy dl div:nth-child(2) dt {
    color: #20b5ee;
}

.textile-editor-showcase__copy dl div:nth-child(3) dt {
    color: #f3df17;
}

.textile-editor-showcase__copy dd {
    color: rgb(255 255 255 / 62%);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.textile-editor-showcase__visual {
    padding-bottom: 1.75rem;
    position: relative;
}

.textile-editor-window {
    background: #24212a;
    border-radius: 1.5rem;
    box-shadow: 1.25rem 1.5rem 3rem rgb(0 0 0 / 34%);
    padding: 1.25rem;
}

.textile-editor-window__dots {
    display: flex;
    gap: 0.55rem;
    padding: 0 0.25rem 1rem;
}

.textile-editor-window__dots span {
    background: var(--textile-pink);
    border-radius: 50%;
    height: 0.75rem;
    width: 0.75rem;
}

.textile-editor-window__dots span:nth-child(2) {
    background: #f3df17;
}

.textile-editor-window__dots span:nth-child(3) {
    background: #20b5ee;
}

.textile-editor-window__screen {
    background: #f3f1f4;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    min-height: 34rem;
    overflow: hidden;
}

.textile-editor-window__tools {
    background: #17151a;
    color: rgb(255 255 255 / 62%);
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    font-weight: 700;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    text-transform: uppercase;
}

.textile-editor-window__tools strong {
    color: #20b5ee;
}

.textile-editor-window__stage {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 2.75rem;
    position: relative;
}

.textile-editor-window__stage img {
    height: 100%;
    inset: 0;
    object-fit: contain;
    object-position: center;
    padding: 1.5rem;
    position: absolute;
    width: 100%;
}

.textile-editor-window__mode {
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0.25rem 0.35rem 1rem rgb(0 0 0 / 13%);
    color: #09090b;
    font-size: 0.72rem;
    font-weight: 700;
    left: 1rem;
    padding: 0.45rem 0.9rem;
    position: absolute;
    top: 1rem;
    z-index: 2;
}

.textile-editor-window__print-area {
    align-items: center;
    background: rgb(255 255 255 / 78%);
    border: 3px dashed var(--textile-pink);
    color: #09090b;
    display: flex;
    font-size: 0.82rem;
    font-weight: 700;
    height: 9rem;
    justify-content: center;
    left: 50%;
    position: absolute;
    text-transform: uppercase;
    top: 36%;
    transform: translate(-50%, -50%);
    width: 9rem;
    z-index: 1;
}

.textile-editor-showcase__measurement {
    background: #f3df17;
    border-radius: 1rem;
    bottom: 0;
    color: #09090b;
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0;
    padding: 1rem 1.5rem;
    position: absolute;
    right: 2rem;
}

.textile-faq .uv-faq__plus {
    color: var(--textile-magenta);
}

.textile-catalog-guide {
    background: #fbfaf7;
    border-top: 3px solid #09090b;
    padding-block: 5.5rem;
}

.textile-catalog-guide__layout {
    align-items: center;
    display: grid;
    gap: clamp(3rem, 7vw, 9rem);
    grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 0.9fr);
}

.textile-catalog-guide h2 {
    font-size: clamp(3.2rem, 4.6vw, 5.25rem);
}

.textile-catalog-guide p {
    color: #646068;
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.75;
    margin: 2rem 0 0;
    max-width: 54rem;
}

.textile-catalog-guide > div > div > a {
    align-items: center;
    background: var(--textile-pink);
    border-radius: 0.75rem;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 1rem;
    margin-top: 2rem;
    min-height: 3.5rem;
    padding: 0.8rem 1.5rem;
    transition: background-color 200ms ease, transform 200ms ease;
}

.textile-catalog-guide > div > div > a:hover {
    background: #c90066;
    transform: translateY(-2px);
}

.textile-catalog-guide > div > div > a:focus-visible {
    outline: 3px solid #20b5ee;
    outline-offset: 4px;
}

.textile-catalog-guide > div > div > a svg {
    height: 1rem;
    width: 1rem;
}

.textile-catalog-guide aside {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0.75rem 1rem 2.5rem rgb(28 28 34 / 10%);
    padding: clamp(2rem, 3vw, 3.25rem);
}

.textile-catalog-guide aside > span {
    background: rgb(237 5 122 / 13%);
    border-radius: 999px;
    color: #c90066;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    text-transform: uppercase;
}

.textile-catalog-guide aside > strong {
    display: block;
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    margin-top: 2rem;
}

.textile-catalog-guide aside ul {
    color: #625e66;
    display: grid;
    gap: 1.25rem;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.textile-catalog-guide aside li {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
}

.textile-catalog-guide aside li svg {
    color: var(--textile-pink);
    flex: 0 0 auto;
    height: 1.15rem;
    margin-top: 0.1rem;
    width: 1.15rem;
}

.textile-final-cta {
    background: var(--textile-pink);
    color: #ffffff;
}

.textile-final-cta p {
    color: rgb(255 255 255 / 76%);
}

.textile-final-cta .uv-final-cta__primary {
    background: #09090b;
}

@media (max-width: 991px) {
    .textile-editor-showcase__layout,
    .textile-catalog-guide__layout {
        grid-template-columns: 1fr;
    }

    .textile-editor-showcase__visual {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .textile-hero .uv-hero__background {
        background-position: center top;
        opacity: 0.42;
    }

    .textile-product-card {
        min-height: 28rem;
    }

    .textile-editor-showcase,
    .textile-catalog-guide {
        padding-block: 4rem;
    }

    .textile-editor-showcase__layout,
    .textile-catalog-guide__layout {
        padding-inline: 1.25rem;
    }

    .textile-editor-showcase__copy h2,
    .textile-catalog-guide h2 {
        font-size: 3.15rem;
    }

    .textile-editor-showcase__copy dl div {
        grid-template-columns: 1fr;
    }

    .textile-editor-window {
        border-radius: 1rem;
        padding: 0.75rem;
    }

    .textile-editor-window__screen {
        grid-template-columns: 1fr;
        min-height: 27rem;
    }

    .textile-editor-window__tools {
        display: none;
    }

    .textile-editor-window__stage {
        min-height: 27rem;
        padding: 1.5rem;
    }

    .textile-editor-showcase__measurement {
        font-size: 0.72rem;
        right: 1rem;
    }

    .textile-catalog-guide aside {
        padding: 1.75rem;
    }
}

@media (max-width: 399px) {
    .textile-editor-showcase__copy h2,
    .textile-catalog-guide h2 {
        font-size: 2.75rem;
    }

    .textile-editor-window__print-area {
        height: 7rem;
        width: 7rem;
    }
}

:root.dark .textile-hero .uv-hero__eyebrow {
    color: #f08bc5;
}

:root.dark .textile-catalog-guide {
    background: #171419;
    border-color: #f5f1f7;
}

:root.dark .textile-catalog-guide p,
:root.dark .textile-catalog-guide aside ul {
    color: #c8c2cd;
}

:root.dark .textile-catalog-guide aside {
    background: #211e25;
    box-shadow: 0.75rem 1rem 2.5rem rgb(0 0 0 / 30%);
}

@media (prefers-reduced-motion: reduce) {
    .textile-journey-page *,
    .textile-journey-page *::before,
    .textile-journey-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
