* {
    margin: 0;
    padding: 0;
}

:root {
    --colorp: rgb(255, 255, 255);
}

body {
    background-color: rgb(0, 0, 0);
    height: 100vh;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.container {
    position: relative;
    background-color:  rgb(255, 255, 255);
    width: 1920px;
    height: 2000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.darksMod {
    background-color: rgb(34, 34, 34);
}

.header {
    background-color: rgb(20, 20, 20);
    width: 1920px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 4px solid rgb(194, 189, 188);
}

.logo {
    width: 130px;
    filter: drop-shadow(0 0 4px rgb(0, 0, 0));
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.header nav ul {
    display: flex;
    width: 800px;
    justify-content: space-between;
}

ul .liheader {
    list-style: none;
    border-radius: 20px;
    padding: 0px 20px;
    transition: all 0.3s;
}

.header ul .liheader:hover {
    background-color: rgb(63, 62, 62);
}

.header ul .liheader:hover .aheader {
    color: red;
}

.aheader {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-family: "Roboto", sans-serif;
    filter: drop-shadow(0 0 2px rgb(134, 6, 6));
    letter-spacing: 2px;
    transition: all 0.3s;
}

.divkorz {
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    filter: drop-shadow(0 0 1px #fafafa);
}

.pcouns {
    position: absolute;
    top: -5px;
    right: -7px;
    background-color: rgb(200, 0, 0);
    color: rgb(255, 255, 255);
    width: 12px;
    height: 12px;
    border-radius: 100%;
    font-size: 10px;
    text-align: center;
    border: none;
    outline: none;
}

.imgKorzina {
    margin-top: 4px;
    width: 30px;
    height: 30px;
}

             /* Darkmod */
             
.darkmod {
    cursor: pointer;
    position: relative;
    background-color: rgb(34, 34, 34);
    width: 60px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 3px rgb(136, 136, 136));
}
       
.active {
    background-color: rgb(255, 255, 255);
}

.btmod {
    position: absolute;
    top: 3px;
    left: 2.5px;
    background-color: rgb(130, 130, 130);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    transition: all 0.4s;
}

.darksModbt {
    position: absolute;
    left: 32.5px;
}
                     /* Banner */

.banner {
    margin-top: -74px;
    width: 100%;
    background-color: rgb(165, 7, 7);
    height: 500px;
    overflow: hidden;
}

.imgbaner {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

            /* POp-Up  */

.popup {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 800px;
    z-index: 100;
    background-color: rgb(240, 240, 240);
    width: 600px;
    height: 300px;
    border-radius: 15px;
    border: 10px solid rgb(139, 139, 139);
}

.openpop {
    display: flex;
}

.clospop {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgb(197, 67, 67);
    font-size: 17px;
    font-weight: 600;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid rgb(101, 101, 101);
    transition: all 0.4s;
}

.clospop:hover {
    background-color: rgb(152, 152, 152);
    border: none;
    color: rgb(155, 0, 0);
}

.imgkorz {
    margin-top: -10px;
    width: 300px;
    height: 150px;
}

.fullkorz {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.textpopup {
    width: 100%;
    color: rgb(47, 46, 46);
    font-family: "Roboto", sans-serif;
    font-size: 44px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 0 1px rgb(0, 0, 0);
}

.center {
    width: 900px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 260px);
    gap: 30px
}

                /* Карточка товара */
                
.card {
    position: relative;
    background-image: linear-gradient(to right, 
    rgba(0, 0, 0, 0.505),rgb(255, 255, 255), rgba(0, 0, 0, 0.505));
    width: 260px;
    height: 300px;
    border-radius: 8px;
    filter: drop-shadow(0 0 4px rgb(19, 19, 19));
    transition: all 0.5s ease;
}

.card:hover {
    transform: scale(1.1);
}

.ptotalcart {
    margin-left: 450px;
    width: 100px;
    height: 26px;
    background-color: rgb(40, 40, 40);
    color: red;
    text-align: center;
    border-radius: 40px;
}

.divscal {
    cursor: pointer;
    background-color: rgb(227, 227, 227);
    margin-left: 5px;
    margin-top: 5px;
    width: 250px;
    height: 200px;
    text-align: center;
    overflow: hidden;
    border-radius: 50px;
}

.imges {
    margin-top: 20px;
    width: 150px;
    transition: all .7s;
    filter: drop-shadow(0 0 6px rgb(18, 18, 18));
}

.divscal:hover .imges {
    transform: scale(1.4);
}

.ptitle {
    color: rgb(15, 15, 15);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    margin-top: 16px;
}

.price {
    color: rgb(169, 2, 2);
    width: 100%;
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    margin-top: 10px;
}

.btdelet {
    cursor: pointer;
}

.btadd {
    position: absolute;
    bottom: 8px;
    right: 8px;
    cursor: pointer;
    font-size: 18px;
    background-color: rgb(8, 212, 8);
    color: rgb(255, 255, 255);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    transition: all 0.3s;
}

.btadd:hover {
    filter: drop-shadow(0 0 2px rgb(39, 39, 39));
}

.map {
    width: 100%;
    height: 400px;
    margin-bottom: -66px;
}

             /* Footers */

.footer {
    background-color: rgb(23, 22, 22);
    width: 100%;
    height: 230px;
    display: grid;
    grid-template-columns: repeat(3, 640px);
}

.gids3 {
    display: flex;
    align-items: center;
}

.grid1 {
    border-left: 1px solid rgb(86, 86, 86);
    border-right: 1px solid rgb(86, 86, 86);
}

.imgLogo {
    margin-top: -50px;
    margin-left: 50px;
    width: 100px;
    filter: drop-shadow(0 0 2px rgb(255, 255, 255));
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.ulfooter {
    width: 100%;
}

.ulfooter li {
    list-style: none;
    background-color: rgb(0, 0, 0);
    margin-top: 20px;
    text-align: center;
}

.ulfooter li:hover .atext {
    color: red;
}

.atext {
    text-decoration: none;
    color: var(--colorp);
    font-size: 19px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.info {
    margin-left: 50px;
}

.ptext {
    font-size: 19px;
    letter-spacing: 1px;
    color: var(--colorp);
    margin-top: 10px;
}

.gridsimg {
    width: 100%;
    height: 230px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 90px);
    grid-template-rows: repeat(3, 70px);
    gap: 10px;
}

.imgbox {
    margin-top: 50px;
    width: 90px;
    height: 70px;
    border-radius: 3px;

}

.imgfooter {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

              
