/* =========================================
    RESET & BASIC STYLES
    ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f2f2f2;
}

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

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================
LAYOUT CONTAINER
========================================= */
.container {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 6px;
}

/* =========================================
HEADER
========================================= */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.2rem;
        padding: 0.9em !important;
    }
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 15px;
    background-color: #e9e9e9;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #ccc;
}

/* =========================================
ARTICLE / MAIN CONTENT
========================================= */
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: bold;
    color: #333;
}

.article-content p {
    margin-bottom: 1em;
    text-align: 4px solid red;
}

.article-content ul {
    list-style: disc;
    margin-left: 0.3em;
    margin-bottom: 1em;
}

.article-content ol {
    list-style: decimal;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.highlight-red {
    color: red;
    font-weight: bold;
}

.section-title {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.product-image {
    max-width: 550px;
    margin: 20px auto;
    display: block;
}

figure {
    text-align: center;
    margin: 1.5em 0;
}

figcaption {
    font-style: italic;
    color: #666;
    margin-top: 5px;
}

hr {
    margin: 2em 0;
    border: none;
    border-bottom: 1px solid #ddd;
}

/* =========================================
COMMENTS SECTION
========================================= */
.comments-container {
    margin-top: 40px;
}

.comments-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

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

.comment-item {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ccc;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comment-author {
    font-weight: bold;
    margin-right: auto;
}

.comment-time {
    font-size: 0.9rem;
    color: #999;
    margin-left: 10px;
    white-space: nowrap;
}

.comment-body {
    margin-bottom: 10px;
}

.comment-body img {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-actions button {
    background-color: transparent;
    border: none;
    color: #0066cc;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
}

.comment-actions button:hover {
    text-decoration: underline;
}

.reply-container {
    margin-left: 30px;
    margin-top: 15px;
}

/* =========================================
COMMENT FORM
========================================= */
.form-container {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.form-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="file"] {
    font-size: 0.95rem;
}

.btn-submit {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #004999;
}

/* =========================================
RESPONSIVE DESIGN
========================================= */

.comment-body + img {
    width: 100%;
}
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
    }

    .comment-header {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 0 10px;
    }

    .comment-avatar {
        grid-row: span 2;

    }

    .comment-author {
        display: block;
        margin-left: auto;
        width: 100%;
        margin-bottom: 0 !important;
        align-self: flex-end;
    }

    .comment-author {
        margin-bottom: 5px;
    }

    .comment-time {
        margin-left: 0;
        margin-top: 0;
        align-self: flex-start;
    }

    .reply-container {
        margin-left: 30px;
    }
}

.exclamation-list {
    list-style: none;

    /* Вимикаємо стандартні маркери списку */
    margin-left: 0.5em;

    /* Приклад відступу зліва */
    font-weight: bold;

    /* Жирний текст у списку */
    padding-left: 0;

    /* Прибираємо внутрішні відступи */
}

.exclamation-list li {
    margin-bottom: 0.5em;

    /* Відступ між пунктами */
    display: flex;
    align-items: center;

    /* Вертикальне вирівнювання іконки з текстом */
}

/* Можна дати трохи правого відступу, щоб текст не прилипав до іконки */
.exclamation-list li .fa-exclamation {
    margin-right: 0.5rem;
}

.green-check-list {
    list-style: none;

    /* Вимикаємо стандартні маркери */
    margin-top: 1em;

    /* Відступ зверху */
    margin-left: 0.5em;

    /* Відступ зліва */
    padding-left: 0;

    /* Нульовий відступ усередині */
}

.green-check-list li {
    position: relative;
    padding-left: 1.5em;

    /* Місце під іконку */
    margin-bottom: 0.5em;

    /* Відстань між пунктами */
}

.green-check-list li::before {
    content: "\f00c";

    /* Юнікод-значення для іконки fa-check */
    font-family: "Font Awesome 6 Free";

    /* Назва сімейства шрифтів у Font Awesome 6 */
    font-weight: 900;

    /* Необхідно, щоб відобразити solid-іконку */
    color: #28a745;

    /* Зелений колір (можна змінити) */
    position: absolute;
    left: 0;
    top: 0;
}

.photo-with-text {
    background: #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
}

.photo-with-text .photo-block,
.photo-with-text .text-block {
    flex: 0 0 50%;
}

.photo-block {
    max-height: 400px;
}

.photo-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .photo-with-text {
        flex-direction: column;
    }

    .photo-with-text .photo-block,
    .photo-with-text .text-block {
        flex: 0 0 100%;
    }
}

.text-block {
    padding: 30px;
}

.text-block h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 20px;
}

.text-block-strong {
    font-size: 16px;
    line-height: 19px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .product-image {
        max-width: 100%;
    }
}
@keyframes pulse {
    to {
        box-shadow: 0 0 0 15px transparent;
    }
}




.button1 {
    display: block;
    background: rgb(222, 116, 116);
    background: -moz-linear-gradient(180deg, rgba(222, 116, 116, 1) 0%, rgba(247, 34, 16, 1) 60%);
    background: -webkit-linear-gradient(180deg, rgba(222, 116, 116, 1) 0%, rgba(247, 34, 16, 1) 60%);
    background: linear-gradient(180deg, rgba(222, 116, 116, 1) 0%, rgba(247, 34, 16, 1) 60%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#de7474", endColorstr="#F72210", GradientType=1);
    text-align: center;
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 15px auto;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    text-decoration: none;
    border-radius: 10px;
    padding: 20px 15px;
    color: #fff;
    box-shadow: 0 0 0 0 rgb(232 76 61 / 70%);
    animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}
