@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;

}


body {
    font-family: "Roboto", sans-serif;
    background-color: #fff !important;
    color: #454545;
    overflow-x: hidden;
}

main {
    display: block;
    width: 100%;
    background-color: white !important;
    /* overflow: hidden; */
}

h3 {
    font-size: 20px;
}

a {
    text-decoration: none;
    color: #727272;
}

img {
    display: block;
    width: 100%;
}

.p-20 {
    padding: 20px;
}

input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 5px;
    outline: none;
    padding: 15px 10px;
    background-color: #EFEFEF;
    font-size: 18px;
}

label {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

iframe {
    display: block;
    width: 100%;
}

.window {
    display: block;
    background-color: #fff !important;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    transition: left 0.3s ease;
    overflow-y: scroll;
    height: 100vh;
    padding: 30px;
    z-index: 10;
    /* overflow: hidden; */
}

.window .fa-arrow-left {
    font-size: 30px;
    font-weight: bold;
}


.window.show {
    left: 0;
    display: block;
}

.usefullinks {
    margin-bottom: 20px;
}

.usefullink {
    padding: 5px 0;
    border-top: 1px solid lightgrey;
    font-size: 15px;
    padding-left: 10px;
    user-select: none;
}



.social-items {
    display: flex;


}

.social-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    background-color: #E30059;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.content h3 {
    margin-bottom: 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.search {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}

.search i {
    position: relative;
}

.search input {
    text-align: center;
}

.banner-items {
    display: flex;
    overflow: hidden;
}

.item {
    height: 300px;
    /*background-size: cover !important;*/
    background-size:contain;
    background-position: center !important;
    background-repeat: no-repeat !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.owl-dot.active span {
    background-color: #E30059 !important;
}



.banner-item-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.836);
    border-radius: 10px;
    font-size: 18px;
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}



.banner-item-title button {
    display: block;
    position: relative;
    top: 10px;
    border: none;
    background-color: #E30059;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;

}

.banner-item-title a {
    display: block;
    position: relative;
    top: 10px;
    border: none;
    background-color: #E30059;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}


.category {
    display: flex;
    padding: 40px;
    overflow: auto;
}

.category::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    min-width: 120px;
    max-width: 100%;
    margin-right: 30px;
    height: 120px;
    font-size: 12px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 5px 10px 1px rgb(228, 228, 228);
}

.category-item-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.category-item-title {
    font-weight: bold;
}

.category-item.active {
    box-shadow: 0px 0px 10px 1px #E30059;
}

.category-item:last-child {
    margin-right: 0;
    width: 100%;
}

.products {
    padding-bottom: 100px;
}

.products header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sort {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sort i {
    font-size: 20px;
}

.sort-menu {
    display: none;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    box-shadow: 0px 5px 10px 1px lightgrey;
    margin-top: 30px;
    z-index: 9;
    opacity: 0;
    transition: all 0.3s ease;
}

.sort-menu.show {
    display: block;
    opacity: 1;
}

.sort-menu-item {
    border-bottom: 1px solid lightgrey;
    padding: 10px;
}

.sort-menu .active {
    color: #4A4F99 !important;
}

.product-items {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 40px 0;
}

.product-item-info {
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 5px 20px 1px rgb(228, 228, 228);
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.5s forwards;
}

.product-item .sign,
.product-item .sale-status {
    position: absolute;
    margin-top: 10px;
    border-radius: 10px;
    padding: 3px 10px;
    font-size: 14px;
}


.product-item .sign {
    background-color: #E30059;
    color: #fff;
    font-size: 8px;
}

.product-item .sale-status {
    margin-top: 30px;
    background-color: #4A4F99;
    color: #fff;
    font-size: 8px;


}

.product-item img {
    background-color: #fff;
}

.product-item-img {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
    background-color: white;
}

.product-item-oldprice {
    color: rgb(162, 162, 162);
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 10px;
}

.product-item-price {
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: 10px;
}

.product-item-name {
    font-size: 12px;
    color: #727272;
    margin-left: 10px;
    margin-bottom: 10px;
}

.product-item-btn {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    background-color: #4A4F99;
    padding: 1rem 0;
    text-align: center;
    color: white;
}

.product-item-counter {
    display: none;
    justify-content: space-between;
    width: 100%;
    border: none;
    border-radius: 10px;
    background-color: #4A4F99;
    padding: 12px 10%;
    text-align: center;
    color: white;
    font-size: 20px;
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #00000035;
}

.footer-fixed-btn {
    display: flex;
    position: absolute;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 0;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    transition: 0.4s;
    transform: translateY(200px);
    z-index: 999;
}


.footer-fixed-btn button {
    display: none;
    width: 80%;
    border: none;
    background-color: #E30059;
    padding: 20px 10px;
    color: white;
    border-radius: 10px;
    font-size: 20px;
    transition: 0.4s;

}

.footer-fixed-btn .active {
    display: block !important;
}

.sidebar {
    /* display: none; */
    position: fixed;
    right: -80%;
    top: 0;
    width: 80%;
    height: 100%;
    background-color: #fff;
    box-shadow: -5px 0 5px -5px #333;
    transition: all 0.3s ease;
    z-index: 99999;
}

.sidebar.open {
    right: 0;
    display: block;
}

.sidebar-close {
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.show {
    display: block;
}

.sidebar .contacts {
    margin-bottom: 20px;
}

.sidebar .contacts a {
    display: block;
    padding: 5px 0;
    border-top: 1px solid lightgrey;
    font-size: 15px;
    padding-left: 10px;
    user-select: none;
    cursor: pointer;
}


.sidebar .contacts a:hover {
    color: #E30059;
}

.sidebar .contacts div {
    padding: 5px 0;
    border-top: 1px solid lightgrey;
    font-size: 15px;
    padding-left: 10px;
    cursor: pointer;
    user-select: none;
}

.sidebar .contacts div:hover {
    color: #E30059;
}


/* BASKET */

.content {
    /* margin-top: 20px; */
    padding: 20px;
    padding-bottom: 150px;
}

.basket-items {
    margin-top: 30px;
    margin-bottom: 50px;
    /* padding: 10px; */

}

.basket-item {
    display: grid;
    grid-template-columns: 1fr 2fr 0.2fr;
    column-gap: 10px;
    box-shadow: 0px 5px 20px 1px lightgrey;
    border-radius: 10px;
    padding: 20px 10px;
    margin-top: 20px;
}


.basket-item-delete {
    color: red;
}

.basket-item-img {
    width: 100%;
}

.basket-item-title {
    margin-bottom: 10px;
}

.basket-item-oldprice {
    color: rgb(162, 162, 162);
    text-decoration: line-through;
    font-size: 12px;
}

.basket-item-price {
    font-weight: bold;
    /* font-size: 12px; */
}

.basket-item .counter-btn {
    user-select: none;
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    background-color: #4A4F99;
    color: #fff;
    padding: 5px 0px;
    text-align: center;
    border-radius: 10px;

    margin-top: 10px;
}

.totalInfo h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid lightgrey;
}


.totalPrice,
.saleInfo,
.totaly {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-top: 5px;

}


.totalPrice .value,
.totaly .value,
.saleInfo .value {
    font-weight: bold;
    text-align: right;
}

.form-group {
    margin-bottom: 30px;
}

.form-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.payment-types {
    display: flex;
    align-items: center;
    justify-content: center;

}

.payment-types input {
    position: absolute;
    visibility: hidden;
    width: 10px;
}

.payment-types label {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-types:last-child {
    margin-right: 0;
}

.payment-types .radio {
    flex-grow: 1;
    width: 100%;
    margin-right: 10px;
}

.payment-types label {
    padding: 20px 20px;
    border: 1px solid lightgrey;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 20px;

}


.payment-types input:checked+label {
    background-color: #7d86ff;
    color: white;
}

.cash i {
    color: green;
    margin-right: 5px;
}

.card i {
    color: blue;
    margin-right: 5px;
}



.promobox {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: center;
}

.product-price-title {
    margin-bottom: 30px;
}

.product-price-title-name {
    margin-bottom: 10px;
}

.product-price-title-oldprice {
    text-decoration: line-through;
    color: lightgrey;

}

.product-price-title-price {
    font-weight: bold;
    font-size: 30px;
}


.product-properties {
    margin-bottom: 30px;
}

.product-property {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    padding: 5px 0;
    color: #727272;
    border-top: 1px solid lightgrey;
}

.product-property-value {
    text-align: right;
}

.product-description {
    /* text-align: justify; */
    line-height: 20px;

}

.product-description p {
    color: #727272;
}

.askbox {
    padding: 20px 0;
    margin-top: 20px;

}

.ask-btn {
    display: block;
    width: 100%;
    border-radius: 10px;
    border: 1px solid lightgrey;
    color: #727272;
    padding: 15px 0;
    text-align: center;
    margin: 0 auto;
    font-size: 18px;

}



.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}