.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
}

.article-meta__item {
    align-items: center;
    background: #fffaf4;
    border: 1px solid #edf2ea;
    border-radius: 999px;
    color: #555;
    display: inline-flex;
    font-size: 14px;
    gap: 6px;
    line-height: 1.4;
    padding: 8px 12px;
}

.article-meta__item strong,
.article-meta__item time {
    color: #1a881a;
    font-weight: 700;
}

.article-meta__author {
    color: #1a881a;
    font-weight: 700;
    text-decoration: none;
}

.article-meta__author:hover {
    color: #20ab20;
    text-decoration: underline;
}

.article-meta__icon {
    font-size: 15px;
}

.form-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-field-wrap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.article-related-products .product-strip .product-card__image {
    aspect-ratio: auto;
    box-sizing: border-box;
    height: 210px;
    overflow: hidden;
    padding: 0;
}

.article-related-products .product-strip .product-card__image img {
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.article-related-articles {
    margin-top: 24px;
}

.article-related-articles .useful-articles__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.useful-articles {
    display: grid;
    gap: 16px;
}

.useful-articles__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.useful-article-card {
    background: #fffaf4;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
    display: block;
    margin: 5px auto;
    overflow: hidden;
    padding-bottom: 16px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.useful-article-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    text-decoration: none;
}

.useful-article-card__image {
    aspect-ratio: 1 / 1;
    border-bottom: 1px dashed #ffcc66;
    display: block;
    overflow: hidden;
}

.useful-article-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.useful-article-card__title {
    color: #1a881a;
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
    min-height: 0;
    padding: 12px 10px 14px;
    text-decoration: none;
}

.useful-article-card:hover .useful-article-card__title {
    color: #ff6600;
}

.useful-article-card__button {
    background: #20ab20;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin: 0 12px;
    padding: 9px 18px;
    text-decoration: none;
}

.useful-article-card__button:hover {
    background: #ff6600;
    color: #fff;
    text-decoration: none;
}

.article-comments {
    margin-top: 34px;
}

.article-comments__head {
    align-items: center;
    background: linear-gradient(135deg, #fffaf4 0%, #f8fff6 100%);
    border: 1px solid #edf2ea;
    border-radius: 20px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 22px 24px;
    
}

.article-comments__head h2 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 6px;
}

.article-comments__head p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.article-comments__count {
    align-items: center;
    background: #20ab20;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(32, 171, 32, .18);
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 800;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.comments-empty {
    align-items: center;
    background: #fffdf8;
    border: 1px dashed #f0d9b5;
    border-radius: 18px;
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    padding: 20px;
}

.comments-empty__icon {
    align-items: center;
    background: #eef9eb;
    border-radius: 18px;
    display: flex;
    flex: 0 0 auto;
    font-size: 28px;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.comments-empty strong {
    color: #1a881a;
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.comments-empty p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.comment-list {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.comment-card {
    background: #fff;
    border: 1px solid #edf2ea;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .04);
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.comment-card::before {
    background: linear-gradient(90deg, #20ab20, #ffcc66);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.comment-card__top {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.comment-author {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.comment-author__avatar {
    align-items: center;
    background: linear-gradient(135deg, #20ab20, #1a881a);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.comment-author strong {
    color: #333;
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.comment-author time {
    color: #888;
    display: block;
    font-size: 13px;
    margin-top: 3px;
}

.stars {
    color: #aeb3ae;
    flex: 0 0 auto;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.stars .active {
    color: #f5a000;
}

.comment-card__text {
    color: #555;
    font-size: 15px;
    line-height: 1.75;
}

.comment-answer {
    background: #f4fff2;
    border-left: 4px solid #20ab20;
    border-radius: 14px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    padding: 14px 16px;
}

.comment-answer__label {
    color: #1a881a;
    font-weight: 800;
    margin-bottom: 5px;
}

.compare-table-wrap {
    background: #fff;
    border: 1px solid #e4eadf;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(26, 136, 26, .07);
    margin: 10px 0;
    overflow-x: auto;
    width: 100%;
}

.compare-table {
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.65;
    min-width: 760px;
    width: 100%;
}

.compare-table td {
    border-bottom: 1px solid #edf2ea;
    border-right: 1px solid #edf2ea;
    padding: 20px 25px;
    vertical-align: top;
    width: 50%;
}

.compare-table tr td:last-child {
    border-right: 0;
}

.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-table tr:first-child td {
    background: linear-gradient(135deg, #fedf88, #c1ffc9);
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    padding: 20px;
    position: sticky;
    text-align: center;
    top: 0;
    z-index: 2;
}

.compare-table tr:first-child td:first-child {
    border-top-left-radius: 18px;
}

.compare-table tr:first-child td:last-child {
    border-top-right-radius: 18px;
}

.compare-table tr:nth-child(even) td {
    background: #fffdf8;
}

.compare-table tr:nth-child(odd):not(:first-child) td {
    background: #f8fff6;
}

.compare-table p {
    margin: 0;
}

.compare-table strong {
    color: #1a881a;
    font-weight: 800;
}

.compare-table tr:first-child strong {
    color: #fff;
}

.compare-table td:first-child strong {
    color: #9a2a2a;
}

.compare-table td:last-child strong {
    color: #1a881a;
}

.compare-table td p::first-letter {
    font-weight: 800;
}

.diet-program__notice,
.diet-program__quote,
.diet-program__set,
.diet-program__benefits {
    background: linear-gradient(135deg, #fff8e8 0%, #fffdf8 100%);
    border: 1px solid #f0d9b5;
    border-radius: 18px;
    color: #4f412f;
    padding: 22px;
}

.diet-program__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diet-program__grid article {
    background: #fff;
    border: 1px solid #e4eadf;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(26, 136, 26, .07);
    overflow: hidden;
    padding: 20px;
}

.diet-program__grid img {
    aspect-ratio: 1 / .68;
    border-radius: 14px;
    margin-bottom: 14px;
    object-fit: cover;
    width: 100%;
}

.diet-program__faq {
    display: grid;
    gap: 14px;
}

.diet-program__faq-item {
    background: #fff;
    border: 1px solid #e4eadf;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(26, 136, 26, .06);
    padding: 18px 20px;
}

.diet-program__faq-item h3 {

    margin: 0 0 8px;
}

.diet-program__faq-item p {
    margin: 0;
}

.diet-program__quote {
    display: grid;
    gap: 8px;
    margin: 22px 0;
}

.diet-program__benefits ul,
.diet-program__set ul,
.diet-program__set ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 0;
}

.diet-program__benefits li,
.diet-program__set li {
    line-height: 1.55;
    list-style: none;
    padding-left: 28px;
    position: relative;
}

.diet-program__benefits li::before,
.diet-program__set li::before {
    color: #20ab20;
    content: "\2713";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
}

.diet-program__steps {
    display: grid;
    gap: 14px;
}

.diet-program__steps article {
    align-items: start;
    background: #fff;
    border: 1px solid #e4eadf;
    border-radius: 16px;
    display: grid;
    gap: 14px;
    grid-template-columns: 54px 1fr;
    padding: 18px;
}

.diet-program__step-number {
align-items: center;
background: #20ab20;
border-radius: 14px;
color: #fff;
display: inline-flex;
font-weight: 900;
height: 46px;
justify-content: center;
width: 46px;
}

.diet-program__steps p {
    margin: 0;
}

.diet-program__final {
    background: #f8fff6;
    border-left: 4px solid #20ab20;
    border-radius: 14px;
    font-weight: 700;
    margin: 0;
    padding: 18px 22px;
}

.article-gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin: 32px 0;
}

.article-gallery a {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    transition: .25s;
}

.article-gallery a:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transform: translateY(-3px);
}

.article-gallery img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.image-lightbox {
    align-items: center;
    background: rgba(0, 0, 0, .92);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 30px;
    position: fixed;
    transition: .25s ease;
    visibility: hidden;
    z-index: 99999;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox img {
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    max-height: 95vh;
    max-width: 95%;
}

.image-lightbox__close {
    background: #fff;
    border: 0;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    font-size: 30px;
    height: 52px;
    position: absolute;
    right: 24px;
    top: 20px;
    transition: .2s ease;
    width: 52px;
}

.image-lightbox__close:hover {
    transform: rotate(90deg);
}

@media (hover: hover) {
    .compare-table tr:not(:first-child):hover td {
        background: #fff8e8;
    }
}

@media (min-width: 541px) and (max-width: 980px) {
    .article-related-articles .useful-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .diet-program__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .article-comments__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .comment-list {
        grid-template-columns: 1fr;
    }

    .comment-card__top {
        flex-direction: column;
    }

    .stars {
        font-size: 15px;
    }

    .compare-table-wrap {
        border-radius: 14px;
        margin: 22px 0;
    }

    .compare-table {
        font-size: 14px;
        line-height: 1.55;
        min-width: 680px;
    }

    .compare-table td {
        padding: 14px;
    }

    .compare-table tr:first-child td {
        font-size: 15px;
        padding: 16px 14px;
    }
}

@media (max-width: 640px) {
    .diet-program__grid,
    .diet-program__steps article {
        grid-template-columns: 1fr;
    }

    .diet-program__notice,
    .diet-program__quote,
    .diet-program__set,
    .diet-program__benefits,
    .diet-program__grid article {
        border-radius: 14px;
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .article-related-articles .useful-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-related-products .product-strip .product-card__image {
        height: 160px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .article-gallery {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .article-gallery {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .image-lightbox,
    .image-lightbox__close {
        transition: none !important;
    }
}
