@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    font-family: 'Roboto', Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    background: #F9F9F9;
    color: #333333;
    background-image: url('/img/bg_main.gif'); 
    background-attachment: fixed;    }
    

a { color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase; }

a:hover { color: #f2ff00; cursor: pointer;}

ul { margin: 0; padding: 0; list-style-type: none; }
h1 { margin: 10; color: #f00;}
h2 { color: #f2ff00;}


.wrapper {
    width: 1020px;
    margin: 0 auto;
    background: #F9F9F9;
    border-width: 2px 2px;
    border-style: solid; 
    border-color: red;   }


.main {
    display: grid;
    grid-template-columns: 230px auto; 
    background-color: #ffffff; }

.main__left_hit {
    width: 80%;
    margin: 10;
    margin: 20px auto; }

.main__left_menu {
    width: 212px;
    background-color: red;
    border:2px solid red;
    margin: 5px auto; }

.main__left_menu li {
    height: 30px;
    width: 200px;
    background-color: red;
    border:1px solid #fff;
    padding-left: 10;
    margin-bottom: 1;
    display: flex;
    font-size: 0.85rem;
    align-items: center; }

.main__left_menu span {
    color: yellow;
    text-decoration: underline;
    font-weight: 700;
    font-size: 0.85rem; }





.page__main_razdel {
    line-height: 32px;
    margin-top:10px;
    margin-bottom:10px;
    background-image: url('/img/bg_menu.gif');
    padding-left: 10;
    vertical-align: center;
}

.page__main_text {
    font: #000;
    font-size: 0.93rem;
    text-align: justify;
    padding: 0 15px; }


.page__main_newitems {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
    row-gap: 30px;
    width: 98%;
}


.blok_item {  
    display: flex;
    flex-wrap: wrap;
    justify-content: center; }

.blok_item__image {
    position: relative;
    border: 1px solid #f26969;
    aspect-ratio: 5/6;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5); }

.blok_item__name {
    width: 94%;
    height: 20;
    color: #666;
    font-size: 0.75rem;
    font-weight: 500;
    overflow-y:hidden;
    overflow-x:hidden;
    padding: 5px 0;
    line-height: 1.0; }

.blok_item__info {
    display: inline-block;
    color: grey;
    font-size: 0.70rem;
    width: 46%;
    padding-top: 4px;  }

.blok_item__price {
    display: inline-block;
    text-align: right;
    color: #f00;
    width: 46%;
    font-weight: 700;
    padding-right: 5px; }

.blok_item__oldprice {
    display: inline-block;
    color: #bdbdbd;
    width: 45%;
    font-weight: 700;
    text-decoration: line-through; }

.blok_item__companyimage {
    position: absolute;
    top: 5;
    left: 10;
    border: 0; }

.blok_item__discountimage {
    position: absolute;
    top: 0;
    left: 75%;
    border: 0; }

.blok_item__discounttext {
    position: absolute;
    top: 5;
    left: 81%;
    color: white;
    font-size: 0.90rem;
    font-weight: 700;
    border: 0;
    padding-top: 30px; }



.page__navigation {
    color: #f00;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px; }

    
.katalog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-around;
    align-content: stretch;
    gap: 25px;
    padding: 0 20px 0 10px; }

.subscribe__menu {
    width: 98%;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: #f00;
    margin-left: 10px; }

.btn-add-to-cart {
    background-color: #f00;
    border-radius: 3px;
    border: 0;
    margin-top: 10px;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    width: 90%;
    font-weight: 700;
    font-size: 0.8rem; }

 .btn-pay-now {
    border-radius: 3px;
    border: 2px solid red;
    color: red;
    margin-top: 3px;
    padding: 10px;
    cursor: pointer;
    width: 90%;
    font-weight: 700;
    font-size: 0.8rem;
 }


 .katalog_top_pages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-around;
    align-content: stretch;
    gap: 25px;
}

.page_title {
    height: 20px;
    color: red;
    font-weight: 700;
    padding-left: 10;
    padding-top: 15;
    padding-bottom: 15;
}
        


