* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    background-color: rgb(0, 0, 0);
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    position: relative;
    padding: 0 20px;
    background-color: rgba(234, 234, 234, 1);
    max-width: 1440px;
    width: 100%;
    min-height: 2049px;
    max-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    max-width: 1110px;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headers .models {
    margin-left: 5px;
    max-width: 250px;
    width: 100%;
    position: relative;
    color: rgba(16, 16, 16, 1);
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-style: medium;
    line-height: auto;
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.numbers {
    cursor: pointer;
    width: 100%;
}

.models:hover .menu {
    display: flex;
}

.menuopen {
    display: flex;
}

.menu {
    background-color: rgba(234, 234, 234, 1);
    position: absolute;
    top: 21px;
    left: 0;
    z-index: 20000;
    max-width: 250px;
    width: 100%;
    min-height: 300px;
    display: none;
    flex-direction: column;
    row-gap: 10px;
    padding: 20px 29px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
}

.menu .product {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.product p {
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: medium;
    font-weight: 500;
}

.product:hover .menu2 {
    display: flex;
    margin-top: 12px;
    margin-left: 12px;
    flex-direction: column;
    row-gap: 10px;
    max-width: 139px;
    width: 100%;
    height: auto;
}

.menu2 {
    margin-top: 12px;
    margin-left: 12px;
    display: none;
    flex-direction: column;
    row-gap: 10px;
    max-width: 139px;
    width: 100%;
    height: auto;
}

.liproducts {
    cursor: pointer;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-style: medium;
    font-weight: 500;
    border-bottom: 1px solid rgb(176, 176, 176);
}

.liproducts:hover {
    color: rgba(255, 165, 66, 1);
    transition: all .3s;
}

.carts {
    margin-left: 10px;
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.interes-a {
    position: relative;
}

.interesCount {
    position: absolute;
    top: -10px;
    right: -8px;
    background-color: rgba(255, 165, 66, 1);
    color: #ffffff;
    width: 17px;
    height: 17px;
    border-radius: 17px;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-style: medium;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-a {
    position: relative;
}

.countCart {
    position: absolute;
    top: -7px;
    right: -8px;
    background-color: rgba(255, 165, 66, 1);
    color: #ffffff;
    width: 17px;
    height: 17px;
    border-radius: 17px;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-style: medium;
    display: flex;
    align-items: center;
    justify-content: center;
}

.baner {
    padding: 0 10px;
    margin-top: 22px;
    background-color: rgba(16, 16, 16, 1);
    max-width: 1110px;
    width: 100%;
    height: 197px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
}

.baner p {
    color: #ffffff;
    font-size: 30px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
}

.baner img {
    width: 321px;
    height: 226px;
    object-fit: cover;
}

.catalog-chehly {
    margin-top: 44px;
    max-width: 1110px;
    width: 100%;
    min-height: 452px;
    max-height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.chehly p {
    color: rgba(131, 131, 131, 1);
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.flex-wrap {
    min-height: 408px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.flex-wrap .cards {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 1);
    max-width: 350px;
    width: 100%;
    min-height: 408px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
}

.flex-wrap .cards:hover {
    transition: all .4s;
    transform:  scale(1.1);
} 

.imgnaushniky {
    width: 219px;
    height: 219px;
}

.card:hover {
    transform: perspective(1000px) rotateX(20deg);
    transition: all .5s;
}

.card:hover .imgnaushniky {
    cursor: pointer;
    transition: all .8s ease;
    transform: scale(1.3) perspective(1000px) translateY(-30px);
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.466));
}

.card p {
    color: rgba(28, 28, 39, 1);
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

          /*Gotop*/

.btGotop {
    cursor: pointer;
    width: 20px;
    height: 20px;
    position: fixed;
    top: 77%;
    left: 10px;
    z-index: 10000;
    display: none;
    background-color: rgb(0, 0, 0);
    border-radius: 5px;
}

.btGotop:hover {
    transition: all .4s;
    transform: scale(1.1);
}

.btGotopclass {
    display: flex;
}

.catalog-naushniky {
    margin-top: 30px;
    max-width: 1110px;
    width: 100%;
    min-height: 889.29px;
    max-height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.flex-wrapp-naushniki {
    width: 100%;
    min-height: 848px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.flex-wrapp-naushniki .card {
    padding: 0 20px;
    position: relative;
    background-color: rgba(255, 255, 255, 1);
    max-width: 350px;
    width: 100%;
    height: 408px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 54.45px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
    transition: all .5s;
}

.card::before {
    display: none;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top,
    rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),
    rgb(233, 233, 233), rgb(233, 233, 233));
    border-radius: 30px;
}

.card:hover.card::before {
   display: flex;
}

.naushniki p {
    color: rgba(131, 131, 131, 1);
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.center {
    max-width: 307px;
    width: 100%;
    height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.center .pcenter {
    color: rgba(28, 28, 39, 1);
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.center p .price {
    color: rgba(255, 165, 66, 1);
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.pcenaSale {
    width: 100%;
    display: flex;
    justify-content: end;
}

.pcenaSale span {
    color: rgba(255, 206, 127, 1);
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.btadd {
    cursor: pointer;
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 60px;
    height: 35px;
    background-color: rgba(16, 16, 16, 0.282);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s;
}

.btaddclass {
    display: none;
    background-color: rgba(16, 16, 16, 1);
}

.btadd:hover {
    background-color: rgba(16, 16, 16, 1);
}

.hartcard {
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
}

.hartcard:hover {
    transition: all .3s;
    transform: scale(1.1);
}

.priceSale {
    color: rgba(170, 170, 170, 1) !important; 
    margin-right: 84px;
    text-decoration: line-through rgba(223, 100, 100, 1);
    font-size: 14px;
}

.priceRed {
    color: rgba(223, 100, 100, 1) !important;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.sale {
    color: rgba(223, 100, 100, 1);
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 500;
}

.catalog-bezpnaushniky {
    margin-top: 50px;
    max-width: 1110px;
    width: 100%;
    min-height: 456px;
    max-height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.flex-bezpnaushniky {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.flex-bezpnaushniky .card {
    padding: 0 10px;
    position: relative;
    background-color: rgba(255, 255, 255, 1);
    max-width: 350px;
    width: 100%;
    height: 408px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 54.45px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
}

                    /*Popup-card*/

.bgpopup {
    background-color: rgba(0, 0, 0, 0.967);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
}

.bgpopupclass {
    display: flex;
}

.noscroll {
    overflow-y: hidden;
}

.popup {
    position: relative;
    background-image: linear-gradient(to top, 
    rgb(2, 2, 2), rgb(120, 120, 120),
    rgb(2, 2, 2));
    max-width: 690px;
    width: 100%;
    padding: 50px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    filter: drop-shadow(0 0 5px rgb(153, 151, 151));
    gap: 30px;
}

.imgPopup {
    max-width: 350px;
    width: 100%;
    height: 350px;
    animation: rotates 3s alternate infinite;
}

@keyframes rotates {

    from {
        transform: rotate(3deg);
    }
    50% {
        transform: rotate(-3deg);
    }
    to {
        transform: perspective(1000px) rotateY(180deg);
    }

}

.product-Inf {
    max-width: 235px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
}

.titlePopup {
    width: 100%;
    color: rgb(255, 255, 255);
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 0 4px rgb(27, 90, 21);
}

.pricePopup {
    background-color: gold;
    color: rgb(205, 26, 26);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 21px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.closedPopup {
    color: grey;
    cursor: pointer;
    background-color: transparent;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    transition: all .3s;
}

.closedPopup:hover {
    transform: rotate(90deg) scale(1.5);
    color: rgb(168, 0, 0);
}

.footers {
    padding: 10px 29px;
    background-color: rgba(255, 255, 255, 1);
    margin-top: 60px;
    max-width: 1110px;
    width: 100%;
    min-height: 149px;
    max-height: auto;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.textContent {
    max-width: 427px;
    width: 100%;
    min-height: 82px;
    max-height: auto;
    display: flex;
    justify-content: space-between;
}

.left {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.left p {
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 600;
}

.rigth {
    display: flex;
    justify-content: center;
    flex-direction: column;
    row-gap: 40px;
    column-gap: 16px;
}

.rigth p {
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 600;
}

.languer {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.lilamgure {
    cursor: pointer;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-style: Medium;
    font-weight: 600;
}

.lilamgure:hover {
    color: rgba(255, 165, 66, 1);
    transition: all .3s;
}

@media (max-width: 661px) {

    .baner {
        padding: 0 10px;
        height: 173px;
    }

    .baner p {
        font-size: 20px;
        text-align: center;
    }

    .baner img {
        max-width: 170px;
        width: 100%;
        height: 176px;
    }
}

@media (max-width: 441px) {

.numbers {
    text-align: center;
    font-size: 12px;
}

.btGotop {
    left: 4px;
}

}

@media (max-width: 390px) {

    .menu {
        top: 32px;
    }

    .product p {
        max-width: 180px;
        width: 100%;
        font-size: 14px;
    }

    .liproducts {
        font-size: 12px;
    }

    .menu2 {
        width: 100%;
    }
}
