@import url(./reset.css);
@import url(./main.css);


.clothing-contact__mobile-image {
    display: none;
}

#clothing-cards {
    padding-top: 120px;
}

.clothing-main {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.clothing-main__text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fz16);

    color: var(--text-color-dark);
    font-weight: 500;
    text-align: center;
}

.clothing-main__title {
    font-size: calc(var(--fz12) * 3);
}

.clothing-main__desc {
    font-size: var(--fz15);
    line-height: 132%;

    max-width: 74ch;
}

.clothing-main__cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.clothing-main__cards-line {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
}

.clothing-main__card {
    grid-column: span 3;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 52px;

    padding: var(--fz16);
    border: 0.5px solid #808080;
}

.clothing-main__card-image {
    width: calc(var(--fz16) * 4.5);
    height: calc(var(--fz16) * 4.5);
}

#clothing-contact {
    margin-top: 80px;
}

.clothing-contact {
    background: url('/images/contact.png'), linear-gradient(113deg, #E1E1E1 18.2%, #EEE 43.42%);
    background-repeat: no-repeat;
    background-size: cover;

    width: 100%;
    min-height: 574px;
    padding: var(--fz16);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clothing-contact__heading {
    color: var(--text-color-dark);
    font-size: calc(var(--fz12) * 3);
    font-weight: 500;
    line-height: 108%;
    letter-spacing: -1.08px;

    text-indent: 64px;
    max-width: 28ch;
    padding-top: 6px;
}

.clothing-contact__desc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clothing-contact__desc {
    color: var(--text-color-dark);
    font-size: var(--fz16);
    
    max-width: 63ch;
}


.clothing-contact__link {
    margin-top: calc(var(--fz16) * 5);
    
    font-size: var(--fz14);
    color: var(--text-color-dark);
    font-weight: 600;
    text-transform: uppercase;
    
    text-decoration-line: underline!important;
    text-decoration-style: solid!important;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 10%!important;
    text-underline-offset: 25%;
    text-underline-position: from-font;
}


#mini-cart {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    position: fixed;
    background: rgba(0, 0, 0, 0.32);
    z-index: 1000;

    display: none;
    justify-content: end;

    transition: all .15s ease-in-out;
    opacity: 0;
}

.mini-cart-wrapper {
    width: 100%;
    max-width: 485px;
    height: 100%;
    background-color: white;

    padding: 0 20px;

    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;

    transition: all .35s ease-in-out;
    transform: translateX(100%);
}

#mini-cart.mini-cart--active {
    transform: translateX(0);
    opacity: 1;
    display: flex;
}

#mini-cart.mini-cart--active .mini-cart-wrapper {
    transform: translateX(0);
}

.mini-cart__title {
    color: var(--fz14);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.mini-cart__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding-top: 20px;
}

.mini-cart__products-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    gap: var(--fz16);

    /* max-height: 459px; */
    flex: 1;
    overflow-y: auto;
}

.mini-cart__products-wrapper::-webkit-scrollbar { 
    display: none!important;
  }
  
.mini-cart__products-wrapper::-moz-scrollbar { 
    display: none!important;
  }

.mini-cart__product-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    gap: 12px;
}

.mini-cart__product-image {
    width: 200px;
    aspect-ratio: 1 / 1;

    background-color: black;
}

.mini-cart__product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;

    flex: 1;
}

.mini-cart__product-name-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

.mini-cart__product-name {
    color: var(--text-color-dark);

    font-family: Manrope;
    font-size: var(--fz14);
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.mini-cart__quantity-changer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2px;
}

.mini-cart__quantity {
    min-width: 20px;

    color: var(--text-color-dark);
    font-size: var(--fz12);

    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.mini-cart__quantity-decrease {
    background-color: #EBEBEB;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 16px;
    height: 16px;

    cursor: pointer;
    user-select: none;
}

.mini-cart__quantity-decrease svg {
    pointer-events: none;
}

.mini-cart__quantity-plus {
    background-color: #EBEBEB;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 16px;
    height: 16px;

    cursor: pointer;
    user-select: none;
}

.mini-cart__quantity-plus svg {
    pointer-events: none;
}

.mini-cart__summary-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.mini-cart__product-remove {
    margin-top: calc(var(--fz16) * 2);
    
    font-size: var(--fz14);
    color: var(--text-color-dark);
    font-weight: 600;
    text-transform: uppercase;
    
    text-decoration-line: underline!important;
    text-decoration-style: solid!important;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 10%!important;
    text-underline-offset: 25%;
    text-underline-position: from-font;
}

.mini-cart__summary-title {
    color:var(--text-color-dark);

    font-size: var(--fz14);
    font-weight: 600;
    text-transform: uppercase;
}

.mini-cart__summary-cost {
    color: var(--text-color-dark);

    font-size: var(--fz14);
    font-weight: 700;
    text-transform: uppercase;
}

.mini-cart_bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-cart__btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: calc(var(--fz16) / 2);
}

.mini-cart__btn {
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding: 12px 0;

    font-size: var(--fz14);
    font-weight: 800;
    text-transform: uppercase;
}

.mini-cart__legal-text {
    color: var(--text-color-dark_second);

    text-align: center;
    font-size: 10px;
    line-height: 136%;
}

.mini-cart__bottom-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-cart__bottom-title {
    color: var(--text-color-dark);

    font-size: 10px;
    font-weight: 600;
    line-height: 136%;
}

.mini-cart__bottom-desc {
    color: var(--text-color-dark_second);

    font-size: 10px;
    line-height: 136%;
}

/*** language changer ***/

#language-changer {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    position: fixed;
    background: rgba(0, 0, 0, 0.32);
    z-index: 1000;

    display: flex;
    justify-content: end;

    transition: all .15s ease-in-out;
    /* opacity: 0; */
}

.language-changer-wrapper {
    width: 100%;
    max-width: 485px;
    height: 100%;
    background-color: white;

    padding: 0 20px;

    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;

    transition: all .35s ease-in-out;
    /* transform: translateX(100%); */
}

.language-changer__title {
    color: var(--fz14);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.language-changer__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding-top: 20px;
}




@media screen and (max-width: 960px) {
    .clothing-main__cards-line {
        grid-template-columns: 1fr 1fr;
    }

    .clothing-main__card {
        grid-column: unset;
    }
}


/**************** МОБИЛЬНАЯ **************************/
@media screen and (max-width: 640px) {

    .clothing-contact__mobile-image {
        display: block;
        width: 100%;
    }

    .clothing-main__text-wrapper {
        gap: 10px;
    }

    .clothing-main {
        gap: 40px;
    }

    .clothing-main__title {
        font-size: 20px;
        letter-spacing: -0.6px;
    }

    .clothing-main__desc {
        font-size: 12px;
    }
    
    .clothing-main__cards-line {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .clothing-main__card {
        gap: 32px;
    }

    .clothing-main__cards-wrapper {
        gap: 12px;
    }

    .clothing-main__card-image {
        width: 56px;
        height: 56px;
    }

    .clothing-main__card-desc {
        font-size: 12px;
    }

    .clothing-contact {
        background: linear-gradient(113deg, #E1E1E1 18.2%, #EEE 43.42%);

        gap: 16px;
        align-items: center;
        min-height: unset;
        padding: 12px 12px 0 12px;
    }

    .clothing-contact__heading {
        font-size: 20px;
        text-align: center;
        line-height: 108%;
        letter-spacing: -0.8px;

        text-indent: unset;
        max-width: 20ch;
    }

    .clothing-contact__desc-wrapper {
        text-align: center;
    }

    .clothing-contact__link {
        margin-top: 55px;
    }

    .mini-cart-wrapper {
        width: 100%;
        max-width: 100vw;
    } 

}