#certificateForm {
    max-width: 800px;
    display: flex;
}

#certificateForm + #response {
    margin-top: 20px;
    padding: 10px;
    display: none;
}
#certificateForm + #response .success {
    color: green;
}
#certificateForm + #response .error {
    color: red;
}
#certificateForm + #response .info {
    color: gray;
}

#cp-lookbook {
    position: relative;
    overflow: hidden;
    letter-spacing: 0.06px;
}

#cp-lookbook .container:first-child {
    padding-top: 120px;
}

#cp-hero {
    position: relative;

    width: calc(100vw - 15px);
    margin-left: -20px;
}

#cp-hero .hero {
    padding-top: 72px;
    text-align: center;
}

#cp-hero .hero--alt {
    margin-top: -80px;
    padding-top: 0;
}

#cp-hero .hero__banner {
    margin-bottom: 80px;
}

#cp-hero .hero__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

#cp-hero .hero__picture {
    margin-top: 80px;
}

#cp-hero .hero .section__subtitle {  
    margin-bottom: 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 13px;
}

#cp-hero .hero .section__title {
    margin-bottom: 64px;

    font-size: 72px;
    font-weight: 400;
    text-transform: none;

    line-height: 1;
}

#cp-hero .hero--alt .hero__content {
    max-width: 1200px;
}

#cp-hero .hero--alt .section__subtitle {
    font-weight: 500;
}

#cp-hero .hero--alt .section__title {
    font-size: 64px;
    margin-bottom: 32px;
    letter-spacing: initial;
}

#cp-hero .hero--alt .section__text {
    font-size: 20px;
    line-height: 1.25;
}

#cp-hero .hero--alt .section__text p {
    margin-bottom: 20px;
}

#cp-hero .hero--alt .section__text u {
    font-weight: 500;
}

#cp-hero .section__text * {
    text-align: center;
}

#cp-hero .hero__background {
    position: absolute;
}

#cp-hero .hero__background:nth-child(1) {
    top: -56px;
    left: -27px;
    width: 540px;
    height: 560px;
}

#cp-hero .hero__background:nth-child(3) {
    top: -65px;
    right: -16px;
    width: 390px;
    height: 470px;
}

#cp-hero .cp-media {
    margin-top: 240px;
    padding-bottom: 32px;
}

#cp-hero .hero--alt .section__text {
    letter-spacing: 0.05px;
}

.cp-media__wrapper {
    position: relative;
}

.cp-media__action {
    position: absolute;
    top: 100%;
    left: 0;

    margin-top: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cp-media-hover,
.cp-media__action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-media-hover::after,
.cp-media__action::after {
    content: "";
    width: 8px;
    height: 8px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='M3 1L6 4L3 7' stroke='black'/%3E%3C/svg%3E");
}

.cp-media__picture {
    width: 100%;
    cursor: pointer;
}

.cp-media__picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cp-media__hover {
    display: none;
}

.section__title {
    letter-spacing: -5px;
}

/* .section__text {
    letter-spacing: -1px;
    line-height: 1.1;
} */

.lookbook-block {
    margin-top: 154px;
}

.lookbook-block--default .cp-media__wrapper {
    max-width: 740px;
    margin: 0 auto;
}

.lookbook-block--default .cp-media__picture {
    aspect-ratio: 11 / 16;
}

.lookbook-block--fill {
    width: calc(100vw - 15px);
    margin-left: -20px;
}

.lookbook-block--fill .cp-media__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;

    max-width: 100%;
}

.lookbook-block--fill .cp-media__picture {
    aspect-ratio: 13 / 16;
}

.lookbook-block--fill .cp-media__action {
    left: 20px;
}

.lookbook-block--text .cp-media__wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 84px;
    justify-content: center;
    align-items: center;

    max-width: 1284px;
    margin: 0 auto;
    font-size: 14px;
}

.lookbook-block--text .cp-media__picture {
    aspect-ratio: 16 / 11;
}

.lookbook-block--tw .cp-media__wrapper,
.lookbook-block--wt .cp-media__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 154px;
    align-items: center;
    justify-content: center;
}

.lookbook-block--tw .cp-media__action {
    top: initial;
    bottom: 0;
    left: calc(50vw + 56px);
}

/* D */

.lookbook-block--wt .cp-media__action {
    top: initial;
    bottom: 0;
    left: 0;
}

.lookbook-block--wide {
    width: calc(100vw - 15px);
    margin-left: -20px;
}

.lookbook-block--wide .cp-media__wrapper {
    max-width: 100%;
}

.lookbook-block--wide .cp-media__picture {
    aspect-ratio: 16 / 9;
}

.lookbook-text {
    padding-top: 120px;
}

.cp-text {
    max-width: 1200px;
    margin: 0 auto;
}

.cp-text__content {
    font-size: 20px;
    line-height: 1.25;
}

.cp-text p {
    text-align: center;
}

.cp-text__action,
.cp-text__title {
    font-weight: 500;
    text-transform: uppercase;
}

.cp-text__title {
    margin-bottom: 16px;
}

.cp-text__action {
    margin-top: 30px;
}

.cp-media-hover {
    position: absolute;
    pointer-events: none;

    transition: opacity 0.3s ease;
    opacity: 0;
    white-space: nowrap;
}

.cp-media-hover.visible {
    opacity: 1;
}

.cp-media-hover + .related-products {
    margin-top: 140px;
    padding: 0 !important;
}

.cp-popup {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;

    width: 100%;

    visibility: hidden;
    opacity: 0;

    background-color: #ffffff;

    transition: 0.4s ease;
}

.cp-popup.show {
    visibility: visible;
    opacity: 1;
}

.cp-popup__overlay {
    display: none;
}

.cp-popup__grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 10px;
}

.cp-popup__grid .swiper-wrapper .btn {
    margin-top: auto;
}

.cp-popup__picture,
.cp-popup__picture img {
    width: 100%;
    height: 100%;
}

.cp-popup__picture {
    height: 100svh;
}

.cp-popup__picture img {
    object-fit: cover;
}

.cp-popup__content {
    position: relative;
}

.cp-popup__wrapper {
    overflow: auto;
    max-height: calc(100vh - 120px);
    padding-bottom: 56px;
    padding-right: 20px;
}

.cp-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 20px;

    background-color: #ffffff;
}

.cp-popup__header--alt .cp-popup__action::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M1 1L10 10' stroke='black' stroke-width='0.8'/%3E%3Cpath d='M10 1L1 10' stroke='black' stroke-width='0.8'/%3E%3C/svg%3E");
}

.cp-popup__header--reverse {
    flex-direction: row-reverse;
}

.cp-popup__header--reverse .cp-popup__action {
    transform: rotate(180deg);
}

.cp-popup__title {
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
}

.cp-popup__action {
    position: relative;
    width: 30px;
    height: 30px;

    cursor: pointer;
}

.cp-popup__action::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 30px;
    height: 10px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='9' viewBox='0 0 29 9' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.8267 4.0679C29.0578 4.30654 29.0578 4.69346 28.8267 4.9321L25.0602 8.82102C24.8291 9.05966 24.4544 9.05966 24.2232 8.82102C23.9921 8.58237 23.9921 8.19546 24.2232 7.95681L26.9793 5.11108L0 5.11108V3.88891L26.9793 3.88892L24.2232 1.04319C23.9921 0.804542 23.9921 0.417625 24.2232 0.178982C24.4544 -0.0596608 24.8291 -0.0596608 25.0602 0.178982L28.8267 4.0679Z' fill='black'/%3E%3C/svg%3E");

    transform: translate(-50%, -50%);
}

.cp-lookbook-card {
    position: relative;
    overflow: hidden;
}

.product-preview.is-hover .product-sub-action,
.cp-lookbook-card.is-hover .product-sub-action {
    transform: none;
}

.product-preview.is-open .product-preview-vars,
.cp-lookbook-card.is-open .cp-lookbook-cart-size {
    transform: none;
}

@media (hover: hover) {
    .cp-lookbook-card:hover .cp-lookbook-cart-action {
        transform: none;
    }
}

.cp-lookbook-card picture {
    display: block;
}

.cp-lookbook-cart-icon {
    position: absolute;
    z-index: 4;
    right: 6px;
    bottom: 13px;

    display: none;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 16px;
}

.cp-lookbook-cart-icon svg path {
    transition: 0.4s ease;
}

.cp-lookbook-cart-icon.btn--success path {
    fill: #428bf9;
}

.cp-lookbook-cart-icon::before {
    content: "";
    position: absolute;
    inset: -8px;
}

.cp-lookbook-cart-size,
.product-sub-action {
    position: absolute;
    z-index: 32;
    bottom: 0;
    left: 0;

    width: 100%;

    transform: translateY(100%);
    transition: 0.4s ease;
}

.cp-lookbook-cart-size {
    z-index: 35;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    padding: 16px 0;
    background-color: #ffffff;
}

.product-preview-vars.is-show,
.cp-lookbook-cart-size.is-show {
    transform: none;
}

.cp-lookbook-cart-size > * {
    padding: 8px 16px;
    font-size: 12px;
    border: 1px solid transparent;

    text-align: center;
    transition: 0.4s ease;
    cursor: pointer;
}

.cp-lookbook-cart-size > *.current {
    color: #ffffff;
    background-color: #000000;
}

.cp-lookbook-cart-size > *:hover {
    border-color: #000000;
}

.cp-lookbook-cart-size span.active {
    border-color: #000000;
}

.product-button {
    width: 100%;
    padding: 20px;
    border: none;
    background-color: #ffffff;
    transition: 0.4s ease;
}

.product-button:hover {
    color: #ffffff;
    background-color: #000000;
}

@media (max-width: 1700px) {
    #cp-hero .hero__background:nth-child(1) {
        top: -56px;
        left: -27px;
        width: 340px;
        height: 320px;
    }

    #cp-hero .hero__background:nth-child(3) {
        top: -65px;
        right: -16px;
        width: 290px;
        height: 370px;
    }
}

@media (max-width: 1440px) {
    .lookbook-block--tw .cp-media__wrapper,
    .lookbook-block--wt .cp-media__wrapper {
        gap: 72px;
    }
}

@media (max-width: 1300px) {
    #cp-hero .hero__background:nth-child(1) {
        display: none;
    }

    #cp-hero .hero__background:nth-child(3) {
        display: none;
    }

    #cp-hero .cp-media {
        margin-top: 0;
        padding-bottom: 0;
    }

    .cp-media-hover {
        display: none;
    }
}

@media (max-width: 991px) {
    .cp-lookbook-cart-icon {
        display: flex;
    }

    #cp-hero .hero .section__title {
        margin-bottom: 48px;
        font-size: 46px;
    }

    .lookbook-block {
        margin-top: 64px;
    }

    #cp-hero,
    .lookbook-block--fill {
        width: 100%;
        margin-left: 0;
    }

    .lookbook-block--wide {
        width: 100%;
        margin-left: 0;
    }

    .lookbook-block--text .cp-media__wrapper {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .section__title {
        letter-spacing: -3px;
    }

    .cp-popup__overlay {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .cp-media-hover + .related-products {
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    #cp-hero {
        overflow: visible;
        width: 100vw;
        margin-left: -10px;
    }

    #cp-hero .hero {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: -120px;
        padding-top: 0;
    }

    #cp-hero .hero__content {
    }

    #cp-hero .hero .section__subtitle {
        margin-bottom: 12px;
    }

    #cp-hero .hero .section__text {
        padding: 0 16px;
    }

    #cp-hero .hero__background:nth-child(1),
    #cp-hero .hero__background:nth-child(3) {
        display: block;
        position: static;
    }

    #cp-hero .hero__background:nth-child(1) {
        grid-row: 3 / 4;
        width: 240px;
        height: 260px;

        transform: translate(-30px, -30px);
    }

    #cp-hero .hero__background:nth-child(3) {
        grid-row: 1 / 2;
        width: 180px;
        height: 200px;

        margin-left: auto;
        margin-bottom: 16px;
    }

    #cp-hero .hero--alt .section__subtitle {
        display: none;
    }

    #cp-hero .hero--alt .hero__banner {
        margin-bottom: 40px;
    }

    #cp-hero .hero--alt .hero__picture {
        margin-top: 0;
    }

    #cp-hero .hero--alt .section__title {
        margin-bottom: 16px;
        font-size: 38px;
    }

    .cp-text__content {
        font-size: 14px;
    }

    #cp-hero .hero--alt .section__text {
        font-size: 14px;
    }

    .lookbook-text {
        padding-top: 60px;
    }

    .lookbook-block--fill .cp-media__wrapper {
        grid-template-columns: 1fr;
    }

    .lookbook-block--tw .cp-media__wrapper,
    .lookbook-block--wt .cp-media__wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lookbook-block--tw .cp-media__wrapper .cp-media__action,
    .lookbook-block--wt .cp-media__wrapper .cp-media__action {
        margin-top: 0;
    }

    .lookbook-block--text .cp-media__wrapper {
        gap: 10px;
    }

    .lookbook-block--text .cp-media__action {
        grid-row: 2 / 3;
        margin-top: 0;
    }

    .lookbook-block--text .section__text {
        margin-top: 20px;
    }

    .lookbook-block--text .section__text p {
        text-align: center;
    }

    .cp-media__action {
        position: static;
        margin-top: 10px;
        font-size: 14px;
    }

    .cp-popup {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        height: 100dvh;
        background-color: transparent;
    }

    .cp-popup__content {
        position: absolute;
        bottom: 0;
        left: 0;

        width: 100%;
        margin-top: auto;
        padding: 0 10px;
        background-color: #ffffff;
    }

    .cp-lookbook-cart-size {
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-lookbook-cart-size > * {
        padding: 4px;
        font-size: 10px;
    }

    /* .cp-popup__grid .swiper {
        overflow: visible;
    } */

    .cp-popup__grid .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .cp-popup__grid .swiper-slide .btn {
        display: none;
    }

    .cp-popup__wrapper {
        padding-right: 0;
        padding-bottom: 24px;
    }

    .cp-popup__media {
        display: none;
    }

    .cp-popup__action {
        margin-right: -30px;
    }

    .cp-popup__action::after {
        width: 10px;
        height: 10px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M1 1L10 10' stroke='black' stroke-width='0.8'/%3E%3Cpath d='M10 1L1 10' stroke='black' stroke-width='0.8'/%3E%3C/svg%3E");
    }

    .m-custom-md-0 {
        margin-top: 0;
    }
}

.succs {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    text-align: center;
    background: #000;
    color: #fff;
    width: 100%;
    display: none;
    z-index: 99999;
}

#succs2 {
    color: green;
    background: #fff;
}
