@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box; 
}

body {
    margin: 0;
    font-family: 'Inter';
    color: #403F3D;
    font-weight: 400;
    font-size: 16px;
    background: var(--background-body, #E1D4C9);
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

#header, #main, #footer {
    background-color: #E1D4C9;
    max-width: 1440px;
    margin: 0 auto;
}

.container {
    background-color: #E1D4C9;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 19px 0px 0px 0px;
}

.header_nav_bloc {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
}

.header_logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header_nav_centre {
    display: flex;
    align-items: center;
    justify-content: center;
}

.label_header_nav {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    display: flex;
    line-height: 150%;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex: 1 0 0;
    align-self: stretch;
}

.nav-item {
    margin: 10px 0;
}

.nav_item_burger {
    display: none;
}

.burger_nav {
    display: none;
}

.nav-link {
    display: flex;
    color: var(--text-dark, #403F3D);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: color 0.9s;
    margin: 0 2px 2px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #403F3D;
    opacity: 0;
    transition: width 0.6s, opacity 0.6s;
}

.nav-link:hover::after,
.nav-link:active::after {
    width: 100%;
    opacity: 1;
}

.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

#menu_coffee .nav-link.active {
    cursor: default;
}

.label_nav_coffee {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 28px;
}

.logo_coffee_cup {
    padding: 0 0 3px;
}

.label_nav_coffee .logo_coffee_cup {
    vertical-align: text-top;
}

.hero {
    padding: 20px 40px 100px 40px;
}

.hero_container {
    display: flex;
    padding: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 40px;
    /* background: url('../assets/jpg/img-hero.jpg') no-repeat center center; */
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.video_hero {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
}

.hero_offer {
    position: relative;
    z-index: 1;
}

.hero_offer {
    display: flex;
    width: 530px;
    /* width: 45%; */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.hero_text_name_2 {
    color: var(--text-accent, #B0907A);
    font-style: italic;
}

.hero_text_name {
    align-self: stretch;
    color: var(--text-light, #E1D4C9);
    font-family: 'Inter';
    font-size: 72px;
    font-style: normal;
    font-weight: 600;
    line-height: 105%;
    margin: 0px;
}

.hero_text_content {
    color: var(--text-light, #E1D4C9);
    font-feature-settings: 'clig' off, 'liga' off;
    line-height: 150%;
    margin: 20px 0 20px 0;
}

.hero_button {
    font-family: Inter;
    display: flex;
    width: 200px;
    padding: 20px 78px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(--background-body, #E1D4C9);
    border: none;
    color: var(--text-dark, #403F3D);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero_button_text {
    display: inline-block;
    transition: transform 0.6s ease;
}

.hero_button_icon {
    display: inline-block;
    opacity: 0;
    position: absolute;
    right: 60px;
    top: 32%;
    transform: translateY(-50% + 1px);
    transition: opacity 0.6s ease;
}

.hero_button:hover .hero_button_text {
    transform: translateX(-10px);
}

.hero_button:hover .hero_button_icon {
    opacity: 1;
    transition-delay: 0.1s;
}

.favorite_coffee {
    height: 799px;
    display: flex;
    padding: 0px 40px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.favorite_coffee_container {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.favorite_coffee_slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 0 0;
}

.favorite_coffee_name {
    color: var(--text-dark, #403F3D);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 0;
}

.favorite_coffee_name_2 {
    color: var(--text-accent, #B0907A);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: italic;
    font-weight: 600;
    line-height: 125%;
}

.favorite_button_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    border-radius: 100px;
    border: 1px solid var(--border-dark, #665F55);
    background: var(--background-body, #E1D4C9);
    cursor: pointer;
    transition: background 0.6s ease-in-out;
}

.favorite_button_icon:hover {
    background: var(--background-body, #665F55);
}

.favorite_button_icon:hover svg path {
    stroke: #E1D4C9;
}

/* .favorite_slide_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 40px 0 40px;
    overflow: hidden;
    max-width: 480px;
}

.favorite_slide {
    display: none;
    max-width: 480px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
} */

.favorite_slide_block {
    display: flex;
    align-items: center;
    /* margin: 0 40px 0 40px; */
    overflow: hidden;
    max-width: 480px;
    transition: transform 0.5s ease-in-out;
    flex-direction: row;
    /* white-space: nowrap; */
}

.favorite_slide {
    max-width: 480px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.favorite_slide.active {
    display: block;
}

.favorite_slide_png {
    width: 480px;
    max-width: 100%;
}


/* Слайдер */

/* .indicator.active {
    background: var(--border-dark, #665F55);
}  */

/* .indicator {
    display: inline-block;
    width: 40px;
    height: 4px;
    border-radius: 100px;
    background: var(--border-light, #C1B6AD);
    margin: 0 5px;
} */

.slide-description{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide-indicator {
    text-align: center;
    margin-top: 25px;
}

.indicator {
    display: inline-block;
    width: 40px;
    height: 4px;
    border-radius: 100px;
    background: var(--border-light, #C1B6AD);
    margin: 0 5px;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--border-dark, #665F55);
    width: 0%;
    position: absolute;
    transition: width 5s linear;
}

/* 
.slide-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide-indicator {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.indicator {
    display: inline-block;
    height: 4px;
    border-radius: 100px;
    background: var(--border-light, #C1B6AD);
    margin: 0 5px;
    width: 50px;
    height: 5px;
    margin: 0 5px;
    background-color: #ccc;
    position: relative;
    overflow: hidden;
    transition: width 5s linear;
}

.progress-bar {
    height: 100%;
    background-color: #403F3D;
    width: 0%;
    transition: width 5s linear;
} */

/* Слайдер конец */




.favorite_slide_product_name {
    margin: 18px 0 16px 0;
    font-weight: 600;
    font-style: normal;
    line-height: 125%;
}

.favorite_slide_product_description {
    margin: 0;
    font-style: normal;
    line-height: 150%;
}

.favorite_slide_product_price {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 16px 0 0 0;
}

.about_container {
    margin: 50px 40px;
    display: flex;
    max-width: 1360px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    align-self: stretch;
}

.about_name {
    align-self: stretch;
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 50px 0 0;
}

.about_name_2 {
    align-self: stretch;
    color: var(--text-accent, #B0907A);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: italic;
    font-weight: 600;
    line-height: 125%;
}

.about_images {
    display: flex;
    text-align: center;
    max-width: 1360px;
    max-height: 1060px;
    align-items: flex-start;
    align-self: stretch;
    gap: 40px;
}

.about_image_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 660px;
    overflow: hidden;
    border-radius: 1.25rem;
    margin-bottom: 40px;
}

.about_column_1 .about_image_wrap:first-child,
.about_column_2 .about_image_wrap:last-child {
    max-height: 590px;
    max-width: 660px;
}

.about_column_1 .about_image_wrap:last-child,
.about_column_2 .about_image_wrap:first-child {
    max-height: 430px;
    max-width: 660px;
}

.about_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
    transform: scale(1.1);
}

.about_image_wrap:hover .about_img {
    transform: scale(1);
}

.mobile_app_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 40px;
}

.mobile_app_offer {
    max-width: 630px;
}

.mobile_app_name {
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 0;
}

.mobile_app_name_2 {
    color: var(--text-accent, #B0907A);
    font-feature-settings: 'clig' off, 'liga' off;
    align-self: stretch;
    font-family: Inter;
    font-size: 60px;
    font-style: italic;
    font-weight: 600;
    line-height: 125%;
}

.mobile_app_description {
    align-self: stretch;
    font-style: normal;
    line-height: 150%;
    margin: 40px 0;
}

.mobile_app_buttons {
    display: flex;
    gap: 20px;
}

.mobile_app_button_app_store,
.mobile_app_button_google_play {
    display: flex;
    align-items: center;
    justify-content: start;
    cursor: pointer;
    width: 200px;
    height: 64px;
    padding: 12px 20px;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid var(--border-dark, #665F55);
    background: var(--background-container, #E1D4C9);
    position: relative;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.mobile_app_button_app_store img,
.mobile_app_button_google_play img {
    transition: opacity 0.3s ease-in-out;
    width: 36px;
    height: 36px;
}

.mobile_app_button_app_store:hover,
.mobile_app_button_google_play:hover {
    background: var(--background-container-hover, #665F55);
    color: var(--text-dark-hover, #E1D4C9);
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
}

.mobile_app_button_app_store::before,
.mobile_app_button_app_store:hover::before {
    content: '';
    position: absolute;
    height: 36px;
    width: 36px;
    background-image: url('assets/svg/app-store-icon.svg');
    background-size: cover;
    transition: background-image 0.3s ease-in-out;
}

.mobile_app_button_app_store:hover::before {
    background-image: url('../assets/svg/app-store-icon-hover.svg');
}

.mobile_app_button_google_play::before,
.mobile_app_button_google_play:hover::before {
    content: '';
    position: absolute;
    height: 36px;
    width: 36px;
    background-image: url('assets/svg/google-play-icon.svg');
    background-size: cover;
    transition: background-image 0.3s ease-in-out;
}

.mobile_app_button_google_play:hover::before {
    background-image: url('../assets/svg/google-play-icon-hover.svg');
}

.mobile_app_icon_description {
    text-align: left;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    display: flex;
}

.mobile_app_icon_name {
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}

.mobile_screens_image {
    max-width: 100%;
}

.mobile_screens_img {
    width: 100%;
}

.contacts {
    padding: 50px 0;
}

.contacts_container {
    padding: 100px;
    margin: 0 40px;
    display: flex;
    max-width: 1360px;
    gap: 100px;
    align-self: stretch;
    border-radius: 40px;
    background: var(--background-container, #665F55);
    color: var(--text-light, #E1D4C9);
}

.contacts_offer {
    max-width: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex: 1 0 0;
}

.contacts_name {
    color: var(--text-light, #E1D4C9);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 0;
}

.contacts_name_2 {
    color: var(--text-accent, #B0907A);
    font-feature-settings: 'clig' off, 'liga' off;
    align-self: stretch;
    font-size: 60px;
    font-style: italic;
    font-weight: 600;
    line-height: 125%;
}

.contacts_socials {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.contacts_socials_icon {
    cursor: pointer;
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid var(--border-light, #C1B6AD);
    background: var(--background-container, #665F55);
    transition: background 0.6s ease-in-out, color 0.6s ease-in-out;
}

.contacts_socials_icon:hover {
    background: var(--background-body, #E1D4C9);
    transition: background 0.6s ease-in-out;
}

.contacts_socials_icon:hover svg path,
.contacts_socials_instagram:hover svg path,
.contacts_socials_facebook:hover svg path {
    stroke: #403F3D;
}

.contacts_info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacts_info_name {
    align-self: stretch;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 31px 0;
}

.contact-item-2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacts_info_icon {
    font-size: 24px;
}

.contact-item {
    width: 185px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark, #E1D4C9);
    position: relative;
    text-decoration: none;
    transition: color 0.9s;
    margin: 2px 0;
}

.contact-item::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #E1D4C9;
    opacity: 0;
    transition: width 0.9s, opacity 0.9s;
}

.contact-item:hover::after,
.contact-item:active::after {
    width: 100%;
    opacity: 1;
}

.contacts_info_address,
.contacts_info_phone,
.contacts_info_working_hours {
    margin: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%
}

.contact-item_indent {
    margin: 10px 0 6px;
}

.menu_description{
    margin-top: -27px;
}

.menu_description_proverb_block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.menu_description_proverb {
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
}

.menu_description_proverb_2 {
    color: var(--text-accent, #B0907A);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 60px;
    font-style: italic;
    font-weight: 600;
    line-height: 125%;
}

.menu_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -12px;
}

.menu_button {
    background: #E1D4C9;
    border: none;
    border-radius: 50px;
    padding: 8px 14px 8px 8px;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-light, #C1B6AD);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.6s ease, color 0.6s ease;
    color: #403F3D;
}

.menu_button_circle {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #C1B6AD;
    background: var(--border-light, #C1B6AD);
    padding: 4px;
    transition: background 0.6s ease, border 0.6s ease;
}

.menu_button_active .menu_button_circle {
    background: #E1D4C9;
}

.menu_button_circle img {
    width: 20px;
    height: 20px;
}

.menu_button_name {
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    /* color: #403F3D; */
    font-weight: bold;
    transition: color 0.6s ease;
}

.menu_button_active {
    background: #665F55;
    border: none;
    border-radius: 50px;
    padding: 8px 14px 8px 8px;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-light, #C1B6AD);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E1D4C9 !important;
}

.menu_button_circle_active {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #E1D4C9;
    background: var(--border-light, #E1D4C9);
    padding: 4px;
}

.menu_button_circle_active img {
    width: 20px;
    height: 20px;
}

.menu_button_name_active {
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: #E1D4C9 !important;
    font-weight: bold;
    transition: color 0.6s ease;
}

.menu_button:hover,
.menu_button.active {
    background: #665F55;
}

.menu_button:hover .menu_button_name,
.menu_button.active .menu_button_name {
    color: #E1D4C9;
}

.menu_button:hover .menu_button_circle,
.menu_button.active .menu_button_circle {
    background: #E1D4C9;
    border: 1px solid #665F55;
}

.m-c_assortment {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px 40px 7px 40px;
    max-width: 1440px;
    height: auto;
    column-gap: 40px;
}

.product {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 310px;
    height: 506px;
    margin-bottom: 40px;
    border-radius: 40px;
    border: 1px solid var(--border-light, #C1B6AD);
}

.product_jpg_block {
    width: 310px;
    height: 310px;
    border-radius: 40px;
    overflow: hidden;
}

.product_jpg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
    transform: scale(1.1);
}

.product:hover .product_jpg_block .product_jpg {
    transform: scale(1);
}

.product_description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.description_name {
    align-self: stretch;
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 0;
}

.description_text {
    align-self: stretch;
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 12px 0 0 0;
    margin-bottom: auto;
}

.description_price {
    align-self: stretch;
    margin: 0;
}

.description_price_text {
    align-self: stretch;
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin: 0;
}


.modal_overlay {
    position: fixed; /* Или `absolute`, если `fixed` не подходит для вашего случая */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #403f3d; */
    /* background: var(--background-body, #E1D4C9); */
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    z-index: 1000; /* Убедитесь, что z-index выше, чем у других элементов на странице */
}

.modal_content {
    background: #E1D4C9;
    display: flex;
    background: var(--background-body, #E1D4C9) !important;
    max-width: 800px;
    padding: 16px;
    border-radius: 40px;
    width: 100%;
    margin: 10px 20px;
}

.modal_image_block {
    height: 19.375rem;
    width: 19.375rem;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal_description_block {
    display: flex;
    padding-left: 20px;
    flex-direction: column;
    flex: 1 0 0;
}

.modal_description_block h2 {
    margin: 0;
}

.modal_description_text {
    margin: 16px 0 10px;
}

.modal_description_name_text {
    margin: 16px 0 10px;
}

.additives_name {
    margin: 23px 0 8px;
}

.modal_total {
    margin: 22px 0;
    display: flex;
    justify-content: space-between;
}

.modal_total span {
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
}

.modal-size-btn.selected,
.modal-additive-btn.selected {
    background: var(--background-container, #665F55);
}

.modal-size-btn:hover,
.modal-additive-btn:hover,
.modal_close_btn_text:hover {
    background: var(--background-container, #665F55);
    color: var(--text-light, #E1D4C9);
    /* transition: background-color 0.6s ease, color 0.6s ease; */
}

.modal-size-btn:hover .menu_button_circle_size,
.modal-additive-btn:hover .menu_button_circle_size {
    background: var(--background-container, #E1D4C9);
    /* transition: background-color 0.6s ease, color 0.6s ease; */
}

.modal-size-btn:hover .menu_button_name_size,
.modal-additive-btn:hover .menu_button_name_size {
    color: var(--text-light, #E1D4C9);
    /* transition: background-color 0.6s ease, color 0.6s ease; */
}

.modal-size-btn.selected .menu_button_name_size,
.modal-additive-btn.selected .menu_button_name_size {
    color: var(--text-light, #E1D4C9);
}

.modal-size-btn.selected .menu_button_circle_size,
.modal-additive-btn.selected .menu_button_circle_size {
    background: var(--background-body, #E1D4C9);
}

.menu_button_size.selected,
.menu_button_size.selected .menu_button_circle_size {
    background: #665F55; /* цвет фона выбранной кнопки */
    color: #E1D4C9; /* цвет текста выбранной кнопки */
}

.menu_button_size.selected .menu_button_circle_size {
    border: 1px solid #E1D4C9; /* граница кружка выбранной кнопки */
}

.modal_sizes,
.modal_additives {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-size-btn,
.modal-additive-btn,
.modal_close_btn {
    height: 46px;
    /* width: 116px; */
    background: #E1D4C9;
    border: none;
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    /* margin: 0 8px; */
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-light, #C1B6AD);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.6s ease, color 0.6s ease;
    color: #403F3D;
}

.modal_close_btn_text {
    color: var(--text-dark, #403F3D);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    justify-content: center;
}

.menu_button_circle_size {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #C1B6AD;
    background: var(--border-light, #C1B6AD);
    padding: 4px;
    transition: background 0.6s ease, border 0.6s ease;
    color: var(--text-dark, #403F3D);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    font-family: Inter;
}

.menu_button_name_size {
    font-family: Inter;
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; 
}

.modal_alert_block {
    display: flex;
    border-top: 1px solid var(--border-light, #C1B6AD);
}

.modal_alert_block_img {
    margin: 2% 0;
}

.modal_additives {
    display: flex;
}

.modal_alert_text {
    color: var(--text-dark, #403F3D);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    padding: 0 0 0 8px;
    margin: 8px 0 30px;
}


@media (max-width: 900px) {

    .modal_content {
        max-width: 688px;
    }
}

@media (max-width: 710px) {
    .favorite_button_icon.button_left,
    .favorite_button_icon.button_right {
        display: none;
    }


    .modal_content {
        max-width: 342px;
    }

    .modal_image_block {
        display: none;
    }

    .modal_description_block {
        padding: 0;
    }
}

@media (max-width: 768px) {

            /* index */

    #header, #main, #footer {
        max-width:768px;
    }

    .nav-item {
        display: none;
    }

    .hero_container {
        padding: 100px 60px;
    }

    .hero_offer {
        max-width: 530px;
        width: 100%;
    }

    .hero_button_icon {
        opacity: 1;
        transition-delay: 0s;
    }

    .hero_button_text {
        transform: translateX(-10px);
    }

    .about_container {
        margin: 100px 40px;
    }

    .about_name {
        margin: 75px 0 0;
    }

    .about_images {
        flex-direction: column;
        align-items: center;
    }

    .about_column_1 .about_image_wrap:first-child,
    .about_column_2 .about_image_wrap:last-child {
    max-width: 688px;
}

    .about_image_wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 590px;
        max-width: 688px;
        margin-bottom: 0px;
    }

    .hide_image {
        display: none;
    }

    .mobile_app_container {
        display: grid;
        padding: 50px  40px 45px;
    }

    .mobile_app_offer {
        max-width: 100%;
        margin: 110px 0 101px 0;
    }

    .mobile_screens_image {
        padding: 0 0 0 29px;
    }

    .mobile_screens_img {
        width: 96%;
    }

    .contacts_container {
        display: grid;
        height: 100%;
        padding: 100px 60px 105px;
        gap: 70px;
    }

    .contacts_info_name {
        margin: 32px 0 26px;
    }

        /* Бургер меню */

    .nav_item_burger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 100px;
        border: 1px solid var(--border-dark, #665F55);
        background: var(--background-body, #E1D4C9);
        cursor: pointer;
        transition: background 0.6s ease-in-out;
    }

    .nav_item_burger span {
        position: relative;
        top: 5%;
        display: block;
        width: 16px;
        height: 2px;
        margin-bottom: 5px;
        background: #403F3D;
        transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    }

    .nav_item_burger.active span:nth-child(1) {
        position: relative;
        top: 13%;
        transform: rotate(45deg);
    }
    
    .nav_item_burger.active span:nth-child(2) {
        position: relative;
        top: -4%;
        transform: rotate(-45deg);
    }
    
    .burger_nav {
        display: block;
        position: fixed;
        margin: 25px 0;
        /* top: 90px; */
        right: 0;
        width: 100%;
        height: 100vh;
        /* height: calc(100vh - 20px); */
        overflow-y: auto;
        background: #E1D4C9;
        list-style-type: none;
        padding-top: 60px;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        padding-bottom: 80px; 
    }
    
    .body-lock {
        overflow: hidden;
        height: 100vh; /* фиксируем высоту страницы */
    }

    .burger_nav.active {
        transform: translateX(0);
    }

    .nav-item-burger .nav-link {
        font-size: 32px;
        margin-bottom: 52px;
    }

    .burger_nav .logo_coffee_cup {
        width: 40px;
        height: 40px;
    }

    .burger_nav .nav-link-menu {
        margin-top: 40px;
    }

    /* .nav_item_burger:hover {
        background: var(--background-body, #665F55);
    }
    
    .nav_item_burger:hover svg path {
        stroke: #E1D4C9;
    } */

    .menu_description_proverb_block {
        max-width: 688px;
    }

    .m-c_assortment {
        padding: 40px 40px 0 40px;
        max-width: 768px;
        justify-content: center;
        align-items: center;
    }

    /* убрал продукты лишние, пока не сделаю на js */
    .product_removed {
        display: none;
    }
    
    .uploading_images_btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 100px;
        border: 1px solid var(--border-dark, #665F55);
        background: var(--background-body, #E1D4C9);
        cursor: pointer;
        transition: background 0.6s ease-in-out;
    }

    .m-c_uploading {
        display: flex;
        justify-content: center;
        padding: 0 0 50px;
    }


    .uploading_images_btn:hover {
        background: var(--background-body, #665F55);
    }
    
    .uploading_images_btn:hover svg path {
        stroke: #E1D4C9;
    }

}

@media (max-width: 490px) {
    .mobile_app_offer {
        max-width: 400px;
        width: 100%;
    }

    .mobile_app_buttons {
    flex-direction: column;
    }

    .hero_text_name {
        font-size: 55px;
    }

    .favorite_slide_block {
        margin: 0 20px 0 20px;
    }

}


@media (max-width: 380px) {

                /* index */

            /* header */

            /* hero */

    .header_nav_bloc {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding: 20px 16px 100px 16px;
    }

    .hero_container {
        padding: 60px 16px;
    }

    .hero_text_name_2 {
        color: var(--text-accent, #B0907A);
        font-style: italic;
    }
    
    .hero_text_name {
        align-self: stretch;
        color: var(--text-light, #E1D4C9);
        font-family: 'Inter';
        font-size: 42px;
        font-style: normal;
        font-weight: 600;
        line-height: 115%;
        margin: 0px;
    }

    .hero_offer {
        max-width: 316px;
    }

            /* favorite_coffee */

    .favorite_coffee {
        padding: 0px 16px;
    }

    .favorite_coffee_name,
    .favorite_coffee_name_2 {
        font-size: 32px;
    }

    .favorite_button_icon.button_left,
    .favorite_button_icon.button_right {
        display: none;
    }

    .favorite_slide_block {
        margin: 0;
    }

    .favorite_slide_png {
        max-width: 348px;
    }

    .favorite_slide_block {
        max-width: 348px;
        margin: 0;
    }

    .favorite_slide {
        max-width: 348px;
    }

            /* about */

    .about_container {
        margin: 0px 16px;
    }

    .about_name {
        margin: 0;
    }

    .about_name {
        font-size: 32px;
    }
    
    .about_name_2 {
        font-size: 32px;
    }

    .about_img {
        transform: scale(1.2);
        /* transition: none; */
    }
    
    /* .about_image_wrap:hover .about_img {
        transform: scale(1.2);
    } */

    .about_image_wrap{
        height: 585px;
        width: 348px;
    }

    .about_images {
        gap: 45px;
    }

            /* mobile_app */

    .mobile_app_container {
        padding: 45px 16px;
        margin: 105px 0 0;
    }

    .mobile_app_name,
    .mobile_app_name_2 {
        font-size: 32px;
    }

    .mobile_app_offer {
        max-width: 348px;
        margin: 110px 0 35px 0;
    }

    .mobile_app_buttons {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }

    .mobile_screens_img {
        width: 348px;
        height: 348px;
    }

    .mobile_screens_image {
        padding: 0;
    }

    /* .mobile_app_button_app_store:hover,
    .mobile_app_button_google_play:hover {
        background: none;
        color: var(--text-dark-hover, #403F3D);
        transition: none;
    }

    .mobile_app_button_app_store:hover::before,
    .mobile_app_button_google_play:hover::before {
        background-image: none;
    }

    .mobile_app_button_app_store img {
        transition: none;
    } */

            /* contacts */

    .contacts_container {
        padding: 60px 16px;
        margin: 0 16px;
        gap: 10px;
    }

    .contacts_name,
    .contacts_name_2 {
        font-size: 32px;
    }

    .contact-item_indent {
        margin: 10px 0 10px;
    }

    /* .contacts_socials_icon:hover {
        background: var(--background-body, #665F55);
        transition: background 0.6s ease-in-out;
    }

    .contacts_socials_icon:hover svg path,
    .contacts_socials_instagram:hover svg path,
    .contacts_socials_facebook:hover svg path {
        stroke: #E1D4C9;
    }

    .contact-item:hover::after,
    .contact-item:active::after {
        width: 0%;
        opacity: 0;
    } */

                /* menu-coffee */

            /* menu_description */

    .menu_description_proverb_block {
        max-width: 348px;
        margin: 47px 16px 51px;
    }

    .menu_description_proverb,
    .menu_description_proverb_2 {
        font-size: 32px;
    }

    .menu_button {
        margin: 0 4px;
    }

    /* .menu_button.active {
        cursor: default;
    }

    .menu_button:hover {
        background: #E1D4C9;
    } */

    /* .menu_button:hover .menu_button_name {
        color: #403F3D;
    }
    
    .menu_button:hover .menu_button_circle {
        background: #C1B6AD;
        border: 1px solid #C1B6AD;
    }

    .menu_button_name:hover {
        color: #403F3D;
    } */

    /* .menu_button_active {
        background: #665F55;
    } */
            /* m-c_assortment */

    .m-c_assortment {
        padding: 40px 20px 0 16px;
        max-width: 380px;
    }

    /* .product_jpg {
        transition: none;
    } */
    
    /* .product:hover .product_jpg_block .product_jpg {
        transform: scale(1.1);
    } */

}

@media (hover: none) {

    .nav-link:hover::after,
    .nav-link:active::after {
        width: 0%;
        opacity: 0;
    }

    .nav-link.active::after {
        width: 0%;
        opacity: 0;
    }

    .nav_item_burger:hover {
        background: var(--background-body, #E1D4C9);
    }

    .nav_item_burger:hover svg path {
        stroke: #665F55;
    }

    .favorite_button_icon:hover {
        background: var(--background-body, #E1D4C9);
    }
    
    .favorite_button_icon:hover svg path {
        stroke: #665F55;
    }

    .about_img {
    transform: scale(1.2);
    transition: none;
    }

    .about_image_wrap:hover .about_img {
        transform: scale(1.2);
    }

    .mobile_app_button_app_store:hover,
    .mobile_app_button_google_play:hover {
        background: none;
        color: var(--text-dark-hover, #403F3D);
        transition: none;
    }

    .mobile_app_button_app_store:hover::before,
    .mobile_app_button_google_play:hover::before {
        background-image: none;
    }

    .mobile_app_button_app_store img {
        transition: none;
    }

    .contacts_socials_icon:hover {
        background: var(--background-body, #665F55);
        transition: background 0.6s ease-in-out;
    }

    .contacts_socials_icon:hover svg path,
    .contacts_socials_instagram:hover svg path,
    .contacts_socials_facebook:hover svg path {
        stroke: #E1D4C9;
    }

    .contact-item:hover::after,
    .contact-item:active::after {
        width: 0%;
        opacity: 0;
    }

    .menu_button.active {
        cursor: default;
    }

    .menu_button:hover {
        background: #E1D4C9;
    }

    .menu_button:hover .menu_button_name {
        color: #403F3D;
    }
    
    .menu_button:hover .menu_button_circle {
        background: #C1B6AD;
        border: 1px solid #C1B6AD;
    }

    .menu_button_name:hover {
        color: #403F3D;
    }

    .product_jpg {
    transition: none;
    }

    .product:hover .product_jpg_block .product_jpg {
        transform: scale(1.1);
    }

    .modal-size-btn:hover,
    .modal-additive-btn:hover,
    .modal_close_btn_text:hover {
        background: var(--background-container, #E1D4C9);
        color: var(--text-light, #665F55);
    }

    .modal-size-btn:hover .menu_button_circle_size,
    .modal-additive-btn:hover .menu_button_circle_size {
        background: var(--background-container, #C1B6AD);
    }

    .modal-size-btn:hover .menu_button_name_size,
    .modal-additive-btn:hover .menu_button_name_size {
        color: var(--text-light, #665F55);
    }

}