* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: 'Tahoma', fangsong;
    box-sizing: border-box;
    height: 100%;
    padding: 0;
    margin: 0;
}




/**------------------ Карусель ------------------------------ */

.container_certs {
    text-align: center;
}

.catalog_title_text {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Стиль для карусели */
.glide {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.glide__track {
    display: flex;
}

.glide__slides {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.glide__slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glide__slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Стиль для стрелок */
.glide__controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.glide__arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 2rem;
    transition: background 0.3s;
}

.glide__arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Стиль для пагинации */
.glide__bullets {
    text-align: center;
    margin-top: 10px;
}

.glide__bullet {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.glide__bullet:hover,
.glide__bullet.glide__bullet--active {
    background: rgba(0, 0, 0, 0.8);
}

.cert_image {

    width: 60%;
    height: auto;
}

.certificates {
    padding-top: 20px;
    padding-bottom: 20px;
}

.certificates_title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/*-----------------ГЛАВНЫЙ БЛОК СТРАНИЦЫ + МЕНЮ ----------------------*/

.dark_bg::before
{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .75);
    z-index: -1;
}

.main
{
    margin-top: 140px;
}

.main-image
{
    position: relative;
    background: #373737 url(../img/main-bg.jpg) center no-repeat;
    background-size: cover;
    z-index: 0;
    padding-bottom: 300px;
    padding-top: 20px;
}

.container_page
{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1536px;
}

.logo_container
{
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo_container_img
{
    width: 140px;
    height: 140px;
}

.navbar
{
    margin-top: 70px;
}

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

.navbar_container_element
{
    font-size: 24px;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

.navbar_container_element:hover
{
    text-decoration: underline;
}

.main_container_title
{
    color: white;
    font-size: 50px;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.main_container_underscore
{
    margin-bottom: 10px;
    width: 200px;
    height: auto;
}

.main_container_underscore_img {
    width: 100%;
    height: auto;
}

.logo_container_text
{
    color: white;
    font-size: 20px;
    line-height: 30px;
    width: 75%;
    /*margin-left: 40%;*/
    font-weight: lighter;
    text-align: right;
    letter-spacing: 2px;
}

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

/*-----------------БЛОК ДАВАЙТЕ ПОЗНАКОМИМСЯ----------------------*/

.meeting
{
    /*display: flex;*/
    /*padding-top: 40px;*/
    /*align-items: center;*/
    position: relative;
    overflow: hidden;
    width: 100%;
}

.meeting::before
{
    content: '';
    display: block;
    position: absolute;
    box-sizing: content-box;
    height: 100%;
    background-color: #dae0dd;
    width: 100%;
    z-index: -1;
    transform: translateX(-10%);
}


.meeting_img
{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.meeting_line_container
{
    content: '';
    display: block;
    position: absolute;
    box-sizing: content-box;
    height: 100%;
    width: 100%;
    z-index: -2;
    right: 0;
    top: 0;
    background-color: #ff7400;
    /*max-height: 20%;*/
}

.meeting_line_container_img
{
    position: absolute;
    /*width: 100%;*/
    /*height: 100%;*/
    width: 100%;
}

.meeting_container
{
    /*background-color: #dae0dd;*/
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

.meeting_title
{
    font-size: 60px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 50px;
    display: inline-block;
    margin-right: 20px;
    letter-spacing: 2px;
}

.meeting_title_img
{
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-top: auto;
    margin-bottom: auto;
}

.meeting_article
{
    margin-top: auto;
    margin-bottom: auto;
    font-weight: 100;
}

.meeting_article_text_1
{
    margin-bottom: 30px;
    font-size: 20px;
    letter-spacing: 2px;
}

.meeting_article_square
{
    width: 60px;
    height: 60px;
    background-color: #ff7400;
    z-index: 1;
    position: absolute;
    margin-top: 50px;
    transform: rotate(45deg);
    margin-left: -65px;
}

.meeting_article_text_2
{
    background-color: #ff7400;
    padding: 20px 45px;
    font-size: 35px;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 15px;
    z-index: 4;
    line-height: 60px;
}


.meeting_article_text_3
{
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/*-----------------БЛОК "О хлебе"----------------------*/

.about_bread
{
    position: relative;
    overflow: hidden;
}

.about_bread::before
{
    content: '';
    display: block;
    position: absolute;
    box-sizing: content-box;
    height: 100%;
    width: 100%;
    background: #fff url(../img/about_bread.jpg) right no-repeat;
    z-index: -1;
    top: 0;
    right: 0;
}

.about_bread_container
{
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about_bread_container_feature
{
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.about_bread_container_feature_article {
    max-width: 60%;
}

.about_bread_container_feature_img
{
    width: 50px;
    height: 50px;
}

.about_bread_container_title
{
    font-weight: bold;
    font-size: 68px;
    margin-bottom: 60px;
}

.about_bread_container_subtitle
{
    background-color: #ff7400;
    color: white;
    font-size: 30px;
    padding: 9px 15px;
    font-style: italic;
    position: relative;
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.about_bread_container_subtitle_square
{
    background-color: #ff7400;
    width: 45px;
    height: 45px;
    transform: translateX(35px) rotate(45deg);
}

.about_bread_container_text
{
    font-size: 25px;
    margin-bottom: 50px;
    width: 50%;
    letter-spacing: 2px;
}

.about_bread_container_feature_img
{
    margin-right: 25px;
}

.about_bread_container_feature_title
{
    font-size: 25px;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.about_bread_container_feature_text
{
    font-size: 15px;
    letter-spacing: 2px;
    color: #292929;
    font-style: italic;
}

.about_bread_container_title_line
{
    display: inline-block;
    height: 55px;
    width: auto;
}

/*----------------------БЛОК C ПРЕИМУЩЕСТВАМИ--------------------------*/

.features
{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #dae0dd;
}

.features_title
{
    font-weight: bold;
    font-size: 60px;
    margin-bottom: 60px;
}

.features_container_block_img
{
    width: 90%;
    height: auto;
}

.features_container_img
{
    width: 100%;
    height: 100%;
}

.features_container
{
    display: flex;
    justify-content: center;
}

.features_container_features
{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.features_container_block
{
    width: 50%;
    height: 50%;
    background-color: white;
    padding: 10px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features_block_coral
{
    background-color: #ff7400;
    color: white;
}

.features_container_block_title
{
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 30px;
}

.features_container_block_text
{
    font-size: 16px;
    letter-spacing: 2px;
}

/*-------------------------------------Каталог-------------------------------------*/

.catalog
{
    background-color: #ff7400;
}

.container_page_catalog
{
    background-color: white;
    padding: 100px 45px;
}

.catalog_title
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.catalog_title_image
{
    height: 24px;
    width: auto;
    margin: 0 30px;
}

.catalog_title_text
{
    font-weight: bold;
    font-size: 60px;
}

.catalog_error_text
{
    font-weight: bold;
    font-size: 40px;
    text-align: center;
}

.catalog_container
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.catalog_container_element
{
    width: 30%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /*border: 3px solid black;*/
    border-radius: 10px;
    background-color: #dae0dd;
    padding: 15px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.catalog_container_element_image
{
    width: 100%;
    height: auto;
    max-width: 300px;
}

.catalog_container_element_name
{
    margin-top: 15px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.catalog_container_element_prince
{
    margin-top: 5px;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}


.catalog_container_element_button
{
    margin-bottom: 10px;
    color: white;
    font-size: 20px;
    border: none;
    background-color: #ff7400;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 10px 15px;
    width: 250px;
    /*box-shadow: rgba(234, 117, 74, 0.52) 15px 10px;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.catalog_container_element_button:hover
{
    background-color: #a85434;
    cursor: pointer;
}

.quantity-widget {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Кнопки спинбокса */
.quantity-widget button {
    padding: 8px;
    background-color: #6b8e23; /* Более контрастный цвет */
    color: #ffffff;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.quantity-widget button:hover {
    background-color: #556b2f; /* Немного темнее при наведении */
}

/* Отображение количества */
.quantity-widget .quantity-display {
    margin: 0 10px;
    font-size: 18px;
    color: #333; /* Насыщенный цвет для контраста */
    font-weight: bold;
}

.catalog_container_element_button.add-to-cart {
    background-color: #57C95C;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}



.catalog_container_element_button.go-to-cart {
    background-color: #2E8B57;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.catalog_container_element_button.go-to-cart:hover {
    background-color: #276d46;
}

.quantity-widget button:disabled {
    background-color: #276d46; /* Неактивный цвет кнопки (светло-зеленый) */
    cursor: not-allowed;  /* Изменение курсора на неактивный */
}


/*-------------------------------------Доставка-------------------------------------*/

.delivery
{
    padding: 100px 0;
    background-color: #dae0dd;
}

.delivery_big_container
{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.delivery_container
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: space-around;
}


.delivery_container_title
{
    font-size: 50px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 20px;
}

.delivery_img
{
    width: 50%;
    height: 150%;
    /*max-height: 50%;*/

}

.delivery_container_element
{
    margin-bottom: 25px;
}

.delivery_container_element_title
{
    font-size: 25px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.delivery_container_element_text
{
    font-size: 18px;
}

.delivery_container
{
    width: 40%;
}

/*-------------------------------------Контакты-------------------------------------*/

.contacts
{
    background-color: black;
    padding: 40px 0px;
}

.contacts_container
{
    display: flex;
    justify-content: space-around;
}

.contacts_container_element
{
    display: flex;
    align-items: center;
}

.contacts_container_element_img
{
    width: 40px;
    height: 40px;
}

.contacts_container_element_text
{
    text-decoration: none;
    color: white;
    font-size: 20px;
    margin-left: 10px;
    letter-spacing: 2px;
}

/*-------------------------------------Всплывающее окно-------------------------------------*/
.popup
{
    position: fixed;
    display: none;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.product_card
{
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 20px;
    padding: 50px 70px;
    width: 80%;
}

.product_card_title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.product_card_title_text
{
    font-size: 42px;
    font-weight: bold;
}

.product_card_title_img
{
    width: 32px;
    height: 32px;
}

.product_card_title_img:hover
{
    cursor: pointer;
}

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

.product_card_container_img
{
    width: 50%;
    height: auto;
}

.product_card_container_article
{
    text-align: right;
    width: 45%;
}

.product_card_container_article_subtitle
{
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product_card_container_article_text
{
    font-size: 20px;
    margin-bottom: 20px;
}

.product_card_container_article_price
{
    font-weight: bold;
    font-size: 35px;
}

/*--------------------------------Адаптив --------------------------------*/

@media (max-width: 1550px)
{
    .features_container_block_img
    {
        display: none;
    }
}

@media (max-width: 1350px)
{

    .about_bread_container_subtitle_square
    {
        display: none;
    }

    .meeting
    {
        text-align: center;
        padding-bottom: 50px;
    }

    .meeting_title_img
    {
        display: none;
    }

    .meeting_img
    {
        display: none;
    }

    .meeting_article_text_1
    {
    }

    .meeting_article_text_3
    {
        width: 100%;
    }

    .meeting_article_square
    {
        display: none;
    }

    .meeting_line_container
    {
        background-color: #dae0dd;
    }
}

@media (max-width: 1200px) {

    .container_page
    {
        width: 95%;
    }

    /* --------------------- */

    .navbar
    {
        display: none;
    }

    .main
    {
        margin-top: 70px;
    }

    .main-image
    {
        padding-bottom: 150px;
    }

    .main_container
    {
        align-items: center;
    }

    .main_container_title
    {
        text-align: center;
    }

    .main_container_underscore
    {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .logo_container_text
    {
        text-align: center;
    }

    /*----------------------------*/



    /* ----------------------------------- */

    .about_bread
    {
        text-align: center;

    }

    .about_bread_container
    {
        margin-top: 50px;
    }

    .about_bread_container_text
    {
        width: 100%;
    }

    .about_bread_container_subtitle
    {
        width: 100%;
        padding: 20px 0;
    }

    .about_bread::before
    {
        display: none;
    }

    .about_bread_container
    {
        align-items: center;
    }

    .about_bread_container_title_line
    {
        display: none;
    }

    /* ----------------------------------- */

    .features
    {
        text-align: center;
    }


    .features_container_features
    {
        flex-wrap: nowrap;
        align-items: center;
    }

    .features_container_block
    {
        width: 80%;
        padding: 100px 30px;
    }

    .features_block_third
    {
        background-color: white;
        color: black;
    }

    .features_block_fourth
    {
        background-color: #ff7400;
        color: white;
    }

    /* ----------------------------------- */

    .catalog_title_image
    {
        display: none;
    }

    .catalog_container_element
    {
        width: 52%;
    }

    /* ----------------------------------- */

    .delivery_img
    {
        display: none;
    }

    .delivery
    {
        text-align: center;
    }

    .delivery_big_container
    {
        justify-content: center;
    }

    .delivery_container_title
    {
        margin-bottom: 40px;
    }

    .delivery_container
    {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* ----------------------------------- */

    .contacts_container
    {
        flex-direction: column;
        align-items: center;
    }

    .contacts_container_element
    {
        margin-bottom: 30px;
    }

    /* ----------------------------------- */

    .product_card
    {
        width: 90%;
    }

    .product_card_container
    {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product_card_container_img
    {
        width: 100%;
        margin-bottom: 20px;
    }

    .product_card_container_article
    {
        width: 100%;
    }

    .product_card_container_article
    {
        text-align: center;
    }
}

@media (max-width: 768px)
{
    .screen_small_text_big
    {
        font-size: 28px;
    }

    .product_card_container_img {
        display: none;
    }

    .screen_small_text_medium
    {
        font-size: 20px;
    }

    .logo_container_text {
        width: 90%;
    }

    .product_card_title {
        margin-bottom: 5px;
    }

    .product_card_title_img {
        width: 20px;
        height: 20px;
    }

    .product_card {
        padding: 15px;
    }

    .product_card_container {
        padding: 20px;
    }

    .screen_small_text_small
    {
        font-size: 15px;
    }

    .meeting_article_text_2 {
        letter-spacing: 3px;
        line-height: 25px;
        font-weight: bold;
    }

    .delivery {
        padding: 50px;
    }

    .delivery_container {
        width: 100%;
    }

    .catalog_container_element
    {
        min-width: 290px;
        max-width: 100%;
    }

    .cert_image {
        width: 90%;
        height: auto;
    }
}


