/*
Theme Name: Avocado
Theme URI: avocad.com.ua
Version: 1.0
Description:
Author: avocado.com.ua (fudzimaru)
Author URI: avocado.com.ua
*/
.breadcrumbs__body {
    display: flex;
    align-items: center;
    column-gap: 30px;
}
.breadcrumbs__body li {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: rgba(38, 38, 38, 0.45);
    position: relative;
}
.breadcrumbs__body li:first-child {
    color: #262626;
}
.breadcrumbs__body li:not(:last-child)::after {
    content: "/";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    color: rgba(38, 38, 38, 0.45);
}
.weight-loss__body {
    margin-bottom: 64px;
}
.weight-loss__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.weight-loss__link {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #89d628;
}
.weight-loss__content {
    position: relative;
    height: 500px;
}
.weight-loss__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 1280/500;
}
.weight-loss__image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 38, 38, 0.4);
}
.weight-loss__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.weight-loss__title {
    position: relative;
    display: flex;
    align-items: flex-end;
    max-width: 700px;
    padding: 42px;
    font-weight: 700;
    font-size: 42px;
    line-height: 125%;
    color: #ffffff;

    height: 100%;
}

.detail-weight__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    column-gap: 20px;
    margin-bottom: 42px;
}

.detail-weight__title {
    color: #262626;
    font-size: 42px;
    font-weight: 700;
    line-height: 125%;
    margin-bottom: 12px;
}
.detail-weight__subtitle {
    color: rgba(38, 38, 38, 0.75);
    font-size: 18px;
    line-height: 125%;
}
.detail-weight__subtitle span {
    color: #89d628;
}
.detail-weight__body {
    padding-top: 42px;
    padding-bottom: 42px;
    border-top: 1px solid rgba(38, 38, 38, 0.15);
    border-bottom: 1px solid rgba(38, 38, 38, 0.15);
    margin-bottom: 42px;
}
.detail-weight__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}
.detail-weight__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
    padding-bottom: 20px;
    border-bottom: 5px solid rgba(137, 214, 40, 0.35);
    transition: border-color 0.5s ease;
}
.detail-weight__link.active-link {
    border-color: #89d628;
}
.detail-weight__link:hover {
    border-color: rgba(137, 214, 40, 0.7);
}
.detail-weight__content li {
    padding-left: 28px;
    color: rgba(38, 38, 38, 0.75);
    font-size: 18px;
    line-height: 125%;
    position: relative;
}
.detail-weight__content li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 16px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(38, 38, 38, 0.75);
}
.detail-weight__content li:not(:last-child) {
    margin-bottom: 5px;
}
.detail-weight__сalories {
    color: #262626;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
}
.detail-weight__receptions {
    color: rgba(38, 38, 38, 0.75);
    text-align: center;
    font-size: 18px;
    line-height: 125%;
}
.detail-weight__alert {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    height: 100%;
}
.alert-detail__icon {
    border-radius: 1000px;
    border: 2px solid rgba(38, 38, 38, 0.15);
    background: #89d628;
    padding: 6px 16px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.alert-detail__icon svg {
    width: 24px;
    height: 24px;
}
.alert-detail__annotation {
    border-radius: 1000px;
    border: 2px solid rgba(38, 38, 38, 0.15);

    color: #262626;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 125%;
    padding: 10px 24px;
}

.delivery__body {
    display: flex;
    align-items: flex-start;
}
.delivery__image {
    flex: 0 0 50.7%;
    position: sticky;
    top: 110px;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 650/425;
}
.delivery__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.delivery__content {
    flex: 0 0 49.3%;
    padding-left: 52px;
    padding-top: 52px;
    padding-bottom: 52px;

    display: flex;
    flex-direction: column;
    row-gap: 84px;
}
.delivery__content *:not(:last-child) {
    position: relative;
}
.delivery__content > *:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -42px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(38, 38, 38, 0.15);
}
.delivery__title {
    font-weight: 700;
    font-size: 42px;
    line-height: 125%;
    color: var(--black);
    margin-bottom: 24px;
}
.delivery__text {
    font-size: 18px;
    line-height: 125%;
    color: rgba(38, 38, 38, 0.75);
}
.delivery__text p:not(:last-child) {
    margin-bottom: 24px;
}
.cities__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 125%;
    color: #262626;
    margin-bottom: 24px;
}

.cities__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 12px;
}

.cities__list li {
    border: 2px solid rgba(38, 38, 38, 0.15);
    border-radius: 1000px;
    padding: 12px;

    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: rgb(38, 38, 38);
}

.show-more-btn {
    color: #89d628;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    text-decoration-line: underline;

    display: none;
}

.programs-food__top {
    margin-bottom: 64px;
}
.programs-food__breadcrumbs {
    margin-bottom: 52px;
}

.programs-food__title {
    color: #262626;
    font-size: 42px;
    font-weight: 700;
    line-height: 125%;
    margin-bottom: 24px;
}
.programs-food__image {
    position: relative;
    aspect-ratio: 1280/500;
    border-radius: 25px;
    overflow: hidden;
}
.programs-food__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.programs-food__filters {
    padding-top: 42px;
    padding-bottom: 42px;
    border-top: 1px solid rgba(38, 38, 38, 0.15);
    border-bottom: 1px solid rgba(38, 38, 38, 0.15);

    margin-bottom: 64px;

    display: flex;
    flex-direction: column;
    row-gap: 84px;
}
.programs-food__filter {
    position: relative;
}
.programs-food__filter:not(:last-child):after {
    content: "";
    position: absolute;
    bottom: -42px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(38, 38, 38, 0.15);
}
.programs-food__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 42px;
    column-gap: 42px;
}

.filter-program__title {
    color: #262626;
    font-size: 24px;
    font-weight: 700;
    line-height: 115%;
    margin-bottom: 24px;
}
.filter-program__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 12px;
}
.filter-program__item {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;

    border-radius: 1000px;
    border: 2px solid rgba(38, 38, 38, 0.15);
    background-color: #fff;

    padding: 20px 32px;
    max-height: 58px;

    color: #262626;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    cursor: pointer;
    transition:
            border-color 0.5s ease,
            background-color 0.5s ease;
}
.filter-program__item:hover {
    border-color: #262626;
    background-color: #89d628;
}
.filter-program__item:hover .filter-program__delete {
    display: flex;
}
.filter-program__delete {
    align-items: center;
    justify-content: center;
    display: none;
}
.filter-program__delete svg {
    width: 24px;
    height: 24px;
}

.programs-food-card__image {
    position: relative;
    aspect-ratio: 400/325;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 12px 12px 0px 0px #262626;
    margin-bottom: 32px;
}
.programs-food-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.programs-food-card__tag {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 24px;

    border-radius: 1000px;
    border: 2px solid rgba(38, 38, 38, 0.15);
    background-color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;

    color: #262626;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
}
.programs-food-card__content {
    padding-left: 24px;
    padding-right: 24px;
}
.programs-food-card__title {
    color: #262626;
    font-size: 24px;
    font-weight: 700;
    line-height: 115%;
    margin-bottom: 8px;
}
.programs-food-card__text {
    color: rgba(38, 38, 38, 0.75);
    font-size: 18px;
    line-height: 125%;
    margin-bottom: 24px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.programs-food-card__links {
    display: flex;
    column-gap: 12px;
}
.programs-food-card__link {
    flex: 0 0 calc(50% - 6px);
    display: inline-flex;

    color: #262626;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;

    border-radius: 10px;
    border: 1px solid rgba(38, 38, 38, 0.15);
    background: var(--White, #fff);
    box-shadow: 6px 6px 0px 0px #262626;

    padding: 18px 10px;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
    position: relative;
}
.programs-food-card__link:hover {
    transform: translate(0.375rem, 0.375rem);
    box-shadow: 0 0 0 0 transparent;
    background-color: #89d628;
}

@media (max-width: 1280px) {
    .weight-loss {
        margin-bottom: 42px;
    }
    .delivery {
        margin-bottom: 82px;
    }
    .weight-loss__body {
        margin-bottom: 42px;
    }
}
@media (max-width: 992px) {
    .filter-program__item {
        font-size: 16px;
    }
    .programs-food-card__tag {
        top: 16px;
        left: 16px;
        font-size: 16px;
    }
    .programs-food-card__link {
        font-size: 16px;
        box-shadow: 5px 5px 0px 0px #262626;
    }
    .programs-food-card__title {
        font-size: 20px;
    }
    .programs-food-card__text {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .programs-food__title {
        font-size: 28px;
    }
    .programs-food-card__content {
        padding-left: 0px;
        padding-right: 0px;
    }
    .programs-food-card__image {
        border-radius: 20px;
        box-shadow: 8px 8px 0px 0px #262626;
        margin-bottom: 24px;
    }
    .programs-food__items {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-program__title {
        font-size: 20px;
    }
    .programs-food__filters {
        padding-top: 24px;
        padding-bottom: 24px;

        margin-bottom: 42px;
        row-gap: 48px;
    }
    .programs-food__filter:not(:last-child):after {
        bottom: -24px;
    }
    .programs-food__top {
        margin-bottom: 42px;
    }
    .programs-food__breadcrumbs {
        margin-bottom: 32px;
    }
    .detail-weight__title {
        font-size: 28px;
    }
    .detail-weight__subtitle {
        font-size: 16px;
    }
    .breadcrumbs {
        margin-bottom: 32px;
    }
    .weight-loss__top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .weight-loss__content {
        height: 300px;
    }
    .delivery__content {
        padding-left: 24px;
        padding-top: 24px;
        padding-bottom: 24px;
        row-gap: 48px;
    }
    .delivery__content > *:not(:last-child)::after {
        bottom: -24px;
    }
    .detail-weight__top {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 16px;
        margin-bottom: 32px;
    }
    .detail-weight__body {
        padding-top: 0;
        border-top: none;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 32px;
    }
    .detail-weight__links {
        padding-top: 24px;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-top: 1px solid rgba(38, 38, 38, 0.15);
        border-bottom: 1px solid rgba(38, 38, 38, 0.15);
    }
    .detail-weight__link {
        border-bottom: 3px solid rgba(137, 214, 40, 0.35);
    }
    .detail-weight__сalories {
        font-size: 16px;
    }
    .detail-weight__receptions {
        font-size: 15px;
    }
    .detail-weight__content li {
        font-size: 16px;
        padding-left: 24px;
    }
    .detail-weight__content li:nth-child(n + 5) {
        display: none;
    }
    .detail-weight__content li::before {
        left: 12px;
    }

    .show-more-btn {
        display: block;
        margin-top: 16px;
    }
}
@media (max-width: 767px) {
    .header__languages{
        display: none;
    }

    .menu__body .header__languages{
        display: flex;
    }


    .programs-food__items {
        column-gap: 24px;
    }
    .breadcrumbs__body li {
        font-size: 16px;
    }
    .weight-loss__title {
        font-size: 28px;
        padding: 24px;
    }
    .weight-loss__image img {
        object-position: left;
    }
    .delivery__body {
        flex-direction: column;
        align-items: normal;
        row-gap: 24px;
    }
    .delivery__content {
        flex-basis: 100%;
        padding-left: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .delivery__image {
        flex-basis: 100%;
        position: relative;
        top: 0px;
        aspect-ratio: 650/300;
    }

    .delivery__title {
        font-size: 48px;
    }

    .delivery__text {
        font-size: 16px;
    }

    .cities__title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cities__list li {
        font-size: 15px;
    }

    .detail-weight__links {
        column-gap: 12px;
    }

    .detail-weight__link {
        row-gap: 4px;
        padding-bottom: 12px;
    }
}
@media (max-width: 467px) {
    .programs-food__items {
        grid-template-columns: repeat(1, 1fr);
    }
    .programs-food-card__image {
        aspect-ratio: 343/300;
    }
    .programs-food__image {
        aspect-ratio: 343/300;
        border-radius: 20px;
    }
    .delivery__image {
        aspect-ratio: 343/300;
    }
    .alert-detail__icon {
        flex: 0 0 64px;
    }
}
