@import url(./reset.css);
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


/********************** ОБЩЕЕ ************************/


:root {
    --bg-color: #fff;

    --text-color-dark: #000;
    --text-color-dark_second: #808080;

    --text-color-light: #fff;
    --text-color-light_second: #EDE7E0;

    --btn-bg-color: #EBEBEB;
    --btn-bg-color--hover: ;

    --padding-container: 0 0.42vw;
    --padding-container-nav: 0 1.5vw;

    --fz16: 16px;
    --fz15: 15px;
    --fz14: 14px;
    --fz12: 12px;

    --section-margin: calc(var(--fz15) * 4);

    --product-cards-gap: calc(var(--fz14) / 4);
    --product-cards-text-padding: var(--fz12) var(--fz16) 0 var(--fz16);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;

    font-family: 'Manrope', sans-serif;

    background-color: var(--bg-color);
}

main {
    padding-top: 80px;
}

.scrollTop {
    display: none;
}

#sidebar {
    display: none!important;
}

#mini-cart {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;
}
body.js-mini-cart-ready #mini-cart {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
/*
.woo-hidden-selects {
  display: none !important;
}
.variations_form select {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

*/
.container {
    margin: 0 auto;
    width: 100%;
    /* height: 100%; */
    padding: var(--padding-container);
    overflow: hidden;
}

.container--nav {
    padding: var(--padding-container-nav);
}

h1, h2 {
    
}

.arr {
    width: var(--fz12);
    height: var(--fz12);
}

.footer__tab-icon {
    display: none;
}

.footer__social .footer__row--email {
    display: none;
}


/************************* НАВИГАЦИЯ / МЕНЮ **************************/


#navigation {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;

    mix-blend-mode: difference;
}

.nav {
    
}

.nav__main {
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;
    padding: var(--fz12) 0;
}

.nav__mobile {
    display: none;
}

.nav__link-wrapper {
    display: inline-flex;
    gap: calc(var(--fz16) * 2);
    align-items: center;

    font-size: var(--fz14);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    background-blend-mode: difference;
}

.nav__link-wrapper--align-right {
    justify-content: end;
}

.nav__item {
    display: inline-flex;
    gap: calc(var(--fz16) / 4);
    justify-content: start;
    align-items: center;
    white-space: nowrap;

    color: var(--text-color-light)!important;
}

.nav__menu-first {
    display: inline-flex;
    gap: calc(var(--fz16) / 4);
    justify-content: start;
    align-items: center;
    white-space: nowrap;

    cursor: pointer;
    user-select: none;

    /* position: relative; */
}

.bag {
    width: 24px;
    height: 24px;

    max-width: none;
}

#catalog-second {
    position: fixed;
    background-color: #00000059;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99;

    display: none;
    opacity: 1;

    transition: all .4s ease-in-out;
}

#catalog-second.catalog-second--active {
    display: flex;
}

.menu-second {
    /* display: flex;
    flex-direction: row;
    justify-content: space-between; */

    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    max-height: auto;
    background-color: var(--bg-color);
    padding: 80px 32px 40px 32px;
    max-height: 500px;
    height: fit-content;

    gap: 24px;
    transform: translateY(-100%);
    transition: all .4s ease-in-out;
}

#catalog-second svg{
    transition: all .4s ease-in-out;
}


.menu-second__item {
    padding: 24px 24px;
    flex: 1;
    background-color: #eaeaea;

    aspect-ratio: 2 / 2.5;

    text-transform: uppercase;
    color: var(--text-color-dark);

    display: flex;
    justify-content: flex-start;
    align-items: end;

}

.nav__logo-wrapper {
    height: 59px;
    padding-bottom: 3px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.logo {
    width: 216px;
    height: 32px;
}

.full-logo {
    mix-blend-mode: difference;

    width: 100%;
    align-self: center;
}

/************************* ГЛАВНАЯ **************************/


#hero {
    /* height: 100vh; */
}

.hero {
    width: 100%;
    height: 100svh;
    max-height: calc(100vw*1.2);
    min-height: 600px;
    padding-top: calc(var(--section-margin) * 2);

    overflow: hidden;
    position: relative;

    display: flex;
    flex-direction: column;
}

.hero__image-wrapper {
    flex-grow: 1;
}

.hero__image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero__link-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__link {
    padding-bottom: calc(var(--fz12) * 3);
    
    font-size: var(--fz14);
    color: var(--text-color-light);
    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;
    
}


/************************* КАТАЛОГ **************************/


#catalog {
    padding-top: var(--section-margin);
    padding-bottom: var(--section-margin);
}


.catalog {
    display: flex;
    flex-direction: column;
    gap: calc(var(--fz16) * 2);
}

.catalog-mobile {
    display: none;
}

.catalog__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--product-cards-gap);
}

.catalog__row--big-image {
    grid-template-columns: repeat(2, 1fr);
}

.product-card {
  
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.product-card__text-wrapper {
    padding: var(--product-cards-text-padding);
    font-size: var(--fz15);

    display: flex;
    flex-direction: column;
    gap: var(--product-cards-gap);

    text-transform: uppercase;
}

.product-card__name {
    font-weight: 700;
}


/************************* ФУТЕР **************************/


#footer {
    padding-top: var(--section-margin);
    /* padding-bottom: var(--section-margin); */
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: calc(var(--fz16) / 0.8);
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}


.footer__row {
    grid-column: span 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: calc(var(--fz16) / 0.8);

    user-select: none;
}

.footer__row:last-child {
    grid-column: span 4;
}

.footer__header {
    color: var(--text-color-dark);
    font-size: var(--fz14);
    text-transform: uppercase;
    font-weight: 600;
}

.footer__item {
    color: var(--text-color-dark_second);
    font-size: var(--fz12);
    text-transform: uppercase;
    font-weight: 600;
}

.footer__links-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: calc(var(--fz16) / 2);
}

.footer-form {
    position: relative;
}

.email-input {
    color: var(--text-color-dark_second);
    font-size: var(--fz16);
    font-weight: 500;

    width: 100%;
    padding: var(--fz12) 0;
    border-bottom: 1px solid #000;
}

.form-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: calc(var(--fz16) / 2) var(--fz16);

    font-size: var(--fz14);
    background-color: #EBEBEB;
    color: var(--text-color-dark);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 100px;

}

.footer-form__legal-text {
    font-size: var(--fz12);
    color: var(--text-color-dark_second);
    font-weight: 400;

    line-height: 136%;
}

.footer-form__legal-link {
    font-weight: 600;
    text-decoration: underline;
    color: var(--text-color-dark_second)!important;

    text-decoration-line: underline!important;
    text-decoration-style: solid!important;
    text-decoration-skip-ink: none!important;
    text-decoration-thickness: 10%!important;
    text-underline-offset: 12%!important;
    text-underline-position: from-font!important;
}

.footer__social {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
}


.local-btn {
    display: inline-flex;
    gap: calc(var(--fz16) / 2);
    justify-content: start;
    align-items: center;

    opacity: 0;
    pointer-events: none;
}

.local-btn__img {
    width: calc(var(--fz12) * 3);
    height: calc(var(--fz12) * 3);
    border-radius: 100px;
    background: #EBEBEB;

    display: flex;
    align-items: center;
    padding: calc(var(--fz16) / 2);
}

.local-btn__text-wrapper {
    display: inline-flex;
    gap: calc(var(--fz16) / 4);
    justify-content: start;
    align-items: center;

    text-transform: uppercase;
    font-size: var(--fz14);
    font-weight: 600;
}


.footer__socials-wrapper {
    grid-column: 9 / 13;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--fz16);
}

.footer__soc-links-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: calc(var(--fz16) / 4);
}

.footer__social-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: calc(var(--fz16) / 2);
    border-radius: 50%;

    background: var(--text-color-dark);
}

.footer__social-icon {
    width: calc(var(--fz16) / 0.8);
    height: calc(var(--fz16) / 0.8);

    pointer-events: none;
}

.woocommerce-breadcrumb {
    display: none!important;
}

.product-page__size-variations {
    padding-top: 12px;
}

/**** мини корзина ******/

#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%;
}

/********* МОБИЛЬНОЕ МЕНЮ *******************/

#menu-mobile {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    max-height: 100vh;

    z-index: 1000;

    display: none;
    transition: all .4s ease-in-out;
} 

.menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;

    transition: all .4s ease-in-out;
    transform: translateX(-100%);

    background: var(--bg-color);

}

.menu-mobile__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: var(--fz12) 6px;
    align-items: center;
}

.menu-mobile__nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 0 18px;
    flex: 1;

    overflow-y: auto;
}

.menu-mobile__nav-item {
    color: var(--text-color-dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;

    user-select: none;
    cursor: pointer;
}

.menu-mobile__first {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.menu-mobile__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 8px 6px;

    border-top: 0.5px solid #8080802b;
}


.menu-mobile__second {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;

    padding-bottom: 16px;
}

.menu-mobile__nav-catalog--active .menu-mobile__second {
    display: flex;
}

.menu-mobile__second-item {
    color: #808080;

    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

#menu-mobile .container {
    height: 100%;
}

.menu-mobile__nav-icon {
    width: 16px;
    height: 16px;

    display: flex;
    justify-content: center;
    align-items: center;
}

div[class*="line-"] {
    position: absolute;

    width: 9px;
    height: 1px;
    background: var(--text-color-dark);
}

.line-2 {
    transform: rotate(-90deg);
    transition: all .15s ease-in;
}

.menu-mobile__nav-catalog--active .line-2{
    transform: rotate(0);
}


/**************** ДО 960 ТОЛЬКО НАВИГАЦИЯ **************************/

@media screen and (max-width: 1240px) {
    .nav__main {
        display: none;
    }

    .nav__mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: var(--fz12) 0;
        align-items: center;
    }

    .nav__logo-wrapper {
        width: 156px;
    }

    .full-logo {
        display: none;
    }
}



/**************** ДО 640 +ФУТЕР **************************/
@media screen and (max-width: 960px) {
    .footer__nav {
        grid-template-columns: repeat(8, 1fr);
        gap: 20px;
    }

    .footer__row:last-child {
        grid-column: span 8;
    }
}


/**************** МОБИЛЬНАЯ **************************/
@media screen and (max-width: 640px) {
    .full-logo {
        display: none;
    }

    .hero {
        padding-top: 60px;
    }

    .nav__logo-wrapper {
        height: 22px;
    }

    .container {
        padding: 0 6px;
    }

    .hero__image-wrapper {
        flex-grow: 0;
        aspect-ratio: 1 / 1;
        position: relative;
    }

    .hero__link {
        padding-bottom: 16px;

        font-size: 12px;
    }

    .catalog__row {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4px;
        row-gap: 20px;
    }

    .product-card__text-wrapper {
        font-size: 12px;
        padding: 8px 0 0 0;
    }

    .catalog__mobile--big-image {
        grid-template-columns: 1fr;
    }

    .catalog {
        display: none;
    }

    .catalog-mobile {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .footer {
        gap: 40px;
    } 

    .footer__links-wrapper {
        display: none;
    }

    .footer__nav {
        display: flex;
        flex-direction: column;

        gap: 0;
    }

    .footer__nav .footer__row--email {
        display: none;
    }

    .footer__row {
        padding: 16px 0;
        border-bottom: 1px solid #EBEBEB;
        cursor: pointer;
    }

    .footer__row--active .footer__links-wrapper {
        display: flex;

        padding-left: 8px;
    }

    .footer__tab-icon {
        display: flex;
        width: 16px;
        height: 16px;
        justify-content: center;
        align-items: center;
    }

    .footer__header-wrapper {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        pointer-events: none;
    }

    .footer__social {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;

        order: -1;
    }
    
    .footer__social .footer__row--email {
        display: flex;
    }

    .footer__row--email {
        border: none;
    }

    .footer__socials-wrapper {
        display: flex;
        align-items: center;
        
    }

    .local-btn {
        display: none;
    }

    .local-btn--mobile {
        display: flex;
    }

    .footer__tab-icon {
        will-change: transform;
        transition: all .25s ease-in-out;
    }

    .footer__row--active .line-2{
        transform: rotate(0);
    }

    .mini-cart-wrapper {
        width: 100%;
        max-width: 100vw;
    } 

    .scrollTop {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        padding-top: 40px;
    }

    .scrollTop__content {
        display: flex;
        flex-direction: row;
        gap: 4px;
        justify-content: center;
        align-items: center;

        position: relative;
    }

    .scrollTop span{
        font-size: 12px;
        font-weight: 600;
        color: var(--text-color-dark);
        text-transform: uppercase;
    }

    .scrollTop__content:after {
        content: '';
        position: absolute;

        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--text-color-dark);
    }
}


@media screen and (hover: hover) {
    .nav__item {
        position: relative;
    }

    .nav__item:after {
        content: '';
        position: absolute;
        pointer-events: none;

        left: 0;
        bottom: 0;
        
        width: 100%;
        height: 1px;
        background-color: white;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform .3s ease-in-out;
    }

    .nav__item:hover:after {
        transition: transform .3s ease-in-out;
        transform: scaleX(1);
        transform-origin: bottom left;
    }

 
}



