* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --fond: #fff;
}

body {
    background-color: rgb(237, 237, 237);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.container {
    background-color: rgb(255, 255, 255);
    position: relative;
    max-width: 1920px;
    width: 100%;
    min-height: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.headers {
    background-color: rgb(254, 242, 242);
    position: fixed;
    top: 0;
    z-index: 10000;
    max-width: 1920px;
    width: 100%;
    min-height: 90px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.24);
}

.logo {
    width: 110px;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
}

.navigation li {
    margin-left: 30px;
    list-style: none;
}

.navigation li:nth-child(1) {
    margin-left: 0px;
}

.pnav {
    cursor: pointer;
    color: black;
    font-family: "Poppins", sans-serif;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 600;
}

.pnav:hover {
    transition: all .3s;
    color: rgb(230, 1, 1);
}

.cart {
    position: relative;
}

.imgCart {
    width: 30px;
    height: 30px;
}

.countCart {
    position: absolute;
    top: -11px;
    right: -10px;
    background-color: red;
    color: var(--fond);
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titlecart {
    color: #3f4148;
    margin-top: 150px;
    font-size: 25px;
    font-weight: 600;
}

.cartbg {
    margin-top: 10px;
    max-width: 810px;
    width: 100%;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.clears {
    margin-top: 10px;
    max-width: 810px;
    width: 100%;
    display: flex;
    align-items: center;
}

.clears.active {
    display: flex;
}

.btnClear {
    cursor: pointer;
    background-color: #111112b6;
    color: #fff;
    padding: 5px 15px;
    font-size: 18px;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
}

.btnClear:hover {
    transition: all .4s;
    background-color: #111112;
}

.cartProduct {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    padding: 10px;
    overflow-y: auto;
}

.cartProduct::-webkit-scrollbar {
    background-color: rgb(205, 205, 205);
    width: 5px;
}

.cartProduct::-webkit-scrollbar-thumb {
    background-color: rgb(128, 127, 127);
    border-radius: 10px;
}

.card {
    max-width: 800px;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid rgba(202, 201, 201, 0.386);
}

.center-img {
    cursor: pointer;
    width: 130px;
    height: 110px;
    overflow: hidden;
}

.center-img:hover > .imgCard {
    transition: all .4s ease;
    transform: scale(1.3);
}

.imgCard {
    width: 100%;
    height: 100%;
}

.title {
    color: rgb(47, 59, 59);
    font-size: 22px;
    font-weight: 600;
}

.price {
    background-color: gold;
    padding: 5px 10px;
    color: rgb(231, 0, 0);
    font-size: 17px;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
}

.counters {
    width: 90px;
    height: 30px;
    display: flex;
    justify-content: space-between;
}

.counters button {
    background-color: #e4e4e4;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 3px;
}

.counters button:hover {
    transition: all .4s;
    background-color: #d5d5d5;
}

.inputCount {
    font-size: 16px;
    width: 40px;
    height: 30px;
    outline: none;
    border: none;
    text-align: center;
}

.btnDelet {
    cursor: pointer;
    background-color: #e0e0e0;
    width: 20px;
    height: 20px;
    font-size: 18px;
    border: none;
    border-radius: 3px;
}

.btnDelet:hover {
    transform: scale(1.1);
    transition: all .4s;
    background-color: #d2d2d2;
    color: red;
}

.totals {
    max-width: 770px;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.totals.active {
    display: flex;
}

.totalText {
    color: rgb(57, 57, 75);
    padding: 6px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.totalPrice {
    color: rgb(57, 57, 75);
    padding: 6px;
    font-size: 20px;
    font-weight: 600;
}

.btnShop {
    cursor: pointer;
    padding: 6px 50px;
    background-color: #3f4148;
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
}

.btnShop:hover {
    transition: all .4s;
    background-color: #111112;
}

.box-form {
    position: relative;
    margin-top: 40px;
    margin-bottom: 100px;
    max-width: 1920px;
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forms {
    position: absolute;
    top: 20px;
    background-color: #000000;
    margin-top: 10px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    padding: 20px;
    border-radius: 10px;
}

.inputText {
    background-color: #ffffff;
    padding: 8px;
    font-size: 18px;
    border-radius: 8px;
    outline-color: red;
    border: 1px solid #bababa;
}

.inputText::placeholder {
    color: rgb(48, 49, 60);
}

.inputBtn {
    cursor: pointer;
    background-color: rgb(52, 68, 102);
    color: #fff;
    letter-spacing: 1px;
    padding: 8px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
}

.inputBtn:hover {
    transition: all .5s;
    background-color: rgb(80, 108, 169);
}

.maps {
    max-width: 1920px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

iframe {
    width: 100%;
    height: 100%;
} 

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: black;
    max-width: 1920px;
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.ulfooter {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.ulfooter li {
    cursor: pointer;
    color: #9d9d9d;
    list-style: none;
    font-size: 18px;
}

@media (max-width: 682px) {

    .div-up {
        justify-content: center;
    }

    .totalPrice {
        margin-right: 10px;
    }
}

@media (max-width: 600px) {

    .price, .counters button {
        font-size: 14px;
        padding: 3px 6px;
    }

    .counters {
        width: 70px;
        height: 25px;
    }

    .counters button {
        width: 20px;
        height: 25px;
    }

    .inputCount {
        width: 30px;
        height: 100%;
    }
}

@media (max-width: 491px) {

    .headers {
        justify-content: center;
    }
    
    .navigation li {
        margin-left: 10px;
    }

    .pnav {
        font-size: 16px;
    }

    .box-form {
        margin-bottom: 184px;
    }

    .footer {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        text-align: center;
    }
}

@media (max-width: 460px) {

    .card {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .center-img {
        width: 199px;
        height: 130px;
    }

    .price, .counters button {
        font-size: 17px;
        padding: 3px 6px;
    }

    .btnDelet {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}
