*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;  
    padding: 0;
}


/* body::-webkit-scrollbar {
    display: none;
} */

body{
    font-family: 'Cera Pro', sans-serif;
    font-weight: normal;
    font-size: 24px;
    background-color: #101010;
}

body.lock-scroll {
  overflow: hidden;
}

ul{
    list-style: none;
}

.container{
    max-width: 1740px;
    padding: 0 10px;
    margin: 0 auto;
}

/* Header */

.header{
    margin: 25px 0;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header__nav,
.header__inner {
    display: flex;
    align-items: center;
}

.header__inner{
    color: #fff;
    gap: 50px;
}

.header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    
}

.logo{
    text-decoration: none;
    color: #fff;
    font-size: 40px;
    letter-spacing: 10px;
}

/* Nav */

.nav{
    display: flex;
    gap: 50px;
}

.nav__link{
    text-decoration: none;
    color: #fff;
    position: relative;
    padding-bottom: 2px;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: #fff;
    transition: width 0.4s ease;
}
  
.nav__link:hover::after {
    width: 100%;
}


/* hero */

.hero__banner-content {
    position: relative;
    width: 100%;
    height: auto;

    img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.hero__banner-btn {
    position: absolute;
    bottom: 50px;
    left: 50px;
    padding: 15px 117px;
    background-color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s ease;
}

.hero__banner-btn:hover{
    background-color: #8C8C8C;
}

/* brands */

.brands{
    margin: 100px 0;
}

.brands__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brands__block{
    background-color: #fff;
    display: flex;
    max-height: 140px;
}

/* categories main */

.categories__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 642px;
    gap: 50px;
}
  
.item {
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-shadow: 0 0 10px black;
}

.item--1,
.item--2 {
    grid-column: span 6;
}
.item--3,
.item--4,
.item--5 {
    grid-column: span 4;
}

/* footer */

.footer{
    background-color: #fff;
    margin-top: 100px;
    padding: 25px 0;

}

.footer__top{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 200px;
}

.footer__inner{
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.footer__menu__link{
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding-bottom: 1px;
    color: #000;
    font-size: 18px;
}

.footer__menu__link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: #000;
}

.footer__menu__link:hover::after{
    width: 100%;
}

.footer__inner span{
    font-size: 24px;
}

.copyright{
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    font-size: 18px;
}

.footer__content{
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.footer__bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paymethod{
    display: flex;
    justify-content: center;
}


/* login */

.auth{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 25px;
    margin: 0 auto;
    margin-top: 100px;
    border-radius: 25px;
    max-width: 450px;
    width: 100%;
}

.auth__form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-submit-btn{
    background-color: #000;
    padding: 10px 0;
    
    border: 0;
    border-radius: 25px;
    color: #fff;
    font-size: 18px;
    transition: 0.4s ease;
}

.auth-submit-btn:hover{
    background-color: #8C8C8C;
    color: #fff;
}

.input__container{
    display: flex;
    flex-direction: column;
    gap: 15px;

    input{
        padding: 12px 0 12px 15px ;
        font-size: 16px;
        border: 1px solid #8C8C8C;
        border-radius: 5px;
    }

    input::placeholder{
        font-size: 16px;
    }
}

.auth__title{
    color: #000;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 24px;
}


.sub-btn{
    color: #212121;
    margin: 15px 0;
    text-decoration: none;
    font-size: 16px;
}

.auth-google{
    background-color: #212121;
    padding: 10px 0;
    
    border: 0;
    border-radius: 25px;
    color: #fff;
    font-size: 18px;
    transition: 0.4s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-google:hover{
    background-color: #8C8C8C;
    color: #fff;
}

.separators {
    display: flex;
    align-items: center;
    text-align: center;
    color: #8C8C8C;
    margin-bottom: 10px;
    font-size: 16px;
  }
  
.separators::before, 
.separators::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #8C8C8C;
}
  
.separators:not(:empty)::before {
    margin-right: 5px;
}
  
.separators:not(:empty)::after {
    margin-left: 5px;
}

/* account */

.account{
    margin-top: 125px;
}


.account__nav{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #000;
    padding: 75px 60px 30px 60px;
    align-items: center;
    /* max-width: 350px;
    width: 100%; */
}

.account__nav__inner{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.account__inner{
    display: flex;
    align-items: stretch;
}

.account__menu{
    display: inline-block;
    text-wrap: nowrap;
}

.account__inner{
    display: flex;
    gap: 5px;
    max-height: 700px;
    height: 100%;
}

.account__logout {
  margin-top: auto;
}

.profile{
    background-color: #000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100vw;
    padding: 60px;
}

.profile__title{
    color: #fff;
    font-size: 48px;
}

.profile__inner{
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile__text{
    color: #fff;
    font-size: 36px;
}

.profile__edit{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile__data{
    display: flex;
    gap: 200px;
}

.data__name{
    display: flex;
    gap: 34px;
    flex-direction: column;
    color: #fff;
}

.data__input{
    display: flex;
    flex-direction: column;
    gap: 15px;

    input{
        background-color: #141414;
        padding: 12px 245px 12px 20px;
        border: 0px;
        font-size: 20px;
        border-radius: 5px;
        color: #fff;
    }

    input::placeholder{
        color: #fff;
        font-size: 20px;
    }
}


.input__btn{
    display: flex;
    gap: 10px;
}

.input__btn button{
    background-color: #141414;
    color:#fff;
    padding: 12px;
    border-radius: 5px ;
    border: 0px;
    font-size: 20px;
    flex: 1;
    transition: 0.1s ease;
    cursor: pointer;
}


.input__btn button:hover {
    background-color: #fff;
    color: #000;
}



/*  */

/* catalog */

.catalog{
    margin-top: 50px;
}

.catalog__controls{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalog__filter{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 5px 20px;
    border-radius: 10px;
    position: relative;
    
}


.filter__link{
    text-decoration: none;
    color: #000000;
    font-size:20px;
    transition: 0.2s ease;
}

.filter__link:hover{
    color: #c5c5c5;
}

.catalog__counter{
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
}

.counter{
    font-size: 20px;
}

.catalog__content{
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 40px;
    
}

.catalog__item{
    position: relative;
}

.add-to-favorite-btn {
    display: inline-flex;
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
}
  
.add-to-favorite {
    pointer-events: none;
}

.item__img{
    max-width: 400px;
    width: 100%;
    max-height: 406px;
    height: 100%;
}


.item__information{
    color: #fff;
    font-size: 20px;
    font-weight: 200;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.catalog__item{
    display: flex;
    gap: 10px;
    flex-direction: column;
    transition: 0.7s ease-in;
}

.item__to__card:hover{
    opacity: 0.33;
}


.filter-menu {
display: flex;
gap: 20px;
}

.filter-menu li {
position: relative;
}

.filter-menu a {
display: block;
background: #fff;
padding: 10px;
color: #000;
text-decoration: none;
border-radius: 5px;
white-space: nowrap;
transition: background 0.3s;
font-size: 20px;
}

.filter-menu a:hover {
background: #e5e5e5;
}

.has-submenu > ul {
display: none;
position: absolute;
top: 100%;
left: 0;
background: #fff;
border-radius: 5px;
box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.25);
min-width: 180px;
z-index: 100;
}

.has-submenu:hover > ul {
display: block;
}

.has-submenu ul .has-submenu > ul {
top: 0;
left: 100%;
}



/* product__page */

.product{
    margin-top: 55px;
}

.product__content{
    margin: 0 137px;
    display: flex;
    gap: 80px;
}

.product__img{
    display: flex;
    gap: 25px;
}

.product__side-swiper{
    flex-direction: column;
    gap: 25px;
    display: flex;

    img{
        width: 80px;
        height: 110px;
    }
}

.product__main-swiper {
position: relative;
display: flex;
}

.product__main-swiper img {
width: 801px;
height: 876px;
}


.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.arrow::before,
.arrow::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background-color: #000;
  left: 50%;
  top: 50%;
  transform-origin: left center;
}

.left {
  left: 20px;
}
.left::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.left::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.right {
  right: 20px;
}
.right::before {
  transform: translate(50%, 50%) rotate(225deg);
}
.right::after {
  transform: translate(50%, 50%) rotate(135deg);
}
    

.thumb {
cursor: pointer;
border: 2px solid transparent;
transition: border 0.2s;
}

.thumb.active {
border: 2px solid #e5e5e5;
}


.product__info{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product__controls{
    display: flex;
    gap: 20px;
}

.product__text{
    color: #fff;
    font-size: 24px;

}


.product__color,
.product__size{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.color-btn-container,
.size-btn-container,
.product__controls{
    display: flex;
    gap: 20px;
    
    button{
        border-radius: 5px;
    }
}

.color-btn{
    height: 50px;
    width: 50px;
    border: 0;
}

.size-btn{
    height: 50px;
    width: 100px;
    border: 0;
    font-size: 24px;
}

.size-btn,
.controls-btn{
    transition: 0.3s ease-out;
    cursor: pointer;
}

.size-btn:hover{
    background-color: #212121;
    color: #fff;
}

.size-btn.selected {
    background-color: #000000;
    color: #fff;
    box-shadow: 0 0 10px #ffffffaa;
}

.controls-btn{
    border: 0;
    height: 60px;
}

.to-cart{
    width: 340px;
    font-size: 20px;
}

.to-cart:not(:disabled):hover{
    background-color: #212121;
    color: #fff;
}


.to-favorite{
    padding: 15px 35px;
}

.product__description{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.description__text{
    color: #fff;
    font-size: 20px;
}

/* brands page */

.all__brands{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.all__brands__title{
    margin-top: 10px;
    font-size: 32px;
    color: #fff;
}

.brands__container{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
}

.brands__item{
    background-color: #fff;
}

/*  */

.order{
    display: flex;
    flex-direction: column;
    padding: 40px 80px;
    background-color: #000;
    width: 100vw;
    gap: 20px;
    overflow-y: auto;
}

.order__title{
    color: #fff;
}

.order__card{
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.order__info__container{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 5px;
}

.order__info__container::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    background-color: #000;

}

.order__text{
    font-size: 24px;
}

.order__subtext{
    font-size: 20px;
}

.order__info{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order__product{
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #000;
}

.order__product__info{
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.cart__open {
    opacity: 1;
    pointer-events: auto;
}

/*  корзина */
.cart {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 820px;
    background-color: #000;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 35px;

    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1000;
    pointer-events: none;
}

.cart-overlay.cart__open .cart {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.cart::-webkit-scrollbar-track {
    background: rgb(63, 63, 63);
}

.cart__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart__controls{
    display: flex;
    align-items: center;
    gap: 20px;

}

.cart-btn-controls {
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0; 
}

/* Закрытие */
.cart__close {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.cart__close::before,
.cart__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 2px;
    background-color: #ffffff;
    transform-origin: center;
}
.cart__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.cart__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Контент корзины */
.cart__title {
    font-size: 36px;
}
.cart__product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    word-wrap: break-word;
    overflow: auto;
}
.cart__item {
    display: flex;
    gap: 50px;
    width: 100%;
}
.cart__item a {
    line-height: 0;
}
.cart__info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cart__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart__text {
    font-size: 20px;
}
.cart__subtext {
    font-size: 18px;
}
.cart__price {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: auto;
    text-align: center;
    margin-right: 10px
}
.cart__price__count {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cart__count {
    border-radius: 50px;
    border: none;
    font-size: 24px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.cart__bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    gap: 10px;
}
.cart__total {
    font-size: 24px;
}
.cart__order,
.checkout__order{
    padding: 10px 0;
    border-radius: 3px;
    font-size: 18px;
    border: 0;
    transition: 0.5s ease;
    cursor: pointer;
}
.cart__order:hover,
.checkout__order:hover{
    background-color: #212121;
    color: #fff;
}

/* Кнопка открытия */
.open-cart {
    cursor: pointer;
}

/* Оверлей для авторизации */
.cart-auth-popup {
    background-color: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.cart-auth-popup__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



/* search */

.search {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    background-color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 60px 0;
    z-index: 9999;
    pointer-events: none; 
}

.search__open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.search__container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: fit-content;
    margin: 0 auto; 
    width: 532.52px;
}

.search__input__container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search__bar{
    padding: 6px 0;
    font-size: 24px;
    width: 410px;
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
}


.search__result{
    display: flex;
    flex-direction: column;
    gap: 5px;

    max-height: 500px;
    overflow: auto;
}

.result__item{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    padding: 5px;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s ease;
    
    img{
        width: 80px;
        height: 80px;
    }
}

.result__item:hover{
    background-color: #c9c9c9;
}

.item__info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    overflow-wrap: break-word;
    flex: 1;
    gap: 15px;

    h1{
        font-size: 18px;
    }

    p{
        font-size: 16px;
    }
}

.go-to-item{
    background: transparent;
    border: none;
    line-height: 0;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.result__item:hover .go-to-item {
    opacity: 1;
    pointer-events: auto;
}

#search-submit{
    padding: 6px 23px;
    font-size: 24px;
    border: 0;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    transition:  0.1s ease;
}

#search-submit:hover{
    background-color: #8f8f8f;
}

#search-close{
    position: absolute;
    top: 25px;
    right: 25px;
    width: 25px;
    height: 25px;
    border: 0;
    background: none;
    cursor: pointer;
}

#search-close::before,
#search-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 2px;
  background-color: #000000;
  transform-origin: center;
}


#search-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#search-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.open-search{
    cursor: pointer;
}













/* favorite page */

.favorite__inner{
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.favorite__item{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px 0;
}

.favorite__list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.favorite__product img{
    max-width: 560px;
    max-height: 560px;
    width: 100%;
    height: 100%;
}

.favorite__product{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 80px;
    font-size: 16px;
    position: relative;
}

.favorite-to-cart{
    padding: 12px;
    font-size: 18px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.favorite-to-cart:hover{
    background-color: #000;
    color: #fff;
}

/* changePassOnProfile */

.changePasswordPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.changePasswordPopup-open{
    display: flex;
}

.changePassword {
    background-color: #fff;
    padding: 35px 40px;
    border-radius: 25px;
    max-width: 470px;
    width: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 1000;
}

#changePasswordPopup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
}

#changePasswordPopup-close::before,
#changePasswordPopup-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 2px;
  background-color: #000000;
  transform-origin: center;
}

#changePasswordPopup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#changePasswordPopup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* .popup-auth-required {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}
.popup-btn {
    margin: 10px;
    display: inline-block;
    padding: 10px 15px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
} */


/* Cart popup */

.cart-auth-popup {
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    border-radius: 10px;
    width: 690px;
    color: #000;
    background-color: #fff;
    padding: 25px;
    z-index: 1001;
}

.cart-auth-popup__content{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25px;

    a{
        text-decoration: none;
        padding: 15px;
        background-color: #000000;
        color: #fff;
        transition: 0.3s ease;
    }

    a:hover{
        color: #ffffff;
        background-color: #212121;
    }
}

.cart__inner-overlay {
  display: none; 
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 5; 
}

.cart--overlay .cart__inner-overlay {
  display: block;
}


/* toast */

.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #323232;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 30px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}

/* checkout */

.checkout{
    display: none;
    
    position: absolute;
    right: 0;
    top: 0;
    flex-direction: row;
    height: 100vh;
}

.checkout-open{
    display: flex;
}

.checkout__left{
    background-color: #fff;
    color: #000;
    gap: 20px
}

.checkout__right{
    background-color: #000;
    color: #fff;
    gap: 45px;
}

.checkout__left,
.checkout__right{
    width: 542px;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.checkout__form,
.checkout__input,

.checkout__price,
.checkout__price__info,

.checkout__left__top,
.checkout__right__top,

.checkout__product,
.checkout__info 

{
    display: flex;
    flex-direction: column;
}

.checkout__form{
    gap: 10px;
}

.checkout__input{
    gap: 5px;

    input{
        padding: 14px 0 14px 20px;
        font-size: 16px;
        background-color: #000;
        color: #fff;
        border: none;
        border-radius: 5px;
    }

    input::placeholder{
        color: #fff;
    }
}

.checkout__text{
    font-size: 16px;
}

.checkout__left__top{
    gap: 50px
}

.checkout__price{
    gap: 15px;
    margin-top: auto;
}

.checkout__price__info{
    gap: 10px;
    span{
        font-size: 20px;
    }
}

.checkout__close{
    margin-left: auto;
    background: none;
    cursor: pointer;
    border: none;
    line-height: 0;
}


.checkout__right__top{
    gap: 55px;
}

.hidden{
    display: none;
}


.to-catalog {
  padding: 15px 30px;
  border: 2px solid #2c2c2c;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.4s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  font-weight: bold;
}

.to-catalog::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: scale(0);
  transition: transform 0.5s ease;
}

.to-catalog:hover::after {
  transform: scale(4);
}

.to-catalog:hover {
  border-color: #666666;
  background: #292929;
}




.checkout__close {
 display: flex;
 height: 3em;
 width: 100px;
 align-items: center;
 justify-content: center;
 background-color: #eeeeee4b;
 border-radius: 3px;
 letter-spacing: 1px;
 transition: all 0.2s linear;
 cursor: pointer;
 border: none;
 background: #fff;
}

.checkout__close > svg {
 margin-right: 5px;
 margin-left: 5px;
 font-size: 20px;
 transition: all 0.4s ease-in;
}

.checkout__close:hover > svg {
 font-size: 1.2em;
 transform: translateX(-5px);
}

.checkout__close:hover {
 box-shadow: 9px 9px 33px #d1d1d1, -9px -9px 33px #ffffff;
 transform: translateY(-2px);
}

.checkout__item {
    display: flex;
    gap: 25px;
}

.checkout__product{
    gap: 25px;
    overflow: auto;
}

.checkout__info{
    gap: 5px;
}

.checkout__product__title{
    font-size: 20px;
}

.checkout__product__text{
    font-size: 18px;
}

.checkout__select {
    padding: 14px 40px 14px 20px;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3.204 5h9.592L8 10.481 3.204 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
}



.thankyou{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
        gap: 25px;

    button{
        border: 1px solid #000;
        padding: 20px;
        font-size: 20px;
        background: transparent;
        cursor: pointer;
        transition: 0.3s ease;
    }

    button:hover{
        background-color: #000;
        color: #fff;
    }

    a{
        font-size: 16px;
        color: #000;
    }
}


.thankyou__text{
    font-size: 32px;
    font-weight: 500;
}


.error__page{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.9s ease-in-out;

    h1{
        font-size: 72px;
        font-weight: 600;
    }

    p {
        font-size: 18px;
        text-align: center;
    }

    button {
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: 1px solid transparent; 
    border-radius: 3px;
    transition: 0.3s ease;
}

    button:hover{
        background-color: transparent;
        color: #000;
        border: 1px solid #000;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -25%); 
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%); 
    }
}



