/* Выбрана методология БЭМ, т.к. считаю эту структуру самой понятной и простой для начала изучения и небольших проектов */

/* Сброс стилей */
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Основные цвета */
:root {
    --color-dark-blue: #415067;
    --color-orange: #c6a179;
    --color-white: #ffffff;
    --color-gray: #edeff4;
}

/* Основная страница */
body.page {
    margin: 0;
    font-family: 'Montserrat', Helvetica, sans-serif;
    color: #1c1c1c;
    background-color: #f8fbff;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
}


/* Хэдер + Навигация*/
.header {
    position: relative;
    padding: 48px 80px 80px;
}

.header__logo {
    width: 120px;
}

.header__title {
    max-width: 600px;
    margin: 40px 0;
    font-size: 48px;
    line-height: 1.2;
    color: var(--color-dark-blue);
}

.header__banner {
    margin-top: 40px;
}

.header__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background-color: var(--color-dark-blue);
    padding: 48px 32px;
}

.header__cart {
    width: 32px;
    margin-bottom: 0;
}

.header__nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.header__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__nav-item + .header__nav-item {
    margin-top: 24px;
}

.header__nav-link {
    text-decoration: none;
    color: var(--color-white);
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.header__nav-link:hover {
    color: var(--color-orange);
}

.header__nav-link--active {
    font-weight: 1000;
}


/* Основная страница */
.main {
    padding: 80px 40px;
}


/* Особенности кофейни */
.features {
    margin-bottom: 120px;
}

.features__subtitle {
    font-size: 14px;
    text-align: center;
    color: var(--color-dark-blue);
}

.features__title {
    font-size: 36px;
    margin: 8px 0 40px;
    text-align: center;
    color: var(--color-dark-blue);
}

.features__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.features__item {
    text-align: center;
}

.features__icon {
    width: 64px;
    margin: 0 auto 16px;
}

.features__item-title {
    margin-bottom: 12px;
    color: var(--color-dark-blue);
}

.features__text {
    font-size: 14px;
    color: #555;
}


/* Продукты */
.products {
    margin-bottom: 120px;
}

.products__subtitle {
    font-size: 14px;
    color: var(--color-dark-blue);
    text-align: center;
}

.products__title {
    font-size: 36px;
    margin: 8px 0 40px;
    color: var(--color-dark-blue);
    text-align: center;
}

.products__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.products__item {
    display: flex;
    gap: 12px;
    border: 1px solid #e5e5e5;
}

.products__info {
    display: flex;
    flex-direction: column;
    padding: 6px;
    flex: 1;
}

.products__price {
    font-weight: bold;
    margin: 16px 0;
    color: var(--color-orange);
}

.products__name {
    margin: 12px 0;
}

.products__description {
    font-size: 14px;
    margin-bottom: 16px;
}

.products__buy {
    display: flex;
    gap: 32px;
    margin-top: auto;
}

.products__button {
    padding: 12px 24px;
    background-color: var(--color-orange);
    color: #fff;
    border-radius: 36px;
    font-weight: bold;
}

.products__note {
    margin-top: 12px;
    font-size: 12px;
}


/* Подарок */
.gift {
    margin-bottom: 120px;
}

.gift__subtitle {
    font-size: 14px;
    color: var(--color-dark-blue);
    text-align: center;
}

.gift__title {
    font-size: 36px;
    margin: 8px 0 40px;
    color: var(--color-dark-blue);
    text-align: center;
}

.gift__content {
    display: flex;
    position: relative;
    gap: 40px;
}

.gift__item {
    display: flex;
    gap: 16px;
    flex: 1;
    border: 1px solid #e5e5e5;
    padding: 32px;
}

.gift__info {
    display: flex;
    flex-direction: column;
}

.gift__price {
    font-weight: bold;
    margin: 16px 0;
}

.gift__description {
    font-size: 14px;
}

.gift__features {
    display: flex;
    gap: 24px;
    margin: 32px 0;
}

.gift__feature {
    flex: 1;
}

.gift__feature-icon {
    width: 40px;
    margin-bottom: 8px;
}

.gift__feature-text {
    font-size: 14px;
    color: #555;
}

.gift__button {
    padding: 12px 24px;
    background-color: var(--color-orange);
    color: #fff;
    border-radius: 36px;
    font-weight: bold;
}

.gift__buy {
    display: flex;
    gap: 32px;
    margin-top: auto;
}

.gift__note {
    margin-top: 12px;
    font-size: 12px;
    color: #999;
}

.gift__controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gift__control {
    padding: 8px 12px;
    border: 1px solid #000;
}


/* Комбо */
.combo {
    margin-bottom: 60px;
}

.combo__subtitle {
    font-size: 14px;
    color: var(--color-dark-blue);
    text-align: center;
}

.combo__title {
    font-size: 36px;
    margin: 8px 0 40px;
    color: var(--color-dark-blue);
    text-align: center;
}

.combo__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.combo__item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
}

.combo__image {
    background-color: var(--color-gray);
}

.combo__info {
    display: flex;
    flex-direction: column;
    margin: 24px;
}

.combo__price {
    font-weight: bold;
    margin: 16px 0;
    color: var(--color-orange);
}

.combo__old-price {
    margin-left: 10px;
    font-size: 12px;
    color: #999;
}

.combo__description {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.combo__buy {
    display: flex;
    gap: 32px;
    margin-top: auto;
}

.combo__button {
    padding: 12px 24px;
    background-color: var(--color-orange);
    color: #fff;
    border-radius: 36px;
    font-weight: bold;
}

.combo__note {
    margin-top: 12px;
    font-size: 12px;
    color: #999;
}


/* Футер */
.footer {
    padding: 24px;
    background-color: #edeff4;
    text-align: center;
}

.footer__copyright {
    font-size: 14px;
    color: #555;
}
