:root{
  --gray: #4b4b4b;
  --gray-light: #F0F0F0;
  --gray-link: #939393;
    --orange: #fe6600;
    --bar-background: #f5f5f5;
    --top-menu-height: 50vh;
    --left-side-width: 240px;
    --block-margin-top: 40px;

}


body{
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    transition: all 0.3s ease-in-out;
    margin: 0;
    padding: 0;
}
h2{
    font-weight: 700;
    font-size: 28px;
    color: var(--gray);
}
h3{
    font-weight: 700;
    font-size: 16px;
    line-height: 1.375;
    color: var(--gray);
}
p{
    margin: 0;
}

a{
    color: var(--gray);
}
a:hover{
    color: var(--orange);
}

.container{
    max-width: 1180px;
    margin: 0 auto;
}
.flex_container{
    display: flex;
}

.left_side{
    width: var(--left-side-width);
    padding: 20px 20px 20px 4px;
}
.content_side{
    flex: 1;
}



.header{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 1.33333;
    color: var(--gray);
    margin: 20px 0;
}
.header_contacts{
    display: flex;
    align-items: center;
}
.header_contacts a{
    color: var(--gray);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.header_contacts a:hover{
    color: var(--gray-light);
}
.header_phones,
.header_email{
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.header_bar_logo{
    margin-right: 5px;
}


/*каталог*/
.catalog_block{
    margin-top: 40px;
}
.catalog_block_header h2{
    width: 70%;
}

.catalog_second_level{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: var(--block-margin-top);
}
.catalog_second_level a{
    text-decoration: none;
    font-size: 16px;

}
.catalog_item {
    flex: 1 1 calc(28.33% - 8px); /* 3 колонки */
    max-width: calc(28.33% - 8px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 10px 10px 10px;
    background: var(--bar-background);
    /*border: 1px solid #ddd;*/
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}
.catalog_item:hover {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
}


.catalog_item_link{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.catalog_item_link a{
    width: 80%;
}
.last_catalog_element{
    background: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}
.last_catalog_element .catalog_item_link{
    margin-top: auto;
    justify-content: end;
}
.last_catalog_element .catalog_item_link a{
    width: fit-content;
    margin-right: 10px;
}


.catalog_product_item{


    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    background: var(--bar-background);
    padding: 10px;
    color: var(--gray)
}
.catalog_product_body{
    display: flex;
    justify-content: space-between;
}
.catalog_product_item a{
    text-decoration: none;
}
.catalog_product_item_left{
    width: 30%;
    padding: 10px;
}
.catalog_product_item h3{
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    background: var(--orange);
    font-weight: 900;
    font-size: 18px;
    padding: 10px 20px;
    color: #fff;
    width: fit-content;
    border-radius: 2px;
    margin-top: 0px;
}
.catalog_product_item_short{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
}
.catalog_product_item_right{
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
}

.catalog_product_item_calc{
    margin-top: 40px;
    display: flex;
    align-items: center;
}
.catalog_product_item_calc_text{
    margin-left: 10px;
    font-weight: 500;
    font-size: 12px;
    color: var(--orange)
}
.catalog_product_item_right{
    width: 50%;
    padding: 10px;
}

.catalog_product_item_open{
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-link);
    display: flex;
    justify-content: space-between;
}



/*Футтер*/

.footer {
    margin-top: var(--block-margin-top);
    width: 100%;
    box-sizing: border-box;
    /*margin: 0 auto;*/
    padding: 40px 20px;
    background-color: var(--gray);
    color: #fff;
}

.footer-content {
    display: block;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer_line{
    display: flex;
    justify-content: space-between;
}
.footer_top{

    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-link);
}
.footer_middle{
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-link);
}



.footer_header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #c8c8c8;
}
.footer_logo_subscribe{
    width: 60%;
}
.footer_pages{
    display: flex;
    width: 60%;
    justify-content: space-between;
}
.footer_pages_column{
    width: 30%;
}

.footer_phones .footer_phone{
    color: var(--orange)
}

.footer-column ul {
    list-style: none;
    padding: 0;
}



.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fe6600;
}

.logo {
    color: #fe6600;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.logo span {
    color: #fff;
}



.subscribe-form {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 0;
    background-color: #444;
    color: #fff;
    font-size: 14px;
}

.subscribe-button {
    padding: 10px 20px;
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: #e55a00;
}

.subscribe-text {
    color: #aaa;
    font-size: 12px;
    margin-top: 5px;
}

.subscribe-text a {
    color: #fe6600;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    color: #999;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

.social-links a:hover {
    color: #fe6600;
}
.left_news_widget{
    margin-top: 20px;
}

.widget_header{
    font-weight: 700;
    font-size: 28px;
    color: var(--gray)
}
.news_item{
    margin-top: 20px;
}

.news_date{
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--orange)
}
.news_item a{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    color: var(--gray);
    text-decoration: none;
}





